:root{--primary: #1B6BB0;--primary-dark: #115892;--primary-rgb: 27, 107, 176;--primary-soft: #eef5fb;--primary-soft-border: #cfdfee;--accent-red: #DD1F26;--accent-red-dark: #b51820;--accent-red-soft: #fde8e9;--bg-color: #ffffff;--card-radius: 6px;--nav-height: 52px;--nav-bg: #ffffff;--nav-text: #475569;--nav-hover-bg: #f1f5f9;--nav-active-bg: #e2ecf6;--nav-dropdown-bg: #ffffff;--border-color: #e2e8f0;--patient-photo-size: 85px}body{background:#fff!important}.his-language-select{height:34px;min-width:72px;border:1px solid #dbe7ef;border-radius:6px;background:#fff;color:#334155;font-size:12px;font-weight:800;padding:4px 8px;outline:none}.his-language-select:focus{border-color:var(--primary);box-shadow:0 0 0 2px rgba(var(--primary-rgb),.14)}.master-admin-shell{background:#fff}.master-topic-tabs{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px}.master-topic-tab{border:1px solid #e2e8f0;border-radius:4px;background:#fff;padding:12px 14px;text-align:left;transition:border-color .15s ease,background .15s ease;box-shadow:none}.master-topic-tab:hover{border-color:#b5d4ee;background:#f8fafc}.master-topic-tab.active{background:#1b6bb0;border-color:#115892;color:#fff;box-shadow:none}.master-topic-tab .topic-icon{width:42px;height:42px;border-radius:4px;display:inline-flex;align-items:center;justify-content:center;font-size:16px;margin-bottom:10px;background:#1b6bb01f;color:#115892}.master-topic-tab.active .topic-icon{background:#ffffff2e;color:#fff}.master-topic-tab strong{display:block;font-size:14px;font-weight:800}.master-topic-tab span{display:block;margin-top:4px;font-size:11.5px;color:#64748b}.master-topic-tab.active span{color:#ffffffd6}.master-workspace-grid{display:grid;grid-template-columns:310px minmax(0,1fr);gap:18px;align-items:start}.master-sidebar-card,.master-detail-card{border:1px solid #d9e6ef;border-radius:6px;background:#fff;box-shadow:0 12px 28px #0f172a0f}.master-sidebar-card{padding:18px;position:sticky;top:14px}.master-sidebar-head,.master-detail-head{margin-bottom:14px}.master-section-label{display:inline-block;font-size:11px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:#1b6bb0;margin-bottom:6px}.master-sidebar-head h6,.master-detail-head h4{margin:0;color:#0f172a;font-weight:800}.master-sidebar-head h6{font-size:14px}.master-sidebar-head p,.master-detail-head p{margin:6px 0 0;color:#64748b;font-size:12px}.master-category-list{display:flex;flex-direction:column;gap:10px}.master-category-btn{width:100%;border:1px solid #dbe7ef;border-radius:4px;background:#f8fafc;padding:12px 14px;text-align:left;transition:all .18s ease}.master-category-btn:hover{background:#f0fdf4;border-color:#b5d4ee}.master-category-btn.active{background:linear-gradient(135deg,#f5f8fc,#e6f0f9);border-color:#1b6bb0;box-shadow:inset 0 0 0 1px #1b6bb024}.master-category-btn strong{display:block;color:#0f172a;font-size:13px;font-weight:800}.master-category-btn span{display:block;margin-top:3px;color:#64748b;font-size:11.5px}.master-detail-card{padding:18px}.master-detail-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.master-count-pill{background:linear-gradient(135deg,#115892,#0a4775);color:#fff;border-radius:6px;padding:10px 16px;font-size:12px;font-weight:800;white-space:nowrap}.master-count-pill span{font-size:16px;margin-right:4px}.master-entry-toolbar{border:1px solid #dbe7ef;border-radius:6px;background:#fff;padding:16px}.master-list-panel{min-height:260px;border-radius:6px;overflow:hidden}.master-empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:220px;color:#94a3b8;text-align:center;background:#fff}.master-empty-state i{font-size:26px}.report-detail-modal-shell{border-radius:6px;overflow:hidden}.report-detail-modal-header{background:#f8fafc;color:#0f172a;border-bottom:1px solid #dbe7ef}.report-detail-modal-header .btn-close{filter:none}.report-detail-body{padding:20px;background:#f8fafc}.report-detail-patient-bar{display:flex;align-items:center;gap:14px;padding:16px 18px;border:1px solid #dbe7ef;border-radius:6px;background:#fff}.report-detail-avatar{width:54px;height:54px;border-radius:50%;background:#eef2f7;color:#475569;display:inline-flex;align-items:center;justify-content:center;font-size:22px;flex-shrink:0}.report-detail-patient-meta h4{margin:0;font-size:24px;font-weight:800;color:#0f172a}.report-detail-submeta{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:6px;color:#64748b;font-size:13px}.report-detail-chip{display:inline-flex;align-items:center;padding:4px 10px;border-radius:6px;background:var(--primary-soft);color:var(--primary-dark);font-weight:700;border:1px solid var(--primary-soft-border)}.report-detail-visit-meta{margin-left:auto;text-align:right;color:#64748b;font-size:13px}.report-detail-visit-meta div+div{margin-top:4px}.report-detail-card{border:1px solid #dbe7ef;border-radius:6px;background:#fff;padding:18px;box-shadow:0 12px 24px #0f172a0d}.report-detail-section-title{margin:0 0 14px;color:#334155;font-size:13px;font-weight:800;text-transform:uppercase;letter-spacing:.03em}.report-detail-vitals-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:16px}.report-detail-vital-box{border:1px solid #e2e8f0;border-radius:4px;background:#f8fafc;padding:12px}.report-detail-vital-box span{display:block;font-size:11px;font-weight:700;color:#64748b;text-transform:uppercase;margin-bottom:4px}.report-detail-vital-box strong{color:#0f172a;font-size:15px}.report-detail-text-block{padding-top:12px;border-top:1px solid #edf2f7;margin-bottom:12px}.report-detail-text-block label{display:block;margin-bottom:4px;font-size:11px;font-weight:800;color:#64748b;text-transform:uppercase}.report-detail-text-block p{margin:0;color:#1e293b;line-height:1.6}.report-detail-diagnosis-box{border:1px solid #dbe7ef;border-left:4px solid var(--primary);border-radius:4px;background:#f8fafc;padding:14px 16px;color:#0f172a;font-size:22px;font-weight:700}.report-detail-subcard{border:1px solid #e2e8f0;border-radius:4px;background:#fff;padding:14px;height:100%}.report-detail-subcard h6,.report-detail-note-box h6{margin:0 0 10px;color:#334155;font-size:13px;font-weight:800}.report-detail-note-box{border:1px dashed #cbd5e1;border-radius:4px;background:#fff;padding:14px}.report-detail-note-box p,.report-detail-list{color:#475569}@media(max-width:767px){.report-detail-patient-bar{flex-wrap:wrap}.report-detail-visit-meta{margin-left:0;text-align:left;width:100%}.report-detail-vitals-grid{grid-template-columns:1fr 1fr}}@media(max-width:991px){.master-workspace-grid{grid-template-columns:1fr}.master-sidebar-card{position:static}}.p-discount-scroll{overflow-x:auto;overflow-y:hidden;white-space:nowrap;cursor:text}.p-discount-scroll::-webkit-scrollbar{height:6px}.p-discount-scroll::-webkit-scrollbar-thumb{background:rgba(var(--primary-rgb),.45);border-radius:3px}.p-discount-scroll::-webkit-scrollbar-thumb:hover{background:rgba(var(--primary-rgb),.7)}.p-discount-scroll::-webkit-scrollbar-track{background:transparent}.p-discount-scroll:empty:before{content:"";color:#94a3b8}.patient-photo-container{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;margin-bottom:0}.photo-preview-wrapper{position:relative;width:var(--patient-photo-size);height:var(--patient-photo-size);border-radius:50%;border:4px solid #fff;box-shadow:0 4px 12px #00000026;overflow:hidden;background:#f1f5f9;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:transform .2s}.photo-preview-wrapper:hover{transform:scale(1.03)}.photo-preview-wrapper i{font-size:40px;color:#cbd5e1}.photo-preview-wrapper img{width:100%;height:100%;object-fit:cover}.photo-actions{display:flex;gap:4px}.btn-photo{padding:2px 8px!important;font-size:10px!important;border-radius:4px!important}#camera-video{width:100%;max-width:480px;border-radius:4px;background:#000;transform:scaleX(-1)}.profile-header{background:linear-gradient(135deg,#1b6bb0,#115892);color:#fff;padding:30px 20px;border-radius:12px 12px 0 0;position:relative}.profile-img-wrapper{width:120px;height:120px;border-radius:50%;border:5px solid rgba(255,255,255,.2);overflow:hidden;background:#f1f5f9;display:flex;align-items:center;justify-content:center;margin:0 auto 15px;box-shadow:0 4px 15px #0000001a}.profile-img-wrapper img{width:100%;height:100%;object-fit:cover}.profile-info-card{border:none;border-radius:4px;box-shadow:0 2px 8px #0000000d;transition:transform .2s}.profile-info-card:hover{transform:translateY(-2px)}.profile-label{font-size:11px;text-transform:uppercase;color:#64748b;font-weight:700;margin-bottom:4px}.profile-value{font-size:14px;font-weight:600;color:#1e293b}.patient-allergy-panel{border:0;border-radius:0;padding:0;background:transparent;box-shadow:none}.patient-allergy-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}.patient-allergy-status{flex:0 0 auto;color:#64748b;font-size:12px;font-weight:700;line-height:1.2;white-space:nowrap}.patient-allergy-status.is-active{color:#dc3545}.patient-allergy-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.patient-single-option{grid-template-columns:1fr}.patient-allergy-option{display:flex;align-items:center;gap:12px;min-height:46px;padding:8px 12px;border:1px solid #cfe4df;border-radius:4px;background:#fff;color:#44546a;cursor:pointer;transition:border-color .16s ease,background .16s ease}.patient-allergy-option:has(input:checked){border-color:#dc3545;background:snow}.patient-allergy-option .form-check-input{position:static;flex:0 0 16px;width:16px;height:16px;margin:0;border-color:#dc3545}.patient-allergy-option>span{min-width:0;padding-left:0}.patient-allergy-option strong,.patient-allergy-option small{display:block;line-height:1.25}.patient-allergy-option strong{font-size:13px}.patient-allergy-option small{color:#64748b;font-size:11px}.patient-allergy-details{margin-top:8px}.patient-allergy-detail{margin-bottom:10px}@media(max-width:575.98px){.patient-allergy-options{grid-template-columns:1fr}.patient-allergy-head{flex-direction:column}}#emrModal .modal-dialog{max-width:min(1420px,calc(100vw - 36px))}#emrModal .modal-content{border-radius:6px;overflow:hidden}#emrModal .modal-header{background:#1f5f97!important;min-height:76px}#emrModal .modal-body{background:#f7f9fc}#emrModal .card.bg-light{border:1px solid #d8e1ec!important;background:#fff!important;border-radius:4px}#emrModal .alert{border-radius:4px!important}.emr-workflow-shell{border:1px solid #dbe7ef;border-radius:6px;background:#fff;overflow:hidden}.emr-workflow-tabs{border-bottom:1px solid #dbe7ef;background:#eef4fa;padding:10px 12px 0;gap:8px}.emr-workflow-tabs .nav-item{margin-bottom:0}.emr-workflow-tabs .nav-link{border:1px solid transparent;border-radius:6px 6px 0 0;color:#394a5f;font-size:13px;font-weight:800;padding:11px 15px;display:inline-flex;align-items:center;gap:8px;background:#ffffffa6}.emr-workflow-tabs .nav-link:hover{border-color:#dbe7ef;color:#0f172a}.emr-workflow-tabs .nav-link.active{color:#173f66;background:#fff;border-color:#dbe7ef #dbe7ef #fff;box-shadow:0 -1px #fff inset}.emr-clinical-section-title{display:flex;align-items:center;gap:8px;color:#1f2937;font-size:14px;font-weight:900;padding-bottom:9px;border-bottom:1px solid #d8e1ec}.emr-clinical-section-title i{color:#1f5f97}.emr-opd-card-panel{border:1px solid #d8e1ec;border-radius:4px;background:#fff;padding:16px}.emr-opd-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:12px}.emr-opd-field{border:1px solid #e1e8f0;border-radius:4px;padding:10px 12px;background:#fbfcfe}.emr-opd-field span,.emr-opd-note span{display:block;color:#667085;font-size:11.5px;font-weight:800;margin-bottom:4px}.emr-opd-field strong{color:#111827;font-size:14px;font-weight:800}.emr-opd-vitals-table{width:100%;margin-top:12px;border-collapse:collapse;table-layout:fixed;border:1px solid #cfd8e3}.emr-opd-vitals-table th,.emr-opd-vitals-table td{border:1px solid #cfd8e3;padding:10px 8px;text-align:center}.emr-opd-vitals-table th{background:#f3f6f9;color:#344054;font-size:12px;font-weight:900}.emr-opd-vitals-table td{color:#111827;font-size:14px;font-weight:800}.emr-opd-notes-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.emr-opd-note{border:1px solid #e1e8f0;border-radius:4px;background:#fff;padding:10px 12px;min-height:72px}.emr-opd-note p{margin:0;color:#111827;font-size:13px;line-height:1.45;font-weight:700}.emr-tab-count{min-width:24px;height:24px;border-radius:6px;padding:0 8px;display:inline-flex;align-items:center;justify-content:center;font-size:11px;font-weight:800;color:#fff;background:#64748b}.emr-lab-tab .emr-tab-count,#emr-lab-tab .emr-tab-count{background:var(--primary)}.emr-rx-tab .emr-tab-count,#emr-rx-tab .emr-tab-count{background:#1b6bb0}.emr-workflow-content{padding:18px}.emr-workflow-tab-pane{min-height:320px}.emr-orders-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:16px}.emr-order-panel{border:1px solid var(--border-color);border-radius:4px;background:#fff;box-shadow:0 10px 24px #0f172a0d;overflow:hidden}.emr-order-panel.lab{border-top:4px solid var(--primary)}.emr-order-panel.rx{border-top:4px solid #1B6BB0}.emr-order-panel-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;background:#fff;border-bottom:1px solid #e5e7eb}.emr-order-panel-title{display:flex;align-items:flex-start;gap:12px}.emr-order-panel-icon{width:38px;height:38px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;font-size:16px;flex-shrink:0}.emr-order-panel.lab .emr-order-panel-icon{background:rgba(var(--primary-rgb),.12);color:var(--primary-dark)}.emr-order-panel.rx .emr-order-panel-icon{background:#1b6bb01f;color:#1b6bb0}.emr-order-panel h6{margin:0;font-size:14px;font-weight:800;color:#0f172a}.emr-order-panel p{margin:2px 0 0;font-size:11.5px;color:#64748b}.emr-order-add-btn{border-radius:6px;padding:7px 14px;font-size:12px;font-weight:700;border-width:1px}.emr-order-panel-body{padding:14px;background:#fcfdff}.emr-order-list{display:flex;flex-direction:column;gap:10px}.emr-workflow-tab-pane .emr-order-panel{min-height:100%}.emr-order-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:118px;border:1px dashed #cbd5e1;border-radius:4px;background:#fff;color:#94a3b8;text-align:center;padding:18px}.emr-order-empty i{font-size:24px;opacity:.7}.emr-order-empty strong{color:#64748b;font-size:12.5px}.emr-order-empty span{font-size:11px}@media(max-width:767px){.emr-workflow-tabs{padding:10px 10px 0;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden}.emr-workflow-tabs .nav-link{white-space:nowrap;padding:11px 14px}.emr-workflow-content{padding:14px}.emr-opd-grid,.emr-opd-notes-grid{grid-template-columns:1fr}.emr-opd-vitals-table{display:block;overflow-x:auto;white-space:nowrap}}.emr-order-item{border:1px solid #dbe4ee;border-radius:4px;background:#fff;padding:12px 14px;display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.emr-order-item-main{min-width:0;flex:1}.emr-order-item-title{display:flex;align-items:center;gap:8px;color:#0f172a;font-weight:700;font-size:13px;margin-bottom:6px}.emr-order-item-title i{color:#64748b}.emr-order-meta{display:flex;flex-wrap:wrap;gap:6px}.emr-order-chip{display:inline-flex;align-items:center;gap:5px;padding:4px 8px;border-radius:6px;font-size:11px;font-weight:600;border:1px solid #dbe4ee;background:#f8fafc;color:#475569}.emr-order-delete{width:30px;height:30px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;flex-shrink:0}.emr-picker-shell{border:1px solid #dbe4ee;border-radius:4px;background:#fff;padding:10px}.emr-picker-list{max-height:320px;overflow-y:auto;display:flex;flex-direction:column;gap:8px}.emr-picker-option{display:flex;align-items:flex-start;gap:10px;padding:10px 12px;border:1px solid #e2e8f0;border-radius:10px;background:#fff}.emr-picker-option label{cursor:pointer}.emr-picker-option strong{display:block;color:#0f172a;font-size:12.5px}.emr-picker-option span{display:block;color:#64748b;font-size:11px}.emr-lis-shell{border:1px solid #dbe7ef;border-radius:6px;background:#fff;padding:14px}.emr-lis-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,.9fr);gap:16px}.emr-lis-panel{border:1px solid #dbe7ef;border-radius:6px;background:#fff;overflow:hidden;min-height:420px;display:flex;flex-direction:column}.emr-lis-panel-header{padding:14px 16px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #e5f0ed;background:#fff}.emr-lis-panel-title{display:flex;align-items:flex-start;gap:12px;min-width:0}.emr-lis-panel-title i{width:36px;height:36px;border-radius:4px;display:inline-flex;align-items:center;justify-content:center;background:rgba(var(--primary-rgb),.12);color:var(--primary-dark);flex-shrink:0}.emr-lis-panel-title strong{display:block;color:#0f172a;font-size:14px}.emr-lis-panel-title span{display:block;color:#64748b;font-size:11px;line-height:1.45;margin-top:2px}.emr-lis-refresh{width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;border-radius:4px}.emr-lis-search-row{padding:14px 16px 0}.emr-lis-test-container,.emr-lis-summary-body{padding:14px 16px 16px;overflow-y:auto}.emr-lis-test-container{flex:1;min-height:280px;max-height:min(62vh,720px)}.emr-lis-search-row .input-group-text,.emr-lis-search-row .form-control{font-size:11px!important;min-height:34px}.emr-lis-sheet-layout{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-content:start}.emr-lis-sheet-section{border:1px solid #dbe7ef;border-radius:4px;background:#fff;padding:10px 12px}.emr-lis-sheet-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;padding-bottom:8px;margin-bottom:8px;border-bottom:1px solid #e8f2ef}.emr-lis-sheet-section-title{display:block;color:#0f172a;font-size:11.5px;line-height:1.2;font-weight:800}.emr-lis-sheet-section-subtitle{display:block;color:#7a8b85;font-size:9.5px;margin-top:2px}.emr-lis-sheet-section-selected{display:inline-flex;align-items:center;justify-content:center;min-height:24px;padding:0 8px;border-radius:6px;background:rgba(var(--primary-rgb),.12);color:var(--primary-dark);font-size:10px;font-weight:700;white-space:nowrap}.emr-lis-sheet-checklist{display:grid;grid-template-columns:repeat(var(--emr-sheet-cols),minmax(0,1fr));gap:4px 14px}.emr-lis-sheet-item{display:grid;grid-template-columns:13px minmax(0,1fr);align-items:start;column-gap:6px;padding:1px 0;color:#1f2937;cursor:pointer;line-height:1.2;min-width:0}.emr-lis-sheet-item .form-check-input{width:13px;height:13px;margin:1px 0 0;float:none;position:static;flex-shrink:0}.emr-lis-sheet-item-text{display:block;font-size:10.8px;line-height:1.25;font-weight:500;word-break:break-word;min-width:0}.emr-lis-sheet-item.is-selected .emr-lis-sheet-item-text{color:var(--primary-dark);font-weight:700}.emr-lis-category{border:1px solid #dbe7ef;border-radius:4px;background:#fff;overflow:hidden}.emr-lis-category+.emr-lis-category{margin-top:12px}.emr-lis-category-summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;background:#fff}.emr-lis-category-summary::-webkit-details-marker{display:none}.emr-lis-category-heading{display:flex;align-items:center;gap:12px;min-width:0}.emr-lis-category-heading i{width:32px;height:32px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;background:rgba(var(--primary-rgb),.12);color:var(--primary-dark);flex-shrink:0}.emr-lis-category-heading strong{display:block;color:#0f172a;font-size:13px}.emr-lis-category-heading span{display:block;color:#64748b;font-size:11px;margin-top:2px}.emr-lis-category-meta{display:flex;align-items:center;gap:8px;flex-shrink:0}.emr-lis-category-selected,.emr-lis-category-count{display:inline-flex;align-items:center;justify-content:center;min-width:28px;height:28px;padding:0 10px;border-radius:6px;font-size:11px;font-weight:700}.emr-lis-category-selected{background:rgba(var(--primary-rgb),.14);color:var(--primary-dark)}.emr-lis-category-count{background:#eef7f5;color:#5c746d}.emr-lis-category-body{padding:0 12px 12px}.emr-lis-test-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px}.emr-lis-test-card{border:1px solid #e2e8f0;border-radius:4px;background:#fff;padding:14px;display:flex;align-items:flex-start;gap:10px;min-height:84px;cursor:pointer;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease}.emr-lis-test-card:hover{transform:translateY(-1px);border-color:#cfe6e2;box-shadow:0 10px 24px #11589214}.emr-lis-test-card.is-selected{border-color:rgba(var(--primary-rgb),.36);background:linear-gradient(180deg,#ffffff 0%,var(--primary-soft) 100%);box-shadow:0 12px 28px rgba(var(--primary-rgb),.12)}.emr-lis-test-card .form-check-input{margin-top:3px;flex-shrink:0}.emr-lis-test-card-body{min-width:0}.emr-lis-test-card-title{display:block;color:#0f172a;font-size:13px;line-height:1.35;margin-bottom:4px}.emr-lis-test-card-desc{display:block;color:#64748b;font-size:11px;line-height:1.4}.emr-lis-summary-panel{background:#fff}.emr-lis-summary-count{min-width:34px;height:34px;border-radius:4px;display:inline-flex;align-items:center;justify-content:center;background:var(--primary);color:#fff;font-weight:800;font-size:13px;padding:0 10px}.emr-lis-summary-body{flex:1;max-height:min(62vh,720px)}.emr-lis-summary-list{display:flex;flex-direction:column;gap:8px}.emr-lis-summary-item{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:8px 10px;border:1px solid #dbe7ef;border-radius:10px;background:#fff}.emr-lis-summary-text{min-width:0}.emr-lis-summary-text strong{display:block;color:#0f172a;font-size:11px;line-height:1.3}.emr-lis-summary-text span{display:block;color:#64748b;font-size:9.5px;line-height:1.25;margin-top:2px}.emr-lis-summary-remove{padding:2px 4px!important;line-height:1;box-shadow:none!important}@media(max-width:991px){.emr-lis-layout{grid-template-columns:1fr}.emr-lis-panel,.emr-lis-summary-panel{min-height:auto}}@media(max-width:767px){.emr-lis-shell{padding:12px}.emr-lis-panel-header,.emr-lis-search-row,.emr-lis-test-container,.emr-lis-summary-body{padding-left:12px;padding-right:12px}.emr-lis-sheet-layout,.emr-lis-sheet-checklist{grid-template-columns:1fr}.emr-lis-sheet-section-head{align-items:flex-start}}*{box-sizing:border-box}body,h1,h2,h3,h4,h5,h6,p,label,input,select,textarea,button{font-family:Noto Sans Lao,sans-serif!important}body{background-color:var(--bg-color);color:#334155;font-size:13px!important;overflow-x:hidden;margin:0;padding-top:var(--nav-height)}.emr-his-modal .modal-dialog{max-width:min(1420px,calc(100vw - 36px))}.emr-his-modal .modal-content{border-radius:4px;overflow:hidden;border:1px solid #c7d0db;box-shadow:0 6px 24px #0f203c1f}.emr-his-modal .modal-header.emr-his-titlebar{background:#1f5f97!important;color:#fff;padding:8px 16px;border-bottom:1px solid #174a78;border-radius:0;display:flex;align-items:center;justify-content:space-between;min-height:auto}.emr-his-titlebar-left{display:flex;align-items:center;gap:10px}.emr-his-titlebar-left>i{font-size:14px;opacity:.85}.emr-his-titlebar-label{font-size:10px;letter-spacing:.8px;text-transform:uppercase;opacity:.75;font-weight:700}.emr-his-titlebar-title{margin:0;font-size:14px;font-weight:700}.emr-his-titlebar-meta{display:flex;align-items:center;gap:10px}.emr-his-status-pill{display:inline-flex;align-items:center;gap:5px;background:transparent;border:1px solid rgba(255,255,255,.4);color:#fff;padding:2px 9px;border-radius:3px;font-size:10.5px;font-weight:700;letter-spacing:.4px}.emr-his-status-dot{width:6px;height:6px;border-radius:50%;background:#4ade80}.emr-his-banner{display:grid;grid-template-columns:44px 1fr auto;gap:12px;align-items:center;padding:8px 16px;background:#fff;border-bottom:1px solid #d8e1ec}.emr-his-banner-photo{position:relative;width:44px;height:44px;border-radius:4px;background:#eef2f7;border:1px solid #cbd5e1;display:flex;align-items:center;justify-content:center;overflow:hidden;color:#94a3b8;font-size:20px}.emr-his-banner-photo img{width:100%;height:100%;object-fit:cover;display:none}.emr-his-banner-photo img[src]:not([src=""]){display:block}.emr-his-banner-photo img[src]:not([src=""])~i{display:none}.emr-his-banner-name{font-size:15px;font-weight:700;color:#0f172a;line-height:1.2}.emr-his-banner-chips{display:flex;flex-wrap:wrap;gap:4px;margin-top:3px}.emr-his-chip{display:inline-flex;align-items:center;gap:4px;background:#f1f5f9;border:1px solid #cbd5e1;color:#334155;padding:1px 7px;border-radius:3px;font-size:11px;font-weight:600}.emr-his-chip i{font-size:9px;opacity:.6}.emr-his-chip-id{background:#fff;border-color:#94a3b8;color:#1f5f97;font-family:Consolas,monospace;font-weight:700}.emr-his-banner-alerts{display:flex;align-items:center;gap:8px}.emr-his-allergy{display:inline-flex;align-items:center;gap:7px;padding:3px 10px;border-radius:3px;background:#fff;border:1px solid #fca5a5;color:#b91c1c;min-width:0}.emr-his-allergy i{font-size:13px}.emr-his-allergy-label{display:inline;font-size:10.5px;font-weight:700;letter-spacing:.5px;text-transform:uppercase;color:#991b1b;margin-right:4px}.emr-his-allergy-value{display:inline;font-size:12px;font-weight:700;color:#991b1b}.emr-his-allergy.is-clear{border-color:#d1d5db;color:#475569}.emr-his-allergy.is-clear i,.emr-his-allergy.is-clear .emr-his-allergy-label,.emr-his-allergy.is-clear .emr-his-allergy-value{color:#64748b}.emr-his-vitals-strip{display:grid;grid-template-columns:2.2fr repeat(8,1fr);background:#fff;border-bottom:1px solid #d8e1ec}.emr-his-vital-tile,.emr-his-vitals-cc{background:#fff;padding:6px 10px;display:flex;align-items:center;gap:7px;min-height:42px;border-right:1px solid #e5eaf1}.emr-his-vital-tile:last-child{border-right:0}.emr-his-vitals-cc{background:#f9fafb}.emr-his-vitals-cc>i{color:#1f5f97;font-size:13px}.emr-his-vital-tile>i{width:20px;flex:0 0 20px;color:#1f5f97;font-size:12px;text-align:center}.emr-his-vital-key{display:block;font-size:9.5px;font-weight:700;letter-spacing:.5px;text-transform:uppercase;color:#6b7280;line-height:1;margin-bottom:2px}.emr-his-vital-val{display:block;font-size:12.5px;font-weight:700;color:#0f172a;line-height:1.1}.emr-his-cc-value{display:block;font-size:12px;font-weight:600;color:#1f2937;margin-top:2px;line-height:1.3;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.emr-his-body{background:#f5f7fa;padding:12px 14px;max-height:calc(100vh - 320px);overflow-y:auto}.emr-his-body .emr-workflow-shell{border-radius:4px;border:1px solid #d8e1ec;box-shadow:none}.emr-his-footer{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:8px 16px;background:#f9fafb;border-top:1px solid #d8e1ec}.emr-his-footer-meta{display:flex;align-items:center;gap:7px;color:#6b7280;font-size:11.5px;font-weight:500}.emr-his-footer-meta i{color:#1f5f97}.emr-his-footer-actions{display:flex;gap:8px}.emr-his-btn-ghost{background:#fff;border:1px solid #cbd5e1;color:#475569;padding:5px 14px;font-size:12.5px;font-weight:600;border-radius:3px}.emr-his-btn-ghost:hover{background:#f1f5f9;border-color:#94a3b8;color:#334155}.emr-his-btn-primary{background:#1f5f97;border:1px solid #174a78;color:#fff;padding:5px 18px;font-size:12.5px;font-weight:700;border-radius:3px;box-shadow:none}.emr-his-btn-primary:hover{background:#174a78;border-color:#0f3a60;color:#fff}@media(max-width:1100px){.emr-his-vitals-strip{grid-template-columns:repeat(5,1fr)}.emr-his-vitals-cc{grid-column:span 5;border-right:0;border-bottom:1px solid #e5eaf1}}@media(max-width:760px){.emr-his-vitals-strip{grid-template-columns:repeat(4,1fr)}.emr-his-vitals-cc{grid-column:span 4}.emr-his-banner{grid-template-columns:44px 1fr}.emr-his-banner-alerts{grid-column:1 / -1}}.his-topnav{position:fixed;top:0;left:0;right:0;height:var(--nav-height);background:var(--nav-bg);display:flex;align-items:center;z-index:1030;padding:0 16px;gap:4px;box-shadow:0 2px 8px #00000040}.his-brand{display:flex;align-items:center;gap:8px;color:#fff;font-weight:800;font-size:15px;padding:0 12px 0 0;border-right:1px solid rgba(255,255,255,.1);margin-right:8px;white-space:nowrap;flex-shrink:0}.his-brand.his-brand-logo-only{padding:0 8px 0 0;margin-right:6px;gap:0}.his-brand i{color:var(--primary);font-size:18px}.his-brand-logo{width:34px;height:34px;border-radius:50%;object-fit:contain;background:#fff;padding:2px;box-shadow:0 2px 6px #1b6bb02e}.his-nav-items{display:flex;align-items:center;flex:1;gap:2px;overflow:visible}.his-nav-link{display:flex;align-items:center;gap:5px;padding:6px 9px;border-radius:6px;color:var(--nav-text)!important;text-decoration:none!important;font-size:12.5px;font-weight:500;white-space:nowrap;transition:all .18s;cursor:pointer}.his-nav-link:hover{background:var(--nav-hover-bg);color:#fff!important}.his-nav-link.active{background:var(--nav-active-bg);color:#fff!important;box-shadow:0 2px 6px #1b6bb066}.his-nav-link i{font-size:13px;width:14px;text-align:center;flex-shrink:0}.his-chevron{font-size:10px!important;transition:transform .2s}.his-dropdown.open>a .his-chevron{transform:rotate(180deg)}.his-nav-right{display:flex;align-items:center;gap:4px;margin-left:auto;flex-shrink:0}.his-bell-btn{position:relative}.his-bell-badge{position:absolute;top:2px;right:4px;background:#ef4444;color:#fff;font-size:9px;font-weight:700;min-width:16px;height:16px;border-radius:8px;display:flex;align-items:center;justify-content:center;padding:0 3px}.his-avatar{width:28px;height:28px;border-radius:50%;background:var(--primary);display:flex;align-items:center;justify-content:center;color:#fff;font-size:12px;flex-shrink:0}.his-dropdown{position:relative}.his-dropdown-menu{display:none;position:absolute;top:100%;right:0;background:#1e293b;border-radius:10px;min-width:220px;padding:8px 0;box-shadow:0 1px 2px #0000000d;z-index:10000;border:1px solid rgba(255,255,255,.12);margin-top:5px}.his-dropdown.open .his-dropdown-menu{display:block!important}.his-dropdown-item{display:flex;align-items:center;padding:8px 16px;color:#fff!important;text-decoration:none!important;font-size:13px;transition:all .15s;white-space:nowrap;border-bottom:1px solid rgba(255,255,255,.05)}.his-dropdown-item:hover{background:#1b6bb040;color:#fff!important}.his-dropdown-item i{width:18px;text-align:center;margin-right:10px;font-size:14px}.his-step-num{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;min-width:20px;border-radius:50%;background:#ffffff2e;color:#fff;font-size:11px;font-weight:700;margin-right:10px}.his-dropdown-item:hover .his-step-num{background:#ffffff52}.his-dropdown-item.active{background:var(--nav-active-bg);color:#fff!important;font-weight:600}.his-dropdown-header{padding:12px 16px;font-size:11px;font-weight:800;color:#cbd5e1;background:#0000004d;text-transform:uppercase;letter-spacing:1px;border-bottom:1px solid rgba(255,255,255,.1)}.his-dropdown-footer{border-top:1px solid rgba(255,255,255,.1);background:#00000026;margin-top:0;padding:4px 0}.his-dropdown-footer a{display:block;padding:10px 16px;color:#38bdf8!important;text-decoration:none!important;font-size:12.5px;text-align:center;font-weight:700}.his-dropdown-footer a:hover{background:#1b6bb01a}.his-hamburger{display:none;background:none;border:none;color:#cbd5e1;font-size:18px;padding:6px 10px;cursor:pointer}@media(max-width:768px){.his-hamburger{display:flex;align-items:center}.his-nav-items{display:none;position:absolute;top:var(--nav-height);left:0;right:0;background:var(--nav-bg);flex-direction:column;align-items:stretch;padding:8px;gap:2px;border-top:1px solid rgba(255,255,255,.08);box-shadow:0 8px 16px #0000004d}.his-nav-items.open{display:flex}.his-nav-items .his-dropdown{width:100%}.his-nav-items .his-dropdown-menu{position:static;display:none;box-shadow:none;border:none;background:#ffffff0a;border-radius:6px;margin:2px 0}.his-nav-items .his-dropdown.open .his-dropdown-menu{display:block}.his-nav-link{width:100%}}.his-content-wrapper{padding:16px 18px;min-height:calc(100vh - var(--nav-height))}.card{border-radius:var(--card-radius);border:none;box-shadow:0 1px 4px #00000014;margin-bottom:16px;background:#fff}.card-header{background-color:#fff;border-bottom:1px solid var(--border-color);border-radius:var(--card-radius) var(--card-radius) 0 0!important;padding:10px 16px}.card-body{padding:14px 16px}.table{margin-bottom:0;font-size:12.5px}.table th{background-color:#f1f5f9!important;color:#475569;font-weight:600;text-transform:uppercase;letter-spacing:.5px;padding:10px;border-bottom:2px solid var(--border-color)}.table td{padding:8px 10px;vertical-align:middle;border-bottom:1px solid #f1f5f9}.btn{border-radius:6px;font-weight:500;transition:all .2s;padding:6px 12px;font-size:12.5px}.btn-sm{padding:4px 8px;font-size:11.5px}.btn-primary{background-color:var(--primary);border-color:var(--primary);color:#fff}.btn-primary:hover{background-color:var(--primary-dark);border-color:var(--primary-dark)}.form-control,.form-select{border-radius:6px;border:1px solid #cbd5e1;padding:6px 10px;font-size:13px}.form-control:focus,.form-select:focus{border-color:var(--primary);box-shadow:0 0 0 .2rem #1b6bb040}.form-label{font-weight:600;color:#475569;margin-bottom:4px;font-size:12.5px}.required:after{content:" *";color:#ef4444}h3{font-size:1.15rem!important;font-weight:700!important;color:#1e293b;margin-bottom:0!important}h5{font-size:1.05rem!important;font-weight:600!important}h6{font-size:.95rem!important;font-weight:600!important;margin-bottom:8px!important}.badge{padding:5px 8px;font-weight:600;letter-spacing:.3px;font-size:11px}.small-box{border-radius:4px;overflow:hidden;margin-bottom:20px;position:relative;transition:all .3s cubic-bezier(.4,0,.2,1);box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f;border:none}.small-box:hover{transform:translateY(-5px);box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d}.small-box .inner{padding:20px;position:relative;z-index:2}.small-box .icon{position:absolute;top:15px;right:15px;font-size:60px;color:#ffffff26;transition:all .3s ease;z-index:1}.small-box:hover .icon{transform:scale(1.1);color:#ffffff40}.small-box.bg-hospital-total{background:linear-gradient(135deg,#1e293b,#334155)!important}.small-box.bg-hospital-new{background:linear-gradient(135deg,#1b6bb0,#2563eb)!important}.small-box.bg-hospital-returning{background:linear-gradient(135deg,#1b6bb0,#115892)!important}.small-box.bg-hospital-inscorp{background:linear-gradient(135deg,#f59e0b,#d97706)!important}.small-box h3{color:#fff!important;font-size:2.2rem!important;margin-bottom:5px!important}.small-box p{color:#ffffffe6!important;font-weight:500}.select2-container .select2-selection--single{height:36px!important;border:1px solid #cbd5e1!important;border-radius:6px!important}.select2-container--default .select2-selection--single .select2-selection__rendered{line-height:34px!important;font-size:13px;color:#334155!important}.select2-container--default .select2-selection--single .select2-selection__arrow{height:34px!important}.modal-content{border-radius:4px;overflow:hidden;border:none}.modal-header{border-bottom:1px solid var(--border-color);padding:12px 20px}.modal-footer{border-top:1px solid var(--border-color);padding:12px 20px}.login-page{background:#f5f7fa;height:100vh;display:flex;align-items:center;justify-content:center;margin-top:calc(var(--nav-height) * -1);padding-top:0}.login-box{width:400px;max-width:90%}.login-box .card{border-radius:4px;border-top:4px solid var(--accent-red)!important;box-shadow:0 10px 25px #0000001a!important}.login-logo{max-width:100%}.login-logo-image{width:min(210px,72%);height:auto;display:block;margin:0 auto;filter:drop-shadow(0 18px 30px rgba(27,107,176,.18))}.login-brand-title{color:#0e3b5f;font-size:1.28rem;font-weight:800;letter-spacing:-.02em;line-height:1.35}.login-brand-subtitle{font-size:.77rem;letter-spacing:.08em;text-transform:uppercase}.login-brand-footer{font-size:10.5px;letter-spacing:.03em;line-height:1.5}#loading{position:fixed;top:0;left:0;width:100%;height:100%;background:#fffc;z-index:99999;display:flex;justify-content:center;align-items:center;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.print-container{display:none!important}.print-active{display:block!important}@media print{body>*:not(#partial-prints):not(.print-active){display:none!important}#partial-prints{display:block!important}.print-active{display:block!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important}.print-active *{visibility:visible!important}.print-container:not(.print-active){display:none!important}body{background-color:#fff!important;margin:0!important;padding:0!important;font-size:12px!important}@page{size:A4 portrait;margin:4mm}}#cover-print-area .cover-page{--cover-accent: #1B6BB0;width:198mm;min-height:289mm;height:289mm;margin:0 auto;background:#fff;color:#000;font-family:Noto Sans Lao,Phetsarath OT,Saysettha OT,Arial,sans-serif;box-sizing:border-box;padding:14mm;position:relative}#cover-print-area .cover-page.cover-opd{--cover-accent: #1B6BB0}#cover-print-area .cover-page.cover-ipd{--cover-accent: #B91C1C}#cover-print-area .cover-page *{box-sizing:border-box}#cover-print-area .cover-frame{height:100%;padding:14mm 16mm;border:2px solid var(--cover-accent);outline:1px solid var(--cover-accent);outline-offset:2mm;display:flex;flex-direction:column}#cover-print-area .cover-header{text-align:center;padding-bottom:4mm}#cover-print-area .cover-logo{width:55mm;height:auto;display:block;margin:0 auto;object-fit:contain}#cover-print-area .cover-hr{height:0;border-top:1.5pt solid var(--cover-accent);margin:6mm 0}#cover-print-area .cover-hr-thin{border-top:.75pt solid #000}#cover-print-area .cover-meta{display:flex;justify-content:space-between;align-items:flex-start;gap:8mm;min-height:22mm}#cover-print-area .cover-meta-left{display:flex;flex-direction:column;gap:3mm;min-width:70mm}#cover-print-area .cover-meta-right{display:flex;align-items:flex-start;justify-content:flex-end}#cover-print-area .cover-meta-row{display:flex;align-items:baseline;gap:4mm;font-size:12pt}#cover-print-area .cover-meta-label{font-weight:700;color:#000;min-width:22mm;font-size:11pt}#cover-print-area .cover-meta-value{font-weight:800;font-size:14pt;color:#000;font-family:Courier New,monospace}#cover-print-area .cover-barcode{display:block;height:16mm;width:70mm}#cover-print-area .cover-title-block{flex:1;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:6mm 0}#cover-print-area .cover-title{font-size:36pt;font-weight:900;color:var(--cover-accent);letter-spacing:4px;line-height:1;text-transform:uppercase}#cover-print-area .cover-subtitle{font-size:13pt;color:#000;margin-top:3mm;font-weight:600}#cover-print-area .cover-fields{padding:6mm 0 4mm;display:flex;flex-direction:column;gap:8mm}#cover-print-area .cover-field{display:flex;align-items:baseline;gap:5mm;border-bottom:.5pt solid #000;padding-bottom:3mm;font-size:14pt}#cover-print-area .cover-field-label{font-weight:700;min-width:44mm;color:#000;font-size:13pt}#cover-print-area .cover-field-value{flex:1;font-weight:800;color:#000;font-size:22pt;line-height:1.5;padding-top:2mm}#cover-print-area .cover-field-title{font-weight:600;font-size:18pt;margin-right:3mm}#cover-print-area .cover-signatures{display:flex;justify-content:space-between;gap:14mm;margin-top:auto;padding-top:10mm}#cover-print-area .cover-sign{flex:1;text-align:center}#cover-print-area .cover-sign-line{border-bottom:.75pt solid #000;height:12mm;margin-bottom:2mm}#cover-print-area .cover-sign-label{font-size:11pt;color:#000;font-weight:700}.opd-page{width:202mm;max-width:none;height:289mm;min-height:289mm;page:opd-print;box-sizing:border-box;position:relative;page-break-after:always;overflow:hidden;background:#fff;color:#000;font-size:12pt;line-height:1.25;padding:0;margin:0 auto}.opd-page:first-child{display:flex;flex-direction:column;width:198mm;max-width:none;min-height:289mm;padding:0;overflow:visible}.opd-page:first-child{font-size:12pt;line-height:1.25}.opd-header-img{width:52mm;height:auto;max-width:55mm;max-height:39mm;object-fit:contain;display:block!important;visibility:visible!important;page-break-inside:avoid;margin:.2mm 0 0}.opd-page-header{display:grid;grid-template-columns:55mm 1fr 90mm;gap:2mm;align-items:center;margin:0 0 4.5mm;width:100%;max-width:none}.opd-page-header-left{display:flex;justify-content:flex-start;align-items:center}.opd-page-header-center{text-align:center;padding-top:0;min-width:0}.opd-page-header-right{display:flex;justify-content:flex-end;align-items:center;padding-top:0}.opd-patient-barcode{width:90mm;max-width:100%;height:32mm;display:block}.opd-header-title{text-align:center;font-weight:700;font-size:24pt;line-height:1.04;margin:0;max-width:100%;overflow-wrap:anywhere}.opd-sub-title{text-align:center;font-size:15pt;font-weight:400;margin:.2mm 0 0}.opd-page-title{display:block;text-align:center;font-size:18pt;font-weight:700;line-height:1.08;margin:0 0 1.2mm;width:100%;max-width:none;overflow-wrap:anywhere}.opd-head-meta{margin-top:0;margin-bottom:0}.opd-head-meta td{padding:.55mm .7mm;line-height:1.22}.opd-dot-line{display:inline-block;min-width:34mm;border-bottom:1px solid #000;padding:0 1mm .2mm;line-height:1.1;vertical-align:baseline}.opd-write-line{display:block;width:100%;border-bottom:1px solid #000;padding:0 0 .25mm;min-height:4.2mm;word-break:break-word;vertical-align:baseline}.opd-section-title{font-size:16pt;font-weight:700;border-bottom:1.5px solid #000;margin:3mm 0 1.6mm;padding:1.1mm 0 .8mm;border-top:1.5px solid #000;width:100%;max-width:none}.opd-table-noborder{width:100%;max-width:none;border-collapse:collapse}.opd-table-noborder td,.opd-table-noborder th{border:none!important;padding:.55mm .7mm;font-size:12pt;vertical-align:top;line-height:1.3}.opd-profile-table td b{display:inline-block;min-width:20mm;font-weight:500}.opd-profile-table .opd-dot-line{min-width:34mm}.opd-profile-table td{padding-top:1.2mm;padding-bottom:1.2mm}.opd-table-stretch{width:100%;max-width:none;border-collapse:collapse;table-layout:fixed}.opd-table-stretch th,.opd-table-stretch td{border:.7px solid #000;padding:1mm .8mm;font-size:12pt;vertical-align:top;line-height:1.22}.opd-table-stretch thead th{font-weight:700;background:#eaf4fb!important;font-size:15pt;padding-top:.8mm;padding-bottom:.8mm}.opd2-main-table tbody tr:not(.opd2-dx-row) td{height:9.2mm}.opd2-dx-row td{height:7.4mm}.opd2-followup-table tbody tr td{height:7mm}.opd-three-col td{padding-top:1.2mm}.opd-coverage-row td,.opd-informant-table td{padding-top:1mm}.opd-page b,.opd-page strong{font-weight:500}#popd_doctor.opd-write-line{width:120mm;margin:0 auto}.opd-page:first-child .opd-header-title{font-size:24pt;font-weight:700}.opd-page:first-child .opd-section-title{font-size:16pt;font-weight:700;margin-top:3mm;margin-bottom:1.6mm;padding-top:1.1mm;border-top:1.5px solid #000;border-bottom:1.5px solid #000}.opd-page:first-child .opd-table-noborder td,.opd-page:first-child .opd-table-noborder th{font-size:13pt;line-height:1.32;padding:1mm 1.5mm}.opd-page:first-child .opd-profile-table td b,.opd-page:first-child .opd-table-noborder td b{display:inline-block;min-width:78px;font-size:13pt;font-weight:500}.opd-page:first-child .opd-dot-line,.opd-page:first-child .opd-write-line{font-size:14pt;font-weight:600;border-bottom:1.5px solid #000;padding-bottom:.8mm}.opd-page:first-child .opd-dot-line,.opd-page:first-child .opd-profile-table .opd-dot-line{min-width:40mm}.opd-page:first-child .opd-head-meta{margin-bottom:0}.opd-page:first-child .opd-head-meta td{padding-top:2px;padding-bottom:2px}.opd-page:first-child .opd-profile-table td,.opd-page:first-child .opd-three-col td,.opd-page:first-child .opd-coverage-row td,.opd-page:first-child .opd-informant-table td{padding-top:3px;padding-bottom:3px}.opd-page:first-child .opd-informant-table td[colspan="2"]{padding-top:0!important;padding-bottom:4px!important}.opd-page:first-child .opd-table-noborder+.opd-table-noborder{margin-top:2mm}.opd-page-one{display:flex;flex-direction:column;justify-content:space-between}.opd-page-one .opd-grid,.opd-page-one .opd-meta-grid,.opd-page-one .opd-section-title,.opd-page-one .opd-write-line{width:100%;max-width:none;box-sizing:border-box}.opd-meta-grid{display:grid;grid-template-columns:1fr 1fr;column-gap:16mm;row-gap:2.2mm;margin-bottom:2mm}.opd-grid{display:grid;gap:2.2mm 7mm}.opd-profile-grid,.opd-informant-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.opd-vital-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.opd-three-col{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:3mm}.opd-coverage-row{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:3.2mm}.opd-span-2{grid-column:span 2}.opd-field{display:flex;align-items:baseline;gap:2.5mm;min-width:0;font-size:13pt;line-height:1.22}.opd-field b,.opd-doctor-signature b{flex:0 0 auto;font-size:13pt;font-weight:500}.opd-field .opd-dot-line{flex:1 1 auto;min-width:0}.opd-field-stack{display:block}.opd-field-stack b{display:block;margin-bottom:1mm}.opd-field-stack .opd-write-line{min-height:20mm}.opd-write-line--large{min-height:30mm}.opd-page-one #popd_disease.opd-write-line--large{min-height:34mm}.opd-informant-block{margin-top:0;padding-top:2.2mm;min-height:28mm}.opd-doctor-signature{width:120mm;margin:2.5mm auto 0;text-align:center;font-size:12pt}.opd-doctor-signature .opd-write-line{margin-top:1.8mm}.opd-page:not(.opd-page-one){display:flex;flex-direction:column;justify-content:space-between}.opd2-main-table{height:205mm}.opd2-main-table tbody tr:not(.opd2-dx-row) td{height:13mm}.opd2-dx-row td{height:18mm}.opd2-followup-table{height:66mm;border:.7px solid #000}.opd2-followup-table tbody td{border-top:0!important;border-bottom:0!important;border-left:.7px solid #000!important;border-right:.7px solid #000!important}.opd2-followup-table thead th{border-bottom:.7px solid #000!important}.opd2-followup-table tbody tr td{height:auto}@media print{@page opd-print{size:A4 portrait;margin:4mm}.opd-page{width:202mm;max-width:none;height:289mm;min-height:289mm;margin:0 auto;padding:0;page-break-after:always}.opd-page:last-child{page-break-after:auto}.opd-header-img,.opd-table-stretch th,.opd-table-stretch td,.opd-table-stretch thead th{-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}}#opd-print-area.opdref{width:186mm!important;max-width:186mm!important;margin:0!important;padding:0!important;background:#fff!important;overflow:hidden!important}#opd-print-area.opdref .opd-page,#opd-print-area.opdref .opdref-page{width:186mm!important;min-width:0!important;max-width:186mm!important;height:277mm!important;min-height:277mm!important;max-height:277mm!important;margin:0!important;padding:0!important;overflow:hidden!important;background:#fff!important;color:#000!important;position:relative!important;display:block!important;box-sizing:border-box!important;page-break-after:always;break-after:page}#opd-print-area.opdref .opd-page:last-child,#opd-print-area.opdref .opdref-page:last-child{page-break-after:auto;break-after:auto}#opd-print-area.opdref .opdref-sheet{width:176mm!important;max-width:176mm!important;height:277mm!important;max-height:277mm!important;margin:0 auto!important;padding:0 0 1mm!important;overflow:hidden!important;box-sizing:border-box!important;color:#000!important;font-family:Times New Roman,Phetsarath OT,Noto Sans Lao,serif!important;font-size:12.5pt!important;line-height:1.35!important}#opd-print-area.opdref .opdref-hidden,#opd-print-area.opdref span.opdref-hidden,#opd-print-area.opdref #print-opd-header-2,#opd-print-area.opdref #print-opd-footer-1,#opd-print-area.opdref #print-opd-footer-2,#opd-print-area.opdref .opdp1-meta-line,#opd-print-area.opdref .opdp1-hidden-value{position:absolute!important;width:0!important;height:0!important;overflow:hidden!important;visibility:hidden!important;clip:rect(0 0 0 0)!important;display:block!important}#opd-print-area.opdref .opdref-header-row{display:grid!important;grid-template-columns:48mm 1fr 64mm!important;align-items:start!important;gap:2mm!important;width:100%!important;margin:0 0 .5mm!important;padding:0!important}#opd-print-area.opdref .opdref-header-left{display:flex!important;flex-direction:column!important;justify-content:flex-start!important;align-items:center!important;padding-top:0!important;gap:1mm!important}#opd-print-area.opdref .opdref-header-center{text-align:center!important}#opd-print-area.opdref .opdref-header-right{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:1.5mm!important}#opd-print-area.opdref .opdref-logo{display:block!important;width:44mm!important;max-width:44mm!important;height:auto!important;max-height:34mm!important;object-fit:contain!important;visibility:visible!important;position:static!important;overflow:visible!important;clip:auto!important}#opd-print-area.opdref .opdref-barcode{display:block!important;width:62mm!important;max-width:62mm!important;height:15mm!important;visibility:visible!important;position:static!important;overflow:visible!important;clip:auto!important}#opd-print-area.opdref .opdref-cn-row{font-family:Times New Roman,Phetsarath OT,Noto Sans Lao,serif!important;font-size:15pt!important;font-weight:700!important;letter-spacing:0!important;white-space:nowrap!important;text-align:center!important;width:62mm!important;line-height:1.1!important;color:#dc2626!important}#opd-print-area.opdref .opdref-datetime-row{display:block!important;font-family:Times New Roman,Phetsarath OT,Noto Sans Lao,serif!important;font-size:11pt!important;font-weight:600!important;letter-spacing:0!important;white-space:nowrap!important;text-align:center!important;width:62mm!important;line-height:1.1!important;color:#000!important}#opd-print-area.opdref .opdref-cn-value{display:inline!important;position:static!important;width:auto!important;height:auto!important;visibility:visible!important;clip:auto!important;overflow:visible!important;font-weight:700!important;color:#dc2626!important}#opd-print-area.opdref .opdref-header-center .opdref-title-lao{margin:0!important}#opd-print-area.opdref .opdref-header-center .opdref-title-en{margin:1mm 0 0!important}#opd-print-area.opdref .opdref-fill-org-id{width:25mm!important}#opd-print-area.opdref .opdref-fill-org-name{width:45mm!important}#opd-print-area.opdref .opdref-fill-org-name-wide{width:100mm!important}#opd-print-area.opdref .opdref-fill-discount{width:14mm!important}#opd-print-area.opdref .opdref-fill-discount-wide{width:120mm!important}#opd-print-area.opdref .opdref-vital-table{width:100%!important;border-collapse:collapse!important;table-layout:fixed!important;border:1px solid #000!important;margin:0 0 2.5mm!important;box-sizing:border-box!important;background:#fff!important}#opd-print-area.opdref .opdref-vital-table th,#opd-print-area.opdref .opdref-vital-table td{border:1px solid #000!important;padding:1mm .3mm!important;font-family:Times New Roman,Phetsarath OT,Noto Sans Lao,serif!important;font-size:10pt!important;line-height:1.2!important;text-align:center!important;vertical-align:middle!important;color:#000!important;background:#fff!important;box-sizing:border-box!important;white-space:nowrap!important;overflow:hidden!important}#opd-print-area.opdref .opdref-vital-table th{font-weight:700!important;height:8mm!important}#opd-print-area.opdref .opdref-vital-table td{height:9mm!important;font-weight:400!important}#opd-print-area.opdref .opdref-vital-table td span{display:inline!important;position:static!important;width:auto!important;height:auto!important;visibility:visible!important;clip:auto!important;overflow:visible!important;font-weight:400!important;color:#000!important}#opd-print-area.opdref .opdref-row-nutrition{margin-top:0!important}#opd-print-area.opdref .opdref-title-block{text-align:center!important;margin:0 0 9mm!important;padding:0!important}#opd-print-area.opdref .opdref-title-lao,#opd-print-area.opdref .opdp1-title.opdref-title-lao{font-family:Phetsarath OT,Noto Sans Lao,Times New Roman,serif!important;font-size:18pt!important;font-weight:700!important;line-height:1.15!important;margin:0!important;text-align:center!important}#opd-print-area.opdref .opdref-title-en{font-family:Times New Roman,serif!important;font-size:16pt!important;font-weight:700!important;line-height:1.1!important;margin:1mm 0 0!important;text-align:center!important}#opd-print-area.opdref .opdref-rule{height:0!important;border:0!important;border-top:1px solid #000!important;margin:0 0 1.5mm!important;width:100%!important}#opd-print-area.opdref .opdref-rule-tight{margin:1.5mm 0 .5mm!important}#opd-print-area.opdref .opdref-section{display:block!important;margin:0 0 1.5mm!important;padding:0!important;border:0!important;background:transparent!important;color:#000!important;font-family:Times New Roman,Phetsarath OT,Noto Sans Lao,serif!important;font-size:12.5pt!important;line-height:1.25!important;font-weight:700!important}#opd-print-area.opdref .opdref-section span,#opd-print-area.opdref .opdref-section-plain{font-weight:700!important;text-decoration:underline!important;text-underline-offset:2px!important}#opd-print-area.opdref .opdref-section-inline{margin-top:.5mm!important;margin-bottom:1.5mm!important}#opd-print-area.opdref .opdref-med-title{margin-top:2.5mm!important}#opd-print-area.opdref .opdref-row{display:block!important;width:100%!important;margin:0 0 2mm!important;padding:0!important;white-space:nowrap!important;overflow:hidden!important;color:#000!important;font-family:Times New Roman,Phetsarath OT,Noto Sans Lao,serif!important;font-size:12.5pt!important;line-height:1.25!important;font-weight:400!important}#opd-print-area.opdref .opdref-row-split{margin-bottom:2mm!important}#opd-print-area.opdref .opdref-check-row{display:grid!important;grid-template-columns:45mm 45mm;column-gap:5mm!important;margin-bottom:4.5mm!important}#opd-print-area.opdref .opdref-row-full-line{display:flex!important;align-items:baseline!important;gap:2mm!important;white-space:nowrap!important}#opd-print-area.opdref .opdref-row-full-line .opdref-fill{flex:1 1 auto!important;width:auto!important;min-width:0!important}#opd-print-area.opdref .opdref-org-row #popd_org_id,#opd-print-area.opdref .opdref-org-row #popd_orgname{flex:1 1 auto!important;width:auto!important}#opd-print-area.opdref .opdref-check{display:inline-block!important}#opd-print-area.opdref .opdref-fill{display:inline-block!important;min-height:4.6mm!important;padding:0 1mm!important;border-bottom:1.2px dotted #000!important;vertical-align:baseline!important;color:#000!important;font-family:Times New Roman,Phetsarath OT,Noto Sans Lao,serif!important;font-size:12.5pt!important;line-height:1.1!important;font-weight:400!important;box-sizing:border-box!important;overflow:hidden!important;white-space:nowrap!important}#opd-print-area.opdref .opdref-dot:after{content:none!important}#opd-print-area.opdref .opdref-fill-title,#opd-print-area.opdref .opdref-fill-name{width:24mm!important}#opd-print-area.opdref .opdref-fill-fullname{width:46mm!important}#opd-print-area.opdref .opdref-fill-age{width:10mm!important}#opd-print-area.opdref .opdref-fill-dob{width:48mm!important}#opd-print-area.opdref .opdref-fill-nation{width:45mm!important}#opd-print-area.opdref .opdref-fill-job{width:75mm!important}#opd-print-area.opdref .opdref-fill-wide{width:128mm!important}#opd-print-area.opdref .opdref-fill-tel{width:140mm!important}#opd-print-area.opdref .opdref-fill-rel{width:30mm!important}#opd-print-area.opdref .opdref-fill-village{width:34mm!important}#opd-print-area.opdref .opdref-fill-district{width:32mm!important}#opd-print-area.opdref .opdref-fill-prov{width:40mm!important}#opd-print-area.opdref .opdref-fill-emer-name{width:38mm!important}#opd-print-area.opdref .opdref-fill-emer-phone{width:30mm!important}#opd-print-area.opdref .opdref-fill-emer-rel{width:22mm!important}#opd-print-area.opdref .opdref-fill-cc{width:124mm!important}#opd-print-area.opdref .opdref-fill-cc-line{width:182mm!important}#opd-print-area.opdref .opdref-fill-nutri-other{width:60mm!important}#opd-print-area.opdref .opdref-fill-vital{width:22mm!important}#opd-print-area.opdref .opdref-fill-vital-lg{width:34mm!important}#opd-print-area.opdref .opdref-fill-other{width:60mm!important}#opd-print-area.opdref .opdref-fill-full{width:100%!important}#opd-print-area.opdref .opdref-fill-signature{width:50mm!important}#opd-print-area.opdref .opdref-signature-block{display:block!important;width:95mm!important;margin:1mm 0 0 auto!important;text-align:center!important;color:#000!important;font-family:Times New Roman,Phetsarath OT,Noto Sans Lao,serif!important;font-size:12.5pt!important;line-height:1.3!important;white-space:nowrap!important}#opd-print-area.opdref .opdref-signature-title{display:block!important;width:100%!important;font-weight:700!important;margin:0 0 3mm!important;white-space:nowrap!important;text-align:center!important;word-break:keep-all!important;overflow-wrap:normal!important}#opd-print-area.opdref .opdref-signature-line{display:block!important;width:100%!important;height:7mm!important;text-align:left!important;overflow:visible!important}#opd-print-area.opdref .opdref-sheet-page2{width:186mm!important;max-width:186mm!important;margin:0!important;padding:0 0 2mm!important;display:flex!important;flex-direction:column!important;min-height:277mm!important}#opd-print-area.opdref .opdref-page2-title{text-align:center!important;font-family:Phetsarath OT,Noto Sans Lao,Times New Roman,serif!important;font-size:18pt!important;font-weight:700!important;line-height:1.15!important;margin:0 0 2mm!important;padding:0!important;color:#000!important}#opd-print-area.opdref .opdref-page2-title-gap{margin-top:auto!important;margin-bottom:4mm!important}#opd-print-area.opdref .opdref-table{width:100%!important;border-collapse:separate!important;border-spacing:0!important;table-layout:fixed!important;border:0!important;border-right:1px solid #000!important;border-bottom:1px solid #000!important;margin:0!important;color:#000!important;background:#fff!important;box-sizing:border-box!important}#opd-print-area.opdref .opdref-table th,#opd-print-area.opdref .opdref-table td{border:0!important;border-left:1px solid #000!important;border-top:1px solid #000!important;padding:1mm 2mm!important;color:#000!important;background:#fff!important;font-family:Times New Roman,Phetsarath OT,Noto Sans Lao,serif!important;font-size:12.5pt!important;line-height:1.2!important;vertical-align:top!important;box-sizing:border-box!important}#opd-print-area.opdref .opdref-table th{text-align:center!important;font-weight:700!important;height:7mm!important;padding:1mm!important;vertical-align:middle!important}#opd-print-area.opdref .opdref-p2-header{margin-bottom:.4mm!important}#opd-print-area.opdref .opdref-p2-line{display:flex!important;align-items:baseline!important;gap:1mm!important;margin-bottom:.65mm!important}#opd-print-area.opdref .opdref-p2-label{font-size:10pt!important;font-weight:700!important;line-height:1.05!important;white-space:nowrap!important}#opd-print-area.opdref .opdref-fill-p2-name{flex:1 1 auto!important;width:auto!important;min-width:0!important}#opd-print-area.opdref .opdref-fill-p2-dob{flex:0 0 27mm!important;width:auto!important}#opd-print-area.opdref .opdref-fill-p2-age{flex:0 0 9mm!important;width:auto!important}#opd-print-area.opdref .opdref-p2-line-demo .opdref-check{flex:0 0 auto!important}#opd-print-area.opdref .opdref-fill-p2-addr,#opd-print-area.opdref .opdref-fill-p2-district,#opd-print-area.opdref .opdref-fill-p2-prov,#opd-print-area.opdref .opdref-fill-p2-tel{flex:1 1 0!important;width:auto!important;min-width:0!important}#opd-print-area.opdref .opdref-p2-vital-title{margin:0 0 1mm!important}#opd-print-area.opdref .opdref-p2-header-row{grid-template-columns:48mm 1fr 64mm!important;margin:0 0 .2mm!important;align-items:start!important}#opd-print-area.opdref .opdref-p2-header-row .opdref-header-left{align-items:flex-start!important;justify-content:center!important;padding-top:0!important}#opd-print-area.opdref .opdref-p2-header-row .opdref-header-center{align-self:center!important}#opd-print-area.opdref .opdref-p2-header-row .opdref-logo{width:44mm!important;max-width:44mm!important;max-height:34mm!important}#opd-print-area.opdref .opdref-p2-header-row .opdref-barcode{width:54mm!important;max-width:54mm!important;height:10mm!important}#opd-print-area.opdref .opdref-p2-header-row .opdref-cn-row{font-size:12pt!important;width:56mm!important}#opd-print-area.opdref .opdref-p2-header-row .opdref-datetime-row{font-size:9pt!important;width:56mm!important}#opd-print-area.opdref .opdref-p2-header-row .opdref-page2-title{margin:0!important;font-size:16pt!important}#opd-print-area.opdref .opdref-col-fl-symptom,#opd-print-area.opdref .opdref-col-fl-treat{width:43%!important}#opd-print-area.opdref .opdref-col-fl-note{width:14%!important}#opd-print-area.opdref .opdref-followlog-body td{height:174mm!important}#opd-print-area.opdref .opdref-p2-sign-row{display:flex!important;justify-content:space-between!important;padding:1.2mm 22mm 0 14mm!important;font-weight:700!important;font-family:Times New Roman,Phetsarath OT,Noto Sans Lao,serif!important;font-size:12.5pt!important;color:#000!important;white-space:nowrap!important}@media print{#opd-print-area.opdref,#opd-print-area.opdref .opd-page,#opd-print-area.opdref .opdref-page{-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}#opd-print-area:not(.print-active),#vac-print-area:not(.print-active),#print-area:not(.print-active){display:none!important;visibility:hidden!important}}.opdref-page{width:186mm!important;min-width:0!important;max-width:186mm!important;height:277mm!important;min-height:277mm!important;max-height:277mm!important;margin:0!important;padding:0!important;overflow:hidden!important;background:#fff!important;color:#000!important;box-sizing:border-box!important}.opdref-page .opdref-sheet{width:176mm!important;max-width:176mm!important;height:277mm!important;max-height:277mm!important;margin:0 auto!important;padding:1.5mm 0 2mm!important;overflow:hidden!important;box-sizing:border-box!important;color:#000!important;font-family:Times New Roman,Phetsarath OT,Noto Sans Lao,serif!important;font-size:12.5pt!important;line-height:1.35!important}.opdref-page .opdref-header-row{display:grid!important;grid-template-columns:48mm 1fr 64mm!important;align-items:start!important;gap:2mm!important;width:100%!important;margin:0 0 .5mm!important;padding:0!important}.opdref-page .opdref-header-left{display:flex!important;flex-direction:column!important;justify-content:flex-start!important;align-items:center!important;padding-top:0!important;gap:1mm!important}.opdref-page .opdref-header-center{text-align:center!important}.opdref-page .opdref-header-right{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:1.5mm!important}.opdref-page .opdref-logo{display:block!important;width:44mm!important;max-width:44mm!important;height:auto!important;max-height:34mm!important;object-fit:contain!important;visibility:visible!important;position:static!important;overflow:visible!important;clip:auto!important}.opdref-page .opdref-barcode{display:block!important;width:62mm!important;max-width:62mm!important;height:15mm!important;visibility:visible!important;position:static!important;overflow:visible!important;clip:auto!important}.opdref-page .opdref-cn-row{font-family:Times New Roman,Phetsarath OT,Noto Sans Lao,serif!important;font-size:15pt!important;font-weight:700!important;letter-spacing:0!important;white-space:nowrap!important;text-align:center!important;width:62mm!important;line-height:1.1!important;color:#dc2626!important}.opdref-page .opdref-datetime-row{display:block!important;font-family:Times New Roman,Phetsarath OT,Noto Sans Lao,serif!important;font-size:11pt!important;font-weight:600!important;letter-spacing:0!important;white-space:nowrap!important;text-align:center!important;width:62mm!important;line-height:1.1!important;color:#000!important}.opdref-page .opdref-cn-value{display:inline!important;position:static!important;width:auto!important;height:auto!important;visibility:visible!important;clip:auto!important;overflow:visible!important;font-weight:700!important;color:#dc2626!important}.opdref-page .opdref-hidden,.opdref-page span.opdref-hidden,.opdref-page #print-opd-header-2,.opdref-page #print-opd-footer-1,.opdref-page #print-opd-footer-2,.opdref-page .opdp1-meta-line,.opdref-page .opdp1-hidden-value{position:absolute!important;width:0!important;height:0!important;overflow:hidden!important;visibility:hidden!important;clip:rect(0 0 0 0)!important;display:block!important}.opdref-page .opdref-title-block{text-align:center!important;margin:0 0 9mm!important;padding:0!important}.opdref-page .opdref-title-lao,.opdref-page .opdp1-title.opdref-title-lao{font-family:Phetsarath OT,Noto Sans Lao,Times New Roman,serif!important;font-size:18pt!important;font-weight:700!important;line-height:1.15!important;margin:0!important;text-align:center!important}.opdref-page .opdref-title-en{font-family:Times New Roman,serif!important;font-size:16pt!important;font-weight:700!important;line-height:1.1!important;margin:1mm 0 0!important;text-align:center!important}.opdref-page .opdref-rule{height:0!important;border:0!important;border-top:1px solid #000!important;margin:0 0 1.5mm!important;width:100%!important}.opdref-page .opdref-rule-tight{margin:1.5mm 0 .5mm!important}.opdref-page .opdref-section{display:block!important;margin:0 0 1.5mm!important;padding:0!important;border:0!important;background:transparent!important;color:#000!important;font-family:Times New Roman,Phetsarath OT,Noto Sans Lao,serif!important;font-size:12.5pt!important;line-height:1.25!important;font-weight:700!important}.opdref-page .opdref-section span,.opdref-page .opdref-section-plain{font-weight:700!important;text-decoration:underline!important;text-underline-offset:2px!important}.opdref-page .opdref-section-inline{margin-top:.5mm!important;margin-bottom:1.5mm!important}.opdref-page .opdref-med-title{margin-top:2.5mm!important}.opdref-page .opdref-row{display:block!important;width:100%!important;margin:0 0 2mm!important;padding:0!important;white-space:nowrap!important;overflow:hidden!important;color:#000!important;font-family:Times New Roman,Phetsarath OT,Noto Sans Lao,serif!important;font-size:12.5pt!important;line-height:1.25!important;font-weight:400!important}.opdref-page .opdref-row-split{margin-bottom:2mm!important}.opdref-page .opdref-check-row{display:grid!important;grid-template-columns:45mm 45mm;column-gap:5mm!important;margin-bottom:4.5mm!important}.opdref-page .opdref-row-full-line{display:flex!important;align-items:baseline!important;gap:2mm!important;white-space:nowrap!important}.opdref-page .opdref-row-full-line .opdref-fill{flex:1 1 auto!important;width:auto!important;min-width:0!important}.opdref-page .opdref-org-row #popd_org_id,.opdref-page .opdref-org-row #popd_orgname{flex:1 1 auto!important;width:auto!important}.opdref-page .opdref-check{display:inline-block!important}.opdref-page .opdref-fill{display:inline-block!important;min-height:4.6mm!important;padding:0 1mm!important;border-bottom:1.2px dotted #000!important;vertical-align:baseline!important;color:#000!important;font-family:Times New Roman,Phetsarath OT,Noto Sans Lao,serif!important;font-size:12.5pt!important;line-height:1.1!important;font-weight:400!important;box-sizing:border-box!important;overflow:hidden!important;white-space:nowrap!important}.opdref-page .opdref-fill-title,.opdref-page .opdref-fill-name{width:24mm!important}.opdref-page .opdref-fill-fullname{width:46mm!important}.opdref-page .opdref-fill-age{width:10mm!important}.opdref-page .opdref-fill-dob{width:48mm!important}.opdref-page .opdref-fill-nation{width:45mm!important}.opdref-page .opdref-fill-job{width:75mm!important}.opdref-page .opdref-fill-wide{width:128mm!important}.opdref-page .opdref-fill-tel{width:140mm!important}.opdref-page .opdref-fill-rel{width:30mm!important}.opdref-page .opdref-fill-village{width:34mm!important}.opdref-page .opdref-fill-district{width:32mm!important}.opdref-page .opdref-fill-prov{width:40mm!important}.opdref-page .opdref-fill-emer-name{width:38mm!important}.opdref-page .opdref-fill-emer-phone{width:30mm!important}.opdref-page .opdref-fill-emer-rel{width:22mm!important}.opdref-page .opdref-fill-cc{width:124mm!important}.opdref-page .opdref-fill-cc-line{width:182mm!important}.opdref-page .opdref-fill-nutri-other{width:60mm!important}.opdref-page .opdref-fill-vital{width:22mm!important}.opdref-page .opdref-fill-vital-lg{width:34mm!important}.opdref-page .opdref-fill-other{width:60mm!important}.opdref-page .opdref-fill-full{width:100%!important}.opdref-page .opdref-fill-signature{width:50mm!important}.opdref-page .opdref-signature-block{display:block!important;width:95mm!important;margin:4mm 0 0 auto!important;text-align:center!important;color:#000!important;font-family:Times New Roman,Phetsarath OT,Noto Sans Lao,serif!important;font-size:12.5pt!important;line-height:1.3!important;white-space:nowrap!important}.opdref-page .opdref-signature-title{display:block!important;width:100%!important;font-weight:700!important;margin:0 0 3mm!important;text-align:center!important;white-space:nowrap!important;word-break:keep-all!important;overflow-wrap:normal!important}.opdref-page .opdref-signature-line{display:block!important;width:100%!important;height:7mm!important;text-align:left!important;overflow:visible!important}.opdref-page .opdref-sheet-page2{width:186mm!important;max-width:186mm!important;margin:0!important;padding:0 0 2mm!important;display:flex!important;flex-direction:column!important;min-height:277mm!important}.opdref-page .opdref-page2-title{text-align:center!important;font-family:Phetsarath OT,Noto Sans Lao,Times New Roman,serif!important;font-size:18pt!important;font-weight:700!important;line-height:1.15!important;margin:0 0 6mm!important;padding:0!important;color:#000!important}.opdref-page .opdref-page2-title-gap{margin-top:auto!important;margin-bottom:6mm!important}.opdref-page .opdref-table{width:100%!important;border-collapse:separate!important;border-spacing:0!important;table-layout:fixed!important;border:0!important;border-right:1px solid #000!important;border-bottom:1px solid #000!important;margin:0!important;color:#000!important;background:#fff!important;box-sizing:border-box!important}.opdref-page .opdref-table th,.opdref-page .opdref-table td{border:0!important;border-left:1px solid #000!important;border-top:1px solid #000!important;padding:1mm 2mm!important;color:#000!important;background:#fff!important;font-family:Times New Roman,Phetsarath OT,Noto Sans Lao,serif!important;font-size:12.5pt!important;line-height:1.2!important;vertical-align:top!important;box-sizing:border-box!important}.opdref-page .opdref-table th{text-align:center!important;font-weight:700!important;height:7mm!important;padding:1mm!important;vertical-align:middle!important}.opdref-page .opdref-p2-header{margin-bottom:.4mm!important}.opdref-page .opdref-p2-line{display:flex!important;align-items:baseline!important;gap:1mm!important;margin-bottom:.65mm!important}.opdref-page .opdref-p2-label{font-size:10pt!important;font-weight:700!important;line-height:1.05!important;white-space:nowrap!important}.opdref-page .opdref-fill-p2-name{flex:1 1 auto!important;width:auto!important;min-width:0!important}.opdref-page .opdref-fill-p2-dob{flex:0 0 27mm!important;width:auto!important}.opdref-page .opdref-fill-p2-age{flex:0 0 9mm!important;width:auto!important}.opdref-page .opdref-p2-line-demo .opdref-check{flex:0 0 auto!important}.opdref-page .opdref-fill-p2-addr,.opdref-page .opdref-fill-p2-district,.opdref-page .opdref-fill-p2-prov,.opdref-page .opdref-fill-p2-tel{flex:1 1 0!important;width:auto!important;min-width:0!important}.opdref-page .opdref-row-full-line #popd2_phone{flex:0 0 34mm!important;width:34mm!important;min-width:34mm!important}.opdref-page .opdref-p2-vital-title{margin:0 0 1mm!important}.opdref-page .opdref-p2-header-row{grid-template-columns:48mm 1fr 64mm!important;margin:0 0 .2mm!important;align-items:start!important}.opdref-page .opdref-p2-header-row .opdref-header-left{align-items:flex-start!important;justify-content:center!important;padding-top:0!important}.opdref-page .opdref-p2-header-row .opdref-header-center{align-self:center!important}.opdref-page .opdref-p2-header-row .opdref-logo{width:44mm!important;max-width:44mm!important;max-height:34mm!important}.opdref-page .opdref-p2-header-row .opdref-barcode{width:54mm!important;max-width:54mm!important;height:10mm!important}.opdref-page .opdref-p2-header-row .opdref-cn-row{font-size:12pt!important;width:56mm!important}.opdref-page .opdref-p2-header-row .opdref-datetime-row{font-size:9pt!important;width:56mm!important}.opdref-page .opdref-p2-header-row .opdref-page2-title{margin:0!important;font-size:16pt!important}.opdref-page .opdref-col-fl-symptom,.opdref-page .opdref-col-fl-treat{width:43%!important}.opdref-page .opdref-col-fl-note{width:14%!important}.opdref-page .opdref-followlog-body td{height:174mm!important}.opdref-page .opdref-p2-sign-row{display:flex!important;justify-content:space-between!important;padding:1.2mm 22mm 0 14mm!important;font-weight:700!important;font-family:Times New Roman,Phetsarath OT,Noto Sans Lao,serif!important;font-size:12.5pt!important;color:#000!important;white-space:nowrap!important}.opd-page{width:100%;height:289mm;min-height:289mm;max-width:none;margin:0 auto;padding:0;overflow:hidden;page:opd-print;page-break-after:always;box-sizing:border-box;background:#fff;color:#000;font-family:Noto Sans Lao,Phetsarath OT,Arial,sans-serif;font-size:12pt;line-height:1.22}.opd-page,.opd-page *{box-sizing:border-box}.opd-page:last-child{page-break-after:auto}.opd-card-form,.opd-page-two-form{width:100%;height:100%;display:flex;flex-direction:column}.opd-form-header{display:grid;grid-template-columns:60mm 1fr 95mm;align-items:center;gap:3mm;width:100%;min-height:36mm;border-bottom:1.2px solid #000;padding-bottom:2mm}.opd-header-cell{min-width:0}.opd-header-logo{display:flex;align-items:center;justify-content:flex-start}.opd-header-center{text-align:center}.opd-header-barcode{display:flex;align-items:center;justify-content:flex-end}.opd-header-img{width:60mm;max-width:60mm;max-height:34mm;height:auto;object-fit:contain;display:block!important;visibility:visible!important;page-break-inside:avoid}.opd-header-title{font-size:22pt;font-weight:700;line-height:1.05;margin:0;text-align:center}.opd-sub-title{font-size:15pt;font-weight:400;line-height:1.1;margin-top:1mm;text-align:center}.opd-patient-barcode{width:95mm;max-width:95mm;height:30mm;display:block}.opd-patient-barcode text{font-family:monospace;font-size:14pt;font-weight:700}.opd-info-table,.opd-profile-table,.opd-vital-table,.opd-three-box-table,.opd-coverage-table,.opd-informant-table,.opd-table-stretch{width:100%;border-collapse:collapse;table-layout:fixed}.opd-info-table{margin-top:2.2mm}.opd-info-table th,.opd-profile-table th,.opd-coverage-table th,.opd-informant-table th{width:24mm;padding:1mm 1.4mm .8mm 0;text-align:left;vertical-align:baseline;font-size:12pt;font-weight:600;white-space:nowrap}.opd-info-table td,.opd-profile-table td,.opd-coverage-table td,.opd-informant-table td{padding:1mm 3mm .8mm 0;vertical-align:baseline;font-size:13pt;font-weight:600}.opd-value-line{display:inline-block;min-height:5mm;width:100%;border-bottom:1.1px solid #000;line-height:1.15;padding:0 1mm .5mm;vertical-align:baseline;word-break:break-word}.opd-profile-table .opd-value-line+.opd-value-line,.opd-profile-table td[colspan] .opd-value-line{width:32%;margin-right:1%}.opd-info-table .opd-department-label{width:30mm;padding-right:2mm}.opd-profile-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(34mm,.72fr) minmax(0,1fr);gap:2mm 7mm;width:100%}.opd-profile-field{display:flex;align-items:baseline;gap:2mm;min-width:0;overflow:hidden;font-size:12pt;line-height:1.18}.opd-profile-field b{flex:0 0 18mm;font-size:12pt;font-weight:600;white-space:nowrap}.opd-profile-field .opd-value-line{flex:1 1 auto;min-width:0;width:auto;overflow-wrap:anywhere;word-break:normal}.opd-profile-name .opd-value-line{flex-basis:0}.opd-profile-age .opd-value-line{flex:0 0 14mm;width:14mm}.opd-profile-address{grid-column:span 2}.opd-profile-address .opd-value-line{flex-basis:0}.opd-section-title{width:100%;border-top:1.2px solid #000;border-bottom:1.2px solid #000;margin:2.2mm 0 1.2mm;padding:1mm 0 .7mm;font-size:15pt;font-weight:700;line-height:1.1}.opd-vital-table{border:1px solid #000}.opd-vital-table th,.opd-vital-table td{width:12.5%;border-right:1px solid #000;text-align:center;vertical-align:middle}.opd-vital-table th:last-child,.opd-vital-table td:last-child{border-right:0}.opd-vital-table th{padding:.8mm .5mm;font-size:10pt;font-weight:700;background:#f8fbfd}.opd-vital-table td{height:9mm;padding:.8mm .5mm;font-size:12pt;font-weight:600;border-top:1px solid #000}.opd-writing-box{width:100%;border:1px solid #000;padding:1.5mm 2mm;font-size:13pt;font-weight:600;line-height:1.25;word-break:break-word}.opd-writing-box--chief{height:33mm}.opd-three-box-table{margin-top:2mm;border:1px solid #000}.opd-three-box-table th,.opd-three-box-table td{width:33.333%;border-right:.8px solid #000;vertical-align:top}.opd-three-box-table th:last-child,.opd-three-box-table td:last-child{border-right:0}.opd-three-box-table th{padding:1.1mm 1.5mm;text-align:left;font-size:12pt;font-weight:700}.opd-three-box-table td{height:22mm;padding:1mm 1.5mm;font-size:13pt;font-weight:600}.opd-writing-box--history{height:33mm}.opd-bottom-block{margin-top:auto;padding-top:2mm}.opd-coverage-table th{width:24mm}.opd-coverage-table td{width:calc((100% - 48mm)/2);padding-right:8mm}.opd-informant-title{margin-top:2mm}.opd-informant-table th{width:24mm}.opd-informant-table td{padding-right:5mm}.opd-informant-table .opd-informant-sign{width:60mm}.opd-doctor-signature{width:120mm;margin:2mm auto 0;text-align:center;font-size:12pt}.opd-doctor-signature b{display:block;margin-bottom:1mm;font-size:12pt;font-weight:500}#popd_doctor.opd-value-line{width:120mm}#print-opd-header-2,#print-opd-footer-1,#print-opd-footer-2{position:absolute;left:0;right:0;width:100%;max-width:100%;object-fit:contain;overflow:hidden!important;page-break-inside:avoid;pointer-events:none;height:auto}#print-opd-header-2{top:0}#print-opd-footer-1,#print-opd-footer-2{bottom:0}.opd-page.opd-page--has-top-asset{padding-top:12mm}.opd-page.opd-page--has-bottom-asset{padding-bottom:12mm}.opd-page-two-form{gap:2mm}.opd2-section{display:flex;flex-direction:column;min-height:0}.opd2-treatment-section{flex:7 1 0;height:auto}.opd2-nursing-section{flex:3 1 0;height:auto}.opd-page-title{text-align:center;font-size:18px;font-weight:700;line-height:1.08;margin:0 0 1.6mm}.opd-table-stretch{flex:1 1 auto;border:.8px solid #000}.opd-table-stretch th,.opd-table-stretch td{border:.8px solid #000;padding:1mm;font-size:11.5pt;line-height:1.15;vertical-align:top}.opd-table-stretch thead th{background:#eaf4fb!important;font-size:14px;font-weight:700;text-align:center;-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}.opd2-main-table{height:100%}.opd2-main-table tbody tr:not(.opd2-dx-row) td{height:7.6mm;border-top:0!important;border-bottom:0!important;border-left:.8px solid #000!important;border-right:.8px solid #000!important;padding-top:0!important;padding-bottom:0!important}.opd2-dx-row td{height:13mm}.opd2-followup-table{height:100%}.opd2-followup-table tbody td{border-top:0!important;border-bottom:0!important;border-left:.8px solid #000!important;border-right:.8px solid #000!important;padding-top:0!important;padding-bottom:0!important}.opd2-followup-table thead th{border-bottom:.8px solid #000!important}.opd2-followup-table tbody tr td{height:8.5mm}@media print{@page opd-print{size:A4 portrait;margin:4mm}.opd-page{width:100%;height:289mm;min-height:289mm;max-height:289mm;margin:0 auto;padding:0}.opd-header-img,.opd-table-stretch th,.opd-table-stretch td{-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}}.opd-page-one{width:192mm;max-width:192mm;margin-left:auto;margin-right:auto}.opd-page-one .opd-card-form{width:100%;height:100%;line-height:1.4}.opd-page-one .opd-form-header{grid-template-columns:90px minmax(0,1fr) 180px;gap:16px;min-height:92px;align-items:center;padding-bottom:8px}.opd-page-one .opd-header-cell,.opd-page-one .opd-header-center,.opd-page-one .opd-header-title,.opd-page-one .opd-sub-title{min-width:0;overflow-wrap:anywhere}.opd-page-one .opd-header-img{width:48px;max-width:48px;max-height:60px}.opd-page-one .opd-header-title{font-size:22pt;font-weight:700;line-height:1.12}.opd-page-one .opd-sub-title{font-size:15px;line-height:1.2}.opd-page-one .opd-patient-barcode{width:260px;max-width:260px;height:55px}.opd-page-one .opd-patient-barcode text{font-size:16px;font-weight:700}.opd-page-one .opd-info-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:16mm;margin-top:8px}.opd-page-one .opd-info-column{min-width:0}.opd-page-one .opd-info-field{display:flex;align-items:baseline;gap:8px;min-width:0;margin-bottom:3px}.opd-page-one .opd-profile-field,.opd-page-one .opd-coverage-table th,.opd-page-one .opd-coverage-table td,.opd-page-one .opd-informant-table th,.opd-page-one .opd-informant-table td{font-size:14px;line-height:1.4}.opd-page-one .opd-info-field b{flex:0 0 30mm;font-size:14px;font-weight:700;line-height:1.4;white-space:nowrap}.opd-page-one .opd-info-field .opd-value-line,.opd-page-one .opd-profile-field .opd-value-line,.opd-page-one .opd-coverage-table .opd-value-line,.opd-page-one .opd-informant-table .opd-value-line{flex:1 1 auto;min-width:0;min-height:20px;font-size:14px;line-height:1.25;overflow-wrap:anywhere;word-break:normal}.opd-page-one .opd-section-title{font-size:18px;font-weight:700;line-height:1.25;margin:8px 0 5px;padding:4px 0 3px}.opd-page-one .opd-profile-grid{display:flex;flex-direction:column;gap:5px;width:100%}.opd-page-one .opd-profile-row{display:grid;gap:18px;min-width:0}.opd-page-one .opd-profile-row-main{grid-template-columns:minmax(0,1.4fr) minmax(0,1.4fr) 76px 112px}.opd-page-one .opd-profile-row-three{grid-template-columns:repeat(3,minmax(0,1fr))}.opd-page-one .opd-profile-row-occupation{grid-template-columns:minmax(0,1fr)}.opd-page-one .opd-profile-field{min-width:0;overflow:hidden;align-items:baseline;gap:8px}.opd-page-one .opd-profile-field b{flex:0 0 64px;min-width:0;font-size:14px;font-weight:700;line-height:1.4;white-space:nowrap}.opd-page-one .opd-profile-age .opd-value-line{flex:0 0 42px;width:42px}.opd-page-one .opd-profile-gender .opd-value-line{flex:0 0 58px;width:58px}.opd-page-one .opd-vital-table{border:1px solid #000;width:100%}.opd-page-one .opd-vital-table th,.opd-page-one .opd-vital-table td{border-right:1px solid #000;padding:5px 4px;font-size:14px;line-height:1.25}.opd-page-one .opd-vital-table th{font-weight:700}.opd-page-one .opd-vital-table td{height:34px;border-top:1px solid #000;font-weight:600}.opd-page-one .opd-writing-box--chief{height:30mm}.opd-page-one .opd-three-box-table th{font-size:14px;font-weight:700}.opd-page-one .opd-three-box-table td{height:28mm;font-size:14px;line-height:1.4}.opd-page-one .opd-writing-box--history{height:26mm}.opd-page-one .opd-writing-box{font-size:14px;line-height:1.4}.opd-page-one .opd-bottom-block{margin-top:6px;padding-top:4px}.opd-page-one .opd-doctor-signature{margin-top:6px}.opd-page-one{width:178mm;max-width:178mm;margin-left:auto;margin-right:auto}.opdp1-card{width:178mm;max-width:178mm;height:100%;display:flex;flex-direction:column;color:#000;font-family:Noto Sans Lao,Phetsarath OT,Arial,sans-serif;font-size:14px;line-height:1.38;padding-top:17mm;margin-left:auto;margin-right:auto}.opdp1-header{display:grid;grid-template-columns:36mm minmax(0,1fr) 70mm;align-items:center;gap:3mm;min-height:28mm;border-bottom:1.2px solid #000;padding-bottom:3mm}.opdp1-logo-slot,.opdp1-title-slot,.opdp1-barcode-slot{min-width:0}.opdp1-logo-slot{display:flex;align-items:center;justify-content:flex-start}.opdp1-logo{width:34mm;max-width:36mm;height:auto;object-fit:contain}.opd-page-one .opdp1-logo{width:34mm;max-width:36mm;max-height:none}.opdp1-title-slot{display:flex;flex-direction:column;justify-content:center;justify-self:center;text-align:center;width:100%;transform:translateY(7mm)}.opdp1-title{font-size:18px;font-weight:700;line-height:1.18;overflow-wrap:anywhere}.opdp1-subtitle{font-size:18px;font-weight:700;line-height:1.08;margin-top:0}.opdp1-barcode-slot{display:flex;align-items:center;justify-content:flex-end}.opdp1-barcode{width:70mm;max-width:70mm;height:20mm}.opdp1-barcode text{font-size:14px!important;font-weight:700}.opd-page-one .opdp1-barcode{width:70mm;max-width:70mm;height:20mm}.opd-page-one .opdp1-barcode text{font-size:14px!important;font-weight:700}.opdp1-patient-info{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:12mm;padding:12px 0 10px;border-bottom:1.2px solid #000}.opdp1-info-col{min-width:0}.opdp1-field{display:flex;align-items:baseline;gap:9px;min-width:0;line-height:1.42}.opdp1-patient-info .opdp1-field{margin-bottom:3px}.opdp1-field b{flex:0 0 auto;font-size:13px;font-weight:700;white-space:nowrap}.opdp1-patient-info .opdp1-field b{flex-basis:30mm}.opdp1-line{display:block;flex:1 1 auto;min-width:0;min-height:20px;border-bottom:1.2px solid #000;padding:0 5px 3px;font-size:14px;line-height:1.3;font-weight:700;overflow-wrap:anywhere;word-break:normal}.opdp1-section-title{border-top:1.2px solid #000;border-bottom:1.2px solid #000;padding:5px 0 4px;margin:9px 0 7px;font-size:16px;font-weight:700;line-height:1.22}.opdp1-profile{display:flex;flex-direction:column;gap:6px;width:100%}.opdp1-profile-row{display:grid;gap:12px;min-width:0}.opdp1-profile-row-main{grid-template-columns:minmax(0,1.25fr) minmax(0,1.25fr) 86px 142px}.opdp1-profile-row-three{grid-template-columns:repeat(3,minmax(0,1fr))}.opdp1-profile-row-full{grid-template-columns:minmax(0,1fr)}.opdp1-profile .opdp1-field b{flex-basis:78px}.opdp1-age-field .opdp1-line{flex:0 0 34px!important;width:34px!important}.opdp1-age-field b{flex-basis:34px!important}.opdp1-gender-field .opdp1-line{flex:0 0 60px!important;width:60px!important}.opdp1-gender-field b{flex-basis:58px!important}.opdp1-vitals{width:100%;border-collapse:collapse;table-layout:fixed;border:1px solid #000}.opdp1-vitals th,.opdp1-vitals td{width:12.142%;text-align:center;vertical-align:middle;border-right:1.2px solid #000;padding:6px 4px;font-size:14px;line-height:1.32}.opdp1-vitals th:first-child,.opdp1-vitals td:first-child{width:15%}.opdp1-vitals th:last-child,.opdp1-vitals td:last-child{border-right:0}.opdp1-vitals th{font-weight:700;background:#f8fbfd}.opdp1-vitals td{height:36px;border-top:1.2px solid #000;font-weight:700}.opdp1-box{border:1.2px solid #000;padding:7px 8px;font-size:14px;line-height:1.45;overflow-wrap:anywhere}.opdp1-chief{height:33mm}.opdp1-three-boxes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1.2px solid #000;border-right:0;margin-top:8px}.opdp1-three-box{height:30mm;border-right:1.2px solid #000;padding:7px 8px;font-size:14px;line-height:1.45;overflow-wrap:anywhere}.opdp1-three-box b{display:block;font-weight:700;margin-bottom:3px}.opdp1-history{height:35mm}.opdp1-bottom{margin-top:auto;padding-top:10px;flex-shrink:0}.opdp1-coverage,.opdp1-informant{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:12mm}.opdp1-coverage{margin:0;padding:8px 0 7px;border-bottom:1.2px solid #000}.opdp1-informant{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:12mm;margin-top:0;padding-top:8px}.opdp1-informant-title{margin:0;border-bottom:0}.opdp1-signature-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:12mm;margin-top:14px}.opdp1-doctor{display:flex;align-items:baseline;gap:9px;min-width:0;text-align:left;font-size:14px;line-height:1.42}.opdp1-doctor b{flex:0 0 auto;display:inline;font-size:13px;font-weight:700;margin-bottom:0;white-space:nowrap}.opdp1-doctor .opdp1-line{width:auto}@media print{.opd-page-one{width:100%;max-width:none}}.print-card-grid{display:flex;flex-direction:column;align-items:center;gap:3mm;padding:0}.pcard-divider{display:none}.patient-card{width:180mm;height:89mm;padding:3mm 8mm 4mm;border:2px solid var(--primary);border-radius:4px;background:#fff;display:flex!important;flex-direction:column;justify-content:flex-start;box-sizing:border-box;overflow:hidden}.pcard-id{font-family:Consolas,Arial,sans-serif;font-weight:700;font-size:52px;color:#000;text-align:center;line-height:1.04;letter-spacing:1px;white-space:nowrap;padding:0 0 1.2mm;border-bottom:3px solid #000;margin-bottom:1.1mm}.pcard-info{flex:1;display:flex;flex-direction:column;justify-content:flex-start;gap:.6mm;min-width:0}.pcard-row{line-height:1.04;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pcard-label{font-size:30px;color:#475569;font-weight:500}.pcard-value{font-size:37px;font-weight:700;color:#1e293b}.pcard-time{margin-left:4mm;font-family:Consolas,Arial,sans-serif;font-size:37px;font-weight:800;color:#000}.pcard-value-2nd{margin-left:5mm}.pcard-name{font-size:39px;font-weight:800;color:#0284c7;word-break:break-word;overflow-wrap:anywhere}.pcard-row-name{white-space:normal!important;overflow:visible!important;line-height:1.04}.pcard-row-phone{margin-top:.2mm}#vac-print-area>div{margin:10mm auto 0!important}.swal2-popup{font-family:Noto Sans Lao,sans-serif!important;border-radius:4px!important}.swal2-title{color:#1e293b!important}.swal2-html-container{color:#334155!important}.swal2-confirm{background-color:var(--primary)!important;box-shadow:0 4px 6px #1b6bb033!important}.swal2-cancel{background-color:#f1f5f9!important;color:#334155!important}.swal2-deny{background-color:#f87171!important}.swal2-shown .swal2-container.swal2-backdrop-show{background:#0f172abf!important}@media(min-width:992px){.his-dropdown-menu{min-width:220px}}.his-datatable-shell{padding-top:6px}.his-datatable-shell .his-datatable-row{align-items:center;row-gap:10px}.his-datatable-shell .his-datatable-length,.his-datatable-shell .his-datatable-filter,.his-datatable-shell .his-datatable-info,.his-datatable-shell .his-datatable-pagination{display:flex;align-items:center}.his-datatable-shell .his-datatable-length{justify-content:flex-start}.his-datatable-shell .his-datatable-filter{justify-content:flex-end}.his-datatable-shell .his-datatable-info{color:#667085}.his-datatable-shell .his-datatable-pagination{justify-content:flex-end}.his-datatable-shell .dataTables_length label,.his-datatable-shell .dataTables_filter label{display:inline-flex;align-items:center;gap:6px;margin:0;color:#667085;font-weight:600}.his-datatable-shell .dataTables_length select,.his-datatable-shell .dataTables_filter input{min-height:40px;border-radius:4px!important;border:1px solid #d8dced!important;background:#fff!important;box-shadow:0 8px 18px #94a3b814;transition:border-color .18s ease,box-shadow .18s ease}.his-datatable-shell .dataTables_length select:focus,.his-datatable-shell .dataTables_filter input:focus{border-color:#6f6cf673!important;box-shadow:0 0 0 4px #6f6cf61a!important;outline:none}.his-datatable-shell .dataTables_length select{padding:4px 24px 4px 8px!important;height:auto!important;min-width:56px;min-height:34px;margin:0!important;font-size:11px!important}.his-datatable-shell .dataTables_filter input{padding:8px 14px!important;min-width:220px;font-size:12px!important}.his-datatable-shell .dataTables_info,.his-datatable-shell .dataTables_paginate{font-size:12px!important;margin-top:12px!important}.his-datatable-shell .paginate_button{margin:0 2px}.his-datatable-shell .paginate_button .page-link{font-weight:700;font-size:12px}.his-datatable-shell .page-link{min-width:38px;min-height:38px;display:inline-flex;align-items:center;justify-content:center;border-radius:4px!important;border:1px solid #e2e6f5;color:#4f46e5!important;background:#fffffffa;box-shadow:0 8px 16px #94a3b814}.his-datatable-shell .page-link:hover{color:#4338ca!important;background:#f6f5ff;border-color:#cfd4ff}.his-datatable-shell .page-item.disabled .page-link{background:#f8fafc;color:#667085!important;opacity:1;box-shadow:none}.his-datatable-shell .paginate_button.current .page-link,.his-datatable-shell .page-item.active .page-link{background:linear-gradient(135deg,#7a77ff,#6461ef)!important;border-color:transparent!important;color:#fff!important;box-shadow:0 12px 24px #6f6cf638}table.dataTable thead>tr>th.sorting,table.dataTable thead>tr>th.sorting_asc,table.dataTable thead>tr>th.sorting_desc,table.dataTable thead>tr>td.sorting,table.dataTable thead>tr>td.sorting_asc,table.dataTable thead>tr>td.sorting_desc{position:relative;padding-right:26px!important}table.dataTable thead>tr>th.sorting:before,table.dataTable thead>tr>th.sorting:after,table.dataTable thead>tr>th.sorting_asc:before,table.dataTable thead>tr>th.sorting_asc:after,table.dataTable thead>tr>th.sorting_desc:before,table.dataTable thead>tr>th.sorting_desc:after,table.dataTable thead>tr>td.sorting:before,table.dataTable thead>tr>td.sorting:after,table.dataTable thead>tr>td.sorting_asc:before,table.dataTable thead>tr>td.sorting_asc:after,table.dataTable thead>tr>td.sorting_desc:before,table.dataTable thead>tr>td.sorting_desc:after{opacity:.55!important;color:#667085!important}table.dataTable thead>tr>th.sorting_asc:before,table.dataTable thead>tr>th.sorting_desc:after,table.dataTable thead>tr>td.sorting_asc:before,table.dataTable thead>tr>td.sorting_desc:after{opacity:1!important;color:#4f46e5!important}.table th,.table td{white-space:nowrap}.table-responsive{overflow-x:auto;max-width:100%}.btn{border-radius:8px!important;font-weight:600!important;transition:all .2s cubic-bezier(.4,0,.2,1)!important;padding:8px 18px!important;font-size:13px!important;border:none!important;box-shadow:0 2px 4px #00000014!important}.btn-primary{background:#1b6bb0!important;border-color:#1b6bb0!important;color:#fff!important;box-shadow:none!important}.btn-primary:hover{background:#115892!important;border-color:#115892!important;box-shadow:none!important}.btn-success{background:#16a34a!important;border-color:#16a34a!important;color:#fff!important;box-shadow:none!important}.btn-success:hover{background:#128a3e!important;border-color:#128a3e!important;box-shadow:none!important}.btn-danger{background:#dd1f26!important;border-color:#dd1f26!important;color:#fff!important;box-shadow:none!important}.btn-danger:hover{background:#b51820!important;border-color:#b51820!important;box-shadow:none!important}.btn-sm{padding:5px 12px!important;font-size:12px!important}.timeline-container{position:relative;padding-left:20px}.timeline-container:before{content:"";position:absolute;left:4.5px;top:10px;bottom:10px;width:2px;background:#cbd5e1}.timeline-item{position:relative;padding-bottom:30px}.timeline-item:last-child{padding-bottom:0}.timeline-dot{position:absolute;left:-20px;top:5px;width:11px;height:11px;border-radius:50%;background:#fff;border:2px solid var(--primary);z-index:1}.timeline-dot-ipd{border-color:#b91c1c}.timeline-date{font-size:11px;font-weight:700;color:#64748b;margin-bottom:5px;text-transform:uppercase}.timeline-card{background:#fff;border-radius:4px;padding:16px;box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f;border-left:4px solid var(--primary);transition:transform .2s}.timeline-card-ipd{border-left-color:#b91c1c}.timeline-card:hover{transform:translate(5px)}.timeline-title{font-weight:700;font-size:14px;color:#1e293b;margin-bottom:8px;display:flex;justify-content:space-between;align-items:center}.timeline-body{font-size:13px;color:#475569}.timeline-tag{display:inline-block;padding:2px 8px;border-radius:4px;font-size:10px;font-weight:700;margin-right:5px;margin-bottom:5px}.timeline-tag-med{background:#e6f0f9;color:#115892;border:1px solid #b5d4ee}.timeline-tag-lab{background:#dbeafe;color:#1e40af;border:1px solid #bfdbfe}.timeline-tag-dx{background:#fef2f2;color:#991b1b;border:1px solid #fecaca}.timeline-tag-vitals{background:#fff7ed;color:#9a3412;border:1px solid #ffedd5}.timeline-tag-ipd{background:#fef2f2;color:#991b1b;border:1px solid #fecaca}.card{transition:transform .2s ease,box-shadow .2s ease;border:1px solid rgba(0,0,0,.05)}.card:hover{transform:translateY(-2px);box-shadow:0 10px 25px -5px #0000001a}.card-header.bg-white{background:#fff!important;border-bottom:1px solid rgba(0,0,0,.03)!important}#dashboardPrintArea canvas{max-width:100%!important}.dashboard-a4-view{width:100%;max-width:100%;margin:0 auto}.dashboard-toolbar{margin-bottom:18px!important;padding-bottom:14px}.dashboard-toolbar-title h3{font-size:1.68rem;letter-spacing:-.02em;color:#1c4742}.dashboard-toolbar-title p{max-width:560px}.dashboard-toolbar-controls{gap:8px!important;padding:8px 10px!important;border-radius:4px!important;border:1px solid #e2e8f0!important;background:#fff!important;box-shadow:none!important}.dashboard-toolbar-controls .btn-group .btn,.dashboard-toolbar-controls .dropdown .btn,.dashboard-toolbar-controls .input-group-text,.dashboard-toolbar-controls .form-control{min-height:34px;font-size:11px}.dashboard-toolbar-controls .input-group{flex-wrap:nowrap}.dashboard-toolbar-controls .dashboard-range-group .btn,.dashboard-toolbar-controls .dashboard-shift-group .btn{white-space:nowrap}.dashboard-toolbar-controls .dashboard-shift-group .btn{min-width:96px}#dashboardPrintArea.dashboard-a4-sheet{width:100%;max-width:100%;margin:0 auto 18px;padding:4px 0 12px;display:flex;flex-direction:column;gap:22px;background:transparent;border:none;box-shadow:none}.dashboard-report-page{position:relative;width:min(100%,1320px);min-height:297mm;margin:0 auto;padding:18px;border-radius:4px;border:1px solid #e2e8f0;background:#fff;box-shadow:0 1px 2px #0000000a;box-sizing:border-box;break-after:page;page-break-after:always}.dashboard-report-page:before,.dashboard-report-page:after{display:none!important}.dashboard-report-page:last-child{break-after:auto;page-break-after:auto}.dashboard-report-page--onepage{width:min(100%,1480px);min-height:210mm;padding:10mm 11mm 9mm;break-after:auto;page-break-after:auto}.dashboard-report-page--spread{width:min(100%,1480px);min-height:210mm;padding:10mm 11mm 9mm}.dashboard-report-page--spread-detail{padding-top:9mm}.dashboard-page-caption{position:relative;z-index:1;margin-bottom:12px}.dashboard-page-caption-label{display:inline-block;margin-bottom:4px;color:#115892;font-size:10px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}.dashboard-page-caption h5{margin:0;color:#0e3b5f;font-size:24px;font-weight:800}.dashboard-page-caption p{margin:6px 0 0;color:#5b6b78;font-size:12px;line-height:1.5}#dashboardPrintArea.dashboard-export-mode{gap:0}#dashboardPrintArea.dashboard-export-mode .dashboard-report-page--spread{width:297mm;height:210mm;min-height:210mm;max-height:210mm;margin:0 auto;padding:6.5mm 7mm 5.5mm;border-radius:0;box-shadow:none;overflow:hidden;box-sizing:border-box}#dashboardPrintArea.dashboard-export-mode .dashboard-report-page--spread+.dashboard-report-page--spread{margin-top:0}#dashboardPrintArea.dashboard-export-mode .dashboard-page-caption{margin-bottom:8px}#dashboardPrintArea.dashboard-export-mode .dashboard-page-caption-label{font-size:9px}#dashboardPrintArea.dashboard-export-mode .dashboard-page-caption h5{font-size:18px}#dashboardPrintArea.dashboard-export-mode .dashboard-page-caption p{margin-top:4px;font-size:10px}#dashboardPrintArea.dashboard-export-mode .dashboard-kpi-grid--spread{gap:8px;margin-bottom:8px}#dashboardPrintArea.dashboard-export-mode .dashboard-kpi-grid--spread .dashboard-kpi-tile{padding:10px 10px 8px;border-radius:4px;box-shadow:none}#dashboardPrintArea.dashboard-export-mode .dashboard-kpi-grid--spread .dashboard-kpi-value{margin-top:6px;font-size:1.45rem}#dashboardPrintArea.dashboard-export-mode .dashboard-kpi-grid--spread .dashboard-kpi-note{margin-top:4px;font-size:8.8px;line-height:1.25}#dashboardPrintArea.dashboard-export-mode .dashboard-report-grid--spread,#dashboardPrintArea.dashboard-export-mode .dashboard-report-grid--spread .dashboard-report-split{gap:8px}#dashboardPrintArea.dashboard-export-mode .dashboard-report-grid--spread .dashboard-report-panel,#dashboardPrintArea.dashboard-export-mode .dashboard-report-grid--spread .dashboard-report-split-card{padding:9px;border-radius:4px;box-shadow:none}#dashboardPrintArea.dashboard-export-mode .dashboard-report-grid--spread-summary,#dashboardPrintArea.dashboard-export-mode .dashboard-report-grid--spread-detail{align-content:start}.dashboard-export-sheet{position:absolute;left:0;top:0;width:297mm;display:flex;flex-direction:column;gap:0;background:#fff;pointer-events:none;z-index:-1;isolation:isolate;overflow:hidden}.dashboard-export-sheet .dashboard-report-page--spread{width:297mm;height:210mm;min-height:210mm;max-height:210mm;margin:0;padding:6.5mm 7mm 5.5mm;border-radius:0;border:none;background:#fff;box-shadow:none;overflow:hidden;box-sizing:border-box;break-after:page;page-break-after:always}.dashboard-export-sheet .dashboard-report-page--spread:last-child{break-after:auto;page-break-after:auto}.dashboard-export-sheet .dashboard-report-page--spread:before,.dashboard-export-sheet .dashboard-report-page--spread:after{display:none}.dashboard-export-sheet .dashboard-page-caption{margin-bottom:8px}.dashboard-export-sheet .dashboard-page-caption-label{font-size:9px}.dashboard-export-sheet .dashboard-page-caption h5{font-size:18px}.dashboard-export-sheet .dashboard-page-caption p{margin-top:4px;font-size:10px}.dashboard-export-sheet .dashboard-kpi-grid--spread{gap:8px;margin-bottom:8px}.dashboard-export-sheet .dashboard-kpi-grid--spread .dashboard-kpi-tile{padding:10px 10px 8px;border-radius:4px;box-shadow:none}.dashboard-export-sheet .dashboard-kpi-grid--spread .dashboard-kpi-value{margin-top:6px;font-size:1.45rem}.dashboard-export-sheet .dashboard-kpi-grid--spread .dashboard-kpi-note{margin-top:4px;font-size:8.8px;line-height:1.25}.dashboard-export-sheet .dashboard-report-grid--spread,.dashboard-export-sheet .dashboard-report-grid--spread .dashboard-report-split{gap:8px}.dashboard-export-sheet .dashboard-report-grid--spread .dashboard-report-panel,.dashboard-export-sheet .dashboard-report-grid--spread .dashboard-report-split-card{padding:9px;border-radius:4px;box-shadow:none}.dashboard-export-sheet .dashboard-report-grid--spread .dashboard-report-panel-head{margin-bottom:6px;padding-bottom:6px}.dashboard-export-sheet .dashboard-report-grid--spread .dashboard-report-panel-head h6{font-size:11px}.dashboard-export-sheet .dashboard-report-grid--spread .dashboard-report-panel-head p{font-size:8.8px}.dashboard-export-sheet .dashboard-report-grid--spread-summary .dashboard-report-chart--hero,.dashboard-export-sheet .dashboard-report-grid--spread-summary .dashboard-report-panel--time .dashboard-report-chart--short{height:148px}.dashboard-export-sheet .dashboard-report-grid--spread-summary .dashboard-report-chart--medium{height:118px}.dashboard-export-sheet .dashboard-report-grid--spread-detail .dashboard-report-chart--compact{height:126px}.dashboard-export-sheet .dashboard-report-grid--spread-detail .dashboard-report-chart--split{height:116px}#dashboardPrintArea.dashboard-export-mode .dashboard-report-grid--spread .dashboard-report-panel-head{margin-bottom:6px;padding-bottom:6px}#dashboardPrintArea.dashboard-export-mode .dashboard-report-grid--spread .dashboard-report-panel-head h6{font-size:11px}#dashboardPrintArea.dashboard-export-mode .dashboard-report-grid--spread .dashboard-report-panel-head p{font-size:8.8px}#dashboardPrintArea.dashboard-export-mode .dashboard-report-grid--spread-summary .dashboard-report-chart--hero,#dashboardPrintArea.dashboard-export-mode .dashboard-report-grid--spread-summary .dashboard-report-panel--time .dashboard-report-chart--short{height:148px}#dashboardPrintArea.dashboard-export-mode .dashboard-report-grid--spread-summary .dashboard-report-chart--medium{height:118px}#dashboardPrintArea.dashboard-export-mode .dashboard-report-grid--spread-detail .dashboard-report-chart--compact{height:126px}#dashboardPrintArea.dashboard-export-mode .dashboard-report-grid--spread-detail .dashboard-report-chart--split{height:116px}.dashboard-storyboard--onepage{grid-template-columns:minmax(0,1.12fr) minmax(340px,.88fr);gap:10px;margin-bottom:10px}.dashboard-storyboard--onepage .dashboard-storyboard-hero{min-height:156px;padding:18px 18px 14px}.dashboard-storyboard--onepage .dashboard-storyboard-hero h4{margin-top:10px;font-size:clamp(1.85rem,2.8vw,2.45rem)}.dashboard-storyboard--onepage .dashboard-storyboard-hero p{margin-top:8px;font-size:12px;line-height:1.5}.dashboard-storyboard--onepage .dashboard-storyboard-tags{margin-top:12px}.dashboard-meta-stack--onepage{gap:10px}.dashboard-kpi-grid--onepage{gap:10px;margin-bottom:10px}.dashboard-kpi-grid--spread{gap:12px;margin-bottom:12px}.dashboard-kpi-grid--onepage .dashboard-kpi-tile{padding:13px 14px 12px;border-radius:6px}.dashboard-kpi-grid--onepage .dashboard-kpi-value{margin-top:8px;font-size:1.8rem}.dashboard-kpi-grid--onepage .dashboard-kpi-note{font-size:9.8px;line-height:1.35}.dashboard-report-grid--onepage{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.dashboard-report-grid--spread{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.dashboard-report-grid--spread .dashboard-report-panel--span-2{grid-column:span 2}.dashboard-report-grid--spread .dashboard-report-panel--span-4{grid-column:span 4}.dashboard-report-grid--spread .dashboard-report-panel{padding:14px;border-radius:6px;break-inside:avoid;page-break-inside:avoid}.dashboard-report-grid--spread-summary .dashboard-report-chart--hero,.dashboard-report-grid--spread-summary .dashboard-report-panel--time .dashboard-report-chart--short{height:198px}.dashboard-report-grid--spread-summary .dashboard-report-chart--medium,.dashboard-report-grid--spread-summary .dashboard-report-chart--compact{height:160px}.dashboard-report-grid--spread-detail .dashboard-report-chart--compact{height:182px}.dashboard-report-grid--spread-detail .dashboard-report-chart--split{height:170px}.dashboard-report-grid--spread-detail .dashboard-report-split{gap:12px}.dashboard-report-grid--onepage .dashboard-report-panel{padding:12px;border-radius:6px}.dashboard-report-grid--onepage .dashboard-report-panel--feature,.dashboard-report-grid--onepage .dashboard-report-panel--community,.dashboard-report-grid--onepage .dashboard-report-panel--time{grid-column:span 2}.dashboard-report-grid--onepage .dashboard-report-panel-head{margin-bottom:8px;padding-bottom:8px}.dashboard-report-grid--onepage .dashboard-report-chart--hero,.dashboard-report-grid--onepage .dashboard-report-panel--time .dashboard-report-chart--short{height:164px}.dashboard-report-grid--onepage .dashboard-report-chart--medium{height:136px}.dashboard-report-grid--onepage .dashboard-report-chart--compact,.dashboard-report-grid--onepage .dashboard-report-chart--short{height:118px}.dashboard-report-grid--onepage .dashboard-report-chart--split{height:108px}.dashboard-report-grid--onepage .dashboard-report-split{gap:10px}.dashboard-report-grid--onepage .dashboard-report-split-card{padding:10px;border-radius:6px}.dashboard-storyboard{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1.35fr) minmax(300px,.92fr);gap:14px;margin-bottom:14px}.dashboard-storyboard-hero{position:relative;min-width:0;padding:14px 16px;border-radius:4px;border:1px solid #e2e8f0;border-left:4px solid #1B6BB0;background:#fff;box-shadow:none;color:#0e3b5f;overflow:hidden}.dashboard-storyboard-hero:before,.dashboard-storyboard-hero:after{display:none}.dashboard-storyboard-top{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:12px}.dashboard-report-label{display:inline-block;margin-bottom:6px;color:inherit;font-size:10px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.dashboard-storyboard-status{display:inline-flex;align-items:center;gap:6px;min-height:30px;padding:0 12px;border-radius:6px;background:#ffffff29;color:#fffffff2;font-size:10px;font-weight:700;white-space:nowrap}.dashboard-storyboard-hero h4{position:relative;z-index:1;max-width:720px;margin:4px 0 0;color:#0e3b5f;font-size:1.35rem;line-height:1.2;font-weight:800;letter-spacing:0}.dashboard-storyboard-hero p{position:relative;z-index:1;max-width:720px;margin:4px 0 0;color:#5b6b78;font-size:12px;line-height:1.5}.dashboard-storyboard-tags{position:relative;z-index:1;display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.dashboard-storyboard-tag{display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:0 12px;border-radius:6px;background:#ffffff24;color:#fffffff5;font-size:10px;font-weight:700}.dashboard-storyboard-side{position:relative;z-index:1}.dashboard-meta-stack{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;height:100%}.dashboard-meta-card{min-width:0;padding:16px 16px 14px;border-radius:6px;border:1px solid rgba(27,107,176,.13);background:#fff;box-shadow:0 12px 24px #0f172a0a}.dashboard-meta-card--soft{background:#fff}.dashboard-meta-card span,.dashboard-report-page-no{display:block;color:#5b6b78;font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.dashboard-meta-card strong{display:block;margin-top:8px;color:#0e3b5f;font-size:18px;font-weight:800}.dashboard-meta-card small{display:block;margin-top:6px;color:#7b8a87;font-size:10.5px;line-height:1.4}.dashboard-kpi-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-bottom:14px}.dashboard-kpi-tile{--kpi-accent: #1B6BB0;position:relative;min-width:0;padding:14px;border:1px solid #e2e8f0;border-left:3px solid var(--kpi-accent);border-radius:4px;background:#fff;box-shadow:none}.dashboard-kpi-tile:before,.dashboard-kpi-tile:after{display:none}.dashboard-kpi-tile--new{--kpi-accent: #3a8dc7}.dashboard-kpi-tile--returning{--kpi-accent: #115892}.dashboard-kpi-tile--inscorp,.dashboard-kpi-tile--ins{--kpi-accent: #DD1F26}.dashboard-kpi-tile--corp{--kpi-accent: #ff7a15}.dashboard-kpi-title{position:relative;z-index:1;display:block;color:#5b6b78;font-size:10px;font-weight:800;letter-spacing:.05em;text-transform:uppercase}.dashboard-kpi-value{position:relative;z-index:1;display:block;margin-top:10px;color:#123038;font-size:2.05rem;line-height:1;font-weight:800}.dashboard-kpi-note{position:relative;z-index:1;display:block;margin-top:6px;color:#5b6b78;font-size:10.5px;line-height:1.45}.dashboard-report-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.dashboard-report-grid.dashboard-report-grid--onepage{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.dashboard-report-grid.dashboard-report-grid--onepage .dashboard-report-panel--feature,.dashboard-report-grid.dashboard-report-grid--onepage .dashboard-report-panel--community,.dashboard-report-grid.dashboard-report-grid--onepage .dashboard-report-panel--time{grid-column:span 2}.dashboard-report-panel{position:relative;min-width:0;padding:14px;border:1px solid #e2e8f0;border-radius:4px;background:#fff;display:flex;flex-direction:column;box-shadow:none}.dashboard-report-panel:before{display:none}.dashboard-report-panel--span-2{grid-column:span 2}.dashboard-report-panel--feature,.dashboard-report-panel--soft,.dashboard-report-panel--accent,.dashboard-report-panel--band,.dashboard-report-panel--community{background:#fff}.dashboard-report-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:12px;padding-bottom:10px;border-bottom:1px solid #e3edf5}.dashboard-report-panel-head h6{margin:0;color:#0e3b5f;font-size:13px;font-weight:800}.dashboard-report-panel-head p{margin:4px 0 0;color:#5b6b78;font-size:10.5px;text-align:right}.dashboard-report-chart{position:relative;overflow:hidden}.dashboard-report-chart--hero{height:228px}.dashboard-report-chart--medium{height:176px}.dashboard-report-chart--short{height:156px}.dashboard-report-chart--compact{height:170px}.dashboard-report-chart--split{height:166px}.dashboard-report-split{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.dashboard-report-split-card{min-width:0;padding:12px;border:1px solid rgba(27,107,176,.12);border-radius:6px;background:#fbfefe}.dashboard-report-split-card--map,.dashboard-report-split-card--doctor{background:#fff}.dashboard-report-split-title{display:flex;align-items:flex-start;gap:6px;margin-bottom:8px;color:#355d56;font-size:10px;font-weight:800;line-height:1.35}.dashboard-report-split-title i{color:var(--primary-dark);margin-top:2px}.dashboard-breakdown-total{margin-left:auto;padding:2px 8px;border-radius:999px;background:#eaf2fa;color:#0e3b5f;font-size:10.5px;font-weight:800;letter-spacing:.3px;font-variant-numeric:tabular-nums}.dashboard-report-subheader{position:relative;z-index:1;display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin-bottom:14px}.dashboard-detail-intro h5{margin:0;color:#16333a;font-size:24px;font-weight:800}.dashboard-detail-intro p{max-width:560px;margin:8px 0 0;color:#728482;font-size:12px;line-height:1.55}.dashboard-report-page-no{min-width:88px;padding:12px 14px;border-radius:6px;border:1px solid rgba(27,107,176,.12);background:#fff;text-align:center;box-shadow:0 10px 22px #0f172a0a}#dashboardPrintArea.dashboard-a4-sheet:not(.dashboard-export-mode){max-width:1320px;gap:18px;padding:0 0 28px}#dashboardPrintArea.dashboard-a4-sheet:not(.dashboard-export-mode) .dashboard-report-page--spread{width:100%;min-height:0;padding:22px 22px 20px;border-radius:6px;background:radial-gradient(circle at top right,rgba(27,107,176,.14),transparent 24%),#fff;box-shadow:0 1px 2px #0000000d;break-after:auto;page-break-after:auto}#dashboardPrintArea.dashboard-a4-sheet:not(.dashboard-export-mode) .dashboard-report-page--spread-detail{padding-top:22px}#dashboardPrintArea.dashboard-a4-sheet:not(.dashboard-export-mode) .dashboard-page-caption{margin-bottom:10px}#dashboardPrintArea.dashboard-a4-sheet:not(.dashboard-export-mode) .dashboard-page-caption h5{font-size:22px}#dashboardPrintArea.dashboard-a4-sheet:not(.dashboard-export-mode) .dashboard-page-caption p{max-width:560px}#dashboardPrintArea.dashboard-a4-sheet:not(.dashboard-export-mode) .dashboard-kpi-grid--spread{gap:14px;margin-bottom:16px}#dashboardPrintArea.dashboard-a4-sheet:not(.dashboard-export-mode) .dashboard-kpi-grid--spread .dashboard-kpi-tile{min-height:128px;padding:18px 18px 16px;border-radius:4px;background:#fff}#dashboardPrintArea.dashboard-a4-sheet:not(.dashboard-export-mode) .dashboard-kpi-grid--spread .dashboard-kpi-title{color:#4a5b66;font-size:15px;font-weight:800}#dashboardPrintArea.dashboard-a4-sheet:not(.dashboard-export-mode) .dashboard-kpi-grid--spread .dashboard-kpi-value{margin-top:10px;font-size:3.4rem;font-weight:800;color:#0e3b5f}#dashboardPrintArea.dashboard-a4-sheet:not(.dashboard-export-mode) .dashboard-kpi-grid--spread .dashboard-kpi-note{margin-top:8px;color:#566670;font-size:14px}.dash-pdf-header{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:14px;padding-bottom:10px;border-bottom:2px solid #0E3B5F}.dash-pdf-header-title{display:flex;align-items:baseline;gap:10px;color:#0e3b5f;font-size:20px;font-weight:800;line-height:1.1}.dash-pdf-header-sub{color:#566670;font-size:13px;font-weight:600}.dash-pdf-header-meta{display:flex;flex-direction:column;align-items:flex-end;gap:2px;color:#566670;font-size:12.5px;white-space:nowrap}.dash-pdf-header-meta b{color:#0e3b5f}#dashboardPrintArea.dashboard-a4-sheet:not(.dashboard-export-mode) .dashboard-report-grid--spread{grid-template-columns:repeat(12,minmax(0,1fr));gap:14px;align-items:start}#dashboardPrintArea.dashboard-a4-sheet:not(.dashboard-export-mode) .dashboard-report-grid--spread-summary .dashboard-report-panel--feature{grid-column:span 7}#dashboardPrintArea.dashboard-a4-sheet:not(.dashboard-export-mode) .dashboard-report-grid--spread-summary .dashboard-report-panel--time{grid-column:span 5}#dashboardPrintArea.dashboard-a4-sheet:not(.dashboard-export-mode) .dashboard-report-grid--spread-summary .dashboard-report-panel--soft{grid-column:span 4}#dashboardPrintArea.dashboard-a4-sheet:not(.dashboard-export-mode) .dashboard-report-grid--spread-summary .dashboard-report-panel--accent{grid-column:span 8}#dashboardPrintArea.dashboard-a4-sheet:not(.dashboard-export-mode) .dashboard-report-grid--spread-detail .dashboard-report-panel{grid-column:span 3}#dashboardPrintArea.dashboard-a4-sheet:not(.dashboard-export-mode) .dashboard-report-grid--spread-detail .dashboard-report-panel--span-4{grid-column:span 12}#dashboardPrintArea.dashboard-a4-sheet:not(.dashboard-export-mode) .dashboard-report-grid--spread .dashboard-report-panel,#dashboardPrintArea.dashboard-a4-sheet:not(.dashboard-export-mode) .dashboard-report-grid--spread .dashboard-report-split-card{padding:14px 14px 12px;border-radius:4px;border-color:#e2e8f0;box-shadow:none}#dashboardPrintArea.dashboard-a4-sheet:not(.dashboard-export-mode) .dashboard-report-grid--spread .dashboard-report-panel-head{margin-bottom:10px;padding-bottom:9px}#dashboardPrintArea.dashboard-a4-sheet:not(.dashboard-export-mode) .dashboard-report-grid--spread .dashboard-report-panel-head h6{font-size:15px}#dashboardPrintArea.dashboard-a4-sheet:not(.dashboard-export-mode) .dashboard-report-grid--spread .dashboard-report-panel-head p,#dashboardPrintArea.dashboard-a4-sheet:not(.dashboard-export-mode) .dashboard-report-split-title{font-size:12.5px}#dashboardPrintArea.dashboard-a4-sheet:not(.dashboard-export-mode) .dashboard-report-grid--spread-summary .dashboard-report-chart--hero,#dashboardPrintArea.dashboard-a4-sheet:not(.dashboard-export-mode) .dashboard-report-grid--spread-summary .dashboard-report-panel--time .dashboard-report-chart--short{height:206px}#dashboardPrintArea.dashboard-a4-sheet:not(.dashboard-export-mode) .dashboard-report-grid--spread-summary .dashboard-report-chart--medium{height:168px}#dashboardPrintArea.dashboard-a4-sheet:not(.dashboard-export-mode) .dashboard-report-grid--spread-detail .dashboard-report-chart--compact{height:148px}#dashboardPrintArea.dashboard-a4-sheet:not(.dashboard-export-mode) .dashboard-report-grid--spread-detail .dashboard-report-chart--split{height:130px}#dashboardPrintArea.dashboard-a4-sheet:not(.dashboard-export-mode) .dashboard-report-grid--spread-detail .dashboard-report-split{gap:12px}#dashboardPrintArea.dashboard-a4-sheet:not(.dashboard-export-mode) .dashboard-report-grid--spread-detail .dashboard-report-split-card{padding:10px}#dashboardPrintArea.dashboard-a4-sheet:not(.dashboard-export-mode) .dashboard-report-grid--spread-detail{gap:10px}#dashboardPrintArea.dashboard-a4-sheet:not(.dashboard-export-mode) .dashboard-report-grid--spread-detail .dashboard-report-panel,#dashboardPrintArea.dashboard-a4-sheet:not(.dashboard-export-mode) .dashboard-report-grid--spread-detail .dashboard-report-split-card{padding:10px 12px 8px}#dashboardPrintArea.dashboard-a4-sheet:not(.dashboard-export-mode) .dashboard-report-grid--spread-detail .dashboard-report-panel-head{margin-bottom:6px;padding-bottom:6px}#dashboardPrintArea canvas{max-width:100%!important;width:100%!important;height:100%!important}@media(max-width:1199px){#dashboardPrintArea.dashboard-a4-sheet:not(.dashboard-export-mode) .dashboard-report-grid--spread{grid-template-columns:repeat(2,minmax(0,1fr))}#dashboardPrintArea.dashboard-a4-sheet:not(.dashboard-export-mode) .dashboard-report-grid--spread-summary .dashboard-report-panel--feature,#dashboardPrintArea.dashboard-a4-sheet:not(.dashboard-export-mode) .dashboard-report-grid--spread-summary .dashboard-report-panel--time,#dashboardPrintArea.dashboard-a4-sheet:not(.dashboard-export-mode) .dashboard-report-grid--spread-summary .dashboard-report-panel--soft,#dashboardPrintArea.dashboard-a4-sheet:not(.dashboard-export-mode) .dashboard-report-grid--spread-summary .dashboard-report-panel--accent,#dashboardPrintArea.dashboard-a4-sheet:not(.dashboard-export-mode) .dashboard-report-grid--spread-detail .dashboard-report-panel,#dashboardPrintArea.dashboard-a4-sheet:not(.dashboard-export-mode) .dashboard-report-grid--spread-detail .dashboard-report-panel--span-4{grid-column:span 1}#dashboardPrintArea.dashboard-a4-sheet:not(.dashboard-export-mode) .dashboard-report-grid--spread-detail .dashboard-report-split{grid-template-columns:1fr}}@media(max-width:767px){#dashboardPrintArea.dashboard-a4-sheet:not(.dashboard-export-mode) .dashboard-report-page--spread{padding:18px 16px 16px;border-radius:6px}#dashboardPrintArea.dashboard-a4-sheet:not(.dashboard-export-mode) .dashboard-kpi-grid--spread,#dashboardPrintArea.dashboard-a4-sheet:not(.dashboard-export-mode) .dashboard-report-grid--spread{grid-template-columns:1fr}#dashboardPrintArea.dashboard-a4-sheet:not(.dashboard-export-mode) .dashboard-report-grid--spread .dashboard-report-panel,#dashboardPrintArea.dashboard-a4-sheet:not(.dashboard-export-mode) .dashboard-report-grid--spread .dashboard-report-panel--feature,#dashboardPrintArea.dashboard-a4-sheet:not(.dashboard-export-mode) .dashboard-report-grid--spread .dashboard-report-panel--time,#dashboardPrintArea.dashboard-a4-sheet:not(.dashboard-export-mode) .dashboard-report-grid--spread .dashboard-report-panel--soft,#dashboardPrintArea.dashboard-a4-sheet:not(.dashboard-export-mode) .dashboard-report-grid--spread .dashboard-report-panel--accent,#dashboardPrintArea.dashboard-a4-sheet:not(.dashboard-export-mode) .dashboard-report-grid--spread .dashboard-report-panel--span-4{grid-column:span 1}}@media(max-width:1199px){.dashboard-storyboard,.dashboard-kpi-grid{grid-template-columns:1fr}.dashboard-report-page{width:100%}.dashboard-meta-stack,.dashboard-report-grid--onepage,.dashboard-report-grid--spread{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-report-grid--onepage .dashboard-report-panel--feature,.dashboard-report-grid--onepage .dashboard-report-panel--community,.dashboard-report-grid--onepage .dashboard-report-panel--time,.dashboard-report-grid--spread .dashboard-report-panel--span-4{grid-column:span 2}}@media(max-width:767px){.dashboard-toolbar{gap:12px!important}.dashboard-toolbar-controls{width:100%;padding:10px!important}.dashboard-toolbar-controls .input-group{width:100%!important}.dashboard-report-subheader,.dashboard-report-grid,.dashboard-kpi-grid,.dashboard-meta-stack,.dashboard-report-split{grid-template-columns:1fr;display:grid}.dashboard-report-subheader{display:flex;flex-direction:column;align-items:flex-start}.dashboard-report-page{width:100%;min-height:auto;padding:20px 16px;border-radius:6px}.dashboard-report-panel--span-2,.dashboard-report-grid--onepage .dashboard-report-panel--feature,.dashboard-report-grid--onepage .dashboard-report-panel--community,.dashboard-report-grid--onepage .dashboard-report-panel--time,.dashboard-report-grid--spread .dashboard-report-panel--span-2,.dashboard-report-grid--spread .dashboard-report-panel--span-4{grid-column:span 1}.dashboard-storyboard-hero{padding:18px 18px 16px;min-height:auto}.dashboard-storyboard-top{flex-direction:column;align-items:flex-start}}@media print{@page{size:A4 portrait;margin:6mm}.dashboard-report-page{width:100%;min-height:auto;margin:0;padding:10mm 8mm 8mm;border:1px solid #d8e4f0;border-radius:0;box-shadow:none}.dashboard-report-page:after{display:none}.dashboard-report-page+.dashboard-report-page{margin-top:0}.dashboard-report-page--onepage{padding:7mm 8mm 6mm}.dashboard-report-page--spread{padding:8mm 8mm 7mm}.dashboard-toolbar{display:none!important}.dashboard-storyboard--onepage{grid-template-columns:minmax(0,1.18fr) minmax(0,.82fr);gap:8px;margin-bottom:8px}.dashboard-storyboard--onepage .dashboard-storyboard-hero{min-height:118px;padding:14px 14px 12px;border-radius:6px;box-shadow:none}.dashboard-storyboard--onepage .dashboard-storyboard-hero h4{margin-top:8px;font-size:22px}.dashboard-storyboard--onepage .dashboard-storyboard-hero p{margin-top:6px;font-size:11px}.dashboard-storyboard--onepage .dashboard-storyboard-tags{margin-top:10px}.dashboard-meta-stack--onepage,.dashboard-kpi-grid--onepage,.dashboard-report-grid--onepage,.dashboard-report-grid--onepage .dashboard-report-split,.dashboard-kpi-grid--spread,.dashboard-report-grid--spread,.dashboard-report-grid--spread .dashboard-report-split{gap:8px}.dashboard-meta-stack--onepage .dashboard-meta-card,.dashboard-kpi-grid--onepage .dashboard-kpi-tile,.dashboard-report-grid--onepage .dashboard-report-panel,.dashboard-report-grid--onepage .dashboard-report-split-card{box-shadow:none}.dashboard-meta-stack--onepage .dashboard-meta-card{padding:10px 10px 9px;border-radius:4px}.dashboard-meta-stack--onepage .dashboard-meta-card strong{font-size:14px}.dashboard-meta-stack--onepage .dashboard-meta-card small{margin-top:4px;font-size:9px}.dashboard-kpi-grid--onepage{margin-bottom:8px}.dashboard-kpi-grid--onepage .dashboard-kpi-tile{padding:10px 10px 8px;border-radius:4px}.dashboard-kpi-grid--onepage .dashboard-kpi-value{margin-top:6px;font-size:1.45rem}.dashboard-kpi-grid--onepage .dashboard-kpi-note{margin-top:4px;font-size:8.8px;line-height:1.25}.dashboard-report-grid--onepage .dashboard-report-panel{padding:9px;border-radius:4px}.dashboard-report-grid--onepage .dashboard-report-panel-head{margin-bottom:6px;padding-bottom:6px}.dashboard-report-grid--onepage .dashboard-report-panel-head h6{font-size:11px}.dashboard-report-grid--onepage .dashboard-report-panel-head p{font-size:8.8px}.dashboard-report-grid--onepage .dashboard-report-chart--hero{height:118px}.dashboard-report-grid--onepage .dashboard-report-chart--medium{height:94px}.dashboard-report-grid--onepage .dashboard-report-chart--compact,.dashboard-report-grid--onepage .dashboard-report-chart--short{height:90px}.dashboard-report-grid--onepage .dashboard-report-chart--split{height:82px}.dashboard-report-grid--onepage .dashboard-report-split-card{padding:8px;border-radius:4px}.dashboard-page-caption{margin-bottom:8px}.dashboard-page-caption h5{font-size:18px}.dashboard-page-caption p{font-size:10px}.dashboard-kpi-grid--spread{margin-bottom:8px}.dashboard-kpi-grid--spread .dashboard-kpi-tile{padding:11px 11px 9px;border-radius:4px}.dashboard-kpi-grid--spread .dashboard-kpi-value{margin-top:6px;font-size:1.55rem}.dashboard-kpi-grid--spread .dashboard-kpi-note{margin-top:4px;font-size:8.9px;line-height:1.25}.dashboard-report-grid--spread .dashboard-report-panel{padding:10px;border-radius:4px}.dashboard-report-grid--spread .dashboard-report-panel-head{margin-bottom:6px;padding-bottom:6px}.dashboard-report-grid--spread .dashboard-report-panel-head h6{font-size:11px}.dashboard-report-grid--spread .dashboard-report-panel-head p{font-size:8.8px}.dashboard-report-grid--spread-summary .dashboard-report-chart--hero,.dashboard-report-grid--spread-summary .dashboard-report-panel--time .dashboard-report-chart--short{height:150px}.dashboard-report-grid--spread-summary .dashboard-report-chart--medium,.dashboard-report-grid--spread-summary .dashboard-report-chart--compact{height:118px}.dashboard-report-grid--spread-detail .dashboard-report-chart--compact{height:132px}.dashboard-report-grid--spread-detail .dashboard-report-chart--split{height:118px}.dashboard-storyboard,.dashboard-kpi-grid,.dashboard-report-grid,.dashboard-report-split{gap:8px}.dashboard-report-panel,.dashboard-kpi-tile,.dashboard-meta-card,.dashboard-report-page-no{box-shadow:none}}@media(max-width:480px){.dashboard-kpi-value{font-size:1.7rem}.dashboard-detail-intro h5{font-size:20px}.dashboard-storyboard-hero h4{font-size:1.9rem}}@media(max-width:991px){.dashboard-report-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-report-panel--span-2{grid-column:span 2}}body{background:#fff;color:#23413d}#loading{background:#ffffffeb}#loading .spinner-border{color:var(--primary)!important}body.auth-checking #login-section,body.auth-checking #app-content{display:none!important}body.auth-checking #loading{display:flex!important}.his-topnav{background:#fff;border-top:2px solid var(--accent-red);border-bottom:1px solid #e2e8f0;box-shadow:0 1px 2px #0000000a}.his-brand{color:#0e3b5f;border-right-color:#5b6b7824}.his-brand i{color:var(--primary)}.his-nav-link{color:var(--nav-text)!important;border-radius:4px;font-weight:600}.his-nav-link:hover{background:var(--nav-hover-bg);color:#115892!important}.his-nav-link.active{background:#1b6bb0;color:#fff!important;box-shadow:none}.his-bell-badge{background:#dd1f26}.his-avatar{background:#1b6bb0;box-shadow:none}.his-dropdown-menu{background:#fff;border:1px solid rgba(216,228,240,.95);box-shadow:0 1px 2px #0000000d}.his-dropdown-item{color:#344054!important;border-bottom-color:#f0f2f8}.his-dropdown-item:hover{background:#edf9f7;color:#115892!important}.his-dropdown-item.active{background:var(--primary-soft);color:var(--primary-dark)!important}.his-dropdown-header,.his-dropdown-footer{background:#fbfffe;color:#6b8179;border-color:#e3f0ed}.his-dropdown-footer a{color:var(--primary)!important}.his-dropdown-footer a:hover{background:#edf9f7}@media(max-width:768px){.his-nav-items{background:#fff;border-top:1px solid #e3f0ed;box-shadow:0 1px 2px #0000000d}.his-nav-items .his-dropdown-menu{background:#fbfffe}.his-hamburger{color:#475467}}.his-content-wrapper{padding:20px 22px}.card,.modal-content,.swal2-popup{border:1px solid rgba(216,228,240,.95)!important;box-shadow:0 1px 2px #0000000d!important}.card{border-radius:6px;background:#fffffff5}.card:hover{transform:translateY(-1px);box-shadow:0 1px 2px #0000000d!important}.card-header,.card-header.bg-primary,.card-header.bg-success,.card-header.bg-info,.card-header.bg-warning,.card-header.bg-danger,.card-header.bg-secondary{background:#fff!important;color:#23413d!important;border-bottom:1px solid #e3f0ed!important}.card-header .text-white,.card-header.text-white,.card-header h5,.card-header h6,.card-header .card-title{color:#243046!important}.table{color:#334155}.table th{background:#f5f8fc!important;color:#6b8179;border-bottom-color:#deefeb}.table td{border-bottom-color:#eef7f5}.table-hover tbody tr:hover{background:#fbfffe}.form-control,.form-select,.input-group-text,.select2-container .select2-selection--single,.select2-container--default .select2-selection--multiple{border-color:#d6e9e5!important;background:#fff!important;color:#23413d!important;border-radius:4px!important}.input-group-text{background:#f7fcfb!important}.form-control::placeholder,.select2-container--default .select2-search--inline .select2-search__field::placeholder{color:#98a2b3}.form-control:focus,.form-select:focus,.select2-container--default.select2-container--focus .select2-selection--multiple,.select2-container--default.select2-container--open .select2-selection--single{border-color:#b5d4ee!important;box-shadow:0 0 0 .22rem rgba(var(--primary-rgb),.18)!important}.btn{border-radius:4px!important;box-shadow:0 10px 22px #1f294014!important}.btn-primary,.btn-success,.btn-info{background:linear-gradient(135deg,#1b6bb0,#115892)!important;color:#fff!important;box-shadow:0 12px 24px rgba(var(--primary-rgb),.24)!important}.btn-primary:hover,.btn-success:hover,.btn-info:hover{transform:translateY(-1px)!important;box-shadow:0 14px 28px rgba(var(--primary-rgb),.3)!important;filter:brightness(1.02)}.btn-secondary,.btn-outline-secondary{background:#fff!important;color:#475467!important;border:1px solid #cbd5e1!important;box-shadow:none!important}.btn-warning,.btn-outline-primary,.btn-outline-success,.btn-outline-info,.btn-light{background:#fff!important;color:var(--primary-dark)!important;border:1px solid var(--primary-soft-border)!important;box-shadow:none!important}.btn-danger,.btn-outline-danger{background:#fff5f6!important;color:#d92d20!important;border:1px solid #f9d1d6!important;box-shadow:0 8px 18px #d92d2014!important}.badge.bg-primary,.badge.bg-success,.badge.bg-info,.badge.bg-warning,.badge.bg-secondary,.bg-primary-subtle,.bg-success-subtle,.bg-info-subtle,.bg-warning-subtle,.bg-secondary-subtle{background:var(--primary-soft)!important;color:var(--primary-dark)!important;border:1px solid var(--primary-soft-border)!important}.text-primary,.text-info,.link-primary,.link-info{color:var(--primary-dark)!important}.bg-primary,.bg-info{background-color:var(--primary)!important}.border-primary,.border-info{border-color:rgba(var(--primary-rgb),.35)!important}.badge.bg-danger,.bg-danger-subtle{background:#fff1f3!important;color:#d92d20!important;border:1px solid #f8d4da!important}.small-box,.small-box.bg-hospital-total,.small-box.bg-hospital-new,.small-box.bg-hospital-returning,.small-box.bg-hospital-inscorp{background:#fff!important;border:1px solid #d8e4f0!important;box-shadow:0 1px 2px #0000000d!important}.small-box:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:linear-gradient(180deg,#1b6bb0,#115892)}.small-box h3{color:#1f2940!important}.small-box p{color:#667085!important}.small-box .icon{color:rgba(var(--primary-rgb),.14)!important}.login-page{background:#f5f7fa}.login-box .card,.login-page .card{background:#fff!important;box-shadow:0 1px 3px #00000014!important}.login-brand-title{color:#115892}.login-brand-subtitle{color:#5b6b78!important}.dataTables_length select,.dataTables_filter input{border-radius:4px!important;border-color:#d8dced!important;background:#fff!important}.paginate_button.current .page-link,.page-item.active .page-link{background:linear-gradient(135deg,#1b6bb0,#115892)!important;border-color:transparent!important;color:#fff!important}.page-link{color:var(--primary-dark)!important;border-radius:4px!important;border-color:#d8e4f0}.swal2-popup{background:#fffffffa!important}.swal2-confirm{background:linear-gradient(135deg,#1b6bb0,#115892)!important;box-shadow:0 12px 24px rgba(var(--primary-rgb),.24)!important}.swal2-cancel{background:#fff!important;border:1px solid #d8dced!important;color:#475467!important}.swal2-deny{background:#fff5f6!important;color:#d92d20!important}body,input,select,textarea,button,.table,.form-control,.form-select,.select2-container--default .select2-selection--single .select2-selection__rendered,.select2-container--default .select2-selection--multiple,.swal2-html-container{font-size:12px!important}.his-nav-link,.his-dropdown-item,.his-dropdown-footer a,.dataTables_info,.dataTables_paginate,.dataTables_length,.dataTables_filter label{font-size:11.5px!important}.patient-table-filter-wrap{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:nowrap}.patient-date-filter-group,.patient-column-filter-group{display:flex;align-items:center;gap:8px;flex-wrap:nowrap}.patient-column-filter-group{padding-right:8px;border-right:1px solid #e2e8f0}.patient-date-filter-item{display:inline-flex;align-items:center;gap:6px;color:#667085;font-size:11.5px;font-weight:600}.patient-date-filter-item input{min-width:128px;border-radius:4px}.patient-datatable-shell .row:first-child{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:nowrap}.patient-datatable-shell .row:first-child>div:first-child{flex:0 0 auto;width:auto;max-width:none}.patient-datatable-shell .row:first-child>div:last-child{flex:1 1 auto;width:auto;max-width:none}.patient-datatable-shell .dataTables_filter{gap:10px}.patient-datatable-shell .dataTables_filter label{gap:6px;flex:0 0 auto}.patient-datatable-shell .dataTables_filter input{min-width:190px;min-height:34px;padding:6px 12px!important}.patient-datatable-shell .patient-date-filter-item{gap:5px;font-size:11px}.patient-datatable-shell .patient-date-filter-item input{min-height:34px}.patient-datatable-shell .patient-column-filter-group input{min-width:120px}.patient-datatable-shell #patientNameSearch{min-width:170px}.patient-datatable-shell #patientPhoneSearch{min-width:130px}@media(max-width:991.98px){.his-datatable-shell .his-datatable-length,.his-datatable-shell .his-datatable-filter,.his-datatable-shell .his-datatable-info,.his-datatable-shell .his-datatable-pagination{justify-content:flex-start}.his-datatable-shell .dataTables_filter input{min-width:180px}.patient-datatable-shell .row:first-child,.patient-table-filter-wrap,.patient-date-filter-group,.patient-column-filter-group{flex-wrap:wrap}.patient-column-filter-group{padding-right:0;border-right:0}}.his-brand{font-size:14px}.his-brand i,.his-hamburger,.his-nav-link i{font-size:12px}h3,.h3{font-size:1.02rem!important;line-height:1.35}h4,.h4,.report-detail-patient-meta h4,#masterActiveCategoryName{font-size:1rem!important;line-height:1.35}h5,.h5,.modal-title,.card-title{font-size:.95rem!important;line-height:1.35}h6,.h6,.card-header h6,.card-header h5,.report-detail-subcard h6,.report-detail-note-box h6,.report-detail-section-title{font-size:.84rem!important;line-height:1.35}.form-label,.profile-label,.master-section-label,.small,small,.timeline-date{font-size:11px!important}.btn{font-size:11.5px!important;padding:7px 14px!important}.btn-sm{font-size:11px!important;padding:4px 10px!important}.table th{font-size:11px!important;letter-spacing:.04em}.table td,.report-detail-text-block p,.timeline-body,.profile-value{font-size:12px!important}.badge,.report-detail-chip,.master-count-pill,.timeline-tag{font-size:10.5px!important}.small-box h3{font-size:1.75rem!important}.small-box p,.report-detail-submeta,.report-detail-visit-meta,.master-category-btn span,.master-topic-tab span,.report-detail-note-box p{font-size:11.5px!important}.report-detail-diagnosis-box{font-size:18px}.report-detail-vital-box strong{font-size:13px}.patient-badge{display:inline-flex;align-items:center;gap:4px;border-radius:6px;padding:4px 10px;font-weight:700;border:1px solid transparent}.patient-badge-new{background:var(--primary-soft)!important;color:var(--primary-dark)!important;border-color:var(--primary-soft-border)!important}.patient-badge-returning{background:#e6f0f9!important;color:#115892!important;border-color:#b5d4ee!important}.patient-badge-neutral{background:#f4f5f7!important;color:#475467!important;border-color:#e4e7ec!important}.patient-badge-age{background:#fde8e9!important;color:#b51820!important;border-color:#f59ea3!important}.btn-triage-view-official{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-width:76px;border:1px solid #b8c7d9!important;background:#fff!important;color:#1f4e79!important;font-weight:700;border-radius:5px;box-shadow:0 1px 2px #1018280f}.btn-triage-view-official:hover,.btn-triage-view-official:focus{background:#eef5fb!important;border-color:#7fa6cb!important;color:#173f66!important}.triage-view-popup{border-radius:4px!important}.triage-view-title{font-size:18px;font-weight:800;color:#1f2937}.triage-view-title i{color:var(--primary)}.triage-record-shell{border:1px solid #cfd8e3;background:#fff;padding:0;color:#253044}.triage-record-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 16px;border-bottom:1px solid #cfd8e3;background:#f8fafc}.triage-record-name{font-size:18px;font-weight:800;color:#111827;line-height:1.2}.triage-record-id{margin-top:4px;font-size:13px;font-weight:700;color:#4b5563}.triage-record-header-right{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:6px}.triage-record-status{display:inline-flex;align-items:center;border-radius:4px;padding:5px 9px;font-size:12px;font-weight:800;border:1px solid transparent}.triage-record-status-done{color:#166534;background:#f0fdf4;border-color:#bbf7d0}.triage-record-status-wait{color:#92400e;background:#fffbeb;border-color:#fde68a}.triage-record-info,.triage-record-vitals{width:100%;border-collapse:collapse;table-layout:fixed}.triage-record-info th,.triage-record-info td{border-bottom:1px solid #e3e8ef;padding:9px 10px;font-size:13px;vertical-align:middle}.triage-record-info th{width:23%;background:#fbfcfe;color:#46556a;font-weight:800}.triage-record-info td{color:#111827;font-weight:700}.triage-record-section-title{padding:12px 12px 7px;color:#111827;font-size:14px;font-weight:900}.triage-record-vitals{margin:0 12px;width:calc(100% - 24px);border:1px solid #cfd8e3}.triage-record-vitals th,.triage-record-vitals td{border:1px solid #cfd8e3;text-align:center;padding:10px 8px}.triage-record-vitals th{background:#f3f6f9;color:#344054;font-size:12px;font-weight:900}.triage-record-vitals td{color:#111827;font-size:16px;font-weight:800}.triage-record-vitals td.triage-stat-ok{color:#166534!important}.triage-record-vitals td.triage-stat-danger{color:#b42318!important}.triage-record-vitals td.triage-stat-warn{color:#b45309!important}.triage-record-note{margin:0 12px 12px;min-height:46px;border:1px solid #cfd8e3;padding:10px 12px;color:#111827;font-size:14px;line-height:1.45;background:#fff}.triage-view-shell{padding-top:2px}.triage-view-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px;border:1px solid #d8e4f0;border-radius:6px;background:#fff}.triage-view-avatar{width:52px;height:52px;border-radius:50%;overflow:hidden;background:#eef2f7;border:1px solid #d9e2ec;display:flex;align-items:center;justify-content:center}.triage-view-meta .badge.bg-success,.triage-view-meta .badge.bg-warning{border-radius:6px;padding:8px 12px}.triage-view-meta .badge.bg-success{background:#eef7f1!important;color:#157347!important;border:1px solid #cde9d7}.triage-view-meta .badge.bg-warning{background:#fff7e9!important;color:#b54708!important;border:1px solid #f7d79b}.triage-view-stat-card{padding:14px;border:1px solid #e7e9f4;border-radius:4px;background:#fbfcfe}.triage-view-stat-value{font-size:24px;line-height:1.15;color:#344054}.triage-stat-ok{color:#157347!important}.triage-stat-danger{color:#d92d20!important}.triage-stat-warn{color:#c26a1b!important}.triage-stat-info{color:#3659a8!important}.triage-stat-muted{color:#667085!important}.triage-view-note{padding:12px 14px;border:1px solid #e7e9f4;border-radius:4px;background:#fff;color:#344054}@media(max-width:767px){.triage-view-header{flex-direction:column;align-items:flex-start}.triage-view-meta{width:100%;text-align:left!important}.triage-view-stat-value{font-size:20px}.triage-record-header{align-items:flex-start;flex-direction:column}.triage-record-info th,.triage-record-info td,.triage-record-vitals th,.triage-record-vitals td{font-size:11.5px;padding:7px 5px}}.ipd-page-header{margin-bottom:6px;padding-bottom:6px;border-bottom:1px solid var(--border-color)}.ipd-page-header h3{font-size:18px;line-height:1.2}.ipd-page-header .btn{padding:5px 9px;font-size:12px}.ipd-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(130px,1fr));gap:5px}.ipd-summary-card{min-height:36px;border:1px solid #dbe7ef;border-radius:6px;background:#fff;padding:5px 9px;box-shadow:0 4px 12px #0f172a09}.ipd-summary-card span{display:block;font-size:10px;color:#64748b;font-weight:700}.ipd-summary-card strong{display:block;margin-top:2px;font-size:17px;line-height:1;color:#0f172a}.ipd-summary-card.is-available{border-top:3px solid #16a34a}.ipd-summary-card.is-occupied{border-top:3px solid #dc2626}.ipd-summary-card.is-reserved{border-top:3px solid #2563eb}.ipd-summary-card.is-cleaning{border-top:3px solid #f59e0b}.ipd-summary-card.is-maintenance{border-top:3px solid #64748b}.ipd-summary-card.is-admission{border-top:3px solid #0f766e}.ipd-summary-card.is-waiting{border-top:3px solid #b45309}.ipd-summary-card.is-longstay{border-top:3px solid #7c3aed}.ipd-summary-card.is-rate{border-top:3px solid #0f766e}.ipd-filter-bar{display:grid;grid-template-columns:repeat(4,minmax(94px,1fr)) minmax(190px,1.35fr) 70px auto;gap:5px;align-items:end;min-height:44px;padding:5px;border:1px solid #dbe7ef;border-radius:6px;background:#f8fafc}.ipd-filter-bar .form-label{margin-bottom:1px;color:#475569;font-size:9px;font-weight:800;text-transform:uppercase}.ipd-filter-bar .form-select-sm,.ipd-filter-bar .input-group-sm .form-control,.ipd-filter-bar .input-group-sm .input-group-text,.ipd-filter-bar .btn-sm{min-height:30px;padding-top:3px;padding-bottom:3px;font-size:10.5px}.ipd-view-mode{display:inline-flex;gap:2px;align-self:end;border:1px solid #cbd5e1;border-radius:6px;background:#fff;padding:2px;white-space:nowrap}.ipd-view-mode button{border:0;border-radius:4px;background:transparent;color:#475569;min-height:26px;padding:3px 7px;font-size:10.5px;font-weight:800}.ipd-view-mode button.active{background:#0f5f9a;color:#fff}.ipd-tabs .nav-link{padding:6px 9px;font-size:11.5px;font-weight:700;color:#475569}.ipd-board-segment{border-radius:10px;margin-bottom:18px;overflow:hidden;background:#f6f9fc;border:1px solid #d7e5ef}.ipd-board-segment-header{display:flex;align-items:center;gap:12px;padding:10px 14px;background:linear-gradient(90deg,#0f5f9a,#1d7fb7);color:#fff;border-bottom:3px solid rgba(255,255,255,.25)}.ipd-board-segment-icon{width:36px;height:36px;border-radius:50%;background:#ffffff2e;display:flex;align-items:center;justify-content:center;font-size:16px;flex-shrink:0}.ipd-board-segment-titles strong{display:block;font-size:14px;font-weight:800;letter-spacing:.2px}.ipd-board-segment-titles small{display:block;font-size:11px;opacity:.85;margin-top:1px}.ipd-board-segment-body{padding:10px 12px 4px}.ipd-board-segment-vip{background:linear-gradient(180deg,#fffbeb,#fef3c7 60%,#fde68a);border:1px solid #f0c14b;box-shadow:0 2px 8px #c1891e2e}.ipd-board-segment-vip .ipd-board-segment-header{background:linear-gradient(90deg,#b45309,#d97706 45%,#f59e0b);color:#fffbeb;border-bottom:3px solid rgba(255,215,130,.65)}.ipd-board-segment-vip .ipd-board-segment-icon{background:#ffffff38;color:#fffbeb;box-shadow:0 0 0 2px #ffd78273 inset}.ipd-board-segment-vip .ipd-ward-group{border:1px solid #f0c14b;background:#fffdf7;box-shadow:0 1px 3px #c1891e1a}.ipd-board-segment-vip .ipd-ward-header{background:linear-gradient(90deg,#b45309,#d97706);color:#fffbeb}.ipd-board-segment-vip .ipd-ward-header .ipd-ward-crud .btn-outline-primary{color:#fffbeb;border-color:#fffbeb8c}.ipd-board-segment-vip .ipd-ward-header .ipd-ward-crud .btn-outline-danger{color:#fff5d7;border-color:#fee2e28c}.ipd-board-segment-vip .ipd-room-title{color:#92400e}.btn.ipd-vip-btn{background:linear-gradient(135deg,#d97706,#f59e0b 60%,#fbbf24);color:#fffbeb;border:1px solid #b45309;text-shadow:0 1px 1px rgba(120,53,15,.45);transition:transform .12s ease,box-shadow .12s ease}.btn.ipd-vip-btn:hover,.btn.ipd-vip-btn:focus{background:linear-gradient(135deg,#b45309,#d97706 55%,#f59e0b);color:#fffbeb;box-shadow:0 4px 10px #c1891e59;transform:translateY(-1px)}.swal2-popup.ipd-vip-modal{border-top:4px solid #d97706;box-shadow:0 12px 32px #c1891e40}.swal2-popup.ipd-vip-modal .swal2-title{color:#92400e}.ipd-ward-group{border:1px solid #d7e5ef;border-radius:6px;background:#fff;margin-bottom:8px;overflow:hidden}.ipd-ward-header{display:flex;justify-content:space-between;align-items:center;gap:12px;position:sticky;top:0;z-index:2;padding:6px 8px;background:#0f5f9a;color:#fff}.ipd-ward-title{display:flex;flex-wrap:wrap;gap:8px;font-size:13px;font-weight:800}.ipd-ward-title span:not(:last-child):after{content:"|";margin-left:8px;opacity:.6}.ipd-ward-metrics{display:flex;flex-wrap:wrap;gap:6px}.ipd-ward-metrics span{border-radius:4px;padding:2px 6px;background:#ffffff24;font-size:10px;font-weight:700}.ipd-room-section{padding:5px 6px 6px;border-top:1px solid #e6eef5}.ipd-room-title{display:flex;justify-content:space-between;gap:10px;margin-bottom:4px;color:#334155;font-size:11.5px;font-weight:800}.ipd-bed-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:8px}.ipd-board-mode-compact .ipd-bed-grid{grid-template-columns:repeat(auto-fill,minmax(140px,170px));justify-content:start;gap:4px}.ipd-bed-card{border:1px solid #dbe4ec;border-left-width:5px;border-radius:6px;background:#fff;min-height:192px;padding:11px}.ipd-bed-card-compact{height:106px;min-height:90px;max-height:120px;padding:6px;overflow:hidden;position:relative}.ipd-bed-card.status-available{border-color:#16a34a;border-left-color:#16a34a}.ipd-bed-card.status-occupied{border-color:#dc2626;border-left-color:#dc2626}.ipd-bed-card.status-reserved{border-color:#2563eb;border-left-color:#2563eb}.ipd-bed-card.status-cleaning{border-color:#f59e0b;border-left-color:#f59e0b}.ipd-bed-card.status-maintenance{border-color:#64748b;border-left-color:#64748b}.ipd-bed-card.status-inactive{border-color:#1f2937;border-left-color:#1f2937;opacity:.78}.ipd-bed-top{display:flex;justify-content:space-between;gap:8px;align-items:flex-start;margin-bottom:9px}.ipd-bed-number{color:#0f172a;font-size:18px;font-weight:900}.ipd-bed-card-compact .ipd-bed-number{font-size:17px}.ipd-compact-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:6px}.ipd-compact-patient{margin-top:6px;color:#0f172a;font-size:11.5px;font-weight:900;line-height:1.25;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.ipd-compact-bedtype{margin-top:8px;color:#475569;font-size:11px;font-weight:800}.ipd-compact-meta{margin-top:2px;color:#475569;font-size:10px;font-weight:700;line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ipd-compact-actions{position:absolute;right:5px;bottom:5px}.ipd-bed-action-menu .btn{width:26px;height:24px;padding:0;font-size:11px}.ipd-bed-action-menu .dropdown-menu{font-size:12px}.ipd-bed-meta{display:grid;gap:3px;color:#475569;font-size:11.5px}.ipd-bed-meta strong{color:#0f172a}.ipd-bed-empty-meta{border-radius:5px;background:#f8fafc;padding:8px}.ipd-bed-actions{display:flex;flex-wrap:wrap;gap:5px;margin-top:10px}.ipd-bed-actions .btn{padding:4px 7px;font-size:11px;border-radius:4px}.ipd-care-tags{display:flex;flex-wrap:wrap;gap:5px;margin-top:9px}.ipd-care-tag{display:inline-flex;align-items:center;gap:4px;border:1px solid #dbe4ec;border-radius:4px;background:#f8fafc;color:#334155;padding:4px 7px;font-size:10.5px;font-weight:700;line-height:1.2}.ipd-care-tag.is-alert{border-color:#fed7aa;background:#fff7ed;color:#b45309}.ipd-status-badge{border-radius:4px;padding:3px 5px;font-size:8.5px;font-weight:800;text-transform:uppercase}.ipd-floor-room-section .ipd-bed-grid{grid-template-columns:repeat(auto-fill,minmax(86px,112px));justify-content:start;gap:5px}.ipd-floor-bed{border:1px solid #dbe4ec;border-left-width:5px;border-radius:5px;background:#fff;min-height:54px;padding:6px}.ipd-floor-bed strong{display:block;color:#0f172a;font-size:12px;font-weight:900}.ipd-floor-bed span{display:block;margin-top:2px;color:#64748b;font-size:9.5px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ipd-floor-bed.status-available{border-color:#16a34a;border-left-color:#16a34a}.ipd-floor-bed.status-occupied{border-color:#dc2626;border-left-color:#dc2626}.ipd-floor-bed.status-reserved{border-color:#2563eb;border-left-color:#2563eb}.ipd-floor-bed.status-cleaning{border-color:#f59e0b;border-left-color:#f59e0b}.ipd-floor-bed.status-maintenance{border-color:#64748b;border-left-color:#64748b}.ipd-floor-bed.status-inactive{border-color:#1f2937;border-left-color:#1f2937;opacity:.78}.ipd-status-available{background:#eaf7ef;color:#15803d}.ipd-status-occupied{background:#fde8e8;color:#b91c1c}.ipd-status-reserved{background:#e8f0ff;color:#1d4ed8}.ipd-status-cleaning{background:#fff4df;color:#b45309}.ipd-status-maintenance{background:#eef2f7;color:#475569}.ipd-status-inactive{background:#1f2937;color:#fff}.ipd-empty-state{display:flex;min-height:240px;align-items:center;justify-content:center;border:1px dashed #cbd5e1;border-radius:6px;background:#fbfcfe;color:#64748b;text-align:center;font-weight:700}.ipd-table-card .card-body{padding:8px}.ipd-dashboard-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:7px}.ipd-dashboard-card{min-height:58px;border:1px solid #dbe7ef;border-top:3px solid #0f5f9a;border-radius:6px;background:#fff;padding:8px 10px}.ipd-dashboard-card span{display:block;color:#64748b;font-size:10.5px;font-weight:800;text-transform:uppercase}.ipd-dashboard-card strong{display:block;margin-top:3px;color:#0f172a;font-size:22px;font-weight:900;line-height:1}.ipd-dashboard-card.is-admission{border-top-color:#0f766e}.ipd-dashboard-card.is-available{border-top-color:#16a34a}.ipd-dashboard-card.is-occupied{border-top-color:#dc2626}.ipd-dashboard-card.is-rate{border-top-color:#7c3aed}.ipd-dashboard-card.is-waiting{border-top-color:#b45309}.ipd-dashboard-card.is-longstay{border-top-color:#2563eb}.ipd-dashboard-charts,.ipd-dashboard-sections,.ipd-admit-layout{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:10px}.ipd-dashboard-sections{grid-template-columns:repeat(3,minmax(0,1fr))}.ipd-dashboard-panel{border:1px solid #dbe7ef;border-radius:6px;background:#fff;padding:10px}.ipd-dashboard-panel-title{margin-bottom:8px;color:#0f172a;font-size:13px;font-weight:900}.ipd-chart-box{height:230px}.ipd-mini-row{border-bottom:1px solid #eef2f7;padding:7px 0}.ipd-mini-row:last-child{border-bottom:0}.ipd-mini-row strong{display:block;color:#0f172a;font-size:12px;font-weight:900}.ipd-mini-row span{display:block;color:#64748b;font-size:10.5px;font-weight:700}.ipd-status-summary-row{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #eef2f7;padding:6px 0}.ipd-status-summary-row:last-child{border-bottom:0}.ipd-status-summary-row strong{color:#0f172a;font-size:14px;font-weight:900}.ipd-ready-bed{display:inline-flex;flex-direction:column;width:142px;min-height:62px;margin:0 5px 5px 0;border:1px solid #dbe4ec;border-left-width:5px;border-radius:6px;background:#fff;padding:7px;text-align:left}.ipd-ready-bed strong{color:#0f172a;font-size:13px;font-weight:900}.ipd-ready-bed span{color:#64748b;font-size:10px;font-weight:700}.ipd-ready-bed.status-available{border-color:#16a34a;border-left-color:#16a34a}.ipd-ready-bed.status-reserved{border-color:#2563eb;border-left-color:#2563eb}.ipd-selected-patient{display:flex;justify-content:space-between;gap:10px;border:1px solid #c7d9e8;border-left:4px solid #0f5f9a;border-radius:6px;background:#f8fafc;padding:8px 10px;color:#334155;font-size:12px;font-weight:800}.ipd-selected-patient span{color:#64748b;font-weight:700}.ipd-empty-inline{color:#64748b;font-size:12px;font-weight:700;padding:8px 0}.ipd-chart-shell{display:grid;gap:10px}.ipd-chart-header{display:flex;justify-content:space-between;gap:10px;align-items:center;padding-bottom:8px;border-bottom:1px solid var(--border-color)}.ipd-chart-summary{border:1px solid #dbe7ef;border-radius:6px;background:#fff;padding:10px}.ipd-patient-header{border:1px solid #c7d9e8;border-left:5px solid #0f5f9a;border-radius:6px;background:#fff;padding:10px 12px}.ipd-patient-header-main{display:grid;grid-template-columns:minmax(220px,1.25fr) minmax(0,3fr);gap:12px;align-items:stretch}.ipd-patient-title{border-right:1px solid #e2e8f0;padding-right:12px}.ipd-patient-title span,.ipd-patient-header-grid span{display:block;color:#64748b;font-size:10px;font-weight:900;text-transform:uppercase}.ipd-patient-title strong{display:block;color:#0f172a;font-size:22px;font-weight:900;line-height:1.2}.ipd-patient-title div{margin-top:5px;color:#475569;font-size:12px;font-weight:800}.ipd-patient-header-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px 12px}.ipd-patient-header-grid strong{display:block;color:#0f172a;font-size:12.5px;font-weight:900;overflow-wrap:anywhere}.ipd-clinical-snapshot{border:1px solid #dbe7ef;border-radius:6px;background:#f8fafc;padding:8px}.ipd-snapshot-title{display:flex;align-items:center;gap:6px;margin-bottom:6px;color:#0f172a;font-size:12px;font-weight:900}.ipd-snapshot-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:6px}.ipd-snapshot-card{border:1px solid #e2e8f0;border-radius:5px;background:#fff;min-height:50px;padding:7px 8px}.ipd-snapshot-card span{display:block;color:#64748b;font-size:9.5px;font-weight:900;text-transform:uppercase}.ipd-snapshot-card strong{display:block;color:#0f172a;font-size:12.5px;font-weight:900;line-height:1.25;overflow-wrap:anywhere}.ipd-chart-summary-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px}.ipd-chart-summary-grid span{display:block;color:#64748b;font-size:10px;font-weight:800;text-transform:uppercase}.ipd-chart-summary-grid strong{display:block;color:#0f172a;font-size:13px;font-weight:900}.ipd-chart-pane{min-height:220px;border:1px solid #dbe7ef;border-radius:6px;background:#fff;padding:12px}.ipd-chart-note h5{color:#0f172a;font-size:15px;font-weight:900}.ipd-skeleton-lines{display:grid;gap:8px;margin-top:12px}.ipd-skeleton-lines span{display:block;height:10px;border-radius:999px;background:#eef2f7}.ipd-chart-empty-card{display:grid;justify-items:center;gap:6px;margin-top:14px;border:1px dashed #cbd5e1;border-radius:6px;background:#f8fafc;padding:22px 14px;color:#64748b;text-align:center}.ipd-chart-empty-card i{color:#94a3b8;font-size:22px}.ipd-chart-empty-card strong{color:#0f172a;font-size:13px;font-weight:900}.ipd-chart-empty-card span{font-size:12px;font-weight:700}.ipd-clinical-chart .ipd-chart-pane{padding:10px}.ipd-chart-tabs{flex-wrap:wrap;gap:2px;border-bottom:1px solid #dbe7ef}.ipd-chart-tabs .nav-link{border-radius:5px 5px 0 0;white-space:nowrap}.ipd-section-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;border-bottom:1px solid #eef2f7;padding-bottom:8px}.ipd-section-head strong{display:block;color:#0f172a;font-size:14px;font-weight:900}.ipd-section-head span{display:block;color:#64748b;font-size:11px;font-weight:700}.ipd-clinical-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:8px}.ipd-clinical-field{border:1px solid #dbe7ef;border-radius:6px;background:#f8fafc;padding:8px 10px}.ipd-clinical-field span{display:block;color:#64748b;font-size:10px;font-weight:800;text-transform:uppercase}.ipd-clinical-field strong{display:block;color:#0f172a;font-size:13px;font-weight:900;overflow-wrap:anywhere}.ipd-clinical-card{border:1px solid #dbe7ef;border-radius:6px;background:#fff;padding:10px;margin-bottom:8px}.ipd-round-card{border:1px solid #dbe7ef;border-left:4px solid #94a3b8;border-radius:8px;background:#fff;padding:12px 14px;margin-bottom:12px;box-shadow:0 1px 2px #0f172a0a}.ipd-round-open{border-left-color:#16a34a;background:#f8fffb}.ipd-round-closed{border-left-color:#64748b;background:#fbfbfb;opacity:.95}.ipd-round-active{box-shadow:0 0 0 2px #16a34a40,0 1px 4px #0f172a0f}.ipd-round-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:10px}.ipd-round-title{font-weight:800;color:#0f172a;font-size:14px;margin-bottom:2px}.ipd-round-actions-btns{min-width:160px;align-items:stretch}.ipd-round-actions{border-top:1px dashed #e2e8f0;padding-top:8px;display:flex;flex-direction:column;gap:6px}.ipd-round-action{display:flex;gap:10px;padding:6px 8px;background:#f8fafc;border-radius:6px;align-items:flex-start}.ipd-round-action>i{color:#2563eb;margin-top:3px;width:16px;text-align:center}.ipd-round-action-top{display:flex;justify-content:space-between;gap:8px;align-items:baseline}.ipd-round-action-top strong{color:#0f172a;font-size:12px}.ipd-round-action-top span{color:#64748b;font-size:11px}.ipd-round-empty{border-top:1px dashed #e2e8f0;padding-top:6px;font-style:italic}.ipd-history-day{margin-bottom:18px}.ipd-history-date-header{display:flex;justify-content:space-between;align-items:center;padding:8px 12px;background:linear-gradient(90deg,#0f172a,#1e293b);color:#f8fafc;border-radius:6px;margin-bottom:8px;position:sticky;top:0;z-index:2}.ipd-history-date-main{font-weight:800;font-size:14px;letter-spacing:.3px}.ipd-history-event-count{background:#ffffff26;padding:2px 10px;border-radius:12px;font-size:11px;font-weight:700}.ipd-history-items{display:flex;flex-direction:column;gap:6px}.ipd-history-row{display:grid;grid-template-columns:70px 1fr auto;gap:12px;align-items:flex-start;padding:10px 12px;background:#fff;border:1px solid #e2e8f0;border-left:4px solid #94a3b8;border-radius:6px;transition:box-shadow .15s,transform .15s}.ipd-history-row:hover{box-shadow:0 2px 6px #0f172a14}.ipd-history-doctor{border-left-color:#2563eb}.ipd-history-nursing{border-left-color:#16a34a}.ipd-history-vitals{border-left-color:#dc2626}.ipd-history-meds{border-left-color:#9333ea}.ipd-history-labs{border-left-color:#0891b2}.ipd-history-time{display:flex;flex-direction:column;align-items:center;gap:4px;padding-top:2px}.ipd-history-time-value{font-family:ui-monospace,SF Mono,Monaco,monospace;font-weight:700;font-size:14px;color:#0f172a;letter-spacing:.5px}.ipd-history-icon{width:28px;height:28px;border-radius:50%;background:#f1f5f9;display:flex;align-items:center;justify-content:center;color:#475569;font-size:12px}.ipd-history-doctor .ipd-history-icon{background:#dbeafe;color:#1d4ed8}.ipd-history-nursing .ipd-history-icon{background:#dcfce7;color:#15803d}.ipd-history-vitals .ipd-history-icon{background:#fee2e2;color:#b91c1c}.ipd-history-meds .ipd-history-icon{background:#f3e8ff;color:#7e22ce}.ipd-history-labs .ipd-history-icon{background:#cffafe;color:#0e7490}.ipd-history-content{min-width:0}.ipd-history-content-top{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:4px}.ipd-history-type-badge{font-size:10px;font-weight:700;padding:2px 8px;border-radius:10px;text-transform:uppercase;letter-spacing:.4px;background:#f1f5f9;color:#475569}.ipd-history-type-doctor{background:#dbeafe;color:#1d4ed8}.ipd-history-type-nursing{background:#dcfce7;color:#15803d}.ipd-history-type-vitals{background:#fee2e2;color:#b91c1c}.ipd-history-type-meds{background:#f3e8ff;color:#7e22ce}.ipd-history-type-labs{background:#cffafe;color:#0e7490}.ipd-history-title{font-size:13px;font-weight:700;color:#0f172a}.ipd-history-provider{font-size:11.5px;color:#475569;margin:2px 0 4px}.ipd-history-body{font-size:12px;color:#334155;white-space:pre-wrap;line-height:1.45;background:#f8fafc;padding:6px 8px;border-radius:4px}.ipd-history-tags{margin-top:4px;display:flex;flex-wrap:wrap;gap:4px}.ipd-history-visit-tag{display:inline-flex;align-items:center;font-size:10.5px;color:#0f766e;background:#ccfbf1;padding:1px 8px;border-radius:10px}.ipd-history-actions{display:flex;flex-direction:column;gap:4px;align-items:flex-end}.ipd-history-actions .btn{width:32px;height:28px;padding:0;display:inline-flex;align-items:center;justify-content:center}@media(max-width:768px){.ipd-history-row{grid-template-columns:60px 1fr}.ipd-history-actions{grid-column:1 / -1;flex-direction:row;justify-content:flex-end;border-top:1px dashed #e2e8f0;padding-top:6px}}.ipd-clinical-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:8px}.ipd-clinical-card-head strong{display:block;color:#0f172a;font-size:13px;font-weight:900}.ipd-clinical-card-head span{color:#64748b;font-size:11px;font-weight:700}.ipd-soap-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.ipd-soap-grid div{border:1px solid #e2e8f0;border-radius:5px;background:#f8fafc;padding:8px;color:#334155;font-size:12px;white-space:pre-wrap}.ipd-soap-grid span{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;margin-right:6px;border-radius:999px;background:#0f5f9a;color:#fff;font-weight:900}.ipd-vitals-chart-wrap{height:210px;margin-bottom:10px;border:1px solid #dbe7ef;border-radius:6px;padding:8px;background:#fff}.ipd-clinical-table{font-size:12px}.ipd-clinical-table thead th{background:#f8fafc;color:#475569;font-size:10.5px;text-transform:uppercase;white-space:nowrap}.ipd-billing-total{margin-top:8px;border-top:1px solid #e2e8f0;padding-top:8px;color:#0f172a;font-size:15px;font-weight:900;text-align:right}.ipd-discharge-doc{display:grid;gap:10px}.ipd-discharge-doc div{border-bottom:1px solid #eef2f7;padding-bottom:8px}.ipd-discharge-doc span{display:block;color:#64748b;font-size:10.5px;font-weight:900;text-transform:uppercase}.ipd-discharge-doc p{margin:3px 0 0;color:#0f172a;font-size:13px;font-weight:700;white-space:pre-wrap}.ipd-timeline-filter{display:flex;flex-wrap:wrap;gap:4px;justify-content:flex-end}.ipd-timeline-filter button{border:1px solid #cbd5e1;border-radius:999px;background:#fff;color:#475569;padding:4px 8px;font-size:10.5px;font-weight:900}.ipd-timeline-filter button.active{border-color:#0f5f9a;background:#0f5f9a;color:#fff}.ipd-timeline-day{margin-bottom:12px}.ipd-timeline-date{position:sticky;top:0;z-index:1;display:flex;justify-content:space-between;align-items:center;border:1px solid #dbe7ef;border-radius:5px;background:#eef6fb;color:#0f172a;padding:5px 8px;font-size:12px;font-weight:900}.ipd-timeline-date span{color:#64748b;font-size:10.5px}.ipd-timeline-items{display:grid;gap:6px;margin-top:6px}.ipd-timeline-event{display:grid;grid-template-columns:30px minmax(0,1fr);gap:8px;border:1px solid #e2e8f0;border-left:4px solid #64748b;border-radius:6px;background:#fff;padding:8px}.ipd-timeline-doctor{border-left-color:#2563eb}.ipd-timeline-nursing{border-left-color:#0f766e}.ipd-timeline-vitals{border-left-color:#dc2626}.ipd-timeline-labs{border-left-color:#7c3aed}.ipd-timeline-meds{border-left-color:#ea580c}.ipd-timeline-icon{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:999px;background:#f1f5f9;color:#334155}.ipd-timeline-body{min-width:0}.ipd-timeline-top{display:flex;justify-content:space-between;gap:10px}.ipd-timeline-top strong{color:#0f172a;font-size:12.5px;font-weight:900}.ipd-timeline-top span,.ipd-timeline-type{color:#64748b;font-size:10.5px;font-weight:800}.ipd-timeline-body p{margin:4px 0 0;color:#334155;font-size:12px;line-height:1.4;white-space:pre-wrap;overflow-wrap:anywhere}@media(max-width:767px){.ipd-patient-header-main{grid-template-columns:1fr}.ipd-patient-title{border-right:0;border-bottom:1px solid #e2e8f0;padding-right:0;padding-bottom:8px}.ipd-section-head,.ipd-timeline-top{align-items:flex-start;flex-direction:column}}.ipd-nurse-station{display:grid;gap:12px}.ipd-nurse-ward{border:1px solid #d7e5ef;border-radius:6px;background:#fff;overflow:hidden}.ipd-nurse-ward-head{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:10px 12px;background:#0f5f9a;color:#fff}.ipd-nurse-ward-head strong{font-weight:900}.ipd-nurse-ward-head span{font-size:11px;font-weight:800;opacity:.88}.ipd-nurse-room{padding:10px 12px 12px;border-top:1px solid #e6eef5}.ipd-nurse-room-title{margin-bottom:8px;color:#334155;font-size:12px;font-weight:900}.ipd-nurse-bed-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px}.ipd-nurse-bed{border:1px solid #dbe4ec;border-left-width:5px;border-radius:6px;background:#fff;padding:8px;min-height:98px}.ipd-nurse-bed[onclick]:not([onclick=""]){cursor:pointer}.ipd-nurse-bed.status-available{border-color:#16a34a;border-left-color:#16a34a}.ipd-nurse-bed.status-occupied{border-color:#dc2626;border-left-color:#dc2626}.ipd-nurse-bed.status-reserved{border-color:#2563eb;border-left-color:#2563eb}.ipd-nurse-bed.status-cleaning{border-color:#f59e0b;border-left-color:#f59e0b}.ipd-nurse-bed.status-maintenance{border-color:#64748b;border-left-color:#64748b}.ipd-nurse-bed.status-inactive{border-color:#1f2937;border-left-color:#1f2937;opacity:.78}.ipd-nurse-bed-top{display:flex;justify-content:space-between;gap:6px;align-items:flex-start}.ipd-nurse-bed-top strong{color:#0f172a;font-size:15px;font-weight:900}.ipd-nurse-patient{margin-top:7px;color:#0f172a;font-size:12px;font-weight:900;line-height:1.25;overflow-wrap:anywhere}.ipd-nurse-meta{display:flex;flex-wrap:wrap;gap:4px;margin-top:6px;color:#64748b;font-size:10.5px;font-weight:700}.ipd-nurse-warning{border-radius:4px;background:#fff7ed;color:#b45309;padding:2px 5px}.ipd-doctor-census-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(310px,1fr));gap:12px}.ipd-doctor-panel{border:1px solid #d7e5ef;border-radius:6px;background:#fff;overflow:hidden}.ipd-doctor-panel-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:12px 14px;border-bottom:1px solid #e6eef5;background:#f8fafc}.ipd-doctor-panel-title{min-width:0}.ipd-doctor-panel-title strong{display:block;color:#0f172a;font-size:14px;font-weight:900;overflow-wrap:anywhere}.ipd-doctor-panel-title span{display:block;margin-top:3px;color:#64748b;font-size:11px}.ipd-doctor-count{min-width:38px;height:30px;border-radius:6px;display:inline-flex;align-items:center;justify-content:center;background:var(--primary);color:#fff;font-weight:900;flex-shrink:0}.ipd-doctor-patient-list{display:flex;flex-direction:column}.ipd-doctor-patient{padding:12px 14px;border-bottom:1px solid #eef2f7}.ipd-doctor-patient:last-child{border-bottom:0}.ipd-doctor-patient-main{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}.ipd-doctor-patient-name{color:#0f172a;font-weight:900;line-height:1.35}.ipd-doctor-patient-meta{display:flex;flex-wrap:wrap;gap:5px;margin-top:8px}.ipd-doctor-patient-meta span{display:inline-flex;align-items:center;gap:4px;border-radius:4px;border:1px solid #dbe4ec;background:#fff;color:#475569;padding:4px 7px;font-size:10.5px;font-weight:700}.ipd-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;text-align:left}.ipd-form-grid .full{grid-column:1 / -1}@media(max-width:991px){.ipd-summary-grid,.ipd-filter-bar{grid-template-columns:repeat(2,minmax(0,1fr))}.ipd-filter-search,.ipd-view-mode{grid-column:1 / -1}.ipd-view-mode{justify-self:start}.ipd-dashboard-charts,.ipd-dashboard-sections,.ipd-admit-layout{grid-template-columns:1fr}}@media(max-width:575px){.ipd-summary-grid,.ipd-filter-bar,.ipd-form-grid{grid-template-columns:1fr}.ipd-ward-header,.ipd-room-title{align-items:flex-start;flex-direction:column}}#view-ipd_ward_bed.ipd-workspace{min-height:calc(100vh - var(--nav-height));margin:-2px -4px 0;padding:14px 16px 22px;background:#f6f8fb}#view-ipd_ward_bed .ipd-page-header{margin-bottom:12px;padding:14px 16px;border:1px solid #dbe7ef;border-radius:8px;background:#fff;box-shadow:0 10px 24px #0f172a0d}#view-ipd_ward_bed .ipd-page-header h3{color:#102a43!important;font-size:19px}#view-ipd_ward_bed .ipd-page-header p{max-width:720px;color:#64748b!important;font-size:12px!important}#view-ipd_ward_bed .ipd-page-header .btn{min-height:40px;padding:8px 14px;border-radius:6px;font-size:12px;box-shadow:none!important}#view-ipd_ward_bed .ipd-summary-grid{grid-template-columns:repeat(4,minmax(170px,1fr));gap:10px;margin-bottom:12px!important}#view-ipd_ward_bed .ipd-summary-card{display:flex;align-items:center;gap:12px;min-height:74px;border:1px solid #dbe7ef;border-top:0;border-radius:8px;padding:14px 16px;background:#fff;box-shadow:0 8px 20px #0f172a0b}#view-ipd_ward_bed .ipd-summary-card:before{content:"";width:4px;align-self:stretch;border-radius:999px;background:#1b6bb0}#view-ipd_ward_bed .ipd-summary-card.is-available:before{background:#16a34a}#view-ipd_ward_bed .ipd-summary-card.is-occupied:before{background:#dc2626}#view-ipd_ward_bed .ipd-summary-card.is-rate:before{background:#0f766e}#view-ipd_ward_bed .ipd-summary-icon{width:38px;height:38px;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;border-radius:8px;background:#edf5fb;color:#1b6bb0}#view-ipd_ward_bed .ipd-summary-card.is-available .ipd-summary-icon{background:#eaf7ef;color:#15803d}#view-ipd_ward_bed .ipd-summary-card.is-occupied .ipd-summary-icon{background:#fde8e8;color:#b91c1c}#view-ipd_ward_bed .ipd-summary-card.is-rate .ipd-summary-icon{background:#e6f5f2;color:#0f766e}#view-ipd_ward_bed .ipd-summary-card span{font-size:11px;color:#64748b;letter-spacing:0;text-transform:none}#view-ipd_ward_bed .ipd-summary-card strong{margin-top:5px;font-size:24px;color:#0f172a}#view-ipd_ward_bed .ipd-filter-bar{grid-template-columns:repeat(4,minmax(132px,1fr)) minmax(250px,1.35fr) 94px auto;gap:10px;margin-bottom:12px!important;padding:12px;border:1px solid #dbe7ef;border-radius:8px;background:#fff;box-shadow:0 8px 20px #0f172a09}#view-ipd_ward_bed .ipd-filter-bar .form-label{margin-bottom:5px;color:#475569;font-size:11px;font-weight:800;text-transform:none}#view-ipd_ward_bed .ipd-filter-bar .form-select-sm,#view-ipd_ward_bed .ipd-filter-bar .input-group-sm .form-control,#view-ipd_ward_bed .ipd-filter-bar .input-group-sm .input-group-text,#view-ipd_ward_bed .ipd-filter-bar .btn-sm{min-height:38px;border-color:#d8e5ee;border-radius:6px;font-size:12px}#view-ipd_ward_bed .ipd-filter-bar .input-group-text{background:#f8fafc;color:#334155}#view-ipd_ward_bed .ipd-view-mode{min-height:38px;align-items:center;gap:3px;border-color:#d8e5ee;border-radius:7px;background:#f8fafc;padding:3px}#view-ipd_ward_bed .ipd-view-mode button{min-height:30px;border-radius:5px;color:#475569;padding:5px 10px;font-size:11px}#view-ipd_ward_bed .ipd-view-mode button.active{background:#1b6bb0;color:#fff;box-shadow:0 4px 10px #1b6bb02e}#view-ipd_ward_bed .ipd-tabs{gap:4px;margin-bottom:10px;border-bottom:1px solid #dbe7ef}#view-ipd_ward_bed .ipd-tabs .nav-link{border:0;border-bottom:3px solid transparent;border-radius:0;padding:10px 12px 9px;color:#475569;font-size:12px;font-weight:800}#view-ipd_ward_bed .ipd-tabs .nav-link.active{border-bottom-color:#1b6bb0;background:transparent;color:#0f3e63}#view-ipd_ward_bed .tab-content{padding-top:0!important}#view-ipd_config .tab-content>.tab-pane:not(.active){display:none!important}#view-ipd_config .tab-content>.tab-pane.active{display:block!important}#view-ipd_ward_bed .ipd-ward-group{margin-bottom:14px;border:1px solid #dbe7ef;border-radius:8px;background:#fff;box-shadow:0 10px 24px #0f172a0d}#view-ipd_ward_bed .ipd-ward-header{position:static;padding:13px 16px;border-bottom:1px solid #e6eef5;background:#fff;color:#0f172a}#view-ipd_ward_bed .ipd-ward-title{display:flex;align-items:center;gap:10px}#view-ipd_ward_bed .ipd-ward-title .ipd-ward-icon{width:38px;height:38px;display:inline-flex;align-items:center;justify-content:center;border-radius:8px;background:#edf5fb;color:#1b6bb0}#view-ipd_ward_bed .ipd-ward-title span:not(:last-child):after{content:none}#view-ipd_ward_bed .ipd-ward-title strong{display:block;color:#102a43;font-size:15px;line-height:1.2}#view-ipd_ward_bed .ipd-ward-title small{display:block;margin-top:3px;color:#64748b;font-size:11px;font-weight:800}#view-ipd_ward_bed .ipd-ward-metrics{margin-left:auto;justify-content:flex-end}#view-ipd_ward_bed .ipd-ward-metrics span{border:1px solid #dbe7ef;border-radius:999px;background:#f8fafc;color:#334155;padding:5px 9px;font-size:11px}#view-ipd_ward_bed .ipd-ward-metrics .is-occupied{border-color:#f8c7c7;background:#fff1f1;color:#b91c1c}#view-ipd_ward_bed .ipd-ward-metrics .is-available{border-color:#bbebcb;background:#f0fdf4;color:#15803d}#view-ipd_ward_bed .ipd-ward-metrics .is-cleaning{border-color:#fde0aa;background:#fff7ed;color:#b45309}#view-ipd_ward_bed .ipd-ward-metrics .is-maintenance{border-color:#dbe4ec;background:#f8fafc;color:#475569}#view-ipd_ward_bed .ipd-status-pills{display:flex;flex-wrap:wrap;gap:6px;margin-left:8px}#view-ipd_ward_bed .ipd-pill{display:inline-flex;align-items:center;gap:4px;padding:4px 10px;border-radius:14px;background:#f1f5f9;color:#475569;font-size:11.5px;font-weight:600;border:1px solid #e2e8f0}#view-ipd_ward_bed .ipd-pill strong{color:#0f172a;font-weight:800;margin-left:2px}#view-ipd_ward_bed .ipd-pill i{font-size:10px;opacity:.7}#view-ipd_ward_bed .ipd-pill.is-occupied{background:#fee2e2;color:#991b1b;border-color:#fecaca}#view-ipd_ward_bed .ipd-pill.is-available{background:#dcfce7;color:#166534;border-color:#bbf7d0}#view-ipd_ward_bed .ipd-pill.is-reserved{background:#dbeafe;color:#1e40af;border-color:#bfdbfe}#view-ipd_ward_bed .ipd-pill.is-occupied strong{color:#7f1d1d}#view-ipd_ward_bed .ipd-pill.is-available strong{color:#14532d}#view-ipd_ward_bed .ipd-pill.is-reserved strong{color:#1e3a8a}#view-ipd_ward_bed .ipd-ward-crud,#view-ipd_ward_bed .ipd-room-crud{display:inline-flex;gap:4px;margin-left:8px}#view-ipd_ward_bed .ipd-room-title-left{display:inline-flex;align-items:center;gap:0}#view-ipd_ward_bed .ipd-ward-crud .btn,#view-ipd_ward_bed .ipd-room-crud .btn{width:26px;height:24px;padding:0;display:inline-flex;align-items:center;justify-content:center;font-size:10px;border-radius:5px}#view-ipd_ward_bed .ipd-room-section{padding:8px 12px 10px;border-top:0}#view-ipd_ward_bed .ipd-room-section+.ipd-room-section{border-top:1px solid #edf2f7}#view-ipd_ward_bed .ipd-room-title{align-items:center;margin-bottom:6px;color:#102a43;font-size:12px}#view-ipd_ward_bed .ipd-room-title small{color:#64748b;font-size:10px;font-weight:800}#view-ipd_ward_bed .ipd-bed-grid{grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:8px}#view-ipd_ward_bed .ipd-board-mode-compact .ipd-bed-grid{grid-template-columns:repeat(auto-fill,minmax(170px,200px));gap:8px}#view-ipd_ward_bed .ipd-bed-card{--bed-accent: #1B6BB0;position:relative;min-height:150px;height:100%;align-self:stretch;border:1px solid #dbe7ef!important;border-left-color:#dbe7ef!important;border-radius:6px;background:#fff;padding:8px 10px;box-shadow:0 2px 6px #0f172a0a;transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease;display:flex;flex-direction:column}#view-ipd_ward_bed .ipd-bed-grid{align-items:stretch}#view-ipd_ward_bed .ipd-bed-card:before{content:"";position:absolute;inset:0 auto 0 0;width:5px;border-radius:8px 0 0 8px;background:var(--bed-accent)}#view-ipd_ward_bed .ipd-bed-card:hover{border-color:#b8cfdf!important;box-shadow:0 12px 26px #0f172a14;transform:translateY(-1px)}#view-ipd_ward_bed .ipd-bed-card.status-available{--bed-accent: #16a34a}#view-ipd_ward_bed .ipd-bed-card.status-occupied{--bed-accent: #dc2626}#view-ipd_ward_bed .ipd-bed-card.status-reserved{--bed-accent: #2563eb}#view-ipd_ward_bed .ipd-bed-card.status-cleaning{--bed-accent: #f59e0b}#view-ipd_ward_bed .ipd-bed-card.status-maintenance{--bed-accent: #64748b}#view-ipd_ward_bed .ipd-bed-card.status-inactive{--bed-accent: #1f2937;opacity:.82}#view-ipd_ward_bed .ipd-bed-card-compact{height:110px;min-height:110px;max-height:110px}#view-ipd_ward_bed .ipd-bed-number{color:#0f172a;font-size:16px;font-weight:800;letter-spacing:0}#view-ipd_ward_bed .ipd-bed-patient-name{font-weight:700;font-size:12.5px;color:#0f172a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-bottom:2px}#view-ipd_ward_bed .ipd-bed-line{font-size:11px;color:#475569;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.4}#view-ipd_ward_bed .ipd-bed-line span{font-weight:700;color:#334155}#view-ipd_ward_bed .ipd-bed-action-btn{width:28px;height:26px;padding:0;display:inline-flex;align-items:center;justify-content:center;font-size:11px;border-radius:5px}#view-ipd_ward_bed .ipd-bed-actions-row{display:flex;gap:4px;align-items:stretch;margin-top:auto;padding-top:6px}#view-ipd_ward_bed .ipd-bed-action-wrap{flex:1;position:static}#view-ipd_ward_bed .ipd-bed-action-trigger{width:100%;height:30px;padding:0 10px;font-size:11.5px;font-weight:700;border-radius:6px;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;border:none;box-shadow:none;color:#fff}#view-ipd_ward_bed .ipd-bed-action-trigger i{font-size:10px;opacity:.95}#view-ipd_ward_bed .ipd-bed-action-trigger.btn-success{background:#16a34a}#view-ipd_ward_bed .ipd-bed-action-trigger.btn-primary{background:#2563eb}#view-ipd_ward_bed .ipd-bed-action-trigger.btn-secondary{background:#64748b}#view-ipd_ward_bed .ipd-bed-action-trigger.btn-warning{background:#f59e0b}#view-ipd_ward_bed .ipd-bed-action-trigger.btn-dark{background:#0f172a}#view-ipd_ward_bed .ipd-bed-action-trigger.btn-danger{background:#dc2626}#view-ipd_ward_bed .ipd-bed-action-trigger:hover,#view-ipd_ward_bed .ipd-bed-action-trigger[aria-expanded=true]{filter:brightness(1.1);color:#fff}#view-ipd_ward_bed .ipd-bed-action-menu{min-width:210px;border:1px solid #e2e8f0;border-radius:8px;box-shadow:0 14px 32px #0f172a29;font-size:12px;padding:4px;z-index:1080}#view-ipd_ward_bed .ipd-bed-action-menu .dropdown-item{border-radius:5px;padding:7px 10px;font-weight:600;display:flex;align-items:center;white-space:nowrap}#view-ipd_ward_bed .ipd-bed-action-menu .dropdown-item i{width:16px;text-align:center;font-size:11px}#view-ipd_ward_bed .ipd-bed-action-menu .text-success:hover{background:#dcfce7;color:#166534!important}#view-ipd_ward_bed .ipd-bed-action-menu .text-primary:hover{background:#dbeafe;color:#1d4ed8!important}#view-ipd_ward_bed .ipd-bed-action-menu .text-warning:hover{background:#fef3c7;color:#92400e!important}#view-ipd_ward_bed .ipd-bed-action-menu .text-danger:hover{background:#fee2e2;color:#991b1b!important}#view-ipd_ward_bed .ipd-bed-action-menu .text-dark:hover{background:#e2e8f0;color:#0f172a!important}#view-ipd_ward_bed .ipd-bed-action-menu .text-secondary:hover{background:#f1f5f9;color:#334155!important}#view-ipd_ward_bed .ipd-bed-card,#view-ipd_ward_bed .ipd-bed-grid,#view-ipd_ward_bed .ipd-room-section{overflow:visible}#view-ipd_ward_bed .ipd-bed-card:has(.dropdown-menu.show){z-index:1090}#view-ipd_ward_bed .ipd-bed-card:focus-within{z-index:1090}#view-ipd_ward_bed .ipd-bed-card-compact .ipd-bed-number{font-size:21px}#view-ipd_ward_bed .ipd-compact-patient,#view-ipd_ward_bed .ipd-compact-bedtype{margin-top:10px;padding-right:28px}#view-ipd_ward_bed .ipd-compact-meta{font-size:11px;color:#64748b}#view-ipd_ward_bed .ipd-compact-actions{right:10px;bottom:10px}#view-ipd_ward_bed .ipd-bed-action-menu .btn{width:32px;height:30px;border-radius:6px}#view-ipd_ward_bed .ipd-bed-action-menu .dropdown-menu{border-color:#dbe7ef;border-radius:8px;box-shadow:0 16px 32px #0f172a24;font-size:12px}#view-ipd_ward_bed .ipd-bed-meta{gap:2px;color:#475569;font-size:11px;margin-top:4px}#view-ipd_ward_bed .ipd-bed-empty-meta{border:1px dashed #e6eef5;border-radius:4px;background:#f8fafc;padding:6px}#view-ipd_ward_bed .ipd-bed-actions{gap:4px;margin-top:auto;padding-top:6px;display:flex;flex-wrap:wrap;justify-content:flex-end}#view-ipd_ward_bed .ipd-bed-top{margin-bottom:4px}#view-ipd_ward_bed .ipd-status-badge{border-radius:10px;padding:2px 6px;font-size:9px;letter-spacing:0;text-transform:none;white-space:nowrap}#view-ipd_ward_bed .ipd-floor-room-section .ipd-bed-grid{grid-template-columns:repeat(auto-fill,minmax(110px,132px));gap:9px}#view-ipd_ward_bed .ipd-floor-bed{--bed-accent: #1B6BB0;min-height:68px;border:1px solid #dbe7ef!important;border-left:5px solid var(--bed-accent)!important;border-radius:8px;padding:9px;background:#fff;box-shadow:0 6px 14px #0f172a0a}#view-ipd_ward_bed .ipd-floor-bed.status-available{--bed-accent: #16a34a}#view-ipd_ward_bed .ipd-floor-bed.status-occupied{--bed-accent: #dc2626}#view-ipd_ward_bed .ipd-floor-bed.status-reserved{--bed-accent: #2563eb}#view-ipd_ward_bed .ipd-floor-bed.status-cleaning{--bed-accent: #f59e0b}#view-ipd_ward_bed .ipd-floor-bed.status-maintenance{--bed-accent: #64748b}#view-ipd_ward_bed .ipd-floor-bed.status-inactive{--bed-accent: #1f2937;opacity:.82}#view-ipd_ward_bed .ipd-floor-bed strong{font-size:14px}#view-ipd_ward_bed .ipd-floor-bed span{font-size:10.5px}#view-ipd_ward_bed .ipd-empty-state,#view-ipd_ward_bed .card{border-color:#dbe7ef;border-radius:8px;box-shadow:0 8px 20px #0f172a0a}#view-ipd_ward_bed .table thead th{border-bottom:1px solid #dbe7ef;background:#f8fafc;color:#334155;font-size:11px;font-weight:900}@media(max-width:1200px){#view-ipd_ward_bed .ipd-filter-bar{grid-template-columns:repeat(2,minmax(160px,1fr))}#view-ipd_ward_bed .ipd-filter-search,#view-ipd_ward_bed .ipd-view-mode{grid-column:1 / -1}}@media(max-width:768px){#view-ipd_ward_bed.ipd-workspace{margin:0;padding:10px}#view-ipd_ward_bed .ipd-summary-grid,#view-ipd_ward_bed .ipd-filter-bar,#view-ipd_ward_bed .ipd-bed-grid,#view-ipd_ward_bed .ipd-board-mode-compact .ipd-bed-grid{grid-template-columns:1fr}#view-ipd_ward_bed .ipd-ward-header{align-items:flex-start}#view-ipd_ward_bed .ipd-ward-metrics{justify-content:flex-start;margin-left:0}}.obs-kpi-grid{display:grid;grid-template-columns:repeat(5,minmax(150px,1fr));gap:10px}.dashboard-ops-grid{grid-template-columns:repeat(4,minmax(150px,1fr))}.obs-kpi{min-height:86px;background:#fff;border:1px solid #dbe5ef;border-left:4px solid #14b8a6;border-radius:8px;padding:12px 14px;display:flex;flex-direction:column;justify-content:center;box-shadow:0 6px 18px #0f172a0f}.obs-kpi span{color:#64748b;font-size:11px;font-weight:700;text-transform:uppercase}.obs-kpi strong{color:#0f172a;font-size:26px;line-height:1.2}.obs-kpi-opd{border-left-color:#0ea5e9}.obs-kpi-active{border-left-color:#14b8a6}.obs-kpi-ipd{border-left-color:#2563eb}.obs-kpi-admit{border-left-color:#f59e0b}.obs-kpi-discharge{border-left-color:#475569}.obs-kpi-bed{border-left-color:#7c3aed}#view-opd_observation.ipd-workspace{min-height:calc(100vh - var(--nav-height));margin:-2px -4px 0;padding:14px 16px 22px;background:#f6f8fb}#view-opd_observation .ipd-page-header{margin-bottom:12px;padding:14px 16px;border:1px solid #dbe7ef;border-radius:8px;background:#fff;box-shadow:0 10px 24px #0f172a0d}#view-opd_observation .ipd-page-header h3{color:#102a43!important;font-size:19px}#view-opd_observation .ipd-page-header .btn{min-height:40px;padding:8px 14px;border-radius:6px;font-size:12px;box-shadow:none!important}#view-opd_observation .ipd-status-pills{display:flex;flex-wrap:wrap;gap:6px;margin-left:8px}#view-opd_observation .ipd-pill{display:inline-flex;align-items:center;gap:4px;padding:4px 10px;border-radius:14px;background:#f1f5f9;color:#475569;font-size:11.5px;font-weight:600;border:1px solid #e2e8f0}#view-opd_observation .ipd-pill strong{color:#0f172a;font-weight:800;margin-left:2px}#view-opd_observation .ipd-pill i{font-size:10px;opacity:.7}#view-opd_observation .ipd-pill.is-occupied{background:#fee2e2;color:#991b1b;border-color:#fecaca}#view-opd_observation .ipd-pill.is-available{background:#dcfce7;color:#166534;border-color:#bbf7d0}#view-opd_observation .ipd-pill.is-reserved{background:#dbeafe;color:#1e40af;border-color:#bfdbfe}#view-opd_observation .ipd-board-segment{margin-bottom:14px;overflow:visible}#view-opd_observation .ipd-board-segment-body{padding:12px;overflow:visible}#view-opd_observation .ipd-ward-group{margin-bottom:14px;border:1px solid #dbe7ef;border-radius:8px;background:#fff;box-shadow:0 10px 24px #0f172a0d;overflow:visible}#view-opd_observation .ipd-ward-header{position:static;padding:13px 16px;border-bottom:1px solid #e6eef5;background:#fff;color:#0f172a}#view-opd_observation .ipd-ward-title{display:flex;align-items:center;gap:10px}#view-opd_observation .ipd-ward-title .ipd-ward-icon{width:38px;height:38px;display:inline-flex;align-items:center;justify-content:center;border-radius:8px;background:#edf5fb;color:#1b6bb0}#view-opd_observation .ipd-ward-title span:not(:last-child):after{content:none}#view-opd_observation .ipd-ward-title strong{display:block;color:#102a43;font-size:15px;line-height:1.2}#view-opd_observation .ipd-ward-title small{display:block;margin-top:3px;color:#64748b;font-size:11px;font-weight:800}#view-opd_observation .ipd-ward-metrics{margin-left:auto;justify-content:flex-end}#view-opd_observation .ipd-ward-metrics span{border:1px solid #dbe7ef;border-radius:999px;background:#f8fafc;color:#334155;padding:5px 9px;font-size:11px}#view-opd_observation .ipd-ward-metrics .is-occupied{border-color:#f8c7c7;background:#fff1f1;color:#b91c1c}#view-opd_observation .ipd-ward-metrics .is-available{border-color:#bbebcb;background:#f0fdf4;color:#15803d}#view-opd_observation .ipd-ward-metrics .is-cleaning{border-color:#fde0aa;background:#fff7ed;color:#b45309}#view-opd_observation .ipd-ward-metrics .is-maintenance{border-color:#dbe4ec;background:#f8fafc;color:#475569}#view-opd_observation .ipd-room-section{padding:12px 14px 14px;overflow:visible}#view-opd_observation .ipd-room-section+.ipd-room-section{border-top:1px solid #e6eef5}#view-opd_observation .ipd-room-title{margin-bottom:10px;color:#102a43;font-size:13px;font-weight:800}#view-opd_observation .ipd-room-title small{color:#64748b;font-size:11px;font-weight:700}#view-opd_observation .ipd-bed-grid,#view-opd_observation .ipd-board-mode-compact .ipd-bed-grid{grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:8px;align-items:stretch;overflow:visible;isolation:isolate}#view-opd_observation .ipd-bed-card{--bed-accent: #1B6BB0;position:relative;z-index:1;min-height:150px;height:100%;align-self:stretch;border:1px solid #dbe7ef!important;border-left-color:#dbe7ef!important;border-radius:6px;background:#fff;padding:8px 10px;box-shadow:0 2px 6px #0f172a0a;transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease;display:flex;flex-direction:column;overflow:visible}#view-opd_observation .ipd-bed-card:before{content:"";position:absolute;inset:0 auto 0 0;width:5px;border-radius:8px 0 0 8px;background:var(--bed-accent)}#view-opd_observation .ipd-bed-card.status-available{--bed-accent: #16a34a}#view-opd_observation .ipd-bed-card.status-occupied{--bed-accent: #dc2626}#view-opd_observation .ipd-bed-card.status-reserved{--bed-accent: #2563eb}#view-opd_observation .ipd-bed-card.status-cleaning{--bed-accent: #f59e0b}#view-opd_observation .ipd-bed-card.status-maintenance{--bed-accent: #64748b}#view-opd_observation .ipd-bed-card.status-inactive{--bed-accent: #1f2937;opacity:.82}#view-opd_observation .ipd-bed-card:hover{border-color:#b8cfdf!important;box-shadow:0 12px 26px #0f172a14;transform:translateY(-1px)}#view-opd_observation .ipd-bed-number{color:#0f172a;font-size:16px;font-weight:800;letter-spacing:0}#view-opd_observation .ipd-bed-top{margin-bottom:4px}#view-opd_observation .ipd-bed-patient-name{font-weight:700;font-size:12.5px;color:#0f172a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-bottom:2px}#view-opd_observation .ipd-bed-line{font-size:11px;color:#475569;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.4}#view-opd_observation .ipd-bed-line span{font-weight:700;color:#334155}#view-opd_observation .ipd-bed-meta{gap:2px;color:#475569;font-size:11px;margin-top:4px}#view-opd_observation .ipd-bed-empty-meta{border:1px dashed #e6eef5;border-radius:4px;background:#f8fafc;padding:6px}#view-opd_observation .ipd-bed-actions{gap:4px;margin-top:auto;padding-top:6px;display:flex;flex-wrap:wrap;justify-content:flex-end}#view-opd_observation .ipd-bed-actions-row{display:flex;gap:4px;align-items:stretch;margin-top:auto;padding-top:6px}#view-opd_observation .ipd-bed-action-wrap{flex:1;position:relative}#view-opd_observation .ipd-compact-actions{right:10px;bottom:10px}#view-opd_observation .ipd-compact-patient,#view-opd_observation .ipd-compact-bedtype{font-size:12.5px;line-height:1.35;margin-top:10px;padding-right:82px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#view-opd_observation .ipd-compact-meta{font-size:10.5px;line-height:1.35;color:#475569;padding-right:82px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#view-opd_observation .ipd-bed-action-trigger{width:100%;height:30px;padding:0 10px;font-size:11.5px;font-weight:700;border-radius:6px;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;border:none;box-shadow:none;color:#fff}#view-opd_observation .ipd-bed-action-trigger.btn-success{background:#16a34a}#view-opd_observation .ipd-bed-action-trigger.btn-primary{background:#2563eb}#view-opd_observation .ipd-bed-action-trigger.btn-secondary{background:#64748b}#view-opd_observation .ipd-bed-action-trigger.btn-warning{background:#f59e0b}#view-opd_observation .ipd-bed-action-trigger.btn-dark{background:#0f172a}#view-opd_observation .ipd-bed-action-trigger.btn-danger{background:#dc2626}#view-opd_observation .ipd-bed-action-trigger:hover,#view-opd_observation .ipd-bed-action-trigger[aria-expanded=true]{filter:brightness(1.1);color:#fff}#view-opd_observation .ipd-bed-action-menu{position:absolute!important;min-width:210px;border:1px solid #e2e8f0;border-radius:8px;box-shadow:0 14px 32px #0f172a29;font-size:12px;padding:4px;z-index:3000}#view-opd_observation .ipd-bed-action-menu .dropdown-item{border-radius:5px;padding:7px 10px;font-weight:600;display:flex;align-items:center;white-space:nowrap}#view-opd_observation .ipd-bed-action-menu .dropdown-item i{width:16px;text-align:center;font-size:11px}#view-opd_observation .ipd-bed-action-menu .text-success:hover{background:#dcfce7;color:#166534!important}#view-opd_observation .ipd-bed-action-menu .text-primary:hover{background:#dbeafe;color:#1d4ed8!important}#view-opd_observation .ipd-bed-action-menu .text-warning:hover{background:#fef3c7;color:#92400e!important}#view-opd_observation .ipd-bed-action-menu .text-danger:hover{background:#fee2e2;color:#991b1b!important}#view-opd_observation .ipd-bed-action-menu .text-dark:hover{background:#e2e8f0;color:#0f172a!important}#view-opd_observation .ipd-bed-action-menu .text-secondary:hover{background:#f1f5f9;color:#334155!important}#view-opd_observation .ipd-status-badge{border-radius:10px;padding:2px 6px;font-size:9px;letter-spacing:0;text-transform:none;white-space:nowrap}#view-opd_observation .ipd-bed-card:has(.dropdown-menu.show),#view-opd_observation .ipd-bed-card:focus-within{overflow:visible;z-index:2500}#view-opd_observation .ipd-bed-card:has(.dropdown-menu.show) .ipd-bed-action-menu,#view-opd_observation .ipd-bed-card:focus-within .ipd-bed-action-menu{z-index:3000}.dashboard-nav-card{cursor:pointer;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}.dashboard-nav-card:hover,.dashboard-nav-card:focus{transform:translateY(-1px);border-color:#93c5fd;box-shadow:0 10px 24px #0f172a1f;outline:none}.obs-detail-panel{background:#fff;border:1px solid #dbe5ef;border-radius:8px;padding:14px;box-shadow:0 10px 28px #0f172a14}.obs-detail-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.obs-timeline{display:flex;flex-direction:column;gap:10px}.obs-timeline-item{display:grid;grid-template-columns:34px 1fr;gap:10px}.obs-timeline-dot{width:34px;height:34px;border-radius:50%;background:#f8fafc;border:1px solid #dbe5ef;display:flex;align-items:center;justify-content:center}.obs-timeline-card{border:1px solid #e2e8f0;background:#f8fafc;border-radius:8px;padding:10px 12px}@media(max-width:992px){.obs-kpi-grid{grid-template-columns:repeat(2,minmax(150px,1fr))}.obs-detail-head{flex-direction:column}}@media(max-width:576px){.obs-kpi-grid{grid-template-columns:1fr}}.opd-toast-container{position:fixed;top:80px;right:24px;left:auto;z-index:9999;display:flex;flex-direction:column;gap:12px;pointer-events:none}.opd-toast{pointer-events:auto;display:flex;align-items:center;gap:14px;min-width:320px;max-width:min(420px,calc(100vw - 32px));padding:14px 18px;border-radius:10px;background:#fff;color:#0f172a;border:1px solid rgba(var(--primary-rgb),.18);border-left:4px solid var(--primary);box-shadow:0 12px 28px #0f172a2e;cursor:pointer;animation:opdToastSlideIn .35s cubic-bezier(.16,1,.3,1);transition:opacity .35s linear}.opd-toast-icon{width:42px;height:42px;min-width:42px;background:#dc2626;color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:18px;box-shadow:0 4px 10px #dc262659;animation:opdToastPulse 1.8s ease-in-out infinite}.opd-toast-body{flex:1;line-height:1.35}.opd-toast-title{font-size:12px;font-weight:700;color:var(--primary-dark);letter-spacing:.3px}.opd-toast-text{font-size:14px;font-weight:500;margin-top:2px;color:#0f172a}.opd-toast-dept{display:inline-block;padding:2px 8px;background:var(--primary);color:#fff;border-radius:6px;font-weight:700;margin-left:4px}.opd-toast-close{background:transparent;border:0;color:#94a3b8;font-size:20px;line-height:1;opacity:.85;padding:0 4px;cursor:pointer}.opd-toast-close:hover{opacity:1;color:#dc2626}@keyframes opdToastSlideIn{0%{transform:translate(120%);opacity:0}to{transform:translate(0);opacity:1}}@keyframes opdToastPulse{0%,to{transform:scale(1)}50%{transform:scale(1.12)}}@media(max-width:576px){.opd-toast-container{top:72px;right:16px;left:16px}.opd-toast{min-width:0;width:100%}}#opd-print-area .opdref-hidden,#opd-print-area span.opdref-hidden{position:absolute!important;width:0!important;height:0!important;overflow:hidden!important;visibility:hidden!important;clip:rect(0 0 0 0)!important;pointer-events:none!important}#opd-print-area #print-opd-header-2,#opd-print-area #print-opd-footer-1,#opd-print-area #print-opd-footer-2,#opd-print-area .opdp1-meta-line,#opd-print-area .opdp1-hidden-value{display:none!important;visibility:hidden!important}#opd-print-area .opd-page.opd-page--has-top-asset,#opd-print-area .opd-page.opd-page--has-bottom-asset{padding-top:0!important;padding-bottom:0!important}#opd-print-area.print-active{background:#fff!important}#opd-print-area .opd-page,#opd-print-area .opdref-page{page:opd-print;width:186mm;height:277mm;max-height:277mm;min-height:277mm;max-width:186mm;min-width:0;margin:0!important;padding:0!important;background:#fff;color:#000;font-family:Times New Roman,Phetsarath OT,Noto Sans Lao,serif;font-size:13pt;line-height:1.5;font-weight:400;box-sizing:border-box;page-break-after:always;break-after:page;page-break-inside:avoid;break-inside:avoid;overflow:hidden;display:block;position:relative}#opd-print-area .opd-page:last-child,#opd-print-area .opdref-page:last-child{page-break-after:auto;break-after:auto}#opd-print-area .opdref-page *{box-sizing:border-box;max-width:100%}#opd-print-area .opdref-title-block{text-align:center;margin:0 0 2mm;padding:6mm 0 1mm}#opd-print-area .opdref-title-lao,#opd-print-area .opdp1-title.opdref-title-lao{font-size:20pt;font-weight:700;line-height:1.15;margin:0;text-align:center;font-family:Phetsarath OT,Noto Sans Lao,Times New Roman,serif}#opd-print-area .opdref-title-en{font-size:16pt;font-weight:700;line-height:1.2;margin:1mm 0 0;text-align:center;font-family:Times New Roman,serif}#opd-print-area .opdref-title-rule{border:0;border-top:1px solid #000;margin:1.5mm 0 3mm;width:100%;height:0}#opd-print-area .opdref-section{font-size:12.5pt;font-weight:700;line-height:1.35;margin:2.5mm 0 1mm;padding:0;border:0;background:transparent}#opd-print-area .opdref-section-text{font-weight:700;text-decoration:underline;text-underline-offset:2px;text-decoration-thickness:1px}#opd-print-area .opdref-line{display:flex;align-items:baseline;flex-wrap:nowrap;gap:2mm;margin:1mm 0;padding:0;font-size:12.5pt;line-height:1.35;font-weight:400;width:100%;white-space:nowrap;overflow:hidden}#opd-print-area .opdref-line-checkboxes{white-space:nowrap;letter-spacing:.2px}#opd-print-area .opdref-dot{display:inline-block;flex:1 1 auto;min-width:20mm;height:1.05em;margin:0 1mm;padding:0;vertical-align:baseline;font-size:12pt;font-weight:400;line-height:1;color:#000;white-space:nowrap;overflow:hidden;border-bottom:0;position:relative}#opd-print-area .opdref-dot:after{content:"";position:absolute;left:0;right:0;bottom:0;height:4px;background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='4' height='4' viewBox='0 0 4 4'><circle cx='1.6' cy='3' r='0.65' fill='black'/></svg>");background-repeat:repeat-x;background-position:left bottom;background-size:4px 4px}#opd-print-area .opdref-dot-xs{flex:0 0 22mm;min-width:22mm}#opd-print-area .opdref-dot-md{flex:0 0 50mm;min-width:50mm}#opd-print-area .opdref-dot-half{flex:0 0 70mm;min-width:70mm}#opd-print-area .opdref-dot-vital{flex:0 0 26mm;min-width:26mm}#opd-print-area .opdref-dot-fill{flex:1 1 auto}#opd-print-area .opdref-dot-full{flex:1 1 100%;width:100%;min-width:0}#opd-print-area .opdref-dot-sig{flex:0 0 55mm;min-width:55mm}#opd-print-area .opdref-signature-inner{width:100%;text-align:center}#opd-print-area .opdref-page2-title{text-align:center;font-size:20pt;font-weight:700;line-height:1.2;margin:4mm 0 3mm;padding:0;font-family:Phetsarath OT,Noto Sans Lao,Times New Roman,serif}#opd-print-area .opdref-page2-title-gap{margin-top:5mm}#opd-print-area .opdref-table{width:100%;border-collapse:collapse;table-layout:fixed;border:1px solid #000;margin:0;box-sizing:border-box}#opd-print-area .opdref-table th,#opd-print-area .opdref-table td{border:1px solid #000;padding:1.5mm 2mm;font-family:Times New Roman,Phetsarath OT,Noto Sans Lao,serif;font-size:13pt;line-height:1.3;vertical-align:top;background:#fff;color:#000;box-sizing:border-box}#opd-print-area .opdref-table tbody tr:last-child td{border-bottom:1px solid #000}#opd-print-area .opdref-table th:last-child,#opd-print-area .opdref-table td:last-child{border-right:1px solid #000}#opd-print-area .opdref-table th:first-child,#opd-print-area .opdref-table td:first-child{border-left:1px solid #000}#opd-print-area .opdref-table thead th{text-align:center;font-weight:700;font-size:12pt;padding:1.5mm 1mm;vertical-align:middle;white-space:nowrap}#opd-print-area .opdref-col-history{width:30%}#opd-print-area .opdref-col-treatment{width:50%}#opd-print-area .opdref-col-other{width:20%}#opd-print-area .opdref-treatment-table .opdref-treatment-body td{height:168mm;padding:1mm 2mm}#opd-print-area .opdref-treatment-table .opdref-dx-row td{height:16mm;vertical-align:top;font-weight:700;padding:1.5mm 2mm}#opd-print-area .opdref-col-time{width:11.5%}#opd-print-area .opdref-col-symptom{width:46.5%}#opd-print-area .opdref-col-procedure{width:28%}#opd-print-area .opdref-col-recorder{width:14%}#opd-print-area .opdref-followup-table tbody td{height:5.5mm}#opd-print-area .opd-page-two.opdref-page{height:277mm;min-height:277mm;max-height:277mm;width:186mm;max-width:186mm;overflow:hidden;padding:0!important}@media print{@page{size:A4 portrait;margin:10mm 12mm}@page opd-print{size:A4 portrait;margin:10mm 12mm}#opd-print-area.print-active,#opd-print-area.print-active .opd-page,#opd-print-area.print-active .opdref-page,#opd-print-area.print-active .opdref-table th,#opd-print-area.print-active .opdref-table td{-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}html,body{width:186mm!important;min-width:0!important;max-width:186mm!important;height:auto!important;margin:0!important;padding:0!important;overflow:hidden!important}#opd-print-area,#opd-print-area.print-active{display:block!important;position:static!important;left:auto!important;right:auto!important;top:auto!important;width:186mm!important;min-width:0!important;max-width:186mm!important;height:auto!important;margin:0!important;padding:0!important;overflow:hidden!important;transform:none!important;zoom:1!important}#opd-print-area .opdref-page{width:186mm!important;min-width:0!important;max-width:186mm!important;height:277mm!important;min-height:277mm!important;max-height:277mm!important;margin:0!important;padding:0!important;overflow:hidden!important}}#opd-print-area.opdref .opdref-insurance-row .opdref-insurance-name,.opdref-page .opdref-insurance-row .opdref-insurance-name{color:#c62828!important;font-weight:700!important}#opd-print-area.opdref .opdref-p2-header-row .opdref-header-right,.opdref-page .opdref-p2-header-row .opdref-header-right{margin-top:3mm!important}#patientProfileModal .modal-content{border-radius:4px}#patientProfileModal .patient-view-photo{width:52px;height:52px;border-radius:4px;background:#ffffff26;border:1px solid rgba(255,255,255,.35);display:flex;align-items:center;justify-content:center;color:#ffffffd9;font-size:22px;flex:0 0 52px;overflow:hidden}#patientProfileModal .patient-view-photo img{width:100%;height:100%;object-fit:cover}#patientProfileModal .min-width-0{min-width:0}#patientProfileModal .patient-view-grid .pvg-label{font-size:11px;color:#6c757d;font-weight:700;line-height:1.2;margin-bottom:2px}#patientProfileModal .patient-view-grid .pvg-value{font-size:13.5px;color:#212529;font-weight:600;line-height:1.35;word-break:break-word}#patientProfileModal .card-outline.card-primary>.card-header{background:#f8f9fa;border-bottom:1px solid var(--border-color)}#opd-print-area.opdref .opdref-nursing-note-block,.opdref-page .opdref-nursing-note-block{width:100%!important;margin:3mm 0 0!important;padding:0!important;color:#000!important;font-family:Times New Roman,Phetsarath OT,Noto Sans Lao,serif!important;break-inside:avoid!important;page-break-inside:avoid!important}#opd-print-area.opdref .opdref-nursing-note-title,.opdref-page .opdref-nursing-note-title{text-align:center!important;font-family:Phetsarath OT,Noto Sans Lao,Times New Roman,serif!important;font-size:12.5pt!important;font-weight:700!important;line-height:1.15!important;margin:0 0 1mm!important;padding:0!important}#opd-print-area.opdref .opdref-nursing-note-table,.opdref-page .opdref-nursing-note-table{width:100%!important;border-collapse:separate!important;border-spacing:0!important;table-layout:fixed!important;border:0!important;border-right:1px solid #000!important;border-bottom:1px solid #000!important;margin:0!important;background:#fff!important;box-sizing:border-box!important}#opd-print-area.opdref .opdref-nursing-note-table th,#opd-print-area.opdref .opdref-nursing-note-table td,.opdref-page .opdref-nursing-note-table th,.opdref-page .opdref-nursing-note-table td{border:0!important;border-left:1px solid #000!important;border-top:1px solid #000!important;padding:.7mm .9mm!important;color:#000!important;background:#fff!important;font-family:Times New Roman,Phetsarath OT,Noto Sans Lao,serif!important;font-size:10pt!important;line-height:1.1!important;text-align:center!important;vertical-align:middle!important;box-sizing:border-box!important}#opd-print-area.opdref .opdref-nursing-note-table th,.opdref-page .opdref-nursing-note-table th{height:6.2mm!important;font-weight:700!important;white-space:nowrap!important}#opd-print-area.opdref .opdref-nursing-note-table td,.opdref-page .opdref-nursing-note-table td{height:5.9mm!important}#opd-print-area.opdref .opdref-col-nurse-date,.opdref-page .opdref-col-nurse-date{width:15%!important}#opd-print-area.opdref .opdref-col-nurse-symptom,.opdref-page .opdref-col-nurse-symptom{width:23%!important}#opd-print-area.opdref .opdref-col-nurse-order,.opdref-page .opdref-col-nurse-order{width:27%!important}#opd-print-area.opdref .opdref-col-nurse-name,.opdref-page .opdref-col-nurse-name{width:20%!important}#opd-print-area.opdref .opdref-col-nurse-doctor,.opdref-page .opdref-col-nurse-doctor{width:15%!important}#opd-print-area.opdref .opd-page-one .opdref-sheet,.opdref-page.opd-page-one .opdref-sheet{font-size:11.7pt!important;line-height:1.22!important}#opd-print-area.opdref .opd-page-one .opdref-header-row,.opdref-page.opd-page-one .opdref-header-row{margin-bottom:.2mm!important}#opd-print-area.opdref .opd-page-one .opdref-header-center,.opdref-page.opd-page-one .opdref-header-center{transform:translateY(4mm)!important}#opd-print-area.opdref .opd-page-one .opdref-title-lao,#opd-print-area.opdref .opd-page-one .opdp1-title.opdref-title-lao,.opdref-page.opd-page-one .opdref-title-lao,.opdref-page.opd-page-one .opdp1-title.opdref-title-lao{font-size:16.2pt!important;line-height:1.05!important}#opd-print-area.opdref .opd-page-one .opdref-title-en,.opdref-page.opd-page-one .opdref-title-en{font-size:13.2pt!important;margin-top:.4mm!important;line-height:1.05!important}#opd-print-area.opdref .opd-page-one .opdref-rule,.opdref-page.opd-page-one .opdref-rule{margin-bottom:.8mm!important}#opd-print-area.opdref .opd-page-one .opdref-rule-tight,.opdref-page.opd-page-one .opdref-rule-tight{margin:.7mm 0 .3mm!important}#opd-print-area.opdref .opd-page-one .opdref-section,.opdref-page.opd-page-one .opdref-section{font-size:11.8pt!important;line-height:1.14!important;margin:.45mm 0 .65mm!important}#opd-print-area.opdref .opd-page-one .opdref-section-inline,.opdref-page.opd-page-one .opdref-section-inline{margin-top:.35mm!important;margin-bottom:.75mm!important}#opd-print-area.opdref .opd-page-one .opdref-med-title,.opdref-page.opd-page-one .opdref-med-title{margin-top:.7mm!important}#opd-print-area.opdref .opd-page-one .opdref-row,.opdref-page.opd-page-one .opdref-row{font-size:11.7pt!important;line-height:1.13!important;margin-bottom:1mm!important}#opd-print-area.opdref .opd-page-one .opdref-fill,.opdref-page.opd-page-one .opdref-fill{min-height:3.8mm!important;font-size:11.7pt!important;line-height:1.05!important}#opd-print-area.opdref .opd-page-one .opdref-vital-table,.opdref-page.opd-page-one .opdref-vital-table{margin-bottom:.7mm!important}#opd-print-area.opdref .opd-page-one .opdref-vital-table th,#opd-print-area.opdref .opd-page-one .opdref-vital-table td,.opdref-page.opd-page-one .opdref-vital-table th,.opdref-page.opd-page-one .opdref-vital-table td{font-size:9.1pt!important;padding:.55mm .25mm!important}#opd-print-area.opdref .opd-page-one .opdref-vital-table th,.opdref-page.opd-page-one .opdref-vital-table th{height:6.2mm!important}#opd-print-area.opdref .opd-page-one .opdref-vital-table td,.opdref-page.opd-page-one .opdref-vital-table td{height:7.1mm!important}#opd-print-area.opdref .opd-page-one .opdref-nursing-note-block,.opdref-page.opd-page-one .opdref-nursing-note-block{margin-top:2mm!important}#opd-print-area.opdref .opd-page-one .opdref-nursing-note-title,.opdref-page.opd-page-one .opdref-nursing-note-title{font-size:11.2pt!important;margin-bottom:.6mm!important}#opd-print-area.opdref .opd-page-one .opdref-nursing-note-table th,#opd-print-area.opdref .opd-page-one .opdref-nursing-note-table td,.opdref-page.opd-page-one .opdref-nursing-note-table th,.opdref-page.opd-page-one .opdref-nursing-note-table td{font-size:9.3pt!important;padding:.45mm .65mm!important}#opd-print-area.opdref .opd-page-one .opdref-nursing-note-table th,.opdref-page.opd-page-one .opdref-nursing-note-table th{height:6.1mm!important;font-size:8.4pt!important;line-height:1.05!important;white-space:normal!important}#opd-print-area.opdref .opd-page-one .opdref-nursing-note-table td,.opdref-page.opd-page-one .opdref-nursing-note-table td{height:5.2mm!important}#opd-print-area.opdref .opd-page-one .opdref-signature-block,.opdref-page.opd-page-one .opdref-signature-block{position:absolute!important;right:5mm!important;bottom:22mm!important;width:82mm!important;margin:0!important;font-size:11.7pt!important;line-height:1.14!important}#opd-print-area.opdref .opd-page-one .opdref-signature-title,.opdref-page.opd-page-one .opdref-signature-title{margin-bottom:1.2mm!important}#opd-print-area.opdref .opd-page-one .opdref-signature-line,.opdref-page.opd-page-one .opdref-signature-line{height:5.2mm!important}#opd-print-area.opdref .opd-page-one .opdref-nursing-note-block,.opdref-page.opd-page-one .opdref-nursing-note-block{width:170mm!important;max-width:170mm!important;margin:2mm auto 0!important}#opd-print-area.opdref .opd-page-one .opdref-nursing-note-table,.opdref-page.opd-page-one .opdref-nursing-note-table{width:170mm!important;max-width:170mm!important;border-collapse:collapse!important;border:1.3px solid #000!important;outline:1.1px solid #000!important;outline-offset:-1px!important;box-shadow:none!important}#opd-print-area.opdref .opd-page-one .opdref-nursing-note-table th:first-child,#opd-print-area.opdref .opd-page-one .opdref-nursing-note-table td:first-child,.opdref-page.opd-page-one .opdref-nursing-note-table th:first-child,.opdref-page.opd-page-one .opdref-nursing-note-table td:first-child{border-left:1.2px solid #000!important}#opd-print-area.opdref .opd-page-one .opdref-nursing-note-table th:last-child,#opd-print-area.opdref .opd-page-one .opdref-nursing-note-table td:last-child,.opdref-page.opd-page-one .opdref-nursing-note-table th:last-child,.opdref-page.opd-page-one .opdref-nursing-note-table td:last-child{border-right:1.2px solid #000!important}#opd-print-area.opdref .opd-page-one .opdref-nursing-note-table th,.opdref-page.opd-page-one .opdref-nursing-note-table th{height:7mm!important}#opd-print-area.opdref .opd-page-one .opdref-nursing-note-table td,.opdref-page.opd-page-one .opdref-nursing-note-table td{height:8.5mm!important}#opd-print-area.opdref .opd-page-one .opdref-signature-block,.opdref-page.opd-page-one .opdref-signature-block{bottom:14mm!important}
