.opd-root:has(>section:not([hidden]) .patient-id-active){height:100dvh;display:flex;flex-direction:column;overflow:hidden}.opd-root:has(>section:not([hidden]) .patient-id-active)>section:not([hidden]){flex:1;min-height:0}.opd-root:has(>section:not([hidden]) .patient-id-active) .workspace-header{background:#061c43;color:#fff;flex:none}.opd-root:has(>section:not([hidden]) .patient-id-active) .workspace-header small{color:#bbc8db}.clinic-layout:has(.patient-id-active){height:100%;min-height:0}.clinic-layout:has(.patient-id-active) .clinic-sidebar{height:100%;min-height:0;overflow:auto}.clinic-main.patient-id-active{display:flex;flex-direction:column;min-height:0;padding:16px}.patient-id-active>.opd-section-heading{flex:none;margin-bottom:16px}.patient-id-active>.opd-section-heading .eyebrow{display:none}.patient-id-active>.opd-section-heading h1{font-size:20px}.patient-id-workspace{display:grid;grid-template-columns:540px minmax(0,1fr);gap:16px;min-height:0;flex:1;font:14px Arial,sans-serif;color:#20242a}.patient-id-controls,.patient-id-results{background:#fff;border-radius:12px;padding:18px;min-height:0;min-width:0}.patient-id-controls{overflow:auto;display:flex;flex-direction:column;gap:16px}.patient-id-workspace h2{font-size:13px;margin:0;color:#20242a}.patient-id-workspace h3{font-size:15px;margin:0}.patient-id-workspace p{font-size:13px;color:#858b94;line-height:1.5;margin:0}.patient-id-controls hr{border:0;border-top:1px solid #e3e5e9;margin:0;width:100%}.patient-id-controls label{display:grid;gap:7px;font-size:13px;color:#858b94}.patient-id-controls input{width:100%;min-width:0;padding:9px;border:1px solid #dfe3e8;border-radius:5px;font-size:15px;box-sizing:border-box}.opd-root .patient-id-controls button,.opd-root .patient-id-pagination button{display:flex;justify-content:center;align-items:center;gap:8px;min-height:44px;padding:10px;border:0;border-radius:9px;color:#0097ff;background:#e3f4ff;font-size:14px;flex-shrink:0}.patient-id-controls button:disabled{opacity:.4}.patient-id-results{display:flex;flex-direction:column;gap:12px}.patient-id-table-wrap{flex:1;min-height:0;overflow:auto;border:1px solid #eef0f3;border-radius:8px}.patient-id-results table{width:100%;min-width:850px;border-collapse:collapse;font-size:14px}.patient-id-results th{position:sticky;top:0;background:#f8f9fb;z-index:1;font-size:12px;font-weight:600;padding:14px 10px;text-align:center}.patient-id-results td{padding:14px 10px;border-top:1px solid #e5e8ed;text-align:center;line-height:1.4}.patient-id-results :is(th,td):nth-child(2){text-align:left;min-width:160px}.opd-root .patient-id-link{padding:0;border:0;background:transparent;color:#0097ff;font:inherit;white-space:nowrap}.patient-id-actions{white-space:nowrap}.opd-root .patient-id-actions button{padding:5px;border:0;background:#eef7ff;color:#0097ff;margin:2px}@media(min-width:801px)and (max-width:1200px){.patient-id-workspace{grid-template-columns:470px minmax(0,1fr)}}@media(max-width:800px){.opd-root:has(>section:not([hidden]) .patient-id-active){height:auto;min-height:100dvh;overflow:visible}.patient-id-workspace{grid-template-columns:1fr}.patient-id-table-wrap{min-height:300px}.patient-id-active>.opd-section-heading{flex-wrap:wrap;gap:12px}}.opd-root .patient-visits-button{padding:7px 10px;color:#0084d9;background:#e8f5ff;border:1px solid #cce8fc;border-radius:6px;font-size:14px;white-space:nowrap}dialog:has(.patient-visits-dialog){max-width:800px}.patient-visits-dialog h3{font-size:20px;margin:0 0 6px}.patient-visits-dialog p{font-size:14px;color:#657687}.patient-visits-table-wrap{max-height:60dvh;overflow:auto}.patient-visits-dialog table{width:100%;min-width:500px;border-collapse:collapse}.patient-visits-dialog th{position:sticky;top:0;background:#f2f6fa;z-index:1}.patient-visits-dialog :is(th,td){padding:14px 12px;text-align:left;font-size:15px;border-bottom:1px solid #e5eaf0}.patient-visits-dialog small{display:block;margin-top:5px;font-size:13px;color:#657687}.patient-visits-dialog .status{font-size:13px}.patient-id-pagination{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;flex-shrink:0}.patient-id-pagination>div{display:flex;gap:8px;margin-left:auto}.opd-root:has(>section:not([hidden]) .appointments-active){height:100dvh;display:flex;flex-direction:column;overflow:hidden}.opd-root:has(>section:not([hidden]) .appointments-active)>section:not([hidden]){flex:1;min-height:0}.opd-root:has(>section:not([hidden]) .appointments-active) .workspace-header{background:#061c43;color:#fff;position:relative;flex:none}.opd-root:has(>section:not([hidden]) .appointments-active) .workspace-header:after{content:"APPOINTMENTS";position:absolute;left:50%;transform:translate(-50%);font-size:15px;font-weight:600}.opd-root:has(>section:not([hidden]) .appointments-active) .workspace-header small{color:#bbc8db}.clinic-layout:has(.appointments-active){height:100%;min-height:0}.clinic-layout:has(.appointments-active) .clinic-sidebar{height:100%;min-height:0;overflow:auto}.clinic-main.appointments-active{display:flex;flex-direction:column;padding:0;min-height:0}.appointments-active>.opd-section-heading{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.appointments-active>.appointments-container{flex:1;min-height:0}.appointments-workspace{display:flex;flex-direction:column;height:100%;min-height:0;background:#f5f7fa;color:#161b20;padding:16px;font:15px Arial,sans-serif;box-sizing:border-box}.appointments-workspace>.notice{flex:none;margin:0 0 10px}.appointment-columns{display:grid;grid-template-columns:minmax(330px,40fr) minmax(0,60fr);gap:16px;flex:1;min-height:0}.appointment-calendar-panel{display:flex;flex-direction:column;min-height:0;gap:10px}.appointment-calendar-scroll{flex:1;overflow:auto;min-height:0}.appointment-year{padding:16px;border-radius:12px;background:#fff;container-type:inline-size;box-shadow:0 2px 7px #16253305}.appointment-year>header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;flex-wrap:wrap}.appointments-workspace h2{margin:0;color:#17191c;font-size:16px;line-height:1.4;letter-spacing:0}.appointment-year>header>div{display:flex;align-items:center;gap:4px}.opd-root .appointment-year>header button{padding:6px;min-height:34px;min-width:32px;border:1px solid #dddfe3;color:#8d949c;border-radius:4px;background:#fff}.appointment-year select{border:1px solid #dddfe3;font:600 14px Arial;border-radius:4px;padding:7px;background:#fff;width:80px;min-height:34px}.appointment-months{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.appointment-month{border:1px solid #eeeeef;background:#fcfcfd;border-radius:10px;padding:10px 6px}.appointment-month h3{font:700 14px Arial;text-align:center;margin:0 0 10px;color:#17191c}.appointment-day-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px 0;text-align:center}.appointment-day-grid>span{color:#999da3;font:600 11px Arial;min-height:22px}.opd-root .appointment-day-grid button{position:relative;display:flex;align-items:center;justify-content:center;padding:0;min-width:0;min-height:28px;border:0;background:transparent;font:500 14px Arial;color:#17191c;border-radius:50%}.appointment-day-grid button span{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%}.opd-root .appointment-day-grid .sunday{color:#ff3b47}.appointment-day-grid button.sunday span{background:#ffecef}.appointment-day-grid button.today span{background:#00c840;color:#fff;font-weight:700}.appointment-day-grid button.selected span{outline:1.5px solid #0097ff}.appointment-day-grid i{width:4px;height:4px;background:#f43f50;border-radius:50%;position:absolute;right:0}.appointment-selected{text-align:center;color:#93969e;margin:0;font-size:14px}.opd-root .appointment-load{background:#dcefff;border:0;color:#0097ff;border-radius:30px;font-size:15px;font-weight:600;padding:12px 8px;min-height:44px}.appointment-list{border-radius:12px;background:#fff;padding:18px;display:flex;flex-direction:column;min-height:0;min-width:0}.appointment-list>header{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;margin-bottom:10px;flex-wrap:wrap}.appointment-list header p{color:#94979e;margin:5px 0 0;font-size:14px}.appointment-toolbar{display:flex;gap:6px}.opd-root .appointment-toolbar button{background:#fff;border:1px solid #0097ff;color:#0097ff;font-size:14px;padding:7px 8px;border-radius:6px;white-space:nowrap}.appointment-table-wrap{border:1px solid #f0f0f2;border-radius:8px;flex:1;overflow:auto;min-height:0}.opd-root .appointment-table{width:100%;min-width:800px;table-layout:fixed;border-collapse:collapse;font:15px Arial}.opd-root .appointment-table th{font:600 13px Arial;color:#17191c;text-align:center;padding:12px 8px;background:#f9f9fa;height:50px;border-bottom:1px solid #e6e6e8;box-sizing:border-box;position:sticky;top:0;z-index:1}.appointment-table th:nth-child(1){width:6%}.appointment-table th:nth-child(2){width:22%}.appointment-table th:nth-child(3){width:10%}.appointment-table th:nth-child(4){width:16%}.appointment-table th:nth-child(5){width:14%}.appointment-table th:nth-child(6){width:12%}.appointment-table th:nth-child(7){width:17%}.appointment-table th:last-child{width:46px}.opd-root .appointment-table td{text-align:center;vertical-align:middle;padding:12px 8px;border-bottom:1px solid #ececf0;height:72px;overflow-wrap:anywhere;box-sizing:border-box;color:#24272d}.opd-root .appointment-table :is(th,td):nth-child(2),.opd-root .appointment-table :is(th,td):nth-child(5){text-align:left}.appointment-table small{display:block;color:#89929a;margin-top:4px;font-size:12px}.opd-root .appointment-status{display:inline-flex;align-items:center;justify-content:center;width:100%;min-height:32px;padding:4px;font:600 13px Arial;border-radius:6px;border:0;background:#f7eee3;color:#a46512}.opd-root .appointment-status.arrived{background:#e2f3f2;color:#006c6d}.opd-root .appointment-status.postponed{background:#f4eafb;color:#9349b6}.opd-root .appointment-status.cancelled{background:#fff0f0;color:#dc3d48}.opd-root .appointment-edit{padding:7px;border:0;background:#e7f5ff;color:#0097ff;border-radius:6px}.opd-root .appointment-register{padding:4px 0;border:0;background:transparent;color:#0097ff;font-size:12px}.opd-root .appointment-table .appointment-history td{height:auto;text-align:left;padding:8px 12px;color:#93959d;font:14px/1.5 Arial;white-space:pre-line;background:#fcfaf7}.opd-root .appointment-table .appointment-history.arrived td{background:#f5fbfa}.opd-root .appointment-table .appointment-history.postponed td{background:#faf6fd}.appointment-empty{min-height:150px;height:calc(100% - 44px);display:flex;flex-direction:column;align-items:center;justify-content:center;color:#989ca5}.appointment-form{width:min(520px,calc(100vw - 90px))}.appointment-form fieldset{border:1px solid #e8ebee;border-radius:8px;padding:14px;margin:16px 0}.appointment-form legend{font-weight:600;color:#193447}.appointment-form label{display:grid;gap:6px;font-size:14px;margin-bottom:12px}.appointment-form :is(input,select){border:1px solid #d5dfe3;border-radius:6px;padding:9px;width:100%;min-width:0;font:inherit;box-sizing:border-box;background:#fff;color:#193447}.appointment-form-pair{display:grid;grid-template-columns:1fr 1fr;gap:14px}.appointment-form footer{display:flex;gap:10px;justify-content:flex-end}.appointment-form small{color:#8d96a0}@media(max-width:1100px){.appointment-columns{grid-template-columns:minmax(310px,40fr) minmax(0,60fr);gap:10px}.appointments-workspace{padding:10px}}@media(max-width:800px){.opd-root:has(>section:not([hidden]) .appointments-active){height:auto;min-height:100dvh;overflow:visible}.opd-root:has(>section:not([hidden]) .appointments-active) .workspace-header:after{display:none}.appointment-columns{display:flex;flex-direction:column}.appointment-calendar-panel{flex:none}.appointment-calendar-scroll{flex:none;overflow:visible}.appointment-list{min-height:400px}.appointment-table-wrap{min-height:300px}}@container (max-width: 540px){.appointment-months{grid-template-columns:repeat(2,minmax(0,1fr))}}@container (max-width: 300px){.appointment-months{grid-template-columns:1fr}}.opd-root .appointment-day-grid button:hover{background:#eaf4ff}.opd-root .appointment-day-grid button:focus-visible{outline:2px solid #0097ff;outline-offset:1px}.appointment-table td:nth-child(2){font-weight:600}@media(min-width:801px){.appointments-workspace .appointment-calendar-panel,.calendar-workspace .calendar-reference{height:90%;max-height:900px;align-self:start}:is(.appointments-workspace,.calendar-workspace) .appointment-calendar-scroll{display:flex;overflow:hidden}:is(.appointments-workspace,.calendar-workspace) .appointment-year{flex:1;min-height:0;display:flex;flex-direction:column;padding:12px}:is(.appointments-workspace,.calendar-workspace) .appointment-year>header{flex:none;margin-bottom:10px}:is(.appointments-workspace,.calendar-workspace) .appointment-months{flex:1;min-height:0;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(4,minmax(0,1fr));gap:8px}:is(.appointments-workspace,.calendar-workspace) .appointment-month{min-height:0;display:flex;flex-direction:column;padding:5px 3px}:is(.appointments-workspace,.calendar-workspace) .appointment-month h3{flex:none;font-size:12px;margin-bottom:4px}:is(.appointments-workspace,.calendar-workspace) .appointment-day-grid{flex:1;min-height:0;grid-template-rows:repeat(7,minmax(0,1fr));gap:0}:is(.appointments-workspace,.calendar-workspace) .appointment-day-grid>span{min-height:0;font-size:10px;align-self:center}.opd-root :is(.appointments-workspace,.calendar-workspace) .appointment-day-grid button{min-height:0;font-size:12px;line-height:1}:is(.appointments-workspace,.calendar-workspace) .appointment-day-grid button span{width:auto;height:100%;max-height:24px;aspect-ratio:1}}.opd-root .opd-module .calendar-task-panels>section{border:1px solid #cbd0d7}.opd-root .opd-module .calendar-task-panels>section>header{background:#fff0f2;border:1px solid #f2ced3;border-left:4px solid #bf0716;border-radius:8px;padding:12px 14px;margin-bottom:12px}.opd-root .opd-module .calendar-task-panels>section>header h2,.opd-root .opd-module .calendar-task-panels>section>header>svg{color:#a51024}.opd-root .opd-module .calendar-task-panels>section>header p{color:#65545a}.opd-root:has(>section:not([hidden]) .calendar-active){height:100dvh;display:flex;flex-direction:column;overflow:hidden}.opd-root:has(>section:not([hidden]) .calendar-active)>section:not([hidden]){flex:1;min-height:0}.opd-root:has(>section:not([hidden]) .calendar-active) .workspace-header{background:#061c43;color:#fff;position:relative;flex:none}.opd-root:has(>section:not([hidden]) .calendar-active) .workspace-header small{color:#bbc8db}.opd-root:has(>section:not([hidden]) .calendar-active) .workspace-header:after{content:"EVENTS - TASKS";position:absolute;left:50%;transform:translate(-50%);font-size:15px;font-weight:600}.clinic-layout:has(.calendar-active){height:100%;min-height:0}.clinic-layout:has(.calendar-active) .clinic-sidebar{height:100%;min-height:0;overflow:auto}.clinic-main.calendar-active{display:flex;flex-direction:column;padding:0;min-height:0}.calendar-active>.opd-section-heading{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.calendar-active>.calendar-container{flex:1;min-height:0}.calendar-workspace{display:flex;flex-direction:column;height:100%;min-height:0;padding:16px;background:#f5f7fa;color:#1b1d23;font:15px Arial,sans-serif;box-sizing:border-box}.calendar-workspace>.notice{flex:none;margin:0 0 10px}.calendar-workspace-tools{display:flex;justify-content:flex-end;margin-bottom:8px}.calendar-workspace-tools>span{position:absolute;clip-path:inset(50%)}.opd-root .calendar-workspace-tools button{font-size:14px;padding:4px 8px;border:1px solid #0097ff;color:#0097ff;background:#fff}.calendar-task-columns{display:grid;grid-template-columns:minmax(330px,40fr) minmax(0,60fr);gap:16px;flex:1;min-height:0}.calendar-reference{overflow:auto;min-height:0}.calendar-reference>p{font-size:14px;color:#969aa2;margin:10px;text-align:center}.calendar-reference .appointment-year h2{font-size:16px;letter-spacing:0;margin:0;color:#17191c}.calendar-task-panels{display:flex;flex-direction:column;gap:16px;min-height:0;min-width:0}.calendar-task-panels>section{background:#fff;border-radius:12px;padding:12px;display:flex;flex-direction:column;min-height:0;flex:1;box-shadow:0 2px 7px #16253305}.calendar-task-panels header{display:flex;gap:7px;align-items:center;padding-bottom:10px;flex-wrap:wrap}.calendar-task-panels h2{font-size:16px;letter-spacing:0;color:#17191c;margin:0}.calendar-task-panels header p{font-size:13px;color:#9498a0;margin:4px 0 0}.calendar-task-panels header>svg{color:#0097ff}.calendar-event-actions{display:flex;gap:6px;align-items:center;flex-wrap:wrap;margin-left:auto}.opd-root .calendar-task-panels button{font-size:14px;border:1px solid #b7dcfb;color:#0097ff;background:#fff;border-radius:6px;padding:5px 8px}.opd-root .calendar-task-panels .calendar-primary{background:#0097ff;color:#fff;border:0}.opd-root .calendar-task-panels .calendar-link{border:0;padding:3px;background:transparent;font-size:13px}.calendar-panel-scroll{overflow:auto;min-height:0;flex:1}.calendar-events>header{border-bottom:1px solid #eceef0;margin-bottom:10px}.calendar-event{display:flex;gap:8px;align-items:flex-start;border:1px solid #e9ebee;background:#fafafb;border-radius:8px;padding:8px;margin-bottom:8px}.calendar-event>svg{color:#0097ff;background:#edf7ff;padding:4px;box-sizing:content-box;border-radius:5px;flex-shrink:0}.calendar-event>div:not(.calendar-row-actions){flex:1;min-width:0;overflow-wrap:anywhere}.calendar-event strong{font-size:15px}.calendar-event :is(p,small){font-size:13px;color:#8c919a;margin:5px 0 0;display:block}.calendar-row-actions{display:flex;gap:5px;flex-shrink:0}.opd-root .calendar-row-actions button{padding:5px;color:#0097ff;background:#f0f2f4;border:0}.opd-root .calendar-row-actions button:last-child{color:#f04452}.calendar-empty{min-height:130px;display:flex;align-items:center;justify-content:center;flex-direction:column;color:#969aa1;gap:8px}.calendar-tasks header{justify-content:space-between}.calendar-task-heading{display:flex;gap:12px;background:#f8f9fa;color:#92979e;font-size:13px;padding:8px;border-radius:4px}.calendar-task-heading>span:last-child{margin-left:auto;width:72px;text-align:center}.calendar-task-row{display:flex;gap:10px;align-items:center;padding:8px;border-bottom:1px solid #eef0f2}.calendar-task-row>input{width:15px;height:15px;flex-shrink:0;accent-color:#0097ff}.calendar-task-row>div:not(.calendar-row-actions){flex:1;min-width:0}.calendar-task-row span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px}.calendar-task-row small{display:block;font-size:13px;color:#9399a0;margin-top:4px}.calendar-task-row .completed span{text-decoration:line-through;color:#999}.opd-root .calendar-task-row button{border-radius:50%}.work-editor{width:min(520px,calc(100vw - 90px))}.work-editor fieldset{border:1px solid #e7ebef;border-radius:8px;padding:14px;margin:14px 0}.work-editor legend{font-weight:600}.work-editor label{display:grid;gap:6px;font-size:15px;margin:12px 0}.work-editor :is(input,select,textarea){box-sizing:border-box;border:1px solid #d7dfe6;border-radius:6px;padding:9px;width:100%;min-width:0;font:inherit;background:#fff;color:#193447}.work-editor textarea{min-height:100px;resize:vertical}.work-editor small{color:#87939d}:is(.work-editor,.work-delete) footer{display:flex;justify-content:flex-end;gap:10px}@media(max-width:800px){.opd-root:has(>section:not([hidden]) .calendar-active){height:auto;min-height:100dvh;overflow:visible}.calendar-task-columns{display:flex;flex-direction:column}.calendar-reference{overflow:visible}.calendar-panel-scroll{max-height:350px;min-height:160px}.opd-root:has(>section:not([hidden]) .calendar-active) .workspace-header:after{display:none}}@media(min-width:801px){.calendar-reference{display:flex;flex-direction:column;overflow:hidden}.calendar-reference>p{flex:none}}@media(min-width:801px)and (max-width:1100px){.calendar-task-columns{grid-template-columns:minmax(310px,40fr) minmax(0,60fr);gap:10px}.calendar-workspace{padding:10px}}.calendar-reference{display:flex;flex-direction:column;gap:10px}.calendar-reference>p{margin:0}.calendar-reference>.appointment-load{flex:none}.calendar-task-panels>section{padding:18px}.drug-history{display:grid;gap:16px;color:#243447}.drug-history>p{margin:0;color:#536477;line-height:1.5}.drug-history>input{width:100%;min-height:44px;font-size:15px}.drug-history-scroll{overflow:auto;max-height:58vh}.drug-history table{width:100%;border-collapse:collapse;font-size:14px}.drug-history th{background:#edf2f7;text-align:left;position:sticky;top:0}.drug-history th,.drug-history td{padding:12px;border-bottom:1px solid #e1e7ef}.drug-history td span{display:block;color:#536477;margin-top:4px}.drug-history button{background:#eaf2fc;color:#22578c;border:1px solid #b8cee8;min-height:36px;white-space:nowrap}.drug-history footer{display:flex;align-items:center;gap:12px;margin:0}.drug-history footer span{margin-right:auto}.opd-module .drug-history th,.opd-module .drug-history button,.opd-module .drug-history footer{font-size:14px}.opd-module .drug-history th{color:#33465d}.opd-root .opd-module dialog:has(.drug-history){width:min(1400px,calc(100vw - 48px));max-width:calc(100vw - 48px);height:84dvh;max-height:900px;padding:24px;box-sizing:border-box;overflow:hidden}.opd-root .opd-module dialog:has(.drug-history)[open]{display:flex;flex-direction:column}.opd-root .opd-module dialog:has(.drug-history)>.modal-heading{flex-shrink:0;margin-bottom:20px}.opd-root .opd-module .drug-history{display:flex;flex-direction:column;flex:1;min-height:0;gap:20px}.drug-history>input{flex-shrink:0}.opd-root .opd-module .drug-history-scroll{flex:1;min-height:0;max-height:none}.opd-root .opd-module .drug-history :is(th,td){padding:16px;font-size:15px}.drug-history th:first-child{width:30%}.opd-root .opd-module .drug-history footer{flex-shrink:0;padding-top:16px;border-top:1px solid #e1e7ef}@media(max-width:650px){.opd-root .opd-module dialog:has(.drug-history){width:calc(100vw - 16px);max-width:calc(100vw - 16px);height:90dvh;padding:16px}.drug-history table{min-width:700px}.drug-history footer{flex-wrap:wrap}}.opd-root :is(.opd-module,.lab-workspace) dialog:has(.investigation-picker){width:calc(100vw - 32px);max-width:1500px;height:94dvh;max-height:94dvh;padding:0;overflow:hidden;color:#243240}.opd-root :is(.opd-module,.lab-workspace) dialog:has(.investigation-picker)>.modal-heading{height:56px;padding:12px 18px;margin:0;border-bottom:1px solid #dce1e8}.opd-root :is(.opd-module,.lab-workspace) .investigation-picker{height:calc(100% - 56px);display:flex;flex-direction:column;min-height:0;font-size:14px}.opd-root :is(.opd-module,.lab-workspace) .investigation-picker button{background:#edf1f7;color:#24517f;border:1px solid #d7dfe9;border-radius:5px;font-size:14px;min-height:36px;padding:6px 10px;box-shadow:none}.opd-root :is(.opd-module,.lab-workspace) .investigation-picker button:disabled{opacity:.5;cursor:default}.opd-root :is(.opd-module,.lab-workspace) .investigation-picker :is(input:not([type=checkbox]),textarea){font-size:14px;min-height:38px;min-width:0;width:100%;background:#fff;color:#243240;border:1px solid #cbd5e1;border-radius:5px;padding:8px}.opd-root :is(.opd-module,.lab-workspace) .investigation-picker input[type=checkbox]{width:18px;height:18px;accent-color:#4d678e;margin:0;flex-shrink:0}.inv-toolbar{display:flex;gap:8px;padding:8px 14px}.opd-root :is(.opd-module,.lab-workspace) .inv-categories{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:4px;padding:0 14px 10px;flex-shrink:0}.opd-root :is(.opd-module,.lab-workspace) .inv-categories button{font-size:12px;min-height:46px;white-space:normal;line-height:1.3;padding:5px}.opd-root :is(.opd-module,.lab-workspace) .inv-categories button[aria-pressed=true]{color:#fff;background:#4d678e;border-color:#4d678e}.inv-search{display:flex;gap:12px;align-items:center;padding:0 14px 10px}.inv-search span{white-space:nowrap;color:#58677b;font-size:13px}.inv-panes{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);flex:1;min-height:0;border-top:1px solid #dce1e8}.inv-options,.inv-selected{min-height:0;overflow-y:auto;padding:12px 18px}.inv-options{border-right:1px solid #dce1e8}.inv-option{border-bottom:1px solid #e4e8ee;padding:10px 0}.opd-root :is(.opd-module,.lab-workspace) .inv-option>label{display:flex;align-items:flex-start;gap:10px;font-size:14px;color:#243240;line-height:1.4;cursor:pointer;margin:0}.inv-group-name{font-weight:650}.inv-group-details{margin:5px 0 0 28px;display:flex;gap:12px;justify-content:space-between;color:#526c8d}.inv-group-details small,.inv-group-details summary{font-size:12px}.inv-group-details summary{cursor:pointer}.inv-group-details ul{margin:8px 0;padding-left:18px;font-size:13px}.opd-root :is(.opd-module,.lab-workspace) .inv-selected h3{font-size:17px;margin:0 0 16px}.inv-empty{color:#66758a;margin-bottom:36px}.inv-selected-item{margin-bottom:16px}.inv-selected-item>div{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:6px}.opd-root :is(.opd-module,.lab-workspace) .inv-selected-item button{background:#fff;min-height:28px;padding:0 8px;font-size:20px}.inv-order-notes{display:grid;gap:8px;padding-top:18px;margin-top:20px;border-top:1px solid #e4e8ee}.inv-order-notes textarea{min-height:70px}.opd-root :is(.opd-module,.lab-workspace) .investigation-picker footer{margin:0;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 18px;border-top:1px solid #dce1e8;font-size:13px;color:#58677b}.opd-root :is(.opd-module,.lab-workspace) .investigation-picker .inv-add{background:#244f80;border-color:#244f80;color:#fff;font-size:15px}@media(max-width:1000px){.opd-root :is(.opd-module,.lab-workspace) .inv-categories{grid-template-columns:repeat(6,minmax(0,1fr));max-height:200px;overflow-y:auto}}@media(max-width:650px){.opd-root :is(.opd-module,.lab-workspace) dialog:has(.investigation-picker){width:calc(100vw - 12px)}.opd-root :is(.opd-module,.lab-workspace) .inv-categories{grid-template-columns:repeat(3,minmax(0,1fr));max-height:145px}.inv-panes{grid-template-columns:1fr;grid-template-rows:minmax(160px,1fr) minmax(160px,1fr);overflow-y:auto}.inv-options{border-right:none;border-bottom:1px solid #dce1e8}.inv-group-details{flex-direction:column;gap:4px}.investigation-picker footer span{max-width:45%}}.opd-root :is(.opd-module,.lab-workspace) .inv-categories .inv-manage{background:#244f80;color:#fff;border-color:#244f80}.inv-manager{display:grid;gap:14px;font-size:14px}.inv-manager>p{margin:0;line-height:1.5;color:#526477}.inv-manager fieldset{border:0;padding:0;display:grid;gap:12px}.inv-manager label{display:grid;gap:6px}.inv-manager :is(input:not([type=checkbox]),textarea,select){width:100%;min-height:38px;font-size:14px}.inv-manager-tools{display:flex;align-items:center;gap:12px}.inv-manager .inv-manager-check{display:flex;align-items:center;gap:8px;white-space:nowrap}.inv-manager-list{max-height:55vh;overflow-y:auto}.inv-manager-list article{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid #dce1e8}.inv-manager-list small{display:block;margin-top:4px;color:#526477}.opd-root :is(.opd-module,.lab-workspace) .inv-manager button{font-size:14px;min-height:36px;background:#edf2f8;color:#244f80;border:1px solid #bfcee0}.inv-manager footer{display:flex;justify-content:flex-end;gap:12px}@media(max-width:650px){.inv-manager-tools{flex-wrap:wrap}}.opd-root .opd-module dialog:has(.template-sheet){width:calc(100vw - 32px);max-width:1400px;height:90dvh;max-height:90dvh;padding:0;overflow:hidden}.opd-root .opd-module dialog:has(.template-editor){width:calc(100vw - 24px);max-width:650px;padding:0}.opd-root .opd-module dialog:has(:is(.template-sheet,.template-editor))>.modal-heading{padding:16px 20px;height:62px;margin:0;background:#f5f7fa;border-bottom:1px solid #dce3eb}.opd-root .opd-module dialog:has(:is(.template-sheet,.template-editor)) h2{font-size:19px}.opd-root .opd-module :is(.template-sheet,.template-editor){color:#243240;font-size:14px}.template-sheet{display:flex;flex-direction:column;height:calc(100% - 62px);min-height:0}.opd-root .opd-module :is(.template-sheet,.template-editor) button{color:#29547f;background:#f0f4f8;border:1px solid #ccd9e6;border-radius:6px;padding:8px 12px;font-size:14px;min-height:36px}.opd-root .opd-module :is(.template-sheet,.template-editor) button:disabled{opacity:.5;cursor:default}.opd-root .opd-module :is(.template-sheet,.template-editor) .template-primary{background:#24517f;color:#fff;border-color:#24517f}.template-top-actions{display:flex;gap:8px;padding:10px 18px}.template-library{display:flex;align-items:flex-end;flex-wrap:wrap;gap:12px;background:#f3f6fa;margin:0 18px;padding:14px;border:1px solid #e0e7ee;border-radius:8px}.opd-root .opd-module :is(.template-sheet,.template-editor) label{display:flex;flex-direction:column;gap:7px;font-size:14px;color:#344b63}.template-library label{flex:1 1 190px}.opd-root .opd-module :is(.template-sheet,.template-editor) :is(input,select,textarea){min-width:0;width:100%;background:#fff;color:#243240;border:1px solid #ced9e4;font-size:15px;padding:9px;border-radius:5px}.template-hint{color:#677687;font-size:13px;line-height:1.5;margin:14px 18px}.template-findings{flex:1;min-height:0;overflow-y:auto;display:flex;flex-direction:column;padding:0 18px 18px}.template-findings h3{font-size:16px;margin:0 0 14px}.opd-root .opd-module .template-findings>textarea{flex:1;min-height:200px;resize:none;line-height:1.6}.template-responses{display:grid;gap:10px;width:100%;padding:14px;background:#f5f7fa;border-radius:8px}.opd-root .opd-module .template-responses>label{display:grid;grid-template-columns:180px minmax(0,1fr);align-items:center;gap:16px}.template-responses>label>span{font-weight:600;overflow-wrap:anywhere}.template-responses h4{margin:0;color:#29547f}.template-responses textarea{min-height:64px}.opd-root .opd-module :is(.template-sheet,.template-editor) footer{margin-top:0;border-top:1px solid #dce3eb;padding:12px 18px;display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;background:#fff}.template-editor{padding:18px}.opd-root .opd-module .template-editor fieldset{border:0;padding:0;margin:0;display:grid;gap:14px;min-width:0}.template-editor h3{font-size:16px;margin:6px 0 0}.template-parameter{display:flex;align-items:flex-end;flex-wrap:wrap;gap:8px;padding:10px;border:1px solid #dce3eb;border-radius:6px;background:#f7f9fb}.template-parameter label{flex:1 1 160px}.template-editor .template-hint{margin-inline:0}@media(max-width:650px){.opd-root .opd-module .template-responses>label{grid-template-columns:95px minmax(0,1fr);gap:8px}.opd-root .opd-module dialog:has(.template-sheet){width:calc(100vw - 12px);height:96dvh;max-height:96dvh}.template-library{max-height:240px;overflow-y:auto;flex-shrink:0}.template-library label{flex-basis:100%}}.opd-root .opd-module dialog:has(.exam-sheet){width:calc(100vw - 32px);max-width:1500px;height:92dvh;max-height:92dvh;padding:0;overflow:hidden;color:#243240}.opd-root .opd-module dialog:has(.exam-sheet)>.modal-heading{height:58px;padding:14px 18px;margin:0;background:#f4f6f9;border-bottom:1px solid #dbe2e9}.opd-root .opd-module dialog:has(.exam-sheet) .modal-heading h2{font-size:19px}.opd-root .opd-module .exam-sheet{height:calc(100% - 58px);display:flex;flex-direction:column;min-height:0;font-size:14px}.opd-root .opd-module .exam-sheet button{font-size:13px;color:#31567d;background:#f2f5f9;border:1px solid #cbd7e4;border-radius:5px;padding:7px 10px;min-height:34px;box-shadow:none}.opd-root .opd-module .exam-sheet button[aria-pressed=true]{background:#315b85;border-color:#315b85;color:#fff}.opd-root .opd-module .exam-sheet button:disabled{opacity:.5;cursor:default}.opd-root .opd-module .exam-sheet :is(button,input,textarea):focus-visible{outline:2px solid #416f9d;outline-offset:2px}.exam-subtitle{padding:8px 18px;color:#637182;background:#fafbfc;border-bottom:1px solid #e0e5ec;font-size:13px}.exam-panes{display:grid;grid-template-columns:minmax(0,3fr) minmax(0,2fr);flex:1;min-height:0}.exam-controls{display:flex;flex-direction:column;min-height:0;min-width:0;background:#f3f5f8;border-right:1px solid #dbe2e9}.exam-tabs{display:flex;flex-direction:row;flex-wrap:wrap;gap:6px;background:#fff;padding:10px 12px;border-bottom:1px solid #dbe2e9}.exam-groups{overflow-y:auto;padding:16px;flex:1}.exam-card{padding:18px;border:1px solid #dfe5ec;border-radius:9px;background:#fff}.opd-root .opd-module .exam-group{border:0;border-bottom:1px solid #e1e6ec;border-radius:0;padding:0 0 18px;margin:0 0 18px;min-width:0}.opd-root .opd-module .exam-group:last-child{border-bottom:0;padding-bottom:0;margin-bottom:0}.opd-root .opd-module .exam-group legend{font-size:14px;color:#34485d;font-weight:650;margin-bottom:12px;padding:0}.exam-choices{display:flex;flex-wrap:wrap;gap:8px}.opd-root .opd-module .exam-choices button{background:#fff;text-align:left;font-weight:500}.exam-group>input{margin-top:10px}.opd-root .opd-module .exam-signs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.opd-root .opd-module .exam-signs label{display:flex;align-items:center;gap:8px;padding:9px;margin:0;background:#fff;border:1px solid #dce3eb;border-radius:5px;color:#34404d;font-size:14px}.opd-root .opd-module .exam-signs label:has(:checked){border-color:#7597b9;background:#eaf1f8;color:#254e78}.opd-root .opd-module .exam-signs input{width:15px;height:15px;min-height:0;flex-shrink:0;margin:0;accent-color:#315b85}.opd-root .opd-module .exam-clear-signs{display:flex;margin:0 0 12px auto;border:0;background:transparent;font-size:12px}.exam-preview{display:flex;flex-direction:column;min-height:0;min-width:0;padding:16px;background:#fff}.exam-preview header h3{display:flex;gap:8px;align-items:center;font-size:16px;margin:0 0 12px}.exam-preview header>div{display:flex;gap:8px}.exam-preview p{color:#637182;font-size:12px;margin:12px 0}.opd-root .opd-module .exam-preview textarea{flex:1;min-height:160px;width:100%;border:1px solid #d7e0e9;border-radius:6px;padding:16px;font-size:15px;line-height:1.6;color:#243240;background:#fff;resize:none}.exam-footer{margin-top:0;display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;padding:12px 16px;border-top:1px solid #dbe2e9;background:#fff}.exam-footer>div{display:flex;flex-wrap:wrap;gap:10px}.opd-root .opd-module .exam-footer .exam-save{background:#234f7b;color:#fff;border-color:#234f7b;padding-inline:20px}.exam-local h3{font-size:16px;margin:0 0 14px}.exam-local textarea{min-height:85px;width:100%;margin-bottom:10px;font-size:14px}.exam-local-row{display:flex;gap:6px;align-items:center;border-top:1px solid #e1e6ec;padding:10px 0}.exam-local-row span{flex:1;white-space:pre-wrap;overflow-wrap:anywhere}.exam-empty{padding:24px 12px;text-align:center;background:#f6f8fa;color:#637182;margin-top:16px;border-radius:6px}@media(max-width:750px){.opd-root .opd-module dialog:has(.exam-sheet){width:calc(100vw - 12px);height:96dvh;max-height:96dvh}.opd-root .opd-module dialog:has(.exam-sheet) .modal-heading h2{font-size:16px}.exam-panes{display:block;overflow-y:auto}.exam-controls{border-right:0}.exam-groups{overflow:visible;padding:10px}.exam-card{padding:12px}.exam-preview{min-height:400px}.opd-root .opd-module .exam-signs{grid-template-columns:1fr}.exam-footer{padding:8px}}@media(max-width:750px){.exam-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}}.opd-root .opd-module dialog:has(.complaint-box){width:calc(100vw - 32px);max-width:1500px;height:94dvh;max-height:94dvh;padding:0;overflow:hidden;color:#202833}.opd-root .opd-module dialog:has(.complaint-box)>.modal-heading{height:56px;padding:12px 18px;margin:0;border-bottom:1px solid #dce1e8}.opd-root .opd-module dialog:has(.complaint-box) .modal-heading h2{font-size:19px}.opd-root .opd-module .complaint-box{height:calc(100% - 56px);display:flex;flex-direction:column;min-height:0;font-size:14px}.opd-root .opd-module .complaint-box button{color:#24517f;background:#edf1f7;border:1px solid #d7dfe9;border-radius:5px;font-size:13px;padding:6px 9px;min-height:30px;box-shadow:none}.opd-root .opd-module .complaint-box button:disabled{opacity:.5;cursor:default}.opd-root .opd-module .complaint-box input,.opd-root .opd-module .complaint-box select{font-size:14px;min-width:0;min-height:34px;padding:6px 8px;background:#fff;border:1px solid #ced8e4;border-radius:5px;color:#243240}.opd-root .opd-module .complaint-box :is(button,input,select):focus-visible{outline:2px solid #37699c;outline-offset:2px}.complaint-toolbar{display:flex;gap:8px;padding:8px 12px}.complaint-categories{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;padding:0 12px 10px}.opd-root .opd-module .complaint-categories button{min-height:38px;font-size:12px}.opd-root .opd-module .complaint-categories button[aria-pressed=true]{background:#4d678e;border-color:#4d678e;color:#fff}.complaint-panes{display:grid;grid-template-columns:minmax(0,3fr) minmax(0,2fr);flex:1;min-height:0;border-top:1px solid #dce1e8}.complaint-catalogue,.complaint-active{display:flex;flex-direction:column;min-height:0;min-width:0}.complaint-catalogue{border-right:1px solid #dce1e8;background:#f6f7fa}.complaint-search{display:flex;gap:8px;align-items:center;padding:10px 12px;color:#24517f;border-bottom:1px solid #dce1e8}.complaint-search input{width:100%}.complaint-groups{flex:1;overflow-y:auto;padding:10px 12px}.complaint-group{margin-bottom:16px}.complaint-group>header{display:flex;gap:8px;justify-content:space-between;align-items:center;padding:4px 8px;background:#e4e9f1;color:#24517f;border-radius:5px;margin-bottom:6px}.complaint-group>header strong{font-size:12px;text-transform:uppercase}.complaint-group small{font-weight:400}.opd-root .opd-module .complaint-group>header button{font-size:11px;padding:3px 6px;min-height:24px}.complaint-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 6px}.opd-root .opd-module .complaint-options button{display:flex;justify-content:flex-start;gap:7px;text-align:left;background:#fff;color:#323b46;font-weight:400;padding:4px 7px;min-height:28px}.complaint-options button>svg{flex-shrink:0;color:#8896a6}.complaint-options button>span{flex:1}.complaint-options button small{font-size:10px;color:#24517f}.opd-root .opd-module .complaint-options button[aria-pressed=true]{background:#e6edf6;border-color:#6d90ba;color:#1d3e63;font-weight:600}.complaint-active{background:#f8f9fc}.complaint-active>header{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px;border-bottom:1px solid #dce1e8;min-height:55px}.complaint-active>header strong{display:flex;align-items:center;gap:8px}.opd-root .opd-module .complaint-active>header button,.opd-root .opd-module .complaint-selection>header button{color:#b42334;background:transparent;border:0}.complaint-selected{flex:1;min-height:0;overflow-y:auto;padding:10px}.complaint-empty{height:100%;min-height:150px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:16px;color:#697583}.complaint-empty>svg{color:#a8b2c0}.complaint-selection{background:#fff;border:1px solid #d8dfe7;border-radius:7px;padding:9px;margin-bottom:9px}.complaint-selection>header{display:flex;align-items:center;gap:7px;margin-bottom:6px}.complaint-selection>header strong{flex:1;font-size:13px}.complaint-number{border-radius:50%;background:#596571;color:#fff;min-width:20px;height:20px;display:inline-flex;align-items:center;justify-content:center;font-size:11px}.complaint-severity{display:flex;align-items:center;flex-wrap:wrap;gap:4px;margin-bottom:8px}.complaint-severity>span,.complaint-duration>span:first-child{color:#697583;font-size:12px}.opd-root .opd-module .complaint-severity button{font-size:12px;padding:5px 7px}.opd-root .opd-module .complaint-severity button[data-severity=MILD]{color:#226244;background:#edf7f1}.opd-root .opd-module .complaint-severity button[data-severity=MODERATE]{color:#965100;background:#fff5e9}.opd-root .opd-module .complaint-severity button[data-severity=SEVERE]{color:#b42334;background:#fff0f2}.opd-root .opd-module .complaint-severity button[aria-pressed=true]{outline:2px solid currentColor;outline-offset:-2px;font-weight:700}.complaint-duration{display:flex;align-items:center;gap:7px;margin-top:7px}.complaint-duration input{flex:1;width:60px}.complaint-duration select{width:92px}.complaint-selection>input{width:100%}.complaint-active>footer{display:flex;align-items:center;justify-content:flex-end;gap:12px;padding:10px 12px;background:#fff;border-top:1px solid #dce1e8}.complaint-active>footer small{color:#697583;font-size:12px}.opd-root .opd-module .complaint-active .complaint-save{color:#fff;background:#1c4f80;border-color:#1c4f80;padding:9px 18px}.complaint-custom{display:flex;gap:5px;padding:6px 0}.complaint-custom input{flex:1;width:80px}.complaint-custom-search{display:flex;flex-wrap:wrap;gap:6px;padding:10px 0}@media(max-width:900px){.complaint-categories{grid-template-columns:repeat(4,minmax(0,1fr))}.complaint-options{grid-template-columns:1fr}}@media(max-width:600px){.opd-root .opd-module dialog:has(.complaint-box){width:calc(100vw - 12px);max-height:96dvh;height:96dvh}.complaint-categories{grid-template-columns:repeat(3,minmax(0,1fr));max-height:150px;overflow-y:auto;flex-shrink:0}.complaint-panes{grid-template-columns:1fr;overflow-y:auto;display:block}.complaint-catalogue{height:42dvh;border-right:0}.complaint-active{min-height:250px}.complaint-selected{overflow:visible}.complaint-group>header{flex-wrap:wrap}.complaint-duration{flex-wrap:wrap}}.opd-root .opd-module .complaint-box .complaint-duration input{flex:1 1 0;width:0;min-width:40px}.opd-root .opd-module .complaint-box .complaint-duration select{flex:0 0 92px;width:92px}.opd-root .opd-module .complaint-group>header small{display:inline;margin-left:4px}@media(min-width:601px){.opd-root .opd-module dialog:has(.complaint-box)>.modal-heading .modal-title{position:absolute;left:50%;transform:translate(-50%)}.opd-root .opd-module dialog:has(.complaint-box)>.modal-heading{justify-content:flex-end}.complaint-toolbar{position:absolute;top:6px;left:4px}.complaint-categories{padding-top:8px}}dialog[open]:has(.ipad-vital-sheet){width:580px;max-width:calc(100% - 24px);height:680px;max-height:calc(100dvh - 24px);padding:0;display:flex;flex-direction:column;overflow:hidden;color:#18191b;font-family:Arial,sans-serif}dialog:has(.ipad-vital-sheet) .modal-heading{margin:0;padding:14px 16px;border-bottom:1px solid #dddfe4;background:#f8f8fa;flex-shrink:0}dialog:has(.ipad-vital-sheet) .modal-title{display:flex;align-items:center;gap:10px}dialog:has(.ipad-vital-sheet) .modal-title>svg{color:#0097ff;flex-shrink:0}dialog:has(.ipad-vital-sheet) h2{font-size:16px;margin:0 0 3px}dialog:has(.ipad-vital-sheet) .modal-title p{color:#606a75;font-size:13px;margin:0}dialog:has(.ipad-vital-sheet) .icon-button{background:#96979c;color:#fff;border-radius:50%;padding:2px;width:20px;height:20px;flex-shrink:0}.ipad-vital-sheet{display:flex;flex-direction:column;flex:1;min-height:0;--vital-color: #0097ff}.vital-editor-body{padding:16px 12px;background:#f5f7fa;overflow:auto;flex:1}.vital-editor-card{padding:14px;border:1px solid #e8e9ed;border-radius:10px;background:#fff;min-width:0}.vital-editor-card header{display:flex;align-items:center;gap:7px;margin-bottom:12px}.vital-editor-card header>svg{color:var(--vital-color);flex-shrink:0}.vital-editor-card h3{font-size:15px;margin:0;line-height:1.25}.vital-editor-card .vital-reading{margin-left:auto;display:flex;align-items:center;gap:3px;white-space:nowrap;color:var(--vital-color)}.ipad-vital-sheet .vital-reading input{width:45px;min-width:0;padding:2px 0;border:1px solid transparent;border-radius:4px;background:transparent;text-align:right;font:700 16px Arial,sans-serif;color:inherit;box-shadow:none}.ipad-vital-sheet .vital-reading input:focus{outline:2px solid #96d4ff}.vital-reading small,.vital-bp-summary small{font-size:13px;font-weight:400;color:#606a75}.vital-bp header{border-bottom:1px solid #e5e5e8;padding-bottom:12px}.vital-bp header>svg{color:#ff2856}.vital-bp-summary{margin-left:auto;color:#0097ff;font-size:16px;font-weight:700}.vital-bp-label{display:flex;align-items:center;justify-content:space-between;font-size:14px;font-weight:600;color:#999aa1}.vital-bp-label .vital-reading input{font-size:14px}.vital-bp-row+.vital-bp-row{margin-top:10px}.vital-slider-track{display:flex;align-items:center;gap:10px;height:33px}.ipad-vital-sheet .vital-slider-track button{padding:0;width:17px;height:17px;min-width:17px;border:0;border-radius:50%;background:#bfc0c4;color:#fff;font:700 14px Arial,sans-serif;display:flex;align-items:center;justify-content:center}.ipad-vital-sheet .vital-slider-track input[type=range]{-moz-appearance:none;appearance:none;-webkit-appearance:none;flex:1;min-width:0;width:100%;height:6px;border:0;padding:0;border-radius:6px;background:linear-gradient(to right,var(--vital-color) var(--fill),#e5e5e7 var(--fill));cursor:pointer}.ipad-vital-sheet input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:34px;height:24px;background:#fff;border:1px solid #f4f4f4;border-radius:12px;box-shadow:0 2px 9px #0002}.ipad-vital-sheet input[type=range]::-moz-range-thumb{width:34px;height:24px;background:#fff;border:1px solid #f4f4f4;border-radius:12px;box-shadow:0 2px 9px #0002}.vital-range-labels{display:flex;justify-content:space-between;color:#aeb0b7;font-size:12px}.vital-editor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:14px}.vital-extra{color:#888b94;font-size:13px;margin:16px 3px 0}.vital-extra summary{cursor:pointer}.vital-extra label{display:flex;align-items:center;justify-content:space-between;margin-top:12px}.vital-extra input{width:100px}.vital-editor-footer{display:flex;gap:10px;align-items:center;padding:13px 14px;border-top:1px solid #dddfe4;background:#fff}.vital-editor-footer button{display:flex;align-items:center;gap:5px;padding:8px 14px;border:1px solid #dddfe4;border-radius:6px;color:#606a75;background:#fff;font-size:15px;font-weight:400}.vital-editor-footer button.primary{margin-left:auto;background:#0097ff;border-color:#0097ff;color:#fff;font-weight:700;padding:8px 22px}@media(max-width:520px){.vital-editor-grid{grid-template-columns:1fr}.vital-bp header{flex-wrap:wrap}.vital-editor-card h3{font-size:15px}.vital-editor-footer button{padding:8px 10px}}dialog:has(.ipad-vital-sheet) .icon-button,.ipad-vital-sheet .vital-slider-track button{min-height:0;flex-shrink:0}.vital-bp-summary small{display:inline}.opd-root:has(>section:not([hidden]) .consultation-active){height:100dvh;display:flex;flex-direction:column;overflow:hidden}.opd-root:has(>section:not([hidden]) .consultation-active)>section:not([hidden]){flex:1;min-height:0}.opd-root:has(>section:not([hidden]) .consultation-active) .workspace-header{background:#061c43;color:#fff;position:relative;flex:none}.opd-root:has(>section:not([hidden]) .consultation-active) .workspace-header:after{content:"CONSULTATION";position:absolute;left:50%;transform:translate(-50%);font-size:16px;font-weight:600}.opd-root:has(>section:not([hidden]) .consultation-active) .workspace-header small{color:#bbc8db}.opd-root:has(>section:not([hidden]) .consultation-active) .opd-mark{color:#fff}.clinic-layout:has(.consultation-active){height:100%;min-height:0}.clinic-layout:has(.consultation-active) .clinic-sidebar{height:100%;min-height:0;overflow:auto}.clinic-main.consultation-active{display:flex;flex-direction:column;padding:0;min-height:0}.consultation-active>.opd-section-heading{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.consultation-active>div:not([hidden]):last-child{flex:1;min-height:0}.consultation-active .consultation-workspace{display:flex;flex-direction:column;gap:0;height:100%;min-height:0;padding:0}.swift-consultation{--patient-width: 540px;--blue: #0097ff;--ink: #17222c;display:flex;flex-direction:column;flex:1;min-height:0;font:15px Arial,sans-serif;color:var(--ink);background:#f5f7fa}.swift-record-banner{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:12px 16px 10px;background:#edf8ff;flex:none;flex-wrap:wrap}.swift-record-banner>div:first-child{flex:1 1 320px;min-width:0}.swift-record-actions{display:flex;flex-wrap:wrap;gap:8px}.swift-amendment-reason{display:grid;gap:6px;margin-top:12px;max-width:720px;font-size:14px;font-weight:600}.swift-amendment-reason textarea{height:60px}.swift-record-banner strong{font-size:16px;color:#171b20}.swift-record-banner p{margin:8px 0 0;font-size:14px;line-height:1.5}.swift-record-banner>button{border-radius:22px;white-space:nowrap;background:#e4ebf1;border:0;color:#6e7c8c;padding:7px 12px}.swift-jumpbar{display:grid;grid-template-columns:var(--patient-width) minmax(0,1fr);border-bottom:1px solid #e4e8ef;background:#fff;flex:none}.swift-jumpbar>div{display:flex;gap:6px;padding:5px 12px;overflow-x:auto;scrollbar-width:thin}.swift-jumpbar>div+div{border-left:1px solid #ddd}.swift-consultation .swift-jumpbar button{background:#edf5ff;border:1px solid #c1d8f1;color:#245385;padding:8px 10px;white-space:nowrap;font-size:14px;font-weight:600;border-radius:6px;min-height:34px}.swift-consultation-panes{display:grid;grid-template-columns:var(--patient-width) minmax(0,1fr);flex:1;min-height:0}.swift-patient-pane,.swift-clinical-pane{overflow-y:auto;min-height:0;padding:12px;scrollbar-width:thin;overscroll-behavior:contain}.swift-patient-pane{border-right:1px solid #dce1e8}.swift-clinical-pane{padding:12px 16px 24px}.swift-card{background:#fff;border-radius:12px;box-shadow:0 2px 7px #16253305;padding:16px;margin-bottom:16px;min-width:0}.swift-consultation h2,.swift-consultation h3{color:#15191c;margin:0;letter-spacing:0}.swift-consultation .swift-person h2{font-size:24px;margin-bottom:10px}.swift-person>strong{font-size:14px}.swift-person>p{font-size:16px;color:#606a75;margin:8px 0;text-transform:capitalize}.swift-measurements{display:flex;border-top:1px solid #e5e5e7;padding-top:12px;align-items:center;gap:8px}.swift-measurements>div{flex:1}.swift-measurements span,.swift-extra-history span{display:block;font-size:14px;color:#606a75;margin-bottom:5px}.swift-measurements b{font-size:15px}.swift-consultation .swift-measurements button{padding:5px;min-height:28px;color:var(--blue);border:0}.swift-consultation .swift-history>button{width:100%;display:block;text-align:left;border:0;border-radius:0;margin-bottom:10px;padding:4px 6px 12px;background:transparent;border-bottom:1px solid #e6e7e9;font-size:14px}.swift-history>button:last-of-type{margin-bottom:0;border-bottom:0;padding-bottom:0}.swift-history>button>span{display:flex;align-items:center;gap:5px;color:#606a75;padding:5px 0}.swift-history>button>span svg:first-child{color:var(--accent)}.swift-history>button>strong{display:block;font-weight:500;line-height:1.5;color:#171b20;white-space:pre-wrap;background:color-mix(in srgb,var(--accent) 4%,white)}.swift-history>button:disabled{opacity:1;cursor:default}.swift-extra-history{margin-top:12px;font-size:14px}.swift-previous h3{font-size:18px;margin-bottom:20px}.swift-visit-link{display:flex;flex-direction:column;align-items:flex-start!important;gap:4px;width:100%;border:0;border-bottom:1px solid #e9edf2;padding:10px 0;font-size:14px}.swift-visit-link span{text-transform:capitalize;color:#606a75}.swift-consultation .swift-link{color:var(--blue);border:0;background:transparent;padding:3px;font-size:14px}.swift-previous>.swift-link{width:100%;margin-top:12px}.swift-visit-heading{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:5px;padding:0 16px 14px}.swift-visit-heading h3{font-size:16px;font-weight:700}.swift-visit-heading span{font-size:13px;color:#606a75}.swift-section>header{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:10px}.swift-section>header h3{color:var(--accent);font-size:16px;display:flex;gap:7px;align-items:center;font-weight:600}.swift-consultation .swift-section>header button,.swift-consultation .swift-exam-columns header button{color:var(--accent);background:color-mix(in srgb,var(--accent) 9%,white);border:0;font-size:14px;padding:4px 8px;min-height:32px;border-radius:4px}.swift-section.blue,.swift-history .blue{--accent: #0097ff}.swift-section.magenta,.swift-history .magenta{--accent: #d716e6}.swift-section.teal{--accent: #009b9c}.swift-section.orange,.swift-history .orange{--accent: #ff8700}.swift-section.green{--accent: #00c642}.swift-history .violet{--accent: #7965cf}.swift-consultation .swift-vitals{display:flex;align-items:stretch;width:100%;background:#fafafa;border:1px solid #ededf0;border-radius:7px;padding:8px 0;min-height:62px;opacity:1}.swift-patient-pane .swift-vitals{display:grid;grid-template-columns:repeat(5,minmax(0,1fr))}.swift-vitals>span{flex:1;display:flex;flex-direction:column;justify-content:space-between;gap:7px;border-right:1px solid #ddd}.swift-vitals>span:last-child{border:0}.swift-vitals small{font-size:12px;font-weight:500;color:#606a75}.swift-vitals b{font-size:15px;color:#25282d}.swift-table-wrap{border:1px solid #eeeeef;border-radius:6px;overflow-x:auto}.swift-consultation .swift-entry-table{width:100%;border-collapse:collapse;font-size:14px;table-layout:fixed}.swift-entry-table th{background:#f9f9fa;font-size:14px;color:#17191c;padding:5px 7px;text-align:left;border-bottom:1px solid #ddd}.swift-entry-table td{padding:5px;border-bottom:1px solid #eceeef;vertical-align:middle;overflow-wrap:anywhere}.swift-entry-table tr:last-child td{border-bottom:0}.swift-entry-table tr.entry{background:#fbfcfd}.swift-entry-table.complaint-table{min-width:660px}.swift-entry-table.complaint-table th:first-child{width:50%}.swift-entry-table.complaint-table th:nth-child(2){width:calc(25% - 55px)}.swift-entry-table.complaint-table th:nth-child(3){width:calc(25% - 55px)}.swift-entry-table.complaint-table th:last-child{width:110px}.swift-entry-table.prescription-table{min-width:1040px}.swift-entry-table.prescription-table th:nth-child(1),.swift-entry-table.prescription-table th:nth-child(2){width:20%}.swift-entry-table.prescription-table th:nth-child(3){width:150px}.swift-entry-table.prescription-table th:nth-child(4){width:105px}.swift-entry-table.prescription-table th:nth-child(5){width:85px}.swift-entry-table.prescription-table th:nth-child(6){width:110px}.swift-entry-table.prescription-table th:last-child{width:95px}.swift-consultation :is(input,select,textarea),.swift-sheet :is(input,select,textarea){border:1px solid #dddfe3;border-radius:5px;padding:6px;min-width:0;width:100%;color:#21262d;background:#fff;font:15px Arial,sans-serif;box-sizing:border-box}.swift-consultation .swift-entry-table :is(input,select){padding:5px;height:36px;font-size:14px}.swift-consultation :is(input,textarea)::placeholder{color:#747d88}.swift-consultation :is(input,select,textarea):disabled{color:#303740;background:#fafbfc;opacity:1}.swift-consultation textarea{min-height:58px;resize:vertical}.swift-consultation .swift-add{border:0;background:#1d4d80;color:#fff;min-height:36px;padding:6px 9px;border-radius:5px;font-size:14px;white-space:nowrap}.swift-consultation .swift-add:disabled{background:#819aba;opacity:1}.swift-row-actions{display:flex;justify-content:center}.swift-consultation .swift-row-actions button{border:0;color:#0097ff;padding:6px;min-height:28px;background:transparent}.swift-consultation .swift-row-actions button:last-child{color:#df5960}.swift-row-hint{display:flex;gap:8px;align-items:center;justify-content:space-between;padding:5px;color:#606a75;font-size:13px}.swift-row-hint button{border:0;padding:3px;color:#245385;font-size:13px}.swift-exam-columns{display:grid;grid-template-columns:1fr 1fr;gap:14px}.swift-exam-columns header{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:14px;margin-bottom:6px}.swift-speciality-summary{min-height:58px;border:1px solid #e9e9ec;border-radius:5px;padding:8px;background:#fbfbfc;white-space:pre-wrap;font-size:14px;color:#606a75}.swift-local{font-size:14px;white-space:pre-wrap}.swift-diagnoses{padding:8px;background:#fbfbfc;border:1px solid #eeeeef;border-radius:6px;display:grid;gap:8px}.swift-diagnoses label{display:flex;align-items:center;gap:10px}.swift-diagnoses b{flex:0 0 160px;font-size:14px}.swift-diagnoses textarea{min-height:27px;height:27px;padding:5px}.swift-add-line{display:flex;align-items:center;gap:8px}.swift-add-line>input{flex:1;min-height:33px}.swift-empty{color:#606a75;font-size:14px;margin:13px 0 3px}.swift-empty.centered{text-align:center;padding:10px;margin:0}.swift-list-row{display:flex;align-items:center;justify-content:space-between;padding:8px;font-size:15px;border-bottom:1px solid #edf0f3}.swift-list-row label{display:flex;gap:8px;align-items:center}.swift-list-row small{display:block;color:#606a75;margin-top:4px}.swift-consultation input[type=checkbox],.swift-sheet input[type=checkbox],.swift-check input{width:auto}.swift-treatment-heading{display:flex;align-items:center;gap:9px;background:#e5ebf3;color:#1d4d80;font-weight:700;font-size:18px;padding:10px 14px;border-radius:7px;margin:24px 0 14px;border-left:4px solid #1d4d80}.swift-dose{display:flex;align-items:center;gap:3px;min-width:0}.swift-dose input{flex:1;width:40px}.swift-dose select{width:51px;padding:2px!important;color:#245385}.swift-dose span{color:#606a75;font-size:13px}.swift-advice{border:1px solid #f0f0f2;border-radius:4px;padding:8px}.swift-advice>textarea{background:#fcfcfc}.swift-advice>label{display:flex;align-items:center;gap:8px;margin-top:8px;font-size:14px}.swift-advice>label b{white-space:nowrap}.swift-advice svg{color:#0097ff;flex-shrink:0}.swift-notes-link{border:0;color:#606a75;font-size:14px;background:transparent;padding:4px 0;margin-bottom:10px}.swift-save-actions>small{display:block;color:#606a75;font-size:14px;margin-bottom:18px}.swift-save-actions>div{display:flex;flex-wrap:wrap;align-items:center;gap:12px}.swift-consultation .swift-save-actions button{font-size:15px;padding:10px 13px}.swift-consultation .swift-save-actions .swift-outline-blue{border:1px solid #0097ff;color:#0097ff}.swift-consultation .swift-save-actions .swift-complete{margin-left:auto;background:#00c844;border:0;color:#fff;font-weight:600}.swift-save-actions button:disabled{opacity:.45}.swift-readonly{padding:10px;background:#edf6fc;font-size:15px}.swift-sheet{min-width:0;font:15px Arial,sans-serif;color:#243543}.swift-sheet label:not(.swift-check){display:grid;gap:6px;margin:10px 0}.swift-sheet-footer{display:flex;justify-content:flex-end;gap:12px;border-top:1px solid #e5e8ed;padding-top:16px;margin-top:18px}.swift-sheet-footer .primary{background:#0097ff}.swift-vital-control{margin-bottom:12px;border:1px solid #e5e9ef;padding:10px 16px;border-radius:8px}.swift-vital-control>label{display:flex!important;align-items:center;justify-content:space-between;font-weight:600}.swift-vital-control>label input{width:110px}.swift-slider{display:flex;align-items:center;gap:8px}.swift-slider input{padding:0;accent-color:#0097ff}.swift-slider button{padding:5px 10px;border:0}.swift-chips{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:12px}.swift-chips button{font-size:14px;padding:6px 9px;background:#edf5fb;color:#235678}.swift-chips button.active{background:#235678;color:#fff}.swift-picker-columns{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:15px}.swift-choice-list{display:flex;flex-direction:column;max-height:45vh;overflow:auto;gap:4px}.swift-choice-list button{text-align:left;justify-content:flex-start;padding:8px;font-size:15px}.swift-choice-list button[aria-pressed=true]{background:#dceffd;border-color:#48a7e4}.swift-choice-list small{display:block;color:#738391}.swift-selected-item{display:grid;gap:8px;padding:12px;border-bottom:1px solid #eee}.swift-check{display:flex;align-items:center;gap:8px;margin:10px 0}.swift-history-entry{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.swift-history-list button{display:block;width:100%;text-align:left;padding:15px;margin-bottom:8px}.swift-history-list span{margin-left:15px}.swift-preserved-history{white-space:pre-wrap}.swift-template-choice{display:block;width:100%;text-align:left;margin-bottom:8px}.swift-template-choice small{display:block;color:#008ee8}.swift-print-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;padding:12px 0}.swift-print-toolbar span{color:#56697b}.swift-pdf-pages{background:#e6e9ed;padding:15px;display:grid;gap:15px;min-height:250px}.swift-pdf-pages canvas{width:100%;height:auto;background:#fff;box-shadow:0 2px 8px #0002}.swift-print-preferences{min-width:270px}dialog:has(.swift-sheet){max-width:680px}dialog:has(.swift-wide-sheet),dialog:has(.swift-print-preview){max-width:1000px}@media(max-width:1200px){.swift-consultation{--patient-width: 470px}.swift-clinical-pane{padding:12px}.swift-card{padding:13px}.swift-diagnoses b{flex-basis:135px}}@media(max-width:800px){.opd-root:has(>section:not([hidden]) .consultation-active) .workspace-header:after{display:none}.swift-consultation{--patient-width: 205px}.swift-patient-pane .swift-vitals{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:14px}.swift-exam-columns{grid-template-columns:1fr}.swift-jumpbar>div{padding:4px}}@media(max-width:600px){.opd-root:has(>section:not([hidden]) .consultation-active){height:auto;overflow:visible}.clinic-layout:has(.consultation-active){height:auto}.swift-consultation-panes{display:block}.swift-patient-pane,.swift-clinical-pane{overflow:visible}.swift-jumpbar{display:flex;flex-wrap:wrap}.swift-jumpbar>div{max-width:100%}.swift-patient-pane{border-right:0}.swift-history{display:grid;grid-template-columns:1fr 1fr;gap:10px}.swift-picker-columns,.swift-history-entry{grid-template-columns:1fr}.swift-save-actions .swift-complete{margin-left:0!important}}@media print{body:has(.swift-print-preview)>:not(.swift-print-portal){display:none!important}.swift-print-portal dialog{position:static;display:block;border:0;padding:0;margin:0;max-width:none;max-height:none;width:100%;box-shadow:none;overflow:visible}.swift-print-portal .modal-heading,.swift-print-toolbar{display:none!important}.swift-pdf-pages{display:block;padding:0;background:#fff}.swift-pdf-pages canvas{display:block;width:100%;box-shadow:none;break-after:page}@page{size:A4;margin:0}}.opd-root .swift-consultation textarea{min-height:58px}.opd-root .swift-consultation .swift-diagnoses textarea{min-height:38px;height:38px}.opd-root .swift-consultation .swift-dose>input{flex:1 1 55px;width:0}.opd-root .swift-consultation .swift-dose>select{flex:0 0 62px;width:62px;padding-inline:3px}.swift-history>button>span{background:color-mix(in srgb,var(--accent) 4%,white)}.billing-workspace{background:#f5f7f9;min-height:calc(100dvh - 140px);padding:16px;color:#171d23}.billing-columns{display:grid;grid-template-columns:minmax(285px,.32fr) minmax(0,.68fr);gap:16px;align-items:start}.billing-card{background:#fff;border-radius:12px;padding:16px;min-width:0}.billing-workspace h2,.billing-workspace h3{color:#171d23;font-size:16px;margin:0 0 14px}.billing-workspace h3{margin:14px 0}.billing-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.billing-heading h2,.billing-heading h3{margin:0}.billing-history .billing-heading{margin-bottom:12px}.billing-workspace button{font-size:14px;min-height:34px}.billing-workspace .primary,.billing-confirm .primary{background:#00bdd0;border-color:#00bdd0;color:#fff;border-radius:22px;justify-content:center}.billing-workspace .primary:disabled{background:#e9e9ec;border-color:#e9e9ec;color:#90969e;opacity:.65}.billing-workspace .billing-link,.billing-icon{background:none;border:0;color:#009bdf;padding:4px 0}.billing-workspace .billing-link:disabled{opacity:.4}.billing-workspace .billing-icon{padding:0;min-height:24px}.billing-workspace input{width:100%;min-width:0;border:1px solid #dfe2e7;border-radius:5px;padding:7px 9px;font:inherit;font-size:14px;background:#fff;color:#172b38;box-sizing:border-box}.billing-workspace input::placeholder{color:#bac0c7}.billing-workspace input:focus{outline:2px solid #00bdd055;outline-offset:1px}.billing-search{display:flex;gap:8px;align-items:center;margin:0 0 12px}.billing-search input{flex:1}.billing-search button{flex-shrink:0;padding:7px 12px}.billing-patients{border-bottom:1px solid #e9ebef;padding-bottom:12px;margin-bottom:14px}.billing-history-row{display:flex;flex-direction:column;align-items:stretch;gap:5px;background:#edfbfc;border:0;border-radius:8px;padding:11px;text-align:left;width:100%;margin-top:10px;color:#171d23}.billing-history-row:hover{background:#dff7f9}.billing-history-row>span{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.billing-history-row strong:first-child{overflow-wrap:anywhere;min-width:0}.billing-history-row strong:last-child{font-variant-numeric:tabular-nums}.billing-history-row small,.billing-history-row time{display:block;font-size:12px;font-weight:400;overflow-wrap:anywhere}.billing-history-row time{color:#9299a2}.billing-patient-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}.billing-workspace label{display:grid;gap:5px;color:#949ba5;font-size:12px}.billing-workspace fieldset{border:0;padding:0;margin:0;min-width:0}.billing-workspace fieldset:disabled{opacity:.65}.billing-fees{margin:14px 0;border-top:1px solid #e5e8ec;border-bottom:1px solid #e5e8ec;padding:14px 0 0}.billing-workspace .billing-fee-row{display:flex;justify-content:space-between;align-items:center;gap:16px;font-size:16px;color:#171d23;margin-bottom:12px}.billing-fee-row input{max-width:180px;text-align:right}.billing-muted{color:#949ba5;font-size:12px;line-height:1.5;margin:12px 0}.billing-total{display:flex;align-items:center;justify-content:space-between;margin:16px 0}.billing-total output{font-size:20px;font-weight:700;font-variant-numeric:tabular-nums}.billing-payments{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:14px}.billing-payments input{text-align:right}.billing-payments output{display:block;text-align:right;padding:7px 9px;color:#111a20;background:#e1f9fb;border-radius:6px;font-size:16px;font-weight:600;font-variant-numeric:tabular-nums}.billing-save{width:100%;padding:12px;margin-top:4px}.billing-empty{text-align:center;color:#97a2ac;padding:30px 16px;font-size:13px}.billing-empty strong{color:#697d8b;font-size:15px}.billing-confirm{padding:20px;max-width:540px}.billing-confirm footer{display:flex;justify-content:flex-end;gap:12px;margin-top:20px}.billing-recovery{border:1px solid #dbb673;border-radius:8px;background:#fff8e9;padding:16px;margin-bottom:16px}.billing-recovery small{display:block;overflow-wrap:anywhere}.billing-recovery button{margin-top:12px}@media(min-width:1000px)and (min-height:800px){.opd-root:has(>section:not([hidden]) .billing-workspace){height:100dvh;display:flex;flex-direction:column;overflow:hidden}.opd-root:has(>section:not([hidden]) .billing-workspace)>section:not([hidden]){flex:1;min-height:0}.billing-workspace{min-height:0;height:100%;box-sizing:border-box;display:flex;flex-direction:column;overflow:auto}.billing-columns{flex:1;min-height:0}.billing-history,.billing-form{max-height:100%;overflow:auto;box-sizing:border-box}}@media(max-width:850px){.billing-columns{grid-template-columns:1fr}.billing-form{grid-row:1}}@media(max-width:500px){.billing-workspace{padding:12px}.billing-card{padding:14px}.billing-patient-fields{grid-template-columns:1fr}.billing-payments{grid-template-columns:1fr 1fr}.billing-fee-row input{max-width:110px}.billing-workspace .billing-fee-row{font-size:14px}}.workspace-logo{width:36px;height:36px;object-fit:contain;background:#fff;border-radius:6px;padding:3px}.opd-root:has(>section:not([hidden]) .admin-workspace) .workspace-header{background:#061c43;color:#fff;position:relative}.opd-root:has(>section:not([hidden]) .admin-workspace) .workspace-header small{color:#bbc8db}.opd-root:has(>section:not([hidden]) .admin-workspace) .workspace-header:after{content:"⚙ WORKSPACE ADMINISTRATION";position:absolute;left:50%;transform:translate(-50%);font-size:15px;font-weight:600}.opd-root:has(>section:not([hidden]) .admin-personal) .workspace-header:after{content:"ACCOUNT SETTINGS"}.admin-workspace{background:#fffcf6;min-height:calc(100dvh - 135px);color:#19232d;padding-bottom:22px}.admin-heading{padding:16px 20px 8px;display:flex;justify-content:space-between;align-items:center;gap:12px;background:#fffcf6}.admin-heading h1{font-size:20px;letter-spacing:-.4px;color:#19232d;margin:0}.admin-heading small{color:#606a75;font-size:12px}.admin-heading button{background:#fff0f1;border:0;color:#bf0716;border-radius:22px}.admin-tabs{display:flex;flex-direction:row;margin:0;padding:0 20px 8px;background:#fffcf6;gap:0}.admin-tabs button{flex:1;justify-content:center;min-height:32px;padding:5px 7px;font-size:13px;font-weight:500;color:#19232d;background:#fff7e7;border:0;border-radius:0}.admin-tabs button:first-child{border-radius:18px 0 0 18px}.admin-tabs button:last-child{border-radius:0 18px 18px 0}.admin-tabs button[aria-current]{background:#fff0f1;color:#bf0716;border-radius:18px;box-shadow:inset 0 0 0 1px #edc9ce}.admin-content{padding:0 20px}.admin-group{margin:20px 0 28px}.admin-group>h2{margin:0 18px 8px;color:#606a75;font-size:15px;font-weight:600}.admin-group-body{border-radius:24px;background:#fff;padding:0 20px}.admin-row{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;padding:14px 0;border-bottom:1px solid #e9dfd0;font-size:15px}.admin-row>span:last-child{color:#606a75;text-align:right;overflow-wrap:anywhere;max-width:65%}.admin-row:last-child{border-bottom:0}.admin-brand{display:flex;align-items:center;gap:16px;padding:19px 0;border-bottom:1px solid #e9dfd0}.admin-brand svg{width:25px;height:25px;color:#bf0716}.admin-brand img,.admin-logo-preview img{width:45px;height:45px;object-fit:contain;border-radius:6px;background:#fff}.admin-workspace .admin-action{display:flex;justify-content:flex-start;width:100%;padding:14px 0;color:#bf0716;font-weight:400;background:transparent;border:0;border-bottom:1px solid #e9dfd0;border-radius:0;font-size:15px}.admin-workspace .admin-action:last-child{border:0}.admin-workspace .admin-action:hover{color:#990613}.admin-workspace .admin-danger,.admin-editor .admin-danger{color:#ff3548}.admin-description{padding:14px 0;margin:0;color:#606a75;border-bottom:1px solid #e9dfd0;font-size:15px}.admin-footnote{color:#606a75;font-size:12px;padding:14px 0;margin:0;line-height:1.6}.admin-muted{color:#606a75;font-size:13px;line-height:1.5;margin:12px 0}.admin-workspace>.notice,.admin-status{margin:10px 20px}.admin-status{font-size:13px;color:#606a75}.admin-user-tools{display:flex;align-items:center;gap:8px;padding-top:8px}.admin-user-tools input{flex:1}.admin-workspace input,.admin-editor input:not([type=checkbox]),.admin-editor select,.admin-editor textarea{min-width:0;width:100%;padding:8px 10px;border:1px solid #e9dfd0;border-radius:5px;background:#fff;color:#233749;font:inherit;font-size:14px;box-sizing:border-box}.admin-workspace input:focus,.admin-editor :is(input,select,textarea):focus{outline:2px solid #bf071650;outline-offset:1px}.admin-workspace .primary,.admin-editor .primary{color:#fff;background:#bf0716;border-color:#bf0716;border-radius:20px}.admin-users{background:#fff;margin:0 -20px;padding:0 20px 20px;min-height:65vh}.admin-user-tools,.admin-users>.admin-footnote{background:#fffcf6}.admin-table-scroll{overflow:auto;width:100%}.admin-table-scroll table{width:100%;border-collapse:collapse}.admin-table-scroll th{color:#bf0716;font-size:14px;background:#fff;padding:13px 8px;text-align:left;font-weight:500;white-space:nowrap}.admin-table-scroll td{color:#606a75;padding:15px 8px;font-size:14px;border-bottom:1px solid #e9dfd0;vertical-align:top}.admin-table-scroll td strong{color:#191e23}.admin-table-scroll small{display:block;margin-top:4px;font-size:12px}.admin-row-actions{display:flex;gap:15px;min-width:125px}.admin-row-actions .admin-action{white-space:nowrap;width:auto;border:0;padding:0}.admin-teal{color:#bf0716!important}.admin-active{color:#00c464}.admin-session{padding:16px 0;border-bottom:1px solid #e9dfd0}.admin-session header{display:flex;justify-content:space-between;gap:14px;margin:2px 0 4px}.admin-session header strong{display:flex;align-items:center;gap:12px}.admin-session svg{color:#bf0716}.admin-session .admin-row{border:0;padding:3px 0}.admin-session .admin-action{padding:6px 0;min-height:30px}.admin-editor{padding:20px;width:min(560px,85vw);color:#233749}.admin-editor h3{color:#607084;font-size:14px;margin:20px 0 10px}.admin-editor label{display:grid;gap:6px;margin:12px 0;font-size:13px;color:#6e7d8b}.admin-editor textarea{min-height:90px;resize:vertical}.admin-editor .admin-check{display:flex;align-items:center;gap:10px;font-size:14px}.admin-editor footer{display:flex;justify-content:flex-end;gap:10px;margin-top:24px;flex-wrap:wrap}.admin-logo-preview{display:flex;align-items:center;gap:14px;padding:16px;background:#fff7e7;border-radius:8px;color:#19232d}.admin-wide{width:min(900px,85vw)}.admin-audit{width:min(1200px,85vw)}.admin-audit .admin-table-scroll{max-height:55vh}.admin-audit-filters{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin-bottom:12px}.admin-audit-filters label{flex:1;min-width:130px;margin:0}.admin-editor pre{white-space:pre-wrap;overflow-wrap:anywhere;padding:12px;background:#f4f7fa;max-height:240px;overflow:auto;font-size:12px}.admin-recovery{margin:12px 20px;padding:15px;background:#fff8e8;border:1px solid #e6c18a;border-radius:10px}.admin-recovery p{margin:8px 0}.admin-recovery button{margin-top:12px}@media(max-width:1050px){.opd-root:has(>section:not([hidden]) .admin-workspace) .workspace-header:after{display:none}}@media(max-width:650px){.admin-content{padding:0 12px}.admin-tabs{overflow:auto;padding:0 12px 8px}.admin-tabs button{white-space:nowrap;min-width:130px}.admin-heading{padding:14px 12px 8px}.admin-heading h1{font-size:18px}.admin-group-body{padding:0 15px;border-radius:16px}.admin-row{font-size:13px;gap:12px}.admin-editor{width:80vw;padding:15px}.admin-users{margin:0 -12px;padding:0 12px}.admin-user-tools{flex-wrap:wrap}.admin-user-tools input{flex-basis:100%}.admin-session .admin-row{flex-wrap:wrap}}.opd-root[data-active-module=SETTINGS]>.workspace-tabs{background:#fffcf6;border-color:#e9dfd0}.opd-root[data-active-module=SETTINGS]>.workspace-tabs>button:last-child.active{background:#bf0716;color:#fff}.opd-root[data-active-module=SETTINGS]:has(>section:not([hidden]) .admin-workspace) .workspace-header{background:#fff;color:#19232d;border-bottom-color:#e9dfd0}.opd-root[data-active-module=SETTINGS]:has(>section:not([hidden]) .admin-workspace) .workspace-header small{color:#606a75}.opd-root[data-active-module=SETTINGS] .workspace-header :is(.opd-mark svg,.workspace-profile-button>svg){color:#bf0716}.opd-root[data-active-module=SETTINGS] .workspace-header button{color:#19232d;border-color:#e9dfd0}.opd-root[data-active-module=SETTINGS] .workspace-header button:hover{background:#fff7e7}.admin-table-scroll th{background:#fff7e7;color:#665434}.admin-workspace .primary:hover,.admin-editor .primary:hover{background:#990613}.admin-check input{accent-color:#bf0716}.admin-workspace .admin-group>h2{color:#bf0716;font-size:17px;font-weight:700}.admin-workspace .admin-row>span:first-child{color:#19232d;font-weight:600}.admin-workspace .admin-action{color:#bf0716;font-weight:600}.admin-workspace .admin-content :is(.admin-row>span,.admin-brand strong,.admin-description,.admin-footnote,.admin-muted,.admin-session,.admin-table-scroll th,.admin-table-scroll td,.admin-table-scroll td strong,.admin-active){color:#19232d}.admin-workspace .admin-content .admin-teal{color:#19232d!important}.admin-workspace .admin-content .admin-action{color:#4d678e;font-weight:600}.admin-workspace .admin-content .admin-action:hover{color:#334b6c}.admin-workspace .admin-content .primary{background:#4d678e;border-color:#4d678e;color:#fff}.admin-workspace .admin-content .primary:hover{background:#334b6c;border-color:#334b6c}.admin-workspace .admin-content .admin-session svg{color:#4d678e}.admin-workspace .admin-refresh-sessions{display:inline-flex;margin:14px 0;padding:9px 14px;min-height:40px;border:1px solid #b8c7db;border-radius:6px;background:#edf2f8;color:#4d678e;font-size:15px;font-weight:600}.admin-workspace .admin-refresh-sessions:hover:not(:disabled){background:#dfe8f3;color:#334b6c}.admin-workspace .admin-content .admin-users .admin-table-scroll th{color:#bf0716;font-weight:600}.admin-workspace .admin-editor .admin-check{justify-content:flex-start;gap:10px}.admin-workspace .admin-editor .admin-check input[type=checkbox]{width:18px;height:18px;min-height:18px;flex:0 0 18px;padding:0;margin:0}.opd-root .admin-workspace,.opd-root .admin-editor{font-size:16px;line-height:1.5}.opd-root .admin-editor :is(p,input:not([type=checkbox]),select,textarea),.opd-root .admin-workspace :is(.admin-row,.admin-description,.admin-action,.admin-table-scroll td){font-size:16px;line-height:1.5}.opd-root .admin-editor :is(label,h3),.opd-root .admin-editor button,.opd-root .admin-workspace :is(.admin-tabs button,.admin-table-scroll th){font-size:15px;line-height:1.4}.opd-root .admin-editor button{min-height:42px;padding:10px 16px}.opd-root .admin-editor :is(input:not([type=checkbox]),select){min-height:44px}.opd-root :is(.admin-workspace,.admin-editor) :is(.admin-footnote,.admin-muted,.admin-status,small){font-size:14px;line-height:1.5}.opd-root dialog:has(.admin-editor) .modal-heading h2{font-size:21px;line-height:1.3;color:#19232d}.opd-root .admin-editor>p{color:#19232d}.admin-audit-page{margin-top:20px;padding:20px;background:#fff;border-radius:12px;min-width:0}.admin-audit-page>h2{margin:0 0 16px;color:#bf0716;font-size:20px}.opd-root .admin-audit-page .admin-audit{width:100%;max-width:none;padding:0;box-sizing:border-box}.admin-audit-page .admin-table-scroll{margin-top:16px;max-height:60dvh}.opd-root .admin-audit-page .admin-table-scroll th{position:sticky;top:0;z-index:1;color:#bf0716;background:#fff7e7}.admin-audit-page td{overflow-wrap:anywhere}.admin-audit-page button{color:#4d678e;border-color:#b8c7db;background:#edf2f8}.admin-audit-pagination{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:12px;margin-top:16px}.admin-audit-pagination span{margin-right:auto}.lab-workspace{padding:20px 24px 28px;background:#f4f6f9;color:#18334b}.lab-heading,.lab-card-heading,.lab-actions,.lab-sheet footer,.lab-search{display:flex;align-items:center;justify-content:space-between;gap:12px}.lab-heading{margin-bottom:16px}.lab-heading h1{display:flex;align-items:center;gap:9px;margin:0;font-size:23px}.lab-heading .eyebrow{margin:0 0 5px}.lab-tabs{display:flex;flex-direction:row;gap:4px;padding:4px;background:#e5e9ef;border-radius:8px;max-width:480px;margin:0 auto 16px}.lab-tabs button{flex:1;justify-content:center;border:0;background:transparent;color:#5d6a7a}.lab-tabs button[aria-current]{background:#fff;color:#304663;box-shadow:0 1px 4px #223e5720}.lab-tabs span{margin-left:5px}.lab-card{min-width:0;background:#fff;padding:18px;border-radius:12px;box-shadow:0 2px 9px #17395104}.lab-card h2{font-size:17px;margin:0}.lab-card-heading{margin-bottom:14px;flex-wrap:wrap}.lab-actions{flex-wrap:wrap}.lab-workspace button,.lab-sheet button{min-height:34px;font-size:13px}.lab-workspace .primary,.lab-sheet .primary{background:#007e83;color:#fff;border-color:#007e83}.lab-unframed{border:0;padding:0;margin:0;min-width:0}.lab-patient{margin-bottom:16px}.lab-search{margin-bottom:12px}.lab-search input{flex:1;min-width:0}.lab-workspace input:not([type=checkbox]),.lab-workspace select,.lab-workspace textarea,.lab-sheet input:not([type=checkbox]),.lab-sheet select,.lab-sheet textarea{width:100%;box-sizing:border-box;min-width:0;border:1px solid #d9e0e7;background:#fff;color:#273d4c;border-radius:6px;padding:9px 10px;font:inherit;font-size:13px}.lab-workspace input:focus,.lab-workspace select:focus,.lab-workspace textarea:focus,.lab-sheet input:focus,.lab-sheet textarea:focus{outline:2px solid #008b8f60;outline-offset:1px}.lab-workspace textarea,.lab-sheet textarea{min-height:65px;resize:vertical}.lab-workspace label,.lab-sheet label{display:grid;gap:6px;font-size:12px;color:#72808b}.lab-patient-fields{display:grid;grid-template-columns:1fr 1fr 1fr;gap:14px;margin-bottom:9px}.lab-workspace small,.lab-sheet small{display:block;font-size:12px;color:#86909b;line-height:1.6}.lab-patient-results{display:grid;gap:5px;max-height:140px;overflow:auto;margin-bottom:14px}.lab-patient-results button{display:flex;justify-content:space-between;flex-wrap:wrap;background:#f5fafa;text-align:left}.lab-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;align-items:start}.lab-filters{display:flex;gap:10px;align-items:center;margin:13px 0}.lab-filters>input{flex:1}.lab-filters>label{min-width:145px}.lab-muted{font-size:12px;color:#83909c;line-height:1.6}.lab-catalogue{max-height:calc(100dvh - 425px);min-height:280px;overflow:auto}.lab-definition{border-bottom:1px solid #edf0f3;padding:12px 4px}.lab-selection{display:flex!important;align-items:flex-start;gap:11px!important;cursor:pointer}.lab-selection input{margin-top:3px;flex-shrink:0;accent-color:#596f8e}.lab-selection strong{color:#273d4c;font-size:14px}.lab-selection>span{min-width:0;overflow-wrap:anywhere}.lab-selection .lab-muted{display:block}.lab-definition details{font-size:12px;color:#64758a;margin:8px 0 0 26px}.lab-definition summary{cursor:pointer}.lab-definition li{margin:5px 0}.lab-selected-list{max-height:calc(100dvh - 475px);min-height:220px;overflow:auto;margin:14px 0}.lab-selected-list article{padding:12px;background:#fafbfd;border:1px solid #ecf0f4;border-radius:8px;margin-bottom:10px}.lab-selected-list .lab-card-heading{margin-bottom:9px}.lab-selected-list strong{overflow-wrap:anywhere}.lab-selected-list button{background:transparent;color:#63778b;border-color:transparent}.lab-selected-list .empty{color:#8695a5;display:flex;flex-direction:column;align-items:center}.lab-order-notes{margin-top:12px}.lab-save{width:100%;justify-content:center;margin-top:14px;padding:12px}.lab-order-history{display:grid;gap:10px;margin-top:16px}.lab-order-history>button{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:17px;text-align:left;background:#fff;border:1px solid #e4e9ee}.lab-order-history>button:hover{border-color:#72b8be;background:#f8fcfc}.lab-order-history>button>div{display:grid;gap:7px;min-width:0;overflow-wrap:anywhere}.lab-order-history>button>div:last-child{text-align:right;flex-shrink:0}.lab-preview-link{color:#008a9b;font-size:12px}.lab-sheet{padding:20px;min-width:min(560px,80vw);max-width:850px}.lab-sheet h3{font-size:16px}.lab-sheet footer{justify-content:flex-end;margin-top:20px;flex-wrap:wrap}.lab-sheet form label{margin:14px 0}.lab-sheet .lab-check{display:flex;align-items:center;white-space:nowrap;color:#536575}.lab-check input{width:auto;accent-color:#007e83}.lab-master{width:min(830px,85vw)}.lab-master-list{max-height:52dvh;overflow:auto}.lab-master-list article{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid #e9edf2}.lab-master-list article>div{min-width:0;overflow-wrap:anywhere}.lab-master-list p{margin:4px 0;font-size:12px;color:#83909c}.lab-visit-list{max-height:58dvh;overflow:auto}.lab-visit-list article{padding:15px;margin:12px 0;background:#f6f9fc;border-radius:8px}.lab-visit-list li{padding:4px 0;overflow-wrap:anywhere}.lab-recovery{padding:16px;border:1px solid #d7ad67;border-radius:9px;background:#fff8e8;margin-bottom:14px}.lab-recovery button{margin-top:12px}.lab-workspace fieldset:disabled{opacity:.7}@media(max-width:900px){.lab-workspace{padding:16px}.lab-columns{grid-template-columns:1fr}.lab-catalogue{max-height:440px}.lab-selected-list{max-height:none;min-height:130px}}@media(max-width:600px){.lab-workspace{padding:12px}.lab-patient-fields{grid-template-columns:1fr}.lab-card{padding:14px}.lab-filters{flex-wrap:wrap}.lab-filters>input{flex-basis:100%}.lab-filters>label{flex:1}.lab-actions{gap:6px}.lab-order-history>button{flex-direction:column;gap:12px}.lab-order-history>button>div:last-child{text-align:left}.lab-sheet{min-width:0;padding:16px}.lab-master{width:auto}.lab-heading h1{font-size:21px}}@media(min-width:1000px)and (min-height:800px){.opd-root:has(>section:not([hidden]) .lab-workspace){height:100dvh;display:flex;flex-direction:column;overflow:hidden}.opd-root:has(>section:not([hidden]) .lab-workspace)>section:not([hidden]){flex:1;min-height:0}.lab-workspace{height:100%;min-height:0;box-sizing:border-box;display:flex;flex-direction:column;overflow:auto}.lab-workspace>.lab-heading,.lab-workspace>.lab-tabs,.lab-workspace>.lab-unframed,.lab-workspace>.notice,.lab-workspace>.lab-recovery{flex-shrink:0}.lab-tabs{width:480px}.lab-columns{flex:1;min-height:330px;align-items:stretch}.lab-columns>.lab-card{display:flex;flex-direction:column;min-height:0}.lab-catalogue{flex:1;min-height:0;max-height:none}.lab-selected>.lab-unframed{display:flex;flex-direction:column;flex:1;min-height:0}.lab-selected-list{flex:1;min-height:50px;max-height:none}.lab-order-notes,.lab-save{flex-shrink:0}.lab-workspace>.lab-card{flex:1;min-height:0;display:flex;flex-direction:column}.lab-order-history{overflow:auto}}.lab-top{position:relative;flex-shrink:0}.lab-order-notes summary{cursor:pointer;font-size:12px;color:#63778b}.lab-order-notes label{margin-top:8px}.lab-import-summary{font-size:12px;line-height:1.5;margin:10px 0 0;color:#59728a}.lab-selected>.notice{padding:10px 12px;margin:10px 0 0;background:#fff8ee;border-color:#ecd8b5;color:#956328;font-size:12px}.lab-selected>.notice ul{margin:6px 0 0;padding-left:18px}@media(min-width:1000px){.lab-top .lab-tabs{position:absolute;left:50%;top:0;transform:translate(-50%);width:440px}.lab-top{margin-bottom:4px}}.lab-selected-group>h3{margin:0 0 10px;padding:9px 12px;border-left:3px solid #506b91;border-radius:4px;background:#edf2f8;color:#243f62;font-size:14px;overflow-wrap:anywhere}.lab-selected-group+.lab-selected-group{margin-top:18px}.lab-card.lab-patient{padding:12px 16px;margin-bottom:12px}.lab-patient>.lab-card-heading{margin-bottom:8px}.lab-patient-row{display:grid;grid-template-columns:minmax(280px,1.35fr) minmax(0,3fr);gap:14px;align-items:end;margin-bottom:6px}.lab-patient-row .lab-search{align-items:end;gap:8px;margin:0;min-width:0}.lab-patient-row .lab-search>label{flex:1;min-width:0}.lab-patient-row .lab-search>button{flex-shrink:0;min-height:36px}.lab-patient-row .lab-patient-fields{gap:12px;margin:0}.lab-patient-results{margin-top:8px;margin-bottom:6px}@media(max-width:1000px){.lab-patient-row{grid-template-columns:1fr;gap:10px}}.prescription-dispense-guard{border:0;padding:0;margin:0;min-width:0;width:100%}.opd-prescription-dispense{display:grid;grid-template-columns:minmax(265px,.8fr) minmax(0,1.65fr);gap:18px;align-items:start}.opd-prescription-dispense>*{min-width:0}.saved-prescriptions{display:grid;gap:16px}.saved-prescriptions .card{padding:18px;min-width:0}.saved-prescriptions h2{font-size:17px;margin:0 0 14px}.prescription-search{display:flex;gap:8px;flex-wrap:wrap}.prescription-search input{min-width:0;flex:1 1 140px;padding:9px;border:1px solid #d9dfe4;border-radius:6px}.prescription-visits{display:grid;gap:8px;max-height:40vh;overflow:auto}.prescription-visits button{display:flex;flex-direction:column;align-items:flex-start;gap:5px;text-align:left;white-space:normal;width:100%;background:#f5f8f8;border:1px solid transparent;padding:12px;border-radius:8px}.prescription-visits button.selected{background:#e8f6f4;border-color:#77b6b0}.prescription-visits span{font-size:12px;color:#67807c;font-weight:400;overflow-wrap:anywhere}.prescription-visits strong{overflow-wrap:anywhere}.prescription-item{border-top:1px solid #e3e9e7;padding:14px 0}.prescription-item>strong,.prescription-item>span{display:block;overflow-wrap:anywhere}.prescription-item>span{font-size:12px;color:#6b7c77;margin-top:5px}.prescription-item p{font-size:13px;line-height:1.5}.prescription-warning{color:#986210;background:#fff7e6;padding:9px;border-radius:6px;font-size:13px}.prescription-review{padding:12px;background:#f1f8f6;border-radius:8px;margin-bottom:14px}.prescription-review p{font-size:13px;line-height:1.5}.pharmacy-app .opd-prescription-dispense .dispense-patient-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.pharmacy-app .opd-prescription-dispense .counter-sale-actions{flex-wrap:wrap}.opd-prescription-dispense .dispense-sales-panel{padding:18px}.opd-prescription-dispense .dispense-empty-medicines{min-height:220px}.saved-prescriptions .error button{margin-top:8px}@media(max-width:1100px){.opd-prescription-dispense{grid-template-columns:1fr}.prescription-visits{max-height:280px}}@media(max-width:500px){.pharmacy-app .opd-prescription-dispense .dispense-patient-fields{grid-template-columns:1fr}}:root{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#243c36;background:#f5f7f6;font-size:14px;line-height:1.5;font-weight:400;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:39px;padding:8px 13px;border:1px solid #d8e2dd;border-radius:8px;background:#fff;color:#335448;font-weight:600;cursor:pointer;transition:background .15s}button:hover{background:#eef5f1}button:disabled{opacity:.48;cursor:not-allowed}button:focus-visible,a:focus-visible{outline:3px solid #8bc7b2;outline-offset:3px}.primary{background:#146b53;color:#fff;border-color:#146b53}.primary:hover{background:#0c5340}.secondary{background:#edf6f1;border-color:#c6dfd2}.field{display:flex;flex-direction:column;gap:6px;margin:0 0 16px;min-width:0}.field span{font-size:12px;font-weight:650;color:#52645e}.field input,.field select{width:100%;min-width:0;min-height:42px;border:1px solid #d7e1db;border-radius:7px;padding:9px 11px;background:#fff;color:#203e33;outline:none}.field input:focus,.field select:focus{border-color:#499d7e;box-shadow:0 0 0 3px #dff1e7}.check{display:flex;align-items:center;gap:9px;margin:12px 0 18px;font-size:13px}.check input{width:17px;height:17px;accent-color:#146b53}fieldset{padding:0;margin:0;border:0;min-width:0}h1,h2,h3,p{margin:0}h1{font-size:30px;letter-spacing:-1px;color:#193e30;line-height:1.25}h2{font-size:17px;letter-spacing:-.3px}h3{font-size:14px;margin:22px 0 10px}small{display:block;color:#82918a;font-size:11px;line-height:1.6}p{color:#78877f}hr{border:0;border-top:1px solid #e5ece7;margin:24px 0}.app-shell{display:flex;min-height:100vh}.sidebar{width:238px;background:#fff;border-right:1px solid #e3eae5;padding:31px 18px 16px;position:fixed;height:100dvh;display:flex;flex-direction:column;z-index:2}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:#15573f;margin:0 12px 34px}.brand strong{display:block;font-size:20px;letter-spacing:.2px;overflow-wrap:anywhere;line-height:1.2}.brand span{font-size:9px;letter-spacing:4px;font-weight:650}.workspace-label{font-size:9px;letter-spacing:1.5px;color:#a0aaa5;margin:0 14px 24px}.workspace-label span{display:block;font-size:11px;letter-spacing:1px;color:#697c73;margin-top:5px}nav{display:flex;flex-direction:column;gap:7px}.sidebar button{width:100%;justify-content:flex-start;background:transparent;border:0;font-size:13px;color:#78867e;min-height:45px;padding:11px 15px}.sidebar button:hover{background:#f4f8f5}.sidebar button.selected{background:#eaf3ed;color:#146b53}.nav-dot{width:5px;height:5px;background:#146b53;border-radius:50%;margin-left:auto}.sidebar-bottom{margin-top:auto;padding-top:30px}.user-block{display:flex;align-items:center;border-top:1px solid #edf0ee;margin-top:20px;padding:22px 0 0;gap:10px}.avatar{border-radius:50%;width:34px;height:34px;display:grid;place-items:center;background:#eaf1e9;color:#357151;font-size:11px}.user-block strong{font-size:11px;max-width:112px;display:block;overflow-wrap:anywhere}.user-block small{font-size:10px}.user-block button{padding:5px;width:28px;margin-left:auto}.app-shell main{margin-left:238px;flex:1;min-width:0}.topbar{height:73px;border-bottom:1px solid #e3eae5;background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 36px;font-size:11px;color:#8d9a93}.breadcrumb{display:flex;gap:15px;align-items:center}.breadcrumb strong{font-weight:500;color:#486153}.connection{display:flex;gap:7px;align-items:center}.connection span{width:6px;height:6px;border-radius:50%;background:#4b9b75}.main-content{max-width:1650px;margin:auto;padding:32px 36px 20px}.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:28px;gap:16px}.eyebrow{font-size:9px;font-weight:700;letter-spacing:2px;color:#83958a;margin-bottom:7px}.page-heading p:not(.eyebrow){margin-top:8px;font-size:12px}.refresh{font-size:11px;background:#fff;min-width:99px}.stack{display:flex;flex-direction:column;gap:23px}.dashboard-welcome{background:#eaf2eb;border:1px solid #deeadf;border-radius:12px;display:flex;justify-content:space-between;align-items:center;gap:20px;padding:25px 28px;background-image:radial-gradient(ellipse at 90% 180%,#c7dec850,transparent 60%)}.dashboard-welcome h2{font-size:23px;letter-spacing:-.7px;margin:10px 0 6px;color:#225139}.dashboard-welcome p{font-size:12px}.dashboard-welcome .badge{font-size:10px;background:#f7fbf6;color:#567c5e}.dashboard-welcome button{font-size:11px;padding:11px 18px}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:17px}.metrics>div{border:1px solid #e2e9e3;background:#fff;border-radius:10px;padding:21px 22px}.metrics span{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:11px;color:#7b8c80}.metrics svg{color:#6f9a7e}.metrics strong{display:block;font-size:28px;font-weight:600;letter-spacing:-1px;margin:12px 0 5px;color:#274e38}.metrics small{font-size:10px}.card{background:#fff;border:1px solid #e1e8e2;border-radius:11px;padding:23px 25px;min-width:0}.card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:22px}.card-heading p{font-size:11px;margin-top:4px}.card-heading button{font-size:10px;min-height:32px;white-space:nowrap}.split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:23px;align-items:start}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}.filters{display:flex;gap:16px;align-items:flex-end;flex-wrap:wrap;margin-bottom:12px}.filters>.field{flex:1;min-width:160px;margin:0}.filters>.field:first-child{flex:2}.filters .primary{margin-bottom:0}.hint{font-size:11px;margin:12px 0 18px;line-height:1.65}.table-scroll{overflow:auto;max-width:100%;border-radius:5px}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap;font-size:11px}th{font-size:10px;color:#7e8d82;font-weight:550;padding:12px 10px;background:#f7f9f6;border-bottom:1px solid #e7ede6}td{padding:16px 10px;border-bottom:1px solid #edf1ec;color:#5b6e5e}td strong{font-weight:600;color:#365441}td button{font-size:10px;min-height:30px;padding:5px 9px}tr:last-child td{border:0}td small{font-size:10px;max-width:320px;white-space:normal}td .check{margin:0;white-space:normal}.badge{display:inline-block;background:#edf5ef;padding:4px 8px;border-radius:5px;color:#528166;font-size:10px;font-weight:550}.badge.warning{background:#fff4dd;color:#b58126}.badge.danger{background:#fceeea;color:#bc6757}.empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:38px 20px;color:#97a399;text-align:center;font-size:12px}.empty strong{color:#587262;font-size:15px}.attention-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 30px}.attention-list>div{display:flex;align-items:center;gap:11px;min-width:0}.attention-list strong{font-size:11px;display:block}.attention-list .badge{margin-left:auto;white-space:nowrap}.alert-icon{width:35px;height:35px;flex-shrink:0;border-radius:8px;background:#f9f4e6;display:grid;place-items:center;color:#bbaa70}.notice{border:1px solid #bddaca;border-radius:8px;background:#ecf6ef;color:#32684b;padding:14px 18px;margin-bottom:20px;font-size:13px;overflow-wrap:anywhere}.error{color:#a14b42;background:#fff1ee;padding:12px;border-radius:7px;border-color:#edc7c0}.total-row{display:flex;justify-content:space-between;gap:16px;align-items:center;border-top:1px solid #e6ece6;padding-top:22px;margin-top:24px}.total-row strong{font-size:24px;color:#1f6348}.subnav{display:flex;gap:8px;flex-wrap:wrap}.subnav button{background:transparent;border-color:transparent;font-size:12px}.subnav button.active{background:#e6f0e8;border-color:#d6e5d9;color:#246743}.row-actions{display:flex;gap:6px;flex-wrap:wrap;max-width:300px}.spin{animation:spin 1.2s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}footer{display:flex;justify-content:space-between;font-size:9px;color:#a0ada3;letter-spacing:.25px;margin-top:30px}dialog{border:1px solid #dbe6de;border-radius:14px;padding:26px;max-width:950px;width:calc(100% - 40px);max-height:90dvh;color:#2c4836;box-shadow:0 25px 100px #17352330}dialog::backdrop{background:#19362775;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.modal-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:24px}.modal-heading h2{font-size:20px}.modal-heading button{border:0}.invoice-brand{display:flex;justify-content:space-between;align-items:center;border-bottom:2px solid #216c4f;padding:15px 0}.invoice-brand strong{font-size:23px;color:#1c6247}.invoice-brand span{font-size:11px;letter-spacing:2px}.invoice-details{display:flex;justify-content:space-between;margin:25px 0}.invoice-totals{width:330px;max-width:100%;margin:20px 0 20px auto}.invoice-totals>div{display:flex;justify-content:space-between;gap:12px;padding:5px;font-size:12px}.invoice-totals>div:nth-child(5){border-top:1px solid #ddd;border-bottom:1px solid #ddd;padding:10px 5px}.no-print{margin-top:25px}.login{min-height:100dvh;display:grid;place-items:center;background:#fff;padding:28px 16px}.login-form{width:100%;max-width:530px;padding:24px 36px;text-align:center}.login-form h1{margin:20px 0 12px;font-size:34px;line-height:1.2;letter-spacing:-.8px;color:#202426}.login-subtitle{color:#6b7075;font-size:16px}.login-form form{margin-top:28px;text-align:left}.login-form .field{margin-bottom:16px}.login-form .field span{color:#575d63;font-weight:500;font-size:13px}.login-form .field input{border-color:#d6d9dc;border-radius:7px;min-height:44px;font-size:16px;color:#24292d}.login-form .field input:focus{border-color:#00858a;box-shadow:0 0 0 3px #00858a15}.login-form button{width:100%;min-height:46px;margin-top:8px;border-color:#006b6e;background:#006b6e;justify-content:center;font-size:16px;font-weight:600}.login-form button:hover{background:#00595c}.login-form .hint{font-size:12px;line-height:1.6;margin:18px 0 0;color:#73777b}.login-powered-by{margin-top:32px}.login-powered-by p{font-size:12px;color:#7b7d80}.login-powered-by img{display:block;width:230px;max-width:100%;height:auto;margin:10px auto 0}.fatal{padding:50px}@media(min-width:1500px){.main-content{padding:40px 50px}}@media(max-width:1100px){.sidebar{width:205px;padding:25px 12px}.app-shell main{margin-left:205px}.main-content{padding:25px 22px}.topbar{padding:0 22px}.brand{gap:9px}.brand strong{font-size:17px}.brand span{font-size:8px}.metrics{gap:10px}.metrics>div{padding:17px 14px}.metrics strong{font-size:24px}.attention-list,.split{grid-template-columns:1fr}}@media(max-width:760px){.app-shell{display:block}.sidebar{position:static;width:100%;height:auto;padding:15px;display:block}.sidebar .brand{margin:0 0 16px}.workspace-label,.sidebar-bottom,.nav-dot{display:none}.sidebar nav{flex-direction:row;overflow-x:auto;gap:4px}.sidebar nav button{width:auto;flex-shrink:0;font-size:11px;padding:9px;min-height:38px}.sidebar nav svg{width:15px}.app-shell main{margin:0}.topbar{height:48px;padding:0 16px}.connection{display:none}.main-content{padding:23px 15px}.page-heading{margin-bottom:22px}h1{font-size:26px}.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.card{padding:18px 15px}.card-heading{gap:10px}.dashboard-welcome{padding:20px;align-items:flex-start;flex-direction:column}.dashboard-welcome h2{font-size:22px}.form-grid{gap:0 12px}.filters{align-items:stretch}.login{padding:24px 16px}.login-form{padding:16px 8px}.login-form h1{font-size:30px}footer{gap:15px}.invoice-brand{align-items:flex-start;gap:10px}.invoice-brand strong{font-size:18px}.invoice-brand span{font-size:9px}dialog{padding:19px}.sidebar-bottom.mobile-open{display:block}.card-heading h2{font-size:16px}}@media print{@page{size:A4;margin:12mm}body{background:#fff!important}.app-shell,.no-print,.modal-heading{display:none!important}dialog{position:static!important;width:100%!important;max-width:none!important;max-height:none!important;height:auto!important;overflow:visible!important;border:0!important;box-shadow:none!important;padding:0!important;margin:0!important}dialog::backdrop{display:none}.print-bill{font-size:10px;color:#000}table{white-space:normal;font-size:10px}th,td{padding:8px 5px;break-inside:avoid}.table-scroll{overflow:visible}.invoice-totals{break-inside:avoid}}.mobile-account{display:none}@media(max-width:760px){.mobile-account{display:flex;gap:5px}.mobile-account button{font-size:10px;min-height:30px;padding:4px 6px}.topbar .breadcrumb{font-size:10px;gap:6px}.topbar .breadcrumb strong,.topbar .breadcrumb span{display:none}}.dashboard-shell .topbar{height:52px}.main-content.dashboard-content{padding:12px 20px}.dashboard-content .page-heading{margin-bottom:12px}.dashboard-content .page-heading h1{font-size:23px;letter-spacing:-.5px}.dashboard-content footer{margin-top:10px}.dashboard-content .notice{padding:10px 14px;margin-bottom:8px}.dashboard-overview{display:flex;flex-direction:column;gap:10px}.dashboard-stock-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.dashboard-stock-card,.dashboard-overview .card{background:#fff;border:1px solid #e3e6e9;border-radius:12px;padding:12px}.dashboard-stock-card h2,.dashboard-overview .card h2{color:#1d304d;font-size:17px;font-weight:600}.dashboard-stock-count{display:flex;align-items:center;gap:10px;margin:8px 0}.dashboard-stock-count svg{color:#05b7c6;flex-shrink:0}.dashboard-stock-count strong{color:#17191c;font-size:27px;font-weight:600;line-height:1}.dashboard-stock-card p{color:#8b8e92;font-size:12px;line-height:1.4}.dashboard-overview .card-heading{margin-bottom:8px;align-items:center;min-height:24px}.dashboard-overview .dashboard-empty{color:#898d92;font-size:13px;line-height:1.5;margin:0;padding:0}.dashboard-alerts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 20px}.dashboard-alert{display:flex;align-items:center;gap:10px;min-width:0}.dashboard-alert>div{min-width:0;flex:1}.dashboard-alert strong{font-size:12px;font-weight:600;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dashboard-alert .badge{white-space:nowrap}.dashboard-pagination{display:flex;flex-direction:row;align-items:center;justify-content:flex-end;gap:8px;margin-top:10px;font-size:11px;color:#78877f}.dashboard-pagination span{margin-right:auto}.dashboard-pagination button{min-height:30px;padding:4px 10px;font-size:11px}.dashboard-bills th,.dashboard-bills td{padding:6px 8px}@media(max-width:760px){.main-content.dashboard-content{padding:14px 12px}.dashboard-stock-metrics{gap:8px}.dashboard-stock-card{padding:12px 10px}.dashboard-stock-card h2{font-size:14px}.dashboard-stock-card p{font-size:11px}.dashboard-alerts{grid-template-columns:1fr}}.dispense-shell .topbar,.inventory-shell .topbar,.account-shell .topbar,.purchase-shell .topbar{height:52px}.main-content.dispense-content,.main-content.inventory-content,.main-content.account-content,.main-content.purchase-content{padding:12px 20px}.dispense-content .page-heading,.inventory-content .page-heading,.account-content .page-heading,.purchase-content .page-heading{margin-bottom:12px}.dispense-content .page-heading h1,.inventory-content .page-heading h1,.account-content .page-heading h1,.purchase-content .page-heading h1{font-size:23px;letter-spacing:-.5px}.dispense-layout{display:grid;grid-template-columns:minmax(245px,.38fr) minmax(0,.62fr);gap:18px;align-items:start}.dispense-layout .card{padding:20px;border:0;border-radius:12px}.dispense-layout h2,.dispense-layout h3{color:#181a1d;font-size:17px;font-weight:600;letter-spacing:-.3px}.dispense-layout .card-heading{margin-bottom:18px}.counter-sales-panel p{font-size:14px;line-height:1.55;color:#909398}.counter-sale-actions{display:flex;flex-direction:column;align-items:flex-start;gap:6px;margin-top:18px}.counter-sale-actions button{min-height:35px;justify-content:flex-start;min-width:210px;font-size:12px;border:0;border-radius:6px;color:#fff}.counter-sale-actions .new-counter-sale{background:#2e7446}.counter-sale-actions .patient-sales-return{background:#ff393f}.clear-bill-row{display:flex;justify-content:flex-end;margin:-8px 0 12px}.clear-bill-row button{background:transparent;border:0;padding:0;min-height:28px;color:#00787b;font-size:14px;font-weight:400}.clear-bill-row button:disabled{color:#a2a4a8}.dispense-patient-fields{gap:0 12px}.dispense-patient-fields .field{margin-bottom:14px;gap:5px}.dispense-patient-fields .field span{font-size:12px;color:#8b8d92;font-weight:400}.dispense-patient-fields input{border-color:#dedfe1;border-radius:6px;min-height:36px;padding:7px 9px;color:#282b30}.dispense-patient-fields input::placeholder{color:#b6b8bc}.dispense-medicines-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:2px 0 0}.dispense-medicines-heading h3{margin:0}.dispense-medicines-heading .add-medicine{background:#d4e9eb;color:#00787c;border:0;border-radius:24px;padding:7px 13px;font-size:15px;font-weight:400;min-height:36px}.dispense-empty-medicines{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:8px;min-height:170px;padding:18px 10px}.medicine-empty-icon{position:relative;width:62px;height:52px;color:#929497;margin-bottom:6px}.medicine-empty-icon svg:first-child{position:absolute;top:0;left:2px}.medicine-empty-icon svg:last-child{position:absolute;right:0;bottom:0}.dispense-empty-medicines strong{font-size:20px;color:#151619;font-weight:650}.dispense-empty-medicines p{font-size:14px;color:#96989d}.dispense-medicine-lines{margin:10px 0}.dispense-medicine-line{border-bottom:1px solid #e3e4e6;padding:10px 0}.dispense-medicine-line>div{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:13px}.dispense-medicine-line p{font-size:11px;margin:3px 0}.dispense-medicine-line button{border:0;color:#bd514c;min-height:30px;padding:4px}.dispense-totals{margin:0;padding:12px 0 0;border-top:1px solid #dedfe1}.dispense-totals>div{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:31px;color:#202225;font-size:14px}.dispense-totals dd{margin:0;font-variant-numeric:tabular-nums}.dispense-totals input{width:95px;text-align:right;border:1px solid #e3e5e7;border-radius:5px;padding:4px 7px;min-height:28px;color:#555c61}.dispense-grand-total{font-weight:650}.dispense-layout .amount-received-heading{margin:14px 0 12px;font-size:15px}.dispense-payments{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.dispense-payments>label,.dispense-payments>div{display:flex;flex-direction:column;gap:5px;min-width:0}.dispense-payments span{font-size:11px;color:#92969b}.dispense-payments input,.dispense-payments output{min-width:0;width:100%;padding:7px 9px;min-height:36px;text-align:right;border-radius:5px;border:1px solid #dedfe1;color:#383d42}.dispense-payments output{background:#e3f8fa;border-color:#e3f8fa;font-weight:600;color:#181d20}.dispense-payment-hint,.dispense-estimate-note{font-size:10px;color:#95999e;margin-top:10px;line-height:1.4}.dispense-estimate-note{margin-top:4px}.dispense-sales-panel form>.primary{width:100%;margin-top:12px;background:#007e82;border-color:#007e82}.dispense-sales-panel .error{margin-top:12px}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}.return-bill-result{display:flex;flex-direction:column;align-items:flex-start;gap:12px}@media(max-width:1100px){.dispense-layout{grid-template-columns:minmax(210px,.32fr) minmax(0,.68fr);gap:12px}.dispense-layout .card{padding:16px}.counter-sale-actions button{min-width:0;width:100%;font-size:11px}.counter-sales-panel p{font-size:12px}}@media(max-width:900px){.dispense-layout{grid-template-columns:1fr}.counter-sales-panel .card-heading{margin-bottom:10px}.counter-sale-actions{flex-direction:row;flex-wrap:wrap;margin-top:12px}.counter-sale-actions button{width:auto}}@media(max-width:500px){.main-content.dispense-content,.main-content.inventory-content,.main-content.account-content,.main-content.purchase-content{padding:12px}.dispense-layout .card{padding:14px}.dispense-patient-fields{grid-template-columns:1fr}.dispense-payments{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(min-width:901px)and (max-height:850px){.dashboard-shell .topbar,.dispense-shell .topbar,.inventory-shell .topbar,.account-shell .topbar,.purchase-shell .topbar{height:44px}.main-content.dashboard-content,.main-content.dispense-content,.main-content.inventory-content,.main-content.account-content,.main-content.purchase-content{padding-top:8px;padding-bottom:8px}.dashboard-content .page-heading,.dispense-content .page-heading,.inventory-content .page-heading,.account-content .page-heading,.purchase-content .page-heading{margin-bottom:8px}.dashboard-content .refresh,.dispense-content .refresh,.inventory-content .refresh,.account-content .refresh,.purchase-content .refresh{min-height:32px;padding-top:5px;padding-bottom:5px}.dispense-content footer{margin-top:6px}.dispense-layout .card{padding:14px 16px}.dispense-sales-panel{position:relative}.dispense-sales-panel .card-heading{margin-bottom:12px;padding-right:80px}.clear-bill-row{position:absolute;top:12px;right:16px;margin:0}.dispense-patient-fields .field{margin-bottom:10px}.dispense-patient-fields input{min-height:32px;padding-top:5px;padding-bottom:5px}.dispense-empty-medicines{min-height:72px;padding:4px;gap:2px}.medicine-empty-icon{height:26px;width:38px;margin-bottom:0}.medicine-empty-icon svg:first-child{width:24px;height:24px}.medicine-empty-icon svg:last-child{width:17px;height:17px}.dispense-empty-medicines strong{font-size:16px}.dispense-empty-medicines p{font-size:12px}.dispense-totals{padding-top:6px}.dispense-totals>div{min-height:24px;font-size:13px}.dispense-totals input{min-height:24px;padding-top:2px;padding-bottom:2px}.dispense-layout .amount-received-heading{margin:8px 0}.dispense-payments input,.dispense-payments output{min-height:32px;padding:5px 8px}.dispense-payment-hint{margin-top:6px}.dispense-sales-panel form>.primary{margin-top:8px;min-height:34px;padding-top:6px;padding-bottom:6px}}.main-content.inventory-content,.main-content.account-content,.main-content.purchase-content{background:#f5f7fa}.inventory-content footer{margin-top:14px}.inventory-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:#e5e7eb;border-radius:22px;padding:3px;margin-bottom:12px;gap:2px}.inventory-tabs button{min-width:0;min-height:30px;border:0;border-radius:20px;background:transparent;color:#24272b;font-size:12px;padding:5px 8px}.inventory-tabs button{transition:none}.inventory-tabs button[aria-selected=true]{background:#fff;box-shadow:0 1px 3px #192b4510}.inventory-workspace .card{padding:14px 16px;margin-bottom:12px;border:1px solid #e8eaee;border-radius:12px;box-shadow:none}.inventory-workspace .card-heading{margin-bottom:10px}.inventory-workspace h2{color:#152747;font-size:16px;font-weight:600;letter-spacing:-.2px}.inventory-search{width:100%;min-width:0;min-height:34px;border:1px solid #dfe1e5;border-radius:5px;padding:6px 8px;font-size:14px;color:#22262c;background:#fff}.inventory-search::placeholder{color:#adb1b7}.inventory-stock-filters{display:flex;align-items:center;flex-wrap:wrap;gap:10px 16px;margin:10px 0}.inventory-menu{min-width:0;max-width:100%;width:auto;color:#007e83;background-color:transparent;border:0;min-height:32px;font-size:14px;padding:4px 6px;border-radius:5px}.inventory-stock-filters .inventory-menu:first-child{margin-right:auto;max-width:50%}.inventory-toggle{display:flex;align-items:center;gap:8px;position:relative;color:#282c31;font-size:13px;cursor:pointer}.inventory-toggle input{position:absolute;opacity:0;width:42px;height:24px;right:0}.inventory-toggle>span{display:inline-flex;align-items:center;width:42px;height:24px;border-radius:20px;background:#c8cace;padding:2px}.inventory-toggle>span:after{content:"";width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0002;transition:transform .15s}.inventory-toggle input:checked+span{background:#00bacb}.inventory-toggle input:checked+span:after{transform:translate(18px)}.inventory-toggle input:focus-visible+span{outline:2px solid #007e83;outline-offset:3px}.inventory-note{color:#8f949c;font-size:11px;line-height:1.5;margin:8px 0}.inventory-filter-card .inventory-note{margin-bottom:0}.inventory-workspace table{white-space:normal;table-layout:auto;min-width:900px}.inventory-workspace th{color:#203457;font-size:10px;background:#f3f3f5;padding:11px 7px;border:0;font-weight:600}.inventory-workspace td{color:#252b33;font-size:11px;padding:10px 7px;border-bottom:1px solid #e1e4e8}.inventory-workspace td small{color:#969ba1;font-size:10px}.inventory-workspace td strong{color:#24272b}.inventory-workspace .inventory-receipt-link{background:none;border:0;padding:0;min-height:26px;font-size:inherit;color:inherit;font-weight:600;text-align:left;justify-content:flex-start}.inventory-receipt-link:hover{text-decoration:underline}.inventory-status{white-space:nowrap;font-size:10px}.inventory-status.good{color:#2aa855}.inventory-status.warning{color:#a96718}.inventory-status.danger{color:#dc4949}.inventory-pagination{display:flex;align-items:center;justify-content:flex-end;gap:8px;font-size:10px;margin-top:10px}.inventory-pagination button{min-height:28px;font-size:10px;padding:4px 8px}.inventory-low-stock p{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;font-size:12px;margin:8px 0}.inventory-stock-form .inventory-menu{display:block;margin:12px 0}.inventory-stock-form .field{margin-bottom:10px}.inventory-stock-form .field span{font-size:12px;color:#7b818a}.inventory-stock-form .field input{padding:6px 8px;min-height:34px;border-radius:5px;border-color:#dfe1e5;color:#242830}.inventory-stock-form .field input::placeholder{color:#b1b5bb}.inventory-available{color:#009fac;font-size:13px;margin:12px 0}.inventory-quantity .field{flex-direction:row;align-items:center;justify-content:space-between;gap:12px;margin:12px 0}.inventory-quantity .field span{font-size:14px;color:#252a30}.inventory-quantity input{width:150px;text-align:right}.inventory-return-value{font-size:13px;color:#24292e;font-weight:600;margin:12px 0}.inventory-stock-form .primary{background:#00b9cc;border-color:#00b9cc;border-radius:22px;min-height:34px;padding:6px 14px;font-size:13px}.inventory-ledger-filters{display:flex;align-items:center;gap:12px}.inventory-ledger-filters .inventory-search{flex:1}.inventory-ledger-filters .inventory-menu{max-width:180px}.inventory-export{background:transparent;border:0;color:#007e83;padding:4px 0;font-size:14px;min-height:32px}.inventory-workspace td.movement-positive{color:#00afc1;font-weight:600}.inventory-workspace td.movement-negative{color:#eb8c2e;font-weight:600}.inventory-movement-detail>div{display:flex;justify-content:space-between;gap:20px;padding:10px 0;border-bottom:1px solid #e6e9ee;font-size:13px}.inventory-movement-detail dt{color:#7f8790}.inventory-movement-detail dd{margin:0;text-align:right;overflow-wrap:anywhere;max-width:70%}@media(max-width:760px){.main-content.inventory-content,.main-content.account-content,.main-content.purchase-content{padding:12px}.inventory-tabs{border-radius:12px}.inventory-tabs button{font-size:10px;padding:6px 2px;border-radius:10px}.inventory-workspace .card{padding:12px}.inventory-stock-filters .inventory-menu:first-child{max-width:100%;width:100%}.inventory-ledger-filters{flex-wrap:wrap;gap:6px 12px}.inventory-ledger-filters .inventory-search{flex-basis:100%}.inventory-quantity input{width:110px}}.account-content footer,.purchase-content footer{margin-top:10px}.purchase-tabs,.master-status-filter{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2px;padding:3px;background:#e5e7eb;border-radius:22px}.purchase-tabs{margin-bottom:14px}.purchase-tabs button,.master-status-filter button{border:0;background:transparent;min-height:30px;padding:4px 8px;border-radius:20px;color:#23272b;font-size:12px;transition:none}.purchase-tabs button[aria-selected=true],.master-status-filter button[aria-pressed=true]{background:#fff}.purchase-workspace .card{padding:16px;border-radius:12px;border:1px solid #e6eaee;box-shadow:none;margin-bottom:12px}.purchase-workspace .card-heading{margin-bottom:12px}.purchase-workspace h2{color:#172d4c;font-size:17px;font-weight:600;letter-spacing:-.2px}.purchase-workspace .card-heading p{font-size:12px;color:#979ba2}.purchase-workspace .primary{background:#00797d;border-color:#00797d}.purchase-master-filter .primary{border-radius:22px;font-size:14px;padding:6px 12px;min-height:34px;white-space:nowrap}.purchase-master-search{display:flex;gap:12px;align-items:center}.purchase-master-search>input,.purchase-medicine-selection>div>input{flex:1;min-width:0;min-height:34px;padding:6px 8px;border:1px solid #dde1e6;border-radius:5px;color:#242b34;font-size:14px}.purchase-master-search input::placeholder,.purchase-medicine-selection input::placeholder{color:#adb3ba}.master-status-filter{flex:0 0 200px;background:#eff0f2}.purchase-master-table{min-height:min(460px,calc(100dvh - 335px))}.master-table-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px;font-size:13px;color:#24292f}.master-table-title>span{font-size:11px;color:#969ba2}.purchase-workspace table{min-width:720px;white-space:normal}.purchase-workspace th{color:#253d5e;background:#f3f3f5;font-size:10px;padding:11px 7px;font-weight:600}.purchase-workspace td{color:#292f37;padding:10px 7px;font-size:11px}.purchase-workspace td button{color:#007e83;border:0;background:transparent;padding:4px}.purchase-workspace td .master-name{color:#203958;font-size:11px;font-weight:600;text-align:left;justify-content:flex-start;padding-left:0}.purchase-workspace td.master-status{color:#007e83}.purchase-stock-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 8px}.purchase-stock-heading button{border:0;background:transparent;font-size:11px;color:#007e83;min-height:28px;padding:4px}.purchase-workspace .purchase-medicine-selection{padding:10px 12px;border:0}.purchase-medicine-selection>div{display:flex;align-items:center;gap:16px}.purchase-medicine-selection .field{flex:1;min-width:0;margin:0}.purchase-medicine-selection .field>span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.purchase-medicine-selection select{border:0;background-color:transparent;color:#007b80;font-size:14px;padding:5px 8px;min-height:32px}.purchase-medicine-selection p{color:#979ca3;font-size:11px;margin-top:5px}.purchase-stock-columns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-items:stretch}.purchase-workspace .purchase-stock-card{padding:12px;border:0;margin:0;min-height:min(490px,calc(100dvh - 345px))}.purchase-stock-card .card-heading{margin-bottom:10px}.purchase-stock-card h2,.purchase-stock-card h3{font-size:13px;color:#263f60;font-weight:600}.purchase-stock-card h3{border-top:1px solid #e0e2e6;padding-top:9px;margin:9px 0}.purchase-stock-card .field{flex-direction:row;align-items:center;justify-content:space-between;gap:6px;margin-bottom:6px}.purchase-stock-card .field>span{font-size:12px;font-weight:400;color:#252d37}.purchase-stock-card .field input,.purchase-stock-card .field select{width:47%;min-width:0;min-height:30px;padding:4px 6px;border-radius:5px;border-color:#dfe2e7;font-size:12px;text-align:right}.purchase-stock-card .field select{border:0;text-align:left;padding:4px 0;background-color:transparent;color:#007b80}.purchase-stock-card .check{display:flex;flex-direction:row-reverse;justify-content:space-between;gap:8px;margin:6px 0;min-height:26px;font-size:12px;color:#252d37}.purchase-options{font-size:11px;color:#72808e;margin:8px 0 0}.purchase-options summary{cursor:pointer;color:#007e83;margin-bottom:6px}.purchase-options p{font-size:10px}.purchase-calculations dl{margin:0}.purchase-calculations dl>div{display:flex;justify-content:space-between;gap:12px;min-height:33px;align-items:center;font-size:12px;color:#242e38}.purchase-calculations dd{margin:0;font-variant-numeric:tabular-nums}.purchase-calculations .purchase-cost-total{border-top:1px solid #e0e2e6;padding-top:8px;margin-top:5px;font-weight:600}.purchase-calculations>p{font-size:10px;color:#929aa3;line-height:1.5;margin:9px 0}.purchase-calculations .purchase-queue{border:0;color:#007e83;background:#e8f4f5;font-size:11px;min-height:30px;padding:5px 8px;margin-top:8px}.purchase-queued-lines{margin-top:10px;font-size:11px}.purchase-queued-lines>div{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:6px 0}.purchase-queued-lines>div button{border:0;padding:3px;min-height:26px;color:#b4534c}.purchase-queued-lines .primary{margin-top:10px;padding:5px 8px;min-height:30px;font-size:11px}.purchase-save-actions{display:flex;justify-content:space-between;gap:12px;margin-top:10px}.purchase-save-actions button{font-size:13px;min-height:34px;padding:6px 12px}.purchase-reset{background:#d0e8eb;color:#00777c;border:0}.purchase-add-stocks form>.error{margin-top:10px}@media(max-width:1100px){.purchase-stock-columns{gap:8px}.purchase-workspace .purchase-stock-card{padding:10px}.purchase-stock-card .field>span{font-size:11px}.purchase-stock-card .field input,.purchase-stock-card .field select{font-size:11px}}@media(max-width:900px){.purchase-stock-columns{grid-template-columns:1fr}.purchase-workspace .purchase-stock-card{min-height:0}.purchase-master-table{min-height:230px}}@media(max-width:600px){.purchase-master-search,.purchase-medicine-selection>div{flex-direction:column;align-items:stretch;gap:8px}.master-status-filter{flex-basis:auto}.purchase-tabs button,.purchase-master-filter .primary{font-size:11px}.purchase-workspace .card{padding:12px}.master-table-title>span{display:none}}.purchase-stock-card>.check input{-webkit-appearance:none;-moz-appearance:none;appearance:none;position:relative;width:38px;height:22px;border:0;border-radius:14px;background:#c8cace;cursor:pointer}.purchase-stock-card>.check input:after{content:"";position:absolute;top:2px;left:2px;width:18px;height:18px;border-radius:50%;background:#fff}.purchase-stock-card>.check input:checked{background:#007e83}.purchase-stock-card>.check input:checked:after{left:18px}.purchase-stock-card>.check input:focus-visible{outline:2px solid #007e83;outline-offset:2px}.account-workspace{min-height:calc(100dvh - 204px);display:flex;flex-direction:column;gap:12px}.account-body{display:flex;flex-direction:column;gap:12px;flex:1;min-width:0}.account-workspace>.account-segments{position:fixed;bottom:max(8px,env(safe-area-inset-bottom));left:calc(var(--account-sidebar) + var(--account-gutter));right:var(--account-gutter);max-width:calc(1650px - 2 * var(--account-gutter));z-index:3;margin-inline:auto;box-shadow:0 0 0 8px #f5f7fa}.account-segments{display:flex;gap:3px;padding:3px;border-radius:24px;background:#e4e6ea}.account-segments button{flex:1;border:0;border-radius:22px;background:transparent;color:#232729;min-height:32px;padding:5px 12px;justify-content:center;box-shadow:none;font-size:13px}.account-segments button[aria-selected=true]{background:#fff;box-shadow:0 1px 3px #17243112}.account-workspace .card{padding:16px;border:1px solid #e6e8eb;border-radius:14px;box-shadow:none}.account-workspace .card-heading{margin-bottom:10px;align-items:center}.account-workspace h2{font-size:18px;color:#172d4b}.account-workspace input{width:100%;min-height:36px}.account-workspace select{color:#087c83}.account-workspace .field{gap:4px;margin:0}.account-workspace .card>.field{margin-top:10px}.account-workspace .empty{min-height:0;padding:24px 12px}.account-workspace th{color:#233858;background:#f4f4f5;font-size:12px;padding:12px 9px;white-space:normal}.account-workspace td{padding:12px 9px;font-size:13px}.account-workspace td button{padding:4px 8px;color:#07828a}.account-date-row{display:flex;gap:10px;align-items:end;margin-top:10px}.account-date-row .field{flex:1}.account-date-row button{min-height:36px}.account-load-bill{display:flex;align-items:end;gap:12px}.account-load-bill .field{flex:1}.account-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 24px;margin:16px 0}.account-details>div{display:flex;justify-content:space-between;gap:16px;padding:6px 0;border-bottom:1px solid #eef0f2;min-width:0}.account-details dt{color:#7b8188}.account-details dd{margin:0;text-align:right;overflow-wrap:anywhere}.account-receipt{border:1px solid #e4e8eb;border-radius:10px;margin:10px 0;padding:12px}.account-receipt summary{cursor:pointer;color:#087c83;font-weight:600}.account-pages{display:flex;justify-content:end;align-items:center;gap:14px;margin-top:10px;font-size:12px}.account-workspace .primary{background:#007980;color:#fff}.account-workspace .hint{font-size:12px;margin:10px 0 0}.account-workspace fieldset{min-width:0}@media(max-width:700px){.account-date-row{flex-wrap:wrap}.account-date-row .field{flex-basis:40%}.account-segments button{padding:6px;font-size:11px}.account-details{grid-template-columns:1fr}.account-load-bill{align-items:stretch;flex-direction:column}}.account-workspace .card>input{box-sizing:border-box;border:1px solid #dce1e5;border-radius:6px;padding:8px 10px;font:inherit;color:#233b35;background:#fff;margin-bottom:8px}.account-workspace .card>input::placeholder{color:#9ca1a7}.account-shell{--account-sidebar: 238px;--account-gutter: 20px}.main-content.account-content{padding-bottom:calc(64px + env(safe-area-inset-bottom))}@media(max-width:1100px){.account-shell{--account-sidebar: 205px}}@media(max-width:760px){.account-shell{--account-sidebar: 0px;--account-gutter: 12px}}.account-workspace>.account-segments{background:#d4eeee}.account-workspace>.account-segments button{color:#08686e}.account-workspace>.account-segments button:hover{background:#bce3e4}.account-workspace>.account-segments button[aria-selected=true]{background:#007f86;color:#fff;box-shadow:0 1px 3px #005f6626}.reports-shell .topbar{height:52px}.main-content.reports-content{padding:12px 20px;background:#f5f7fa}.reports-content .page-heading{margin-bottom:12px}.reports-content .page-heading h1{font-size:23px;letter-spacing:-.5px}.reports-content footer{margin-top:10px}.reports-workspace{min-height:0;height:calc(100dvh - 158px);display:grid;grid-template-rows:auto auto minmax(0,1fr);gap:12px}.report-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.report-metrics .card{padding:14px 16px}.report-metrics .card-heading{margin-bottom:8px}.report-metrics strong{display:flex;align-items:center;gap:9px;font-size:23px;color:#172020}.report-metrics svg{color:#00b8c5}.report-metrics p{font-size:12px;color:#8b9097;margin:8px 0 0}.report-filters{display:flex;align-items:end;gap:12px}.report-filters .field{flex:1}.report-filters button{min-height:38px;white-space:nowrap}.report-filters .primary{border-radius:22px}.report-export{color:#007f86;border-color:transparent}.report-controls .account-segments{margin-top:12px}.report-controls .account-segments button[aria-selected=true]{background:#d4eeee;color:#006f76}.report-results{overflow:auto;min-height:0;display:flex;flex-direction:column;gap:12px;scrollbar-gutter:stable}.report-results>*{flex-shrink:0}.report-summary{margin:0}.report-summary>div{display:flex;justify-content:space-between;gap:20px;padding:7px 0;color:#232729;font-size:13px}.report-summary dd{margin:0;font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap}.report-summary>div:last-child{border-top:1px solid #e4e6e8;margin-top:4px;padding-top:10px}.report-register{border-bottom:1px solid #e3e6e9;padding:14px 0}.report-register>summary{display:flex;align-items:center;gap:20px;cursor:pointer;color:#17314b}.report-register>summary:before{content:"›";color:#008b93;font-size:20px}.report-register[open]>summary:before{content:"⌄"}.report-register summary strong{flex:1}.report-register summary span{font-size:13px}.report-extra>summary{cursor:pointer;color:#087f86}@media(min-width:901px)and (max-height:850px){.reports-shell .topbar{height:44px}.main-content.reports-content{padding-top:8px;padding-bottom:8px}.reports-content .page-heading{margin-bottom:8px}.reports-content .refresh{min-height:32px;padding-top:5px;padding-bottom:5px}.reports-workspace{height:calc(100dvh - 130px)}}@media(max-width:760px){.main-content.reports-content{padding:12px}.reports-workspace{height:auto}.report-results{overflow:visible}.report-filters{flex-wrap:wrap}.report-filters .field{flex-basis:40%}.report-metrics .card{padding:12px}.report-metrics h2{font-size:15px}.report-register>summary{flex-wrap:wrap;gap:8px}}.reports-workspace{grid-template-columns:minmax(0,1fr)}.report-results{min-width:0}.reports-workspace{gap:8px}.reports-workspace .report-metrics .card{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:12px;padding:10px 14px}.reports-workspace .report-metrics .card-heading{margin:0}.reports-workspace .report-metrics h2{font-size:15px}.reports-workspace .report-metrics strong{font-size:21px;gap:6px}.reports-workspace .report-metrics strong svg{width:19px;height:19px}.reports-workspace .report-metrics p{grid-column:1 / -1;margin:4px 0 0;font-size:11px;line-height:1.4}.reports-workspace .report-controls{padding:10px 14px}.reports-workspace .report-controls .card-heading{margin-bottom:8px}.reports-workspace .report-controls h2{font-size:15px}.report-controls .report-filters{gap:10px;align-items:center}.report-controls .report-filters .field{flex-direction:row;align-items:center;gap:8px;min-width:0}.report-controls .report-filters .field>span{white-space:nowrap;font-size:12px}.report-controls .report-filters input{height:34px;min-height:34px;min-width:0;padding:5px 8px}.report-controls .report-filters button{min-height:34px;padding:5px 12px}.reports-workspace .report-controls .hint{margin:6px 0;font-size:11px;line-height:1.4}.report-controls .account-segments{margin-top:6px}.report-controls .account-segments button{min-height:28px;padding:3px 10px}@media(max-width:600px){.reports-workspace .report-metrics .card{grid-template-columns:minmax(0,1fr);gap:4px;padding:10px}.reports-workspace .report-metrics p{margin:0}.report-controls .report-filters .field{flex-direction:column;align-items:stretch;gap:4px}.report-controls .account-segments button{padding:4px 5px}}.account-workspace .card.ledger-filter-card,.inventory-workspace .card.inventory-filter-card{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px 12px;padding:10px 14px}.ledger-filter-card .card-heading,.inventory-filter-card .card-heading{margin:0}.account-workspace .ledger-filter-card h2,.inventory-workspace .inventory-filter-card h2{font-size:15px}.account-workspace .ledger-filter-card>input,.inventory-workspace .inventory-filter-card>input{height:34px;min-height:34px;padding:5px 8px;margin:0;font-size:13px}.ledger-filter-card>.account-date-row,.ledger-filter-card>.field,.ledger-filter-card>.hint,.inventory-filter-card>.inventory-stock-filters,.inventory-filter-card>.inventory-note{grid-column:1 / -1;margin:0}.ledger-filter-card .account-date-row{align-items:center;gap:10px}.ledger-filter-card .account-date-row .field,.account-workspace .ledger-filter-card>.field{display:flex;flex-direction:row;align-items:center;gap:8px;min-width:0;margin:0}.ledger-filter-card .field>span{font-size:12px;white-space:nowrap}.ledger-filter-card .field input,.ledger-filter-card .field select{height:34px;min-height:34px;min-width:0;padding:5px 8px}.ledger-filter-card .account-date-row button{min-height:34px;padding:5px 12px}.account-workspace .ledger-filter-card>.hint,.inventory-filter-card>.inventory-note{font-size:11px;line-height:1.4;margin:0}.inventory-filter-card .inventory-stock-filters{gap:8px}.inventory-filter-card .inventory-menu{min-height:30px;padding:3px 6px;font-size:13px}@media(max-width:600px){.account-workspace .card.ledger-filter-card,.inventory-workspace .card.inventory-filter-card{grid-template-columns:minmax(0,1fr);padding:10px}.ledger-filter-card .account-date-row .field{flex-direction:column;align-items:stretch;gap:4px}.ledger-filter-card .card-heading{flex-wrap:wrap}}.user-block button.profile-name{display:block;flex:1;min-width:0;padding:0;border:0;background:transparent;text-align:left}.user-block button.profile-name strong{display:block;white-space:normal}.medicine-save-row{display:grid;grid-template-columns:minmax(120px,1fr) auto auto;align-items:end;gap:20px;margin-top:16px}.medicine-save-row .check{margin:0;align-self:center;padding-top:20px}.medicine-save-row button{white-space:nowrap}@media(max-width:480px){.medicine-save-row{grid-template-columns:minmax(100px,1fr) auto;gap:12px}.medicine-save-row button{grid-column:1 / -1}}.dispense-layout.dispense-full-width{grid-template-columns:minmax(0,1fr);gap:12px}.dispense-full-width>.counter-sale-actions{flex-direction:row;flex-wrap:nowrap;margin-top:0;gap:10px}.dispense-full-width>.counter-sale-actions button{width:auto;min-width:0}.dispense-full-width .dispense-patient-fields{grid-template-columns:repeat(3,minmax(0,1fr))}@media(max-width:500px){.dispense-full-width .dispense-patient-fields{grid-template-columns:1fr}}.counter-sale-actions .clear-counter-bill{background:#007f86;color:#fff}.counter-sale-actions .clear-counter-bill:disabled{background:#a7cdcf;color:#fff;opacity:1}.dispense-full-width .dispense-totals{width:min(100%,420px);margin-left:auto}.dispense-payments input[type=number]{-webkit-appearance:textfield;appearance:textfield;-moz-appearance:textfield}.dispense-payments input::-webkit-inner-spin-button,.dispense-payments input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.add-medicine-form input[type=number]{-webkit-appearance:textfield;appearance:textfield;-moz-appearance:textfield}.add-medicine-form input::-webkit-inner-spin-button,.add-medicine-form input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.dispense-medicine-table{margin:10px 0 16px;min-width:0}.dispense-medicine-table th,.dispense-medicine-table td{padding:10px 8px;font-size:12px}.dispense-medicine-table td:nth-child(n+6){white-space:nowrap}.dispense-medicine-table th:nth-child(n+7),.dispense-medicine-table td:nth-child(n+7){text-align:right}.dispense-medicine-table .remove-medicine{border:0;background:transparent;color:#cf5252;padding:5px}.dispense-medicine-table table{table-layout:fixed;min-width:1240px}.dispense-medicine-table th:nth-child(1){width:4%}.dispense-medicine-table th:nth-child(2){width:15%}.dispense-medicine-table th:nth-child(3){width:15%}.dispense-medicine-table th:nth-child(4){width:7%}.dispense-medicine-table th:nth-child(5){width:8%}.dispense-medicine-table th:nth-child(6){width:10%}.dispense-medicine-table th:nth-child(7){width:7%}.dispense-medicine-table th:nth-child(8){width:9%}.dispense-medicine-table th:nth-child(9){width:7%}.dispense-medicine-table th:nth-child(10){width:8%}.dispense-medicine-table th:nth-child(11){width:7%}.dispense-medicine-table th:nth-child(12){width:3%}.dispense-medicine-table th{white-space:nowrap}.dispense-medicine-table th:nth-child(7),.dispense-medicine-table td:nth-child(7),.dispense-medicine-table th:nth-child(9),.dispense-medicine-table td:nth-child(9),.dispense-medicine-table th:nth-child(10),.dispense-medicine-table td:nth-child(10){text-align:center}.dispense-medicine-table td{font-variant-numeric:tabular-nums}.dispense-medicine-table td:nth-child(2),.dispense-medicine-table td:nth-child(3),.dispense-medicine-table td:nth-child(4),.dispense-medicine-table td:nth-child(5){overflow-wrap:anywhere;white-space:normal}.drug-master-form input[type=number]{-webkit-appearance:textfield;appearance:textfield;-moz-appearance:textfield}.drug-master-form input::-webkit-inner-spin-button,.drug-master-form input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.add-stocks-form input[type=number]{-webkit-appearance:textfield;appearance:textfield;-moz-appearance:textfield}.add-stocks-form input::-webkit-inner-spin-button,.add-stocks-form input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}#dispense-round-off{-webkit-appearance:textfield;appearance:textfield;-moz-appearance:textfield}#dispense-round-off::-webkit-inner-spin-button,#dispense-round-off::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.dashboard-bills .table-scroll{max-height:520px;overflow-y:auto}.dashboard-bills thead th{position:sticky;top:0;z-index:1}.login .registration-link,.login .registration-back{width:100%;margin-top:12px;color:#007f85;border-color:#b9dedd;background:#edf8f7}.login .registration-success{padding:12px;border-radius:8px;background:#edf8f7;color:#195e51}.purchase-opening-stock{margin-bottom:12px;padding:8px 10px;border:1px solid #a8d5cf;border-radius:8px;background:#eaf6f3}.purchase-opening-stock:has(input:checked){background:#d4eee5;border-color:#16816b}.purchase-stock-card .purchase-opening-stock .check{margin:0;color:#155e4d;font-weight:600}.purchase-opening-stock input{accent-color:#16816b}.purchase-opening-stock p{margin:6px 0 0;font-size:11px;color:#155e4d}:root{color:#243849;background:#f4f6f9}[hidden]{display:none!important}fieldset{border:0;padding:0;margin:0;min-width:0}h1,h2,h3,p{margin-top:0}input:focus-visible{outline:3px solid #a9d5df;outline-offset:1px}.eyebrow{font-size:10px;font-weight:750;letter-spacing:1.6px;color:#69818b;margin-bottom:7px}.opd-login{min-height:100vh;display:grid;grid-template-columns:46% 54%}.login-story{padding:48px 11%;background:#062d40;color:#e9f7f7;display:flex;flex-direction:column;justify-content:space-between;min-height:100vh}.opd-mark{display:flex;align-items:center;gap:12px;font-size:19px;letter-spacing:.2px}.opd-mark svg{color:#178e92}.login-story .opd-mark svg{color:#7bdad0}.login-story .opd-mark b{color:#87d7cf;font-weight:500}.login-story h1{color:#e9f7f7;font-size:clamp(36px,4vw,60px);font-weight:600;letter-spacing:-2px;line-height:1.1;margin:16px 0 24px}.login-story p{color:#bdd1da;max-width:360px;font-size:16px;line-height:1.8}.login-story p.eyebrow{color:#8cded1;font-size:10px}.login-story small{color:#a6bec6}.login-pills{display:flex;flex-wrap:wrap;gap:8px;margin-top:30px}.login-pills span{border:1px solid #41616d;border-radius:6px;padding:6px 12px;font-size:12px}.login-form-wrap{display:grid;place-items:center;background:#fff;padding:40px}.opd-auth-form{width:100%;max-width:385px}.opd-auth-form h2{font-size:26px;font-weight:650;letter-spacing:-.6px;margin-bottom:10px}.opd-auth-form>p{color:#697b86;margin-bottom:30px}.opd-auth-form .field{margin-bottom:22px}.opd-auth-form .field input{min-height:46px}.opd-auth-form small{display:block;font-size:12px;color:#78878f;margin-top:25px}.password-input{position:relative}.password-input input{padding-right:46px}.password-input button{position:absolute;right:4px;top:4px;min-height:36px;border:0;padding:8px}.sign-in{width:100%;background:#006b6b;justify-content:space-between;padding:13px 18px;margin-top:8px}.password-page{min-height:100vh;display:grid;place-items:center;padding:32px}.opd-actions{display:flex;align-items:center;gap:12px}.workspace-tabs{display:flex;flex-direction:row;gap:5px;padding:7px 20px;background:#f1f7f7;border-bottom:1px solid #d6e2e3}.workspace-tabs button{flex:1;border:0;min-height:33px;background:transparent;color:#006b6b;padding:5px 10px;border-radius:5px}.workspace-tabs button.active{background:#006b6b;color:#fff}.workspace-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:19px 28px;background:#fff;border-bottom:1px solid #e3e8ee}.workspace-header small{display:block;color:#718490;font-size:10px;letter-spacing:.5px;margin-top:4px}.workspace-user{display:flex;align-items:center;gap:12px;font-size:12px}.workspace-user>div{text-align:right;margin-right:8px}.workspace-user button{min-height:34px;padding:7px 10px;font-size:11px}.clinic-layout{min-height:calc(100vh - 133px);display:flex}.clinic-main{padding:24px 28px;flex:1;min-width:0}.opd-section-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:22px}.opd-section-heading h1{font-size:22px;color:#152e44;margin:0;font-weight:700}.today-label{font-size:12px;color:#657789}.opd-stats{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:13px;margin-bottom:22px}.opd-stat{border:1px solid #e1e6ed;border-top:3px solid #7da9e0;background:#fff;border-radius:7px;padding:17px}.opd-stat span{color:#687d8a;font-size:11px;font-weight:600;display:block}.opd-stat strong{font-size:28px;display:block;margin-top:9px;line-height:1.2;color:#2a579b}.opd-stat.purple{border-top-color:#a895d4}.opd-stat.purple strong{color:#8062b8}.opd-stat.teal{border-top-color:#60b8b4}.opd-stat.teal strong{color:#218886}.opd-stat.amber{border-top-color:#e3b755}.opd-stat.amber strong{color:#b27d19}.opd-stat.green{border-top-color:#77bc99}.opd-stat.green strong{color:#238558}.patient-panel{background:#fff;border:1px solid #e1e6ed;border-radius:8px;overflow:hidden}.patient-tools{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px;border-bottom:1px solid #edf0f4;font-size:12px;color:#71818d}.opd-search{border:1px solid #dce3ea;border-radius:6px;padding:8px 12px;display:flex;align-items:center;gap:10px;width:440px;max-width:65%}.opd-search input{border:0;background:transparent;min-width:0;width:100%;outline:none;color:#354f62}.table-wrap{width:100%;overflow-x:auto}.opd-patients{min-width:850px}.opd-patients th{background:#f1f5f9;color:#5e7184;font-size:11px;padding:14px 16px;text-transform:none}.opd-patients td{padding:17px 16px;color:#3b5162;font-size:12px;border-bottom:1px solid #edf0f4}.opd-patients td small{display:block;color:#7f8c98;font-size:10px;margin-top:3px}.patient-link{background:none;color:#2473bc;border:0;padding:0;min-height:30px}.status{display:inline-flex;border-radius:5px;padding:4px 9px;font-size:10px;font-weight:650;background:#ecf0f5;color:#657384;white-space:nowrap}.status.new{color:#7b51b0;background:#f0e9f8}.status.waiting,.status.registered{color:#a16e16;background:#fff3d9}.status.in_consultation{color:#276ec1;background:#e5efff}.status.completed{color:#248652;background:#e5f6ed}.opd-empty{padding:70px 24px;display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center;color:#758592}.opd-empty h2{margin:8px 0 0;font-size:18px;color:#425c6c}.opd-empty p{max-width:550px;margin-bottom:10px}.phase-note{padding:14px 0;color:#778791;font-size:11px;margin:0}.patient-panel>.phase-note{padding:16px}.date-picker{display:flex;align-items:center;gap:8px;font-size:12px}.date-picker input{padding:7px;border:1px solid #dce3ea;border-radius:5px}.patient-summary,.list-panel{padding:24px}.visit-summary{border-top:1px solid #e7edf1;padding:20px 0 4px}.visit-summary h3{display:flex;align-items:center;gap:14px}.visit-summary h4{text-transform:capitalize;color:#56758b}.record-fields{display:flex;flex-wrap:wrap;gap:14px 30px}.record-fields dt{text-transform:capitalize;color:#83919b;font-size:10px}.record-fields dd{margin:3px 0 0}dialog[open]:has(.registration-form){display:flex;flex-direction:column;width:min(640px,calc(100vw - 32px));max-height:calc(100dvh - 40px);overflow:hidden;padding:0}dialog:has(.registration-form) .modal-heading{flex-shrink:0;padding:18px 24px;margin:0;border-bottom:1px solid #e1e8ec}.registration-form{width:100%;min-height:0;padding:22px 24px 0;overflow-y:auto}.registration-form .field select{min-height:42px;border:1px solid #d7e1db;border-radius:7px;padding:9px;background:#fff;color:#203e33}.registration-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}.registration-category{display:flex;gap:8px;margin-bottom:22px}.registration-category button{flex:1}.registration-category button[aria-pressed=true]{background:#006b6b;color:#fff;border-color:#006b6b}.registration-reference{display:flex;flex-direction:column;gap:5px;padding:12px 15px;background:#f1f6f7;border-radius:6px;margin-bottom:20px}.registration-reference span,.registration-reference small{font-size:11px;color:#71828c}.registration-reference strong{color:#296f9d;font-size:13px}.registration-lookup{border:1px solid #dbe6e7;padding:16px;border-radius:7px;margin-bottom:20px}.patient-matches{display:grid;gap:8px;margin-top:15px}.patient-matches button{display:flex;align-items:flex-start;flex-direction:column;gap:4px;text-align:left}.patient-matches span{font-size:11px;font-weight:400}.registration-address{border-top:1px solid #e1e8ec;border-bottom:1px solid #e1e8ec;padding:15px 0;margin-bottom:20px}.registration-address summary{cursor:pointer;color:#006b6b;margin-bottom:12px}.registration-footer{display:flex;justify-content:space-between;gap:15px;padding-top:16px;border-top:1px solid #e1e8ec;margin-top:12px;position:sticky;bottom:0;background:#fff;padding-bottom:18px;z-index:1}.registration-form .notice{display:block}.registration-form .notice .opd-actions{flex-wrap:wrap;margin-top:12px}.request-reference{overflow-wrap:anywhere;font-size:11px}.opd-patients td:last-child{white-space:nowrap}.opd-patients td:last-child button+button{margin-left:5px}@media(max-width:700px){.registration-grid{grid-template-columns:1fr}.opd-section-heading .opd-actions{flex-wrap:wrap;justify-content:flex-end;gap:6px}.opd-section-heading .opd-actions button{font-size:11px;padding:7px 9px}}.opd-columns{display:grid;grid-template-columns:1fr 1fr;gap:20px}.pharmacy-app.app-shell{min-height:calc(100vh - 133px)}.pharmacy-app .sidebar,.clinic-sidebar{position:sticky;top:0;height:calc(100vh - 133px);min-height:550px}.pharmacy-connection{padding:20px 12px;font-size:12px;color:#738d82;margin-top:auto}.pharmacy-app .main{min-width:0;padding:24px;margin-left:0}.pharmacy-app .sidebar,.clinic-sidebar{flex-shrink:0}.pharmacy-app .sidebar button.active,.clinic-sidebar button.active{color:#146b53;background:#edf6f1}@media(max-width:1050px){.opd-stats{grid-template-columns:repeat(3,1fr)}.clinic-main{padding:20px}.workspace-header{padding:18px 20px}}@media(max-width:700px){.opd-login{grid-template-columns:1fr}.login-story{min-height:auto;padding:25px;gap:25px}.login-story>div:nth-child(2),.login-story>small{display:none}.login-form-wrap{padding:42px 25px}.workspace-tabs{padding:6px;overflow-x:auto}.workspace-tabs button{font-size:11px}.workspace-tabs button svg{display:none}.workspace-header{align-items:flex-start;padding:15px}.workspace-header .opd-mark{font-size:14px}.workspace-user>div{display:none}.workspace-user button{font-size:0}.opd-section-heading{align-items:flex-start}.today-label{display:none}.clinic-main{padding:15px}.opd-stats{gap:8px}.opd-stat{padding:12px}.opd-stat span{font-size:10px}.opd-stat strong{font-size:23px}.patient-tools{flex-wrap:wrap;gap:10px}.opd-search{max-width:100%;width:100%}.opd-columns{grid-template-columns:1fr}.pharmacy-app.app-shell{display:block}.pharmacy-app .sidebar{position:static;height:auto;min-height:0;width:auto}.pharmacy-app .sidebar nav{display:flex;overflow-x:auto}.pharmacy-app .sidebar .brand,.pharmacy-connection{display:none}.pharmacy-app .sidebar nav button{white-space:nowrap}.pharmacy-app .main{padding:15px}}@media print{.workspace-header,.workspace-tabs,.clinic-sidebar{display:none!important}}@media(max-width:760px){.clinic-layout{display:block}.clinic-sidebar{position:static;height:auto;min-height:0;width:auto;border-right:0;border-bottom:1px solid #e3eae5}.clinic-sidebar .brand,.clinic-sidebar .pharmacy-connection{display:none}.clinic-sidebar nav button{white-space:nowrap}}.consultation-workspace{display:grid;gap:18px;min-width:0;padding-bottom:24px}.consultation-workspace h2{font-size:19px;margin:0 0 10px}.consultation-overview{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:20px;padding:24px}.consultation-overview p{margin:6px 0}.consultation-section{padding:24px}.consultation-section>header{margin-bottom:18px;border-bottom:1px solid #e1e9e9;padding-bottom:8px}.consultation-section label,.consultation-overview label{display:grid;gap:7px;color:#526b79;font-size:13px;min-width:0}.consultation-workspace input,.consultation-workspace select,.consultation-workspace textarea{width:100%;min-width:0;border:1px solid #d5dfe3;border-radius:6px;padding:10px;background:#fff;color:#193447;font:inherit}.consultation-workspace textarea{min-height:76px;resize:vertical}.consultation-workspace :is(input,select,textarea):disabled{opacity:1;background:#f5f7f8;color:#425a68}.consultation-workspace button{display:inline-flex;align-items:center;justify-content:center;gap:7px}.consultation-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;min-width:0}.consultation-workspace fieldset{border:0;padding:0;margin:0;min-width:0}.consultation-rows{display:grid;gap:12px}.consultation-rows>button{justify-self:start}.consultation-workspace .consultation-row{display:flex;align-items:start;gap:12px;padding:16px;margin-bottom:10px;border:1px solid #e0e7eb;border-radius:8px;background:#fafcfc}.consultation-row>.consultation-grid{flex:1}.consultation-row>button{flex:0 0 34px;padding:8px;margin-top:24px}.consultation-text{margin-top:18px}.consultation-actions{position:sticky;bottom:0;z-index:5;display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:10px;padding:16px 20px;background:#fff;border:1px solid #d6e2e4;border-radius:10px;box-shadow:0 -4px 15px #1934470a}.consultation-actions>span{margin-right:auto;color:#526b79;font-size:13px}.consultation-workspace .investigation-row{align-items:center;flex-wrap:wrap}.investigation-row>label:not(.consultation-check){flex:1 1 200px}.consultation-workspace .consultation-check{display:flex;align-items:center}.consultation-check input{width:auto}.bmi-value{display:grid;align-content:center;gap:8px;color:#526b79;font-size:13px}.bmi-value strong{font-size:21px;color:#006b70}.follow-up{margin-top:20px!important}.consultation-section details{margin-top:16px;padding:15px;background:#f5f8fa;border-radius:8px}.consultation-section summary{cursor:pointer;font-weight:600}.consultation-recovery small{display:block;margin-top:12px;overflow-wrap:anywhere}.consultation-confirm::backdrop{background:#18344260}.consultation-confirm{width:min(560px,calc(100vw - 40px));max-width:560px;margin:auto;padding:28px}.consultation-confirm p{line-height:1.7}@media(max-width:1000px){.consultation-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.consultation-grid{grid-template-columns:minmax(0,1fr)}.consultation-section,.consultation-overview{padding:16px}.consultation-overview>label{width:100%}.consultation-actions{padding:12px}.consultation-actions>span{flex-basis:100%}}.consultation-messages:empty{display:none}.clinic-main:has(.opd-patients) .opd-section-heading h1{font-size:26px}.clinic-main .opd-stat span{font-size:15px;line-height:1.4}.clinic-main .opd-stat strong{font-size:32px}.clinic-main .patient-tools{font-size:15px;flex-wrap:wrap}.clinic-main .opd-search{width:500px}.clinic-main .opd-search input,.clinic-main .date-picker,.clinic-main .date-picker input{font-size:15px}.clinic-main .opd-patients th{font-size:14px;padding:16px;color:#415568}.clinic-main .opd-patients td{font-size:16px;line-height:1.5;padding:9px 16px;color:#263e50}.clinic-main .opd-patients .patient-link{font-size:15px;font-weight:600}.clinic-main .opd-patients td small{font-size:14px;color:#627382;margin-top:5px}.clinic-main .opd-patients .status{font-size:13px;padding:5px 10px}.clinic-main .opd-patients td:last-child button{min-width:36px;min-height:36px}@media(max-width:600px){.clinic-main .opd-stat span{font-size:13px}.clinic-main .opd-stat strong{font-size:28px}.clinic-main .opd-search{width:100%;max-width:100%}}.opd-root .workspace-profile-button{display:flex;align-items:center;gap:10px;background:transparent;border:1px solid transparent;color:inherit;font-size:13px;text-align:left}.opd-root .workspace-profile-button:hover{background:#0097ff12;border-color:#0097ff55}.workspace-profile-button>svg,.workspace-profile header>svg{color:#0097ff;flex-shrink:0}dialog:has(.workspace-profile){width:min(720px,calc(100vw - 40px));box-sizing:border-box}.workspace-profile header{text-align:center}.workspace-profile h3{font-size:22px;margin:10px 0}.workspace-profile p{color:#657687;font-size:15px}.workspace-profile dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:24px 0}.workspace-profile dl>div{padding:14px;border:1px solid #e3e8ee;border-radius:10px;background:#f8fafc;overflow-wrap:anywhere}.workspace-profile dt{font-size:13px;font-weight:600;color:#657687;margin-bottom:6px}.workspace-profile dd{font-size:16px;color:#193447;margin:0}.workspace-profile footer{display:flex;justify-content:flex-end}@media(max-width:700px){.workspace-profile-button>span{display:none}.workspace-user{gap:6px}}@media(max-width:600px){.workspace-profile dl{grid-template-columns:1fr}}.opd-login{color:#19232d;background:#fff;min-height:100dvh}.opd-login .login-story{position:relative;overflow:hidden;padding:clamp(28px,4dvh,56px) clamp(32px,5vw,100px);gap:clamp(24px,3.2dvh,40px);justify-content:center;align-items:center;text-align:center;min-height:100dvh;color:#19232d;border-right:1px solid #f1e5d1;background:radial-gradient(ellipse at 80% 35%,#fcecc3 0,transparent 65%),linear-gradient(150deg,#fff,#fffaf0)}.opd-login .login-story:after{content:"";position:absolute;width:440px;height:440px;bottom:-220px;right:-230px;border:38px solid #d99b0710;outline:28px solid #d99b0708;border-radius:50%;pointer-events:none}.opd-login .login-story>*{position:relative;z-index:1}.opd-login .login-story>div:nth-child(2){width:100%}.opd-login .login-story h1{color:#bf0716;font-size:clamp(38px,3.8vw,64px);font-weight:800;line-height:1.1;letter-spacing:-1.8px;margin:0 0 18px}.opd-login .login-story h1 span{color:#19232d}.opd-login .login-story p{color:#606a75;max-width:430px;margin-left:auto;margin-right:auto;font-size:18px;line-height:1.7}.opd-login .login-story .login-tagline{font-size:clamp(30px,3vw,46px);font-weight:800;line-height:1.12;letter-spacing:-1px;color:#19232d;margin:0 auto 24px;max-width:none}.opd-login .login-tagline span{color:#bf0716}.opd-login .login-story .login-workspace-label{margin:0 auto;font-size:clamp(16px,1.4vw,20px);font-weight:800;letter-spacing:2px;color:#785100}.opd-login .login-story p.eyebrow,.opd-login .opd-auth-form>.eyebrow{color:#956500;font-size:12px;font-weight:750;letter-spacing:2px}.opd-login .login-story small{color:#737578}.login-features{list-style:none;padding:0;margin:30px auto 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;max-width:540px}.login-features li{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:10px;padding:20px 16px;border:1px solid #ecdcc2;border-radius:12px;background:#ffffffc9}.login-features svg{flex-shrink:0;color:#bf0716}.login-features li:nth-child(2n) svg{color:#b47c00}.login-features strong{display:block;font-size:15px;color:#19232d}.login-features span{display:block;font-size:13px;line-height:1.5;color:#606a75;margin-top:5px}@media(min-width:701px)and (max-width:1000px){.login-features li{padding:14px}}.opd-login .login-form-wrap{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:48px 40px;gap:34px;background:#fff}.opd-login .opd-auth-form{max-width:420px}.opd-login .opd-auth-form h2{color:#19232d;font-size:30px;line-height:1.25}.opd-login .opd-auth-form>p{color:#64707b;font-size:15px}.opd-login .opd-auth-form>.eyebrow{margin-bottom:18px}.opd-login .field>span{color:#47515c;font-size:14px}.opd-login .field input{min-height:50px;border-color:#dbdce0;color:#19232d;font-size:16px;background:#fff}.opd-login .field input:focus{border-color:#bd880b;box-shadow:0 0 0 3px #e5b64725;outline:none}.opd-login button:focus-visible{outline-color:#bd880b}.opd-login .password-input button{color:#64707b;top:7px}.opd-login .password-input button:hover{background:#fff6e6}.opd-login .sign-in{min-height:50px;background:#bf0716;border-color:#bf0716;color:#fff;font-size:16px;box-shadow:0 6px 16px #bf07161a}.opd-login .sign-in:hover{background:#9e0612;border-color:#9e0612}.opd-login .opd-auth-form small{font-size:13px;color:#64707b;line-height:1.6}.opd-login .login-switch{display:block;width:100%;margin-top:20px;border:0;background:transparent;color:#9e0612;font-size:15px;font-weight:700;text-align:center;cursor:pointer}.opd-login .login-switch:hover{text-decoration:underline}.opd-login .signup-result{border:1px solid #b5d9c7;border-radius:10px;background:#f1faf5;padding:16px;color:#285540;font-size:15px;line-height:1.5}.opd-login .signup-result strong{display:block;font-size:17px;color:#19412e}.opd-login .signup-result p{margin:6px 0 0}.login-powered-by{width:220px;margin-top:0;max-width:100%;border:1px solid #f0e5d4;border-radius:12px;background:#fff;padding:12px;display:flex;flex-direction:column;align-items:center;gap:2px}.login-powered-by>span{color:#737578;font-size:12px;letter-spacing:.5px}.login-powered-by img{display:block;width:194px;height:70px;max-width:100%;object-fit:cover;object-position:center}@media(max-width:700px){.opd-login{display:flex;flex-direction:column}.opd-login .login-story{min-height:auto;padding:24px;gap:18px;border-right:0;border-bottom:1px solid #f1e5d1}.opd-login .login-story h1{font-size:clamp(30px,8vw,44px);letter-spacing:-1px}.opd-login .login-form-wrap{flex:1;padding:36px 24px 24px;gap:28px}.opd-login .opd-auth-form h2{font-size:27px}}@media(max-width:700px){.login-powered-by{margin-top:0;flex-direction:row;width:fit-content;padding:4px 10px;gap:8px}.login-powered-by img{width:140px;height:50px}}.recovery-code-grid{display:grid;gap:8px;margin:18px 0}.recovery-code-grid code{font-size:14px;padding:8px;border:1px solid #cbd5e1;border-radius:6px;overflow-wrap:anywhere}.recovery-saved{display:flex;align-items:flex-start;gap:10px;margin:18px 0}.recovery-saved input{width:18px;height:18px;flex:0 0 18px}.opd-login .login-account-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:20px;margin-top:32px}.opd-login .login-account-links .login-switch{margin-top:0;padding:8px;line-height:1.5}.opd-login .login-account-links .login-switch+.login-switch{border-left:1px solid #ecdcc2;border-radius:0}.opd-module,.opd-root[data-active-module=CLINIC]{--opd-red: #bf0716;--opd-red-hover: #990613;--opd-red-soft: #fff0f1;--opd-gold: #956500;--opd-ink: #19232d;--opd-muted: #606a75;--opd-canvas: #fffcf6;--opd-tint: #fff7e7;--opd-border: #e9dfd0}.opd-root .workspace-tabs :is([data-module=CLINIC],[data-module=SETTINGS]){color:#bf0716}.opd-root .workspace-tabs :is([data-module=CLINIC],[data-module=SETTINGS]).active{background:#bf0716;color:#fff}.opd-root[data-active-module=CLINIC]>.workspace-tabs{background:var(--opd-canvas);border-color:var(--opd-border)}.opd-root[data-active-module=CLINIC]:has(>.opd-module:not([hidden])) .workspace-header{background:#fff;color:var(--opd-ink);border-bottom-color:var(--opd-border)}.opd-root[data-active-module=CLINIC]:has(>.opd-module:not([hidden])) .workspace-header .opd-mark{color:var(--opd-ink)}.opd-root[data-active-module=CLINIC]:has(>.opd-module:not([hidden])) .workspace-header small{color:var(--opd-muted)}.opd-root[data-active-module=CLINIC] .workspace-header :is(.opd-mark svg,.workspace-profile-button>svg){color:var(--opd-red)}.opd-root[data-active-module=CLINIC] .workspace-header button{color:var(--opd-ink);border-color:var(--opd-border)}.opd-root[data-active-module=CLINIC] .workspace-header button:hover{background:var(--opd-tint)}.opd-module{color:var(--opd-ink);background:var(--opd-canvas)}.opd-module :is(.clinic-main,.appointments-workspace,.calendar-workspace,.swift-consultation,.vital-editor-body){background:var(--opd-canvas);color:var(--opd-ink)}.opd-module .clinic-sidebar{background:#fff;border-color:var(--opd-border)}.opd-module .clinic-sidebar .brand{color:var(--opd-red)}.opd-module .clinic-sidebar nav button{color:var(--opd-muted)}.opd-module .clinic-sidebar nav button:hover{background:var(--opd-tint)}.opd-module .clinic-sidebar nav button.active{color:var(--opd-red);background:var(--opd-red-soft)}.opd-module :is(.eyebrow,.registration-address summary){color:var(--opd-gold)}.opd-module :is(h1,h2,h3,.patient-id-workspace,td strong){color:var(--opd-ink)}.opd-module :is(.pharmacy-connection,.patient-tools,.opd-stat span,.patient-id-controls label,.patient-id-workspace p,.appointment-selected,.calendar-reference>p){color:var(--opd-muted)}.opd-module :is(.patient-panel,.patient-tools,.opd-search,.patient-id-table-wrap,.appointment-table-wrap,.appointment-month){border-color:var(--opd-border)}.opd-module :is(.opd-patients,.patient-id-results,.patient-visits-dialog,.appointment-table,.calendar-task-table,.swift-entry-table) th{background:var(--opd-tint);color:#655638;border-bottom-color:var(--opd-border)}.opd-module :is(.opd-patients,.patient-id-results,.patient-visits-dialog) td{color:var(--opd-ink);border-color:#f1ebe2}.opd-module :is(.opd-patients,.patient-id-results) tbody tr:hover{background:#fffaf0}.opd-module .opd-stat:first-child{border-top-color:var(--opd-red)}.opd-module .opd-stat{border-left-color:var(--opd-border);border-right-color:var(--opd-border);border-bottom-color:var(--opd-border)}.opd-module .opd-stat:first-child strong{color:var(--opd-red)}.opd-root .opd-module :is(.patient-link,.patient-id-link,.registration-reference strong){color:var(--opd-red)}.opd-module :where(button){color:var(--opd-ink);border-color:var(--opd-border)}.opd-module :where(button:hover:not(:disabled)){background-color:var(--opd-tint)}.opd-module :is(input,select,textarea){accent-color:var(--opd-red)}.opd-module :is(input,select,textarea):focus-visible,.opd-module :is(button,a):focus-visible,.opd-root[data-active-module=CLINIC] .workspace-header button:focus-visible{outline:2px solid var(--opd-gold);outline-offset:2px}.opd-module .opd-search:focus-within{border-color:var(--opd-gold);box-shadow:0 0 0 2px #e5b64725}.opd-module .opd-search input:focus-visible{outline:none}.opd-root .opd-module .appointment-edit,.opd-module .calendar-event>svg{color:var(--opd-red);background:var(--opd-red-soft)}.opd-root .opd-module .appointment-register{color:var(--opd-red)}.opd-module .calendar-task-heading{color:#655638;background:var(--opd-tint)}.opd-root .opd-module :is(.patient-visits-button,.patient-id-controls button,.patient-id-pagination button,.appointment-load,.swift-jumpbar button,.swift-chips button){color:var(--opd-red);background:var(--opd-red-soft);border-color:#efd0d3}.opd-root .opd-module :is(.appointment-toolbar button,.calendar-workspace-tools button,.calendar-task-panels button,.swift-save-actions .swift-outline-blue,.swift-row-actions button:first-child){color:var(--opd-red);border-color:#e6b9bd}.opd-root .opd-module :is(.primary,.swift-add,.calendar-primary,.registration-category button[aria-pressed=true],.swift-chips button.active){background:var(--opd-red);border-color:var(--opd-red);color:#fff}.opd-root .opd-module :is(.primary,.swift-add,.calendar-primary):hover:not(:disabled){background:var(--opd-red-hover)}.opd-root .opd-module .swift-add:disabled{background:#bd858b}.opd-module .appointment-month{background:#fffdfa}.opd-module .appointment-day-grid button.today span{background:var(--opd-red);color:#fff}.opd-module .appointment-day-grid button.selected span{outline:2px solid var(--opd-gold);outline-offset:2px}.opd-module :is(.calendar-task-panels header>svg,.swift-advice svg,.swift-template-choice small){color:var(--opd-gold)}.opd-module .swift-consultation{--blue: var(--opd-red);--ink: var(--opd-ink)}.opd-module :is(.swift-section,.swift-history .blue,.swift-history .magenta,.swift-history .orange,.swift-history .violet){--accent: var(--opd-gold)}.opd-module :is(.swift-record-banner,.swift-readonly,.registration-reference){background:var(--opd-tint)}.opd-module .swift-treatment-heading{background:var(--opd-tint);color:var(--opd-gold);border-left-color:var(--opd-gold)}.opd-module .swift-choice-list button[aria-pressed=true]{background:var(--opd-red-soft);border-color:var(--opd-red)}.opd-module dialog{color:var(--opd-ink);border-color:var(--opd-border)}.opd-module dialog .modal-heading{background:#fff;border-bottom-color:var(--opd-border)}.opd-module .clinic-sidebar nav button{font-size:16px;font-weight:600;line-height:1.4;min-height:52px;padding:13px 12px;gap:10px}.opd-module .clinic-sidebar nav button svg{width:21px;height:21px;flex-shrink:0}.opd-module .clinic-sidebar .brand strong{font-size:23px}.opd-module .clinic-sidebar .pharmacy-connection{font-size:13px;line-height:1.5}@media(max-width:760px){.opd-module .clinic-sidebar nav button{font-size:15px;min-height:46px;padding:10px 12px}}.opd-module .consultation-active{--opd-canvas: #f3f5f7;--opd-tint: #f4f6f8;--opd-border: #dce2e8}.opd-module .swift-consultation{--blue: #245b91;background:#f3f5f7}.opd-module .swift-consultation :is(.swift-section.blue,.swift-history .blue){--accent: #2464a1}.opd-module .swift-consultation :is(.swift-section.magenta,.swift-history .magenta){--accent: #9b258f}.opd-module .swift-consultation .swift-section.teal{--accent: #007575}.opd-module .swift-consultation :is(.swift-section.orange,.swift-history .orange){--accent: #a65b00}.opd-module .swift-consultation .swift-section.green{--accent: #237344}.opd-module .swift-consultation .swift-history .violet{--accent: #6950ad}.opd-module .swift-consultation .swift-card{padding:20px;margin-bottom:20px;border:1px solid #e2e7ec;box-shadow:none}.opd-module .swift-consultation .swift-section>header{margin-bottom:16px}.opd-module .swift-consultation .swift-section>header h3{color:var(--accent);border-inline-start:3px solid color-mix(in srgb,var(--accent) 45%,white);padding-inline-start:9px}.opd-module .swift-consultation .swift-record-banner{background:#fff;border-bottom:1px solid #dce2e8;padding-block:16px}.opd-module .swift-consultation .swift-record-banner p{color:#606a75}.opd-root .opd-module .swift-consultation .swift-record-banner{align-items:center;padding-block:12px}.opd-root .opd-module .swift-record-summary{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px}.opd-root .opd-module .swift-record-summary>p{margin:0}.opd-root .opd-module .swift-record-summary>.swift-amendment-reason{flex-basis:100%}.opd-module .swift-consultation .swift-record-banner.is-completed{background:#fff1f2;border-bottom-color:#f2d4d8}.opd-module .swift-record-title{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px 16px}.opd-module .swift-record-title time{color:#606a75;font-size:13px}.opd-module .swift-record-banner .swift-record-status{display:inline-flex;align-items:center;gap:8px;padding:6px 12px;border-radius:8px;font-size:16px;line-height:1.4;color:#204e7d;background:#e8f0f9}.opd-module .swift-record-banner .swift-record-status.is-unsaved,.opd-module .swift-record-banner .swift-record-status.is-editing{color:#805000;background:#fff3d6}.opd-module .swift-record-banner .swift-record-status.is-completed{color:#25603d;background:#e7f4ec}.opd-root .opd-module .swift-consultation .swift-jumpbar button{color:#4a5765;background:#fff;border-color:transparent}.opd-root .opd-module .swift-consultation .swift-jumpbar button:hover{background:#f1f4f7}.opd-root .opd-module .swift-consultation .swift-jumpbar button[aria-current=location]{background:#e8f0f9;border-color:#b9cde2;color:#204e7d}.opd-module .swift-consultation .swift-treatment-heading{color:#2464a1;padding:4px 0 12px;margin:28px 0 20px;border:0;border-bottom:1px solid #c5d8ea;border-radius:0;background:transparent}.opd-module .swift-consultation .swift-entry-table th{background:#f3f5f8;color:#455363;padding-block:9px;border-color:#dce2e8}.opd-module .swift-consultation :is(.swift-diagnoses,.swift-advice){border:0;background:transparent;padding:0}.opd-root .opd-module .swift-consultation :is(.swift-section>header button,.swift-exam-columns header button,.swift-add,.swift-save-actions .swift-outline-blue){background:#eaf2fc;border:1px solid #abc5e0;color:#194f83;padding:7px 12px;min-height:36px;border-radius:6px;font-weight:650}.opd-root .opd-module .swift-consultation :is(.swift-section>header button,.swift-exam-columns header button,.swift-add,.swift-save-actions .swift-outline-blue):hover:not(:disabled){background:#d7e7f9;border-color:#769bc2;color:#153e68}.opd-root .opd-module .swift-consultation button:disabled,.opd-root .opd-module .swift-consultation :is(.swift-section>header button,.swift-exam-columns header button,.swift-add,.swift-save-actions .swift-outline-blue):disabled{opacity:1;color:#697583;background:#f2f4f6;border-color:#dce2e8}.opd-root .opd-module .swift-consultation .swift-vitals:disabled{color:inherit;background:#fafbfc}.opd-module .swift-consultation .swift-history>button>:is(span,strong){background:color-mix(in srgb,var(--accent) 6%,white);padding-inline:8px}.opd-module .swift-consultation .swift-history>button>span{color:var(--accent);font-weight:600;border-radius:5px 5px 0 0}.opd-module .swift-consultation .swift-history>button>strong{padding-bottom:6px;border-radius:0 0 5px 5px}.opd-module .swift-consultation .swift-history>button:disabled{background:transparent}.opd-module .swift-consultation :is(input,select,textarea):focus-visible,.opd-module .swift-consultation button:focus-visible{outline-color:#245b91}.opd-module .swift-consultation .swift-save-actions .swift-complete:not(:disabled){background:#187347;color:#fff}.opd-module .swift-reading-value{margin:0;padding:4px 0;min-width:0;color:#243240;font-size:15px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere}.opd-module .swift-reading-value.is-empty{color:#66717d}.opd-module .is-reading .swift-speciality-summary{padding:4px 0;border:0;background:transparent;color:#4a5765}.opd-module .is-reading :is(.swift-row-actions,.swift-entry-table th:last-child,.swift-entry-table td:last-child:not([colspan])){display:none}.opd-module .is-reading .complaint-table{min-width:440px}.opd-module .is-reading .complaint-table th:nth-child(2),.opd-module .is-reading .complaint-table th:nth-child(3){width:25%}.opd-module .is-reading .prescription-table{min-width:800px}.opd-module .is-reading .swift-empty{color:#66717d}@media(max-width:800px){.opd-module .swift-consultation .swift-card{padding:16px;margin-bottom:16px}.opd-module .swift-consultation .swift-section>header,.opd-module .swift-consultation .swift-exam-columns header{flex-wrap:wrap}}.opd-root .opd-module .swift-consultation :is(.swift-person,.swift-section[data-section=Vitals]){padding:14px 16px;margin-bottom:12px}.opd-root .opd-module .swift-consultation .swift-person h2{margin-bottom:4px;line-height:1.25}.opd-root .opd-module .swift-person>p{margin:4px 0 8px}.opd-root .opd-module .swift-measurements{padding-top:8px}.opd-root .opd-module .swift-measurements span{margin-bottom:0}.opd-root .opd-module .swift-section[data-section=Vitals]>header{margin-bottom:10px}.opd-root .opd-module .swift-consultation .swift-vitals{padding:8px 0}.opd-root .opd-module .swift-vitals>span{gap:4px;padding-inline:4px}.opd-root .opd-module .swift-vital-reading{display:flex;justify-content:center;align-items:baseline;flex-wrap:wrap;gap:2px 5px}.opd-root .opd-module .swift-vital-reading b{font-size:18px}.opd-root .opd-module .swift-consultation{font-size:16px;line-height:1.5}.opd-root .opd-module .swift-consultation :is(.swift-section>header h3,.swift-clinical-pane h3,.swift-previous h3,.swift-treatment-heading){font-size:18px;font-weight:700}.opd-root .opd-module .swift-consultation :is(input,select,textarea,button,label,.swift-entry-table,.swift-entry-table th,.swift-entry-table td,.swift-exam-columns header,.swift-diagnoses b,.swift-speciality-summary,.swift-local,.swift-list-row){font-size:16px;line-height:1.5}.opd-root .opd-module .swift-consultation :is(.swift-entry-table td,.swift-speciality-summary,.swift-local,.swift-list-row){color:#26323f}.opd-root .opd-module .swift-consultation :is(input:not([type=checkbox]):not([type=radio]),select){min-height:40px}.opd-root .opd-module .swift-consultation .swift-diagnoses textarea{min-height:40px;height:40px}.opd-root .opd-module .swift-consultation :is(small,time,.swift-empty,.swift-row-hint){font-size:14px;line-height:1.5}.opd-root .opd-module .swift-consultation .swift-entry-table td{padding-block:10px}.opd-root .opd-module .swift-consultation .complaint-table .complaint-recorded td{background:#edf4ff;color:#173454;font-weight:600;border-bottom-color:#cbd9eb}.opd-root .opd-module .swift-consultation .complaint-table .complaint-recorded td:first-child{box-shadow:inset 3px 0 #678bb8;padding-left:14px;font-size:17px;font-weight:700}.opd-root .opd-module .swift-consultation .swift-save-draft:not(:disabled){background:#4d678e;border-color:#4d678e;color:#fff;font-weight:650}.opd-root .opd-module .swift-consultation .swift-save-draft:hover:not(:disabled){background:#3b5275;border-color:#3b5275}.opd-root .opd-module .swift-consultation .swift-save-draft:focus-visible{outline:3px solid #8ea8ce;outline-offset:3px}.opd-root .opd-module .swift-consultation .swift-jumpbar>div{flex-wrap:wrap;align-content:center;gap:10px;padding:12px 16px;overflow-x:visible;min-width:0}.opd-root .opd-module .swift-consultation .swift-jumpbar button{font-size:16px;line-height:1.4;min-height:44px;padding:10px 16px;flex-shrink:0}@media(max-width:760px){.opd-root .opd-module .swift-consultation .swift-jumpbar>div{gap:8px;padding:10px}.opd-root .opd-module .swift-consultation .swift-jumpbar button{font-size:15px;padding:10px 12px}}@media screen{.opd-root[data-active-module=PHARMACY] :is(.pharmacy-app,.pharmacy-dialog){font-size:16px;line-height:1.5;color:#26323f}.opd-root[data-active-module=PHARMACY] :is(.pharmacy-app,.pharmacy-dialog) :is(button,input,select,textarea,label,.field>span,.check,table,th,td,.inventory-menu,.inventory-toggle,.inventory-pagination,.account-pages,.dashboard-pagination,.inventory-available,.inventory-return-value,.inventory-movement-detail>div,.dispense-medicine-line>div,.dispense-medicine-line p,.dispense-totals>div,.dispense-payments span,.amount-received-heading,.purchase-options,.purchase-calculations dl>div,.purchase-queued-lines,.master-table-title,.master-name,.report-summary>div,.empty strong,.attention-list strong,.dashboard-alert strong,.notice,.prescription-item p,.prescription-review p,.prescription-warning){font-size:16px;line-height:1.5}.opd-root[data-active-module=PHARMACY] :is(.pharmacy-app,.pharmacy-dialog) :is(h2,h3,.card-heading h2,.purchase-stock-card h2,.purchase-stock-card h3,.ledger-filter-card h2,.inventory-filter-card h2,.report-controls h2){font-size:18px;line-height:1.4;font-weight:700}.opd-root[data-active-module=PHARMACY] :is(.pharmacy-app,.pharmacy-dialog) :is(h1,.modal-heading h2){font-size:24px;line-height:1.3}.opd-root[data-active-module=PHARMACY] :is(.pharmacy-app,.pharmacy-dialog) :is(small,.hint,.empty,.badge,.eyebrow,footer,.card-heading p,.page-heading p:not(.eyebrow),.inventory-note,.inventory-status,.inventory-low-stock p,.dashboard-stock-card p,.dashboard-empty,.dashboard-welcome p,.counter-sales-panel p,.dispense-empty-medicines p,.dispense-payment-hint,.dispense-estimate-note,.purchase-medicine-selection p,.purchase-options p,.purchase-calculations>p,.purchase-opening-stock p,.master-table-title>span,.report-metrics p,.report-register summary span,.prescription-visits span,.prescription-item>span){font-size:14px;line-height:1.5}.opd-root[data-active-module=PHARMACY] :is(.pharmacy-app,.pharmacy-dialog) button{min-height:42px;height:auto}.opd-root[data-active-module=PHARMACY] :is(.pharmacy-app,.pharmacy-dialog) :is(input:not([type=checkbox]):not([type=radio]),select){min-height:44px;height:auto;padding-block:9px}.opd-root[data-active-module=PHARMACY] :is(.pharmacy-app,.pharmacy-dialog) :is(th,td){padding:12px 10px}.opd-root[data-active-module=PHARMACY] :is(.pharmacy-app,.pharmacy-dialog) td{color:#26323f}.opd-root[data-active-module=PHARMACY] .pharmacy-app .sidebar nav button{min-height:52px;padding:12px}.opd-root[data-active-module=PHARMACY] .pharmacy-app :is(.inventory-tabs,.purchase-tabs,.account-segments,.subnav){height:auto;min-height:46px}.opd-root[data-active-module=PHARMACY] :is(.pharmacy-app,.pharmacy-dialog) .table-scroll{overflow-x:auto}}.opd-root:is([data-active-module=PHARMACY],[data-active-module=LAB],[data-active-module=BILLING])>.workspace-header{background:#061c43;color:#fff;position:relative}.opd-root:is([data-active-module=PHARMACY],[data-active-module=LAB],[data-active-module=BILLING])>.workspace-header small{color:#bbc8db}.opd-root:is([data-active-module=PHARMACY],[data-active-module=LAB],[data-active-module=BILLING])>.workspace-header:after{content:"BILLING";position:absolute;left:50%;transform:translate(-50%);font-size:15px;font-weight:600;pointer-events:none}.opd-root[data-active-module=PHARMACY]>.workspace-header:after{content:"PHARMACY"}.opd-root[data-active-module=LAB]>.workspace-header:after{content:"LAB ORDERS"}@media(max-width:850px){.opd-root:is([data-active-module=PHARMACY],[data-active-module=LAB],[data-active-module=BILLING])>.workspace-header:after{display:none}}
