@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap");:root{--bg:#f5f7f8;--ink:#1b2b2a;--muted:#788784;--line:#e6ecea;--green:#176b58;--green-dark:#104e42;--mint:#e9f5ef;--gold:#c9a65b;--red:#c84f52;--shadow:0 8px 24px rgba(27,55,48,.045)}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:DM Sans,sans-serif;font-size:14px}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}.app-shell{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:252px;background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column;padding:24px 15px 16px;z-index:5}.brand{display:flex;align-items:center;gap:11px;padding:0 11px 26px}.brand-mark{width:42px;height:42px;border-radius:13px;background:var(--green);color:white;display:grid;place-items:center}.brand b{font:800 21px Manrope,sans-serif;letter-spacing:-.7px;display:block}.brand small{font-size:9px;letter-spacing:1.8px;color:#81918c;font-weight:700}.clinic-switch{border:1px solid var(--line);border-radius:12px;padding:11px;display:flex;align-items:center;gap:10px;margin:0 3px 28px}.clinic-avatar,.user-avatar{display:grid;place-items:center;border-radius:10px;background:#e8f2ed;color:var(--green);font-weight:700;width:36px;height:36px}.clinic-switch b,.user-row b{font-size:12px;display:block}.clinic-switch small,.user-row small{display:block;color:var(--muted);font-size:11px;margin-top:3px}.switch-dot{width:7px;height:7px;background:#2ca77c;border-radius:50%;margin-left:auto}.nav-caption{font-size:10px;color:#9ba8a4;font-weight:700;letter-spacing:1.4px;padding:0 13px 10px}.sidebar nav:not(.mobile-bottom-nav){display:grid;grid-gap:5px;gap:5px;flex:1 1;min-height:0;overflow-y:auto;overflow-x:hidden;align-content:start;padding:0 2px 14px 0;scrollbar-width:thin;scrollbar-color:#b9c9c2 transparent}.sidebar nav:not(.mobile-bottom-nav)::-webkit-scrollbar{width:5px}.sidebar nav:not(.mobile-bottom-nav)::-webkit-scrollbar-thumb{background:#b9c9c2;border-radius:8px}.sidebar-bottom{flex:0 0 auto;background:#fff;padding-top:10px}.sidebar-bottom .help-card{margin-bottom:10px}.user-row{min-width:0}.logout-button{flex:0 0 34px;width:34px;height:34px;border:1px solid var(--line);border-radius:8px;background:#fff;letter-spacing:0}.logout-button:hover{background:#fff0ef;color:#b63f42;border-color:#f0c9c9}.nav-link{height:43px;border-radius:9px;display:flex;align-items:center;gap:12px;padding:0 13px;color:#697873;font-weight:500;font-size:12.5px}.nav-link:hover{background:#f6f9f7}.nav-link.active{background:#eaf5ef;color:var(--green);font-weight:700}.nav-link.active:before{content:"";position:absolute;left:0;width:3px;height:28px;border-radius:0 3px 3px 0;background:var(--green)}.sidebar-bottom{margin-top:auto}.help-card{background:#f4f8f5;border:1px solid #e7eee9;padding:14px;border-radius:12px;margin:0 3px 18px}.help-icon{height:30px;width:30px;background:white;border-radius:9px;display:grid;place-items:center;color:var(--green);margin-bottom:12px}.help-card b{font-size:12px}.help-card p{font-size:11px;color:var(--muted);line-height:1.6;margin:6px 0 0}.user-row{border-top:1px solid var(--line);padding:16px 5px 0;display:flex;align-items:center;gap:9px}.user-avatar{background:#f5eedd;color:#98742e}.user-menu{margin-left:auto;color:#899590;letter-spacing:2px}.main-area{margin-left:252px;min-height:100vh;display:flex;flex-direction:column}.topbar{height:70px;background:rgba(255,255,255,.9);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 34px;position:-webkit-sticky;position:sticky;top:0;z-index:4;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.breadcrumb{color:#81908b;font-size:12px}.breadcrumb span{padding:0 10px;color:#c0cac5}.breadcrumb b{color:#31423d;font-weight:600}.top-actions{gap:18px}.search-mini,.top-actions{display:flex;align-items:center}.search-mini{height:34px;width:220px;border:1px solid var(--line);border-radius:8px;gap:8px;padding:0 10px;color:#9aa6a1;font-size:11px}.search-mini kbd{margin-left:auto;background:#f3f5f4;border:1px solid #e8edeb;border-radius:4px;padding:2px 4px;font-size:9px}.status-pill{display:inline-flex;align-items:center;gap:6px;border-radius:20px;padding:7px 10px;font-size:10px;font-weight:700}.status-pill.online{background:#eaf7ef;color:#24764d}.status-pill.offline{background:#fff0e9;color:#b65b2b}.icon-button{border:0;background:transparent;color:#72817b;position:relative;display:grid;place-items:center}.icon-button i{position:absolute;right:0;top:0;width:6px;height:6px;background:#d36e61;border:1px solid white;border-radius:50%}.page-content{max-width:1500px;padding:30px 34px 24px;margin:0 auto;flex:1 1}.footer{padding:18px 34px;color:#98a49f;font-size:10px;border-top:1px solid var(--line)}.footer,.page-heading{display:flex;justify-content:space-between}.page-heading{align-items:flex-start;margin-bottom:25px;gap:20px}.eyebrow{font-size:10px;color:var(--green);font-weight:700;letter-spacing:1.3px;text-transform:uppercase;margin-bottom:8px}.page-heading h1{font:800 27px Manrope,sans-serif;letter-spacing:-.8px;margin:0}.page-heading p{color:var(--muted);margin:8px 0 0;font-size:12px}.primary-button,.secondary-button{border:0;border-radius:8px;padding:11px 15px;display:inline-flex;align-items:center;gap:8px;font-weight:700;font-size:11px;cursor:pointer}.primary-button{background:var(--green);color:white;box-shadow:0 4px 10px #176b581c}.primary-button:hover{background:var(--green-dark)}.secondary-button{background:white;border:1px solid var(--line);color:#586761}.stats-grid{display:grid;grid-gap:15px;gap:15px;margin-bottom:20px}.panel,.stat-card{background:var(--panel);border:1px solid var(--line);border-radius:13px;box-shadow:var(--shadow)}.stat-card{padding:18px 18px 16px}.stat-top{display:flex;justify-content:space-between;align-items:center;color:#7d8b86;font-size:11px}.stat-icon{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:#eaf5ef;color:var(--green)}.stat-icon.gold{background:#f9f2e3;color:#aa8539}.stat-icon.blue{background:#eaf2fb;color:#4c7db1}.stat-icon.rose{background:#fff0ef;color:#c26c64}.stat-value{font:800 26px Manrope,sans-serif;letter-spacing:-.7px;margin:13px 0 5px}.stat-foot{color:#98a39f;font-size:10px}.stat-foot strong{color:#27855a}.content-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(280px,1fr);grid-gap:18px;gap:18px}.panel{padding:20px;margin-bottom:18px}.panel-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.panel-heading h2{font:700 14px Manrope,sans-serif;margin:0}.panel-heading p{font-size:10px;color:var(--muted);margin:5px 0 0}.text-link{color:var(--green);font-size:11px;font-weight:700}.chart{height:190px;display:flex;align-items:flex-end;gap:13px;padding:15px 3px 0;border-bottom:1px solid var(--line);background:repeating-linear-gradient(180deg,transparent 0,transparent 45px,#f0f3f2 46px,#f0f3f2 47px)}.chart-column{flex:1 1;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:8px}.chart-bars{height:calc(100% - 20px);display:flex;align-items:flex-end;gap:4px;width:100%;justify-content:center}.bar{width:11px;max-width:34%;border-radius:4px 4px 0 0;background:#d6e9df}.bar.strong{background:var(--green)}.chart-column small{font-size:9px;color:#9ba7a2;padding-bottom:6px}.legend{display:flex;gap:15px;color:#7d8b86;font-size:10px;margin-top:15px}.legend i{display:inline-block;width:7px;height:7px;border-radius:3px;background:var(--green);margin-right:5px}.legend i.light{background:#d6e9df}.appointment-list{display:grid;grid-gap:0;gap:0}.appointment-row{display:flex;align-items:center;gap:11px;padding:12px 0;border-bottom:1px solid #eff2f1}.appointment-row:last-child{border-bottom:0}.time-block{width:52px;color:#65756e;font-size:10px;font-weight:700}.patient-avatar{width:35px;height:35px;display:grid;place-items:center;background:#f2eee6;border-radius:50%;color:#8d7141;font-size:11px;font-weight:700}.patient-avatar.green{background:#e7f3eb;color:#387b59}.patient-avatar.blue{background:#e9f0fa;color:#5079ae}.patient-avatar.pink{background:#f9e9e9;color:#ae666a}.patient-info{min-width:0;flex:1 1}.patient-info b{font-size:11px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.patient-info small{font-size:10px;color:#8d9994;display:block;margin-top:4px}.tag{font-size:9px;font-weight:700;padding:5px 7px;border-radius:6px;white-space:nowrap;background:#edf6ef;color:#3c8658}.tag.waiting{background:#fff4df;color:#a57928}.tag.completed{background:#edf0f0;color:#78847f}.quick-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:10px;gap:10px}.quick-action{border:1px solid var(--line);border-radius:10px;padding:14px;text-align:left;background:white;cursor:pointer;display:flex;gap:11px;align-items:center}.quick-action:hover{border-color:#b9d8c9;background:#fafffc}.quick-icon{width:35px;height:35px;border-radius:9px;display:grid;place-items:center;color:var(--green);background:var(--mint)}.quick-action b{font-size:11px;display:block}.quick-action small{font-size:9px;color:var(--muted);display:block;margin-top:4px}.activity-row{display:flex;gap:10px;padding:9px 0}.activity-dot{width:8px;height:8px;border-radius:50%;background:#8cc5a5;margin-top:4px;flex-shrink:0}.activity-row b{font-size:10px;font-weight:600}.activity-row small{font-size:9px;color:#96a29d;display:block;margin-top:4px}.notice{background:#fff8e9;border:1px solid #f2e7c9;color:#8b713b;border-radius:9px;padding:12px 14px;font-size:11px;line-height:1.6;margin-bottom:18px}.table-wrap{overflow:auto}.data-table{width:100%;border-collapse:collapse;white-space:nowrap}.data-table th{text-align:left;color:#899690;font-size:10px;font-weight:600;padding:12px;border-bottom:1px solid var(--line)}.data-table td{padding:13px 12px;border-bottom:1px solid #f0f3f2;font-size:11px}.data-table tr:last-child td{border-bottom:0}.table-empty{text-align:center!important;color:#94a09b;padding:30px!important}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:14px;gap:14px}.field{display:grid;grid-gap:7px;gap:7px}.field label{font-size:11px;font-weight:700;color:#52615b}.field input,.field select,.field textarea{width:100%;border:1px solid #dfe7e3;border-radius:8px;padding:11px 12px;background:white;color:#243530;outline:none;font-size:12px}.field input:focus,.field select:focus,.field textarea:focus{border-color:#79b69b;box-shadow:0 0 0 3px #e8f5ed}.field textarea{min-height:90px;resize:vertical}.form-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:18px}.notice-success{background:#eaf7ef;border:1px solid #d4eddd;color:#28764c;border-radius:8px;padding:11px;font-size:11px;margin-bottom:14px}.module-grid{display:grid;grid-gap:14px;gap:14px}.module-card{background:white;border:1px solid var(--line);border-radius:12px;padding:18px}.module-card h3{font:700 13px Manrope;margin:13px 0 7px}.module-card p{font-size:11px;color:var(--muted);line-height:1.65;min-height:35px}.module-card .module-state{font-size:9px;color:#39815a;background:#edf7f0;padding:5px 8px;border-radius:20px;display:inline-block}.mobile-menu{display:none}@media(max-width:1150px){.sidebar{width:220px}.main-area{margin-left:220px}.page-content{padding:25px 22px}.topbar{padding:0 22px}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.content-grid{grid-template-columns:1fr}.module-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.sidebar{position:static;width:auto;height:auto;padding:12px;border-right:0;border-bottom:1px solid var(--line)}.brand{padding:0 5px 12px}.clinic-switch,.nav-caption,.sidebar-bottom{display:none}.sidebar nav{display:flex;overflow-x:auto;gap:4px}.nav-link{white-space:nowrap;height:37px;padding:0 10px;font-size:11px}.nav-link.active:before{display:none}.main-area{margin-left:0}.topbar{height:55px;padding:0 15px}.search-mini{display:none}.page-content{padding:22px 14px}.page-heading h1{font-size:23px}.page-heading{align-items:center}.page-heading p{max-width:250px;line-height:1.5}.stats-grid{gap:9px}.stat-card{padding:13px}.stat-value{font-size:23px}.stat-top{font-size:10px}.content-grid{display:block}.panel{padding:15px}.form-grid,.module-grid{grid-template-columns:1fr}.footer{padding:15px;gap:10px;flex-direction:column}.top-actions{gap:9px}.page-heading .primary-button{padding:10px;font-size:10px}.quick-grid{gap:7px}.quick-action{padding:10px;gap:8px}.quick-icon{width:30px;height:30px}.quick-action b{font-size:10px}}.login-screen{min-height:100vh;display:grid;grid-template-columns:minmax(320px,.92fr) minmax(440px,1.08fr);background:#fff;color:#20352d;font-family:Inter,ui-sans-serif,system-ui,sans-serif}.login-brand-panel{position:relative;display:flex;flex-direction:column;min-height:100vh;padding:42px clamp(28px,5vw,76px);overflow:hidden;background:radial-gradient(ellipse at 12% 85%,#225b49 0,transparent 45%),linear-gradient(145deg,#0b3328,#104737 58%,#174d3c);color:#fff}.login-brand,.login-mobile-brand{display:flex;align-items:center;gap:12px}.login-brand-mark{width:45px;height:45px;border-radius:13px;display:grid;place-items:center;background:#d6b36b;color:#103c2d;box-shadow:0 8px 22px #061d162c}.login-brand b,.login-mobile-brand b{display:block;font-size:23px;letter-spacing:-.7px;font-weight:800}.login-brand small,.login-mobile-brand small{display:block;margin-top:3px;font-size:9px;letter-spacing:2px;font-weight:700;color:#b9d2c5}.login-brand-copy{max-width:490px;margin:auto 0;padding:70px 0 90px}.login-kicker{font-size:10px;font-weight:800;letter-spacing:2.2px;color:#b6d9c6}.login-brand-copy h1{font-size:clamp(36px,4vw,55px);line-height:1.12;letter-spacing:-1.9px;margin:19px 0 18px;max-width:470px}.login-brand-copy>p{font-size:14px;line-height:1.9;color:#c3d9ce;max-width:400px}.login-feature{display:flex;gap:13px;align-items:flex-start;margin-top:29px;color:#d8bd7e}.login-feature b{display:block;font-size:12px;color:#fff}.login-feature small{display:block;margin-top:5px;color:#bad0c4;font-size:11px;line-height:1.6}.login-brand-footer{font-size:9px;letter-spacing:1.15px;color:#b7cfc3}.login-brand-footer span{padding:0 6px}.login-form-panel{display:flex;align-items:center;justify-content:center;padding:50px 32px;background:linear-gradient(180deg,#fff,#fbfcfb)}.login-form-wrap{width:100%;max-width:410px}.login-mobile-brand{display:none}.login-welcome{margin-bottom:29px}.login-welcome .login-kicker{color:#56836d}.login-welcome h2{font-size:29px;letter-spacing:-.9px;margin:12px 0 9px;color:#1c332a}.login-welcome p{font-size:12px;color:#7b8a82;line-height:1.7;margin:0}.login-form{display:grid;grid-gap:9px;gap:9px}.login-form label,.login-password-heading label{font-size:11px;font-weight:750;color:#42564c}.login-input-wrap{height:48px;display:flex;align-items:center;gap:10px;padding:0 13px;border:1px solid #dfe8e2;border-radius:9px;background:#fff;color:#8c9a92;transition:border .15s,box-shadow .15s}.login-input-wrap:focus-within{border-color:#6da78a;box-shadow:0 0 0 3px #e8f4ec}.login-input-wrap input{border:0;outline:0;box-shadow:none!important;min-width:0;flex:1 1;height:100%;background:transparent;color:#243a30;font-size:12px}.login-input-wrap input::placeholder{color:#aab5af}.login-password-heading{display:flex;align-items:center;justify-content:space-between;margin-top:9px}.login-text-button{padding:0;border:0;background:none;color:#39795b;font-size:10px;font-weight:750;cursor:pointer}.login-text-button:disabled{opacity:.5}.login-eye{border:0;background:transparent;color:#819087;padding:5px;display:grid;place-items:center;cursor:pointer}.login-submit{margin-top:15px;display:flex;align-items:center;justify-content:center;gap:10px;width:100%;height:47px;border:0;border-radius:9px;background:#176b50;color:#fff;font-size:12px;font-weight:750;cursor:pointer;box-shadow:0 7px 15px #176b5020}.login-submit:hover{background:#10573f}.login-submit:disabled{opacity:.6;cursor:wait}.login-alert{font-size:11px;line-height:1.65;border-radius:8px;padding:11px 12px;margin-bottom:15px;overflow-wrap:anywhere}.login-alert.error{color:#8e3c35;background:#fff1ef;border:1px solid #f5d7d3}.login-alert.success{color:#286947;background:#edf8f0;border:1px solid #d5ecdc}.login-alert code{font-size:10px}.login-divider{display:flex;align-items:center;gap:13px;margin:27px 0 15px;color:#9aa79f;font-size:9px;font-weight:750;letter-spacing:1.1px}.login-divider:after,.login-divider:before{content:"";height:1px;background:#e7ede9;flex:1 1}.login-create-button{height:44px;width:100%;border:1px solid #dce7e0;border-radius:9px;background:#fff;color:#345344;font-size:11px;font-weight:750;display:flex;align-items:center;justify-content:center;gap:9px;cursor:pointer}.login-create-button:hover{background:#f4faf6;border-color:#b7d3c2}.login-security-note{display:flex;align-items:center;justify-content:center;gap:6px;margin:27px 0 0;color:#7e9487;font-size:10px}.login-help{text-align:center;margin:12px 0 0;color:#a0aaa4;font-size:10px}.auth-loading{min-height:100vh;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;background:#f7faf8;color:#30483c;font-size:12px}.auth-loading-mark{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:#176b50;color:#fff;font-weight:800;font-size:20px}.auth-loading span{color:#819188;font-size:11px}.logout-button{border:0;background:transparent;color:#73847a;cursor:pointer;padding:7px;display:grid;place-items:center}.logout-button:hover{color:#9b4c42;background:#fff1ef;border-radius:7px}@media(max-width:850px){.login-screen{grid-template-columns:1fr}.login-brand-panel{display:none}.login-form-panel{min-height:100vh;padding:30px 22px}.login-mobile-brand{display:flex;margin-bottom:42px}.login-mobile-brand .login-brand-mark{width:40px;height:40px}.login-mobile-brand b{font-size:21px}.login-welcome h2{font-size:26px}}@media print{.form-actions,.page-heading button,.sidebar,button,nav{display:none!important}body{background:#fff!important}.main-content,main{margin:0!important;padding:0!important;width:100%!important}.panel{box-shadow:none!important;page-break-inside:avoid;break-inside:avoid}.print-prescription{border:1px solid #777!important}.footer,.topbar{display:none!important}.page-content{padding:0!important}.main-area{margin:0!important;width:100%!important}}.pharmacy-brand-heading{display:flex;align-items:center;gap:14px}.pharmacy-brand-heading>img{width:58px;height:58px;object-fit:contain;border-radius:10px;background:#fff;border:1px solid #e3ebe6;padding:4px}.pharmacy-brand-heading h1{margin:0 0 5px}.pharmacy-brand-heading p{margin:0 0 4px}.pharmacy-brand-heading small{color:#61776c;font-size:11px}.pharmacy-logo-preview{display:flex;align-items:center;gap:16px;padding:12px;border:1px dashed #cddbd3;border-radius:10px;margin-top:14px}.print-document{display:none}@page{size:A5 portrait;margin:8mm}@media print{body,html{background:#fff!important;color:#111!important;width:148mm!important;min-height:210mm!important;margin:0!important;padding:0!important;font-family:Arial,Helvetica,sans-serif!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}.footer,.form-actions,.notice,.page-heading button,.print-hide,.sidebar,.stat-card,.stats-grid,.topbar,button,nav{display:none!important}.main-area,.main-content,.page-content,.page-shell,main{width:100%!important;max-width:none!important;background:#fff!important}.main-area,.main-content,.page-content,.page-shell,.panel,main{margin:0!important;padding:0!important;box-shadow:none!important}.panel{border:0!important;page-break-inside:avoid;break-inside:avoid}body:has(.print-document) *{visibility:hidden!important}body:has(.print-document) .print-document,body:has(.print-document) .print-document *{visibility:visible!important}body:has(.print-document) .print-document{display:block!important;position:absolute!important;inset:0 auto auto 0!important;width:132mm!important;min-height:190mm!important;padding:0!important;margin:0!important;background:#fff!important;color:#111!important;font-size:9pt!important;line-height:1.35!important}.invoice-print-header{display:flex;gap:8px;align-items:flex-start;border-bottom:1.5px solid #222;padding-bottom:8px;margin-bottom:10px}.invoice-print-header>div:first-of-type{flex:1 1;min-width:0}.invoice-print-header h1{font-size:16pt;margin:0 0 4px}.invoice-print-header p{font-size:8pt;margin:1px 0}.invoice-logo{width:22mm;height:22mm;object-fit:contain}.invoice-title-block{text-align:right;min-width:35mm}.invoice-title-block h2{font-size:9pt;margin:0 0 5px}.invoice-title-block p{font-size:8pt;margin:4px 0}.invoice-customer{display:flex;flex-wrap:wrap;gap:4px 12px;padding:6px 0 9px;border-bottom:1px solid #aaa;margin-bottom:8px;font-size:8.5pt}.invoice-print-table{width:100%;border-collapse:collapse;font-size:8pt}.invoice-print-table td,.invoice-print-table th{border:1px solid #999;padding:4px 3px;text-align:left;vertical-align:top}.invoice-print-table th{background:#f1f4f2!important;font-weight:700}.invoice-print-table td:first-child,.invoice-print-table td:nth-child(3),.invoice-print-table th:first-child,.invoice-print-table th:nth-child(3){text-align:center}.invoice-print-table td:nth-child(n+4),.invoice-print-table th:nth-child(n+4){text-align:right}.invoice-totals{width:70mm;margin:9px 0 0 auto;font-size:8.5pt}.invoice-totals>div{display:flex;justify-content:space-between;gap:10px;padding:3px 0;border-bottom:1px solid #ddd}.invoice-totals .invoice-grand-total{font-size:10pt;font-weight:700;border-top:1.5px solid #222;border-bottom:1.5px solid #222;margin-top:3px;padding:5px 0}.invoice-amount-words{margin-top:14px;font-size:8pt}.invoice-print-footer{display:flex;justify-content:space-between;gap:10px;border-top:1px solid #999;padding-top:8px;margin-top:22px;font-size:8pt}.data-table{font-size:8pt}}@media screen{.print-document{display:none!important}}.opd-parchi-paper{display:block}.opd-parchi-header{display:grid;grid-template-columns:22mm 1fr;grid-gap:4mm;gap:4mm;align-items:center;border-bottom:1.5px solid #243f70;padding-bottom:2.5mm;margin-bottom:2.5mm;color:#243f70}.opd-parchi-emblem{height:20mm;width:20mm;border:1.5px solid #243f70;border-radius:50%;display:grid;place-items:center;font-weight:800;font-size:10pt;letter-spacing:.5px}.opd-parchi-valid{display:flex;justify-content:space-between;gap:3mm;font-size:7pt;margin-bottom:1.5mm;color:#303b55}.opd-parchi-title h1{font-size:14pt;line-height:1.1;margin:0;border:1px solid #243f70;padding:1.5mm 2mm;letter-spacing:.3px}.opd-parchi-title h2{font-size:9pt;margin:1.5mm 0 0;text-align:center;text-transform:uppercase;letter-spacing:.3px}.opd-patient-grid{display:grid;grid-template-columns:1fr 1fr;border:1px solid #4e6288;margin-bottom:2.5mm}.opd-patient-grid>div{display:grid;grid-template-columns:31mm 1fr;grid-gap:1mm;gap:1mm;padding:1.3mm 1.5mm;border-bottom:1px solid #d4d9e3;font-size:7.5pt;min-height:6mm}.opd-patient-grid>div:nth-child(odd){border-right:1px solid #d4d9e3}.opd-patient-grid b{font-weight:700;color:#303b55}.opd-writing-grid{display:grid;grid-template-columns:18mm 1fr 20mm;border:1px solid #4e6288;min-height:105mm}.opd-investigation-findings,.opd-investigations{font-size:7pt;line-height:1.2;padding:1.5mm;border-right:1px solid #4e6288;color:#303b55}.opd-investigation-findings{border-right:0;border-left:1px solid #4e6288}.opd-main-writing{min-width:0}.opd-main-writing section{min-height:25mm;border-bottom:1px solid #c8cfdd;padding:1.5mm 2mm}.opd-main-writing section:last-child{border-bottom:0}.opd-main-writing h3{font-size:7.5pt;margin:0 0 2mm;color:#303b55}.opd-main-writing p{font-size:8pt;margin:0;white-space:pre-line;overflow-wrap:anywhere;min-height:12mm}.opd-parchi-footer{display:flex;justify-content:space-between;align-items:flex-end;gap:5mm;margin-top:3mm;padding-top:2mm;border-top:1px solid #4e6288;font-size:6.5pt;color:#303b55}.opd-signature{text-align:center;min-width:45mm;font-size:7pt}.opd-signature span{display:block;margin-top:3mm}@media print{@page{size:A5 portrait;margin:8mm}body:has(.opd-parchi-paper) *{visibility:hidden!important}body:has(.opd-parchi-paper) .opd-parchi-paper,body:has(.opd-parchi-paper) .opd-parchi-paper *{visibility:visible!important}body:has(.opd-parchi-paper) .opd-parchi-paper{display:block!important;position:absolute!important;left:0!important;top:0!important;width:132mm!important;min-height:190mm!important;margin:0!important;padding:0!important;background:#fff!important;color:#17213a!important;font-family:Arial,Helvetica,sans-serif!important;font-size:8pt!important;line-height:1.25!important;box-shadow:none!important;border:0!important}body:has(.print-prescription):not(:has(.opd-parchi-paper)):not(:has(.print-document)) *{visibility:hidden!important}body:has(.print-prescription):not(:has(.opd-parchi-paper)):not(:has(.print-document)) .print-prescription,body:has(.print-prescription):not(:has(.opd-parchi-paper)):not(:has(.print-document)) .print-prescription *{visibility:visible!important}body:has(.print-prescription):not(:has(.opd-parchi-paper)):not(:has(.print-document)) .print-prescription{display:block!important;position:absolute!important;left:0!important;top:0!important;width:132mm!important;padding:0!important;margin:0!important;border:0!important;background:white!important;color:#111!important}body:has(.print-prescription):not(:has(.opd-parchi-paper)):not(:has(.print-document)) .print-prescription .panel-heading{border-bottom:1px solid #333;padding-bottom:4mm;margin-bottom:4mm}body:has(.print-prescription):not(:has(.opd-parchi-paper)):not(:has(.print-document)) .print-prescription .table-wrap{overflow:visible!important}body:has(.print-prescription):not(:has(.opd-parchi-paper)):not(:has(.print-document)) .print-prescription .data-table{white-space:normal!important;width:100%!important}body:has(.print-prescription):not(:has(.opd-parchi-paper)):not(:has(.print-document)) .print-prescription .data-table td,body:has(.print-prescription):not(:has(.opd-parchi-paper)):not(:has(.print-document)) .print-prescription .data-table th{padding:2mm!important;border:1px solid #999!important;color:#111!important}}.mobile-bottom-nav{display:none}@media(max-width:760px){.sidebar{position:relative;display:block;width:100%;height:auto;padding:10px 14px 8px;border-right:0;border-bottom:1px solid var(--line);background:rgba(255,255,255,.97)}.sidebar .brand{padding:0 2px;gap:9px}.sidebar .brand-mark{width:36px;height:36px;border-radius:11px}.sidebar .clinic-switch,.sidebar .nav-caption,.sidebar .sidebar-bottom,.sidebar nav:not(.mobile-bottom-nav){display:none!important}.mobile-bottom-nav{display:grid!important;position:fixed;z-index:50;left:0;right:0;bottom:0;grid-template-columns:repeat(5,minmax(0,1fr));grid-gap:2px;gap:2px;padding:7px 8px calc(7px + env(safe-area-inset-bottom));background:rgba(255,255,255,.97);border-top:1px solid #e3eae6;box-shadow:0 -8px 24px rgba(22,54,43,.08);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.mobile-bottom-link{min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:48px;border-radius:11px;color:#718078;font-size:10px;font-weight:650}.mobile-bottom-link span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.mobile-bottom-link.active{color:var(--green);background:#eaf5ef}.main-area{padding-bottom:calc(76px + env(safe-area-inset-bottom))}.page-content{padding:17px 12px 22px}.topbar{height:48px;padding:0 12px}.breadcrumb{font-size:10px}.top-actions{gap:7px}.page-heading{align-items:flex-start;flex-direction:column;gap:12px;margin-bottom:18px}.page-heading h1{font-size:22px;line-height:1.2}.page-heading p{max-width:none;font-size:12px}.page-heading>div:last-child{width:100%;display:flex;flex-wrap:wrap;gap:8px}.page-heading button{min-height:40px}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.data-table{min-width:680px}.panel{border-radius:12px;padding:13px;margin-bottom:13px}.panel-heading{align-items:flex-start;gap:10px}.form-grid{grid-template-columns:minmax(0,1fr)}button,input,select,textarea{max-width:100%}.footer{display:none}}@media(min-width:761px) and (max-width:1024px){.sidebar{width:208px;padding:18px 10px}.main-area{margin-left:208px}.page-content{padding:22px 18px}.topbar{padding:0 18px}.nav-link{font-size:11.5px;gap:9px}}@media(max-width:380px){.mobile-bottom-link{font-size:9px}.mobile-bottom-nav{padding-left:4px;padding-right:4px}.stats-grid{gap:7px}.stat-card{padding:10px}}.mobile-bottom-nav{display:none!important}@media (min-width:761px){.sidebar .mobile-bottom-nav{display:none!important}}@media (max-width:760px){.sidebar{padding-bottom:10px!important}.sidebar .sidebar-bottom{display:block!important;margin-top:10px!important}.sidebar .help-card{display:none!important}.sidebar .user-row{display:flex!important;margin:0 1px;padding:9px 2px 2px!important;border-top:1px solid var(--line);gap:9px}.sidebar .user-row>div:nth-child(2){flex:1 1;min-width:0}.sidebar .user-row b{max-width:calc(100vw - 115px)!important}.sidebar .logout-button{width:40px;height:40px;min-width:40px;border-radius:10px;background:#fff1ef!important;color:#a5423d!important;border:1px solid #f3d8d5!important}.sidebar .mobile-bottom-nav{display:grid!important;position:fixed!important;z-index:1000!important;left:0!important;right:0!important;bottom:0!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;grid-gap:2px!important;gap:2px!important;padding:7px 8px calc(7px + env(safe-area-inset-bottom))!important;background:rgba(255,255,255,.98)!important;border-top:1px solid #e3eae6!important;box-shadow:0 -8px 24px rgba(22,54,43,.08)!important;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.sidebar .mobile-bottom-link{display:flex!important;min-width:0;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:5px 1px!important;border-radius:9px;font-size:10px!important;line-height:1.15;text-align:center;color:#697873}.sidebar .mobile-bottom-link.active{background:#eaf5ef!important;color:var(--green)!important;font-weight:700}.page-content{padding-bottom:calc(92px + env(safe-area-inset-bottom))!important}}.search-trigger{cursor:pointer;text-align:left;background:#fff;color:#899791}.search-trigger span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.notification-trigger{cursor:pointer;width:34px;height:34px;border-radius:9px}.notification-trigger:hover{background:#f2f7f4}.global-overlay{position:fixed;inset:0;background:rgba(15,31,27,.34);z-index:100;display:flex;align-items:flex-start;justify-content:center;padding:12vh 18px 24px;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.global-panel{width:min(680px,100%);background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:0 24px 80px rgba(18,43,35,.2);overflow:hidden}.global-panel-head,.notification-head{display:flex;align-items:center;justify-content:space-between;padding:18px 20px;border-bottom:1px solid var(--line)}.global-panel-head b,.notification-head b{font:800 15px Manrope,sans-serif;display:block}.global-panel-head small,.notification-head small{font-size:11px;color:var(--muted);display:block;margin-top:5px;text-transform:capitalize}.panel-close{border:0;background:#f4f7f5;border-radius:8px;width:32px;height:32px;display:grid;place-items:center;color:#65756e;cursor:pointer}.global-search-input{margin:16px 18px;display:flex;align-items:center;gap:10px;border:1px solid #cddbd4;border-radius:10px;padding:0 12px;height:48px;color:var(--green)}.global-search-input:focus-within{border-color:var(--green);box-shadow:0 0 0 3px #176b5815}.global-search-input input{border:0;outline:0;min-width:0;flex:1 1;color:var(--ink);background:transparent;font-size:13px}.global-search-input kbd{font-size:10px;color:#87938e;background:#f4f6f5;border:1px solid var(--line);border-radius:4px;padding:3px 5px}.global-results{max-height:min(52vh,470px);overflow:auto;padding:0 10px 10px}.global-empty{padding:30px 16px;display:flex;align-items:center;justify-content:center;gap:9px;flex-direction:column;text-align:center;color:#899791;font-size:12px;line-height:1.6}.global-result,.notification-item{width:100%;display:flex;align-items:center;gap:12px;text-align:left;background:white;border:0;border-radius:10px;padding:12px;cursor:pointer;color:var(--ink)}.global-result:hover,.notification-item:hover{background:#f5faf7}.global-result-icon,.notification-icon{width:36px;height:36px;flex-shrink:0;border-radius:10px;background:#eaf5ef;color:var(--green);display:grid;place-items:center}.global-result-copy,.notification-copy{flex:1 1;min-width:0}.global-result-copy b,.notification-copy b{display:block;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.global-result-copy small,.notification-copy small{display:block;font-size:10px;color:var(--muted);margin-top:5px;line-height:1.5}.global-panel-foot{border-top:1px solid var(--line);padding:12px 20px;color:#8a9791;font-size:10px}.notification-popover{position:fixed;right:26px;top:84px;z-index:101;width:min(420px,calc(100vw - 24px));background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 20px 60px rgba(18,43,35,.18);overflow:hidden}.notification-list{max-height:min(65vh,560px);overflow:auto;padding:8px}.notification-item{align-items:flex-start}.notification-icon{background:#fff4df;color:#a57928}.notification-copy em{display:block;font-style:normal;font-size:9px;color:#9aa59f;margin-top:6px}.notification-foot{border-top:1px solid var(--line);padding:10px 14px;display:flex;align-items:center;justify-content:space-between;gap:8px}.notification-foot button{border:0;background:transparent;color:var(--green);font-weight:700;font-size:11px;display:flex;align-items:center;gap:5px;cursor:pointer}.notification-foot span{font-size:9px;color:#98a49f;text-align:right}@media(max-width:760px){.topbar{padding:0 14px;height:60px}.breadcrumb{font-size:10px}.top-actions{gap:8px}.search-mini{width:min(42vw,210px);height:34px;padding:0 8px}.search-mini span{font-size:10px}.search-mini kbd{display:none}.top-actions .status-pill{padding:6px 7px}.notification-popover{top:70px;right:12px}.global-overlay{padding:8vh 10px 18px}.global-panel-head{padding:15px}.global-search-input{margin:12px;height:44px}.global-results{max-height:58vh}.notification-foot span{max-width:130px}}@media (min-width:761px){html body .app-shell aside.sidebar>nav.mobile-bottom-nav{display:none!important;visibility:hidden!important;height:0!important;min-height:0!important;overflow:hidden!important}html body .app-shell aside.sidebar>.sidebar-bottom{display:block!important}}@media (max-width:760px){html body .app-shell aside.sidebar>.sidebar-bottom{display:block!important;margin-top:8px!important}html body .app-shell aside.sidebar>.sidebar-bottom .help-card{display:none!important}html body .app-shell aside.sidebar>.sidebar-bottom .user-row{display:flex!important;align-items:center!important;min-height:48px!important;padding:8px 2px 3px!important;margin:0!important;border-top:1px solid var(--line)!important}html body .app-shell aside.sidebar>.sidebar-bottom .user-row>div:nth-child(2){flex:1 1!important;min-width:0!important}html body .app-shell aside.sidebar>.sidebar-bottom .logout-button{display:grid!important;flex:0 0 42px!important;width:42px!important;height:42px!important;min-width:42px!important;border:1px solid #f0d4d1!important;border-radius:10px!important;background:#fff1ef!important;color:#a5423d!important}html body .app-shell aside.sidebar>nav.mobile-bottom-nav{display:grid!important;visibility:visible!important;position:fixed!important;z-index:1000!important;left:0!important;right:0!important;bottom:0!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;padding:7px 8px calc(7px + env(safe-area-inset-bottom))!important;background:rgba(255,255,255,.98)!important;border-top:1px solid #e3eae6!important;box-shadow:0 -8px 24px rgba(22,54,43,.08)!important}html body .app-shell aside.sidebar>nav.mobile-bottom-nav .mobile-bottom-link{display:flex!important;min-width:0!important;min-height:46px!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:4px!important;font-size:10px!important}html body .app-shell .main-area{padding-bottom:calc(76px + env(safe-area-inset-bottom))!important}}:root{--bg:#f2f8fc;--panel:#fff;--ink:#173b68;--muted:#657e98;--line:#d7e8f4;--green:#1684d5;--green-dark:#0b65ad;--mint:#e5f4ff;--gold:#e6a91a;--red:#d94b79;--shadow:0 5px 18px rgba(24,74,119,.07)}body{background:#f2f8fc;color:#183b66;font-family:DM Sans,Arial,sans-serif}.sidebar{background:#123f6d;border-right:0;color:#fff;box-shadow:3px 0 14px rgba(12,47,83,.08)}.brand{border-bottom:1px solid rgba(255,255,255,.13);margin-bottom:18px;padding-bottom:23px}.brand-mark{background:#eaf7ff;color:#167bc1;border-radius:12px}.brand b{color:#fff}.brand small{color:#b9d9f2}.clinic-switch{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.16);color:#fff;margin-bottom:22px}.clinic-switch small,.user-row small{color:#c0d9ed}.clinic-avatar{background:#e3f4ff;color:#176ca9}.nav-caption{color:#a8c9e3}.nav-link{color:#e0edf8;border-radius:7px;font-size:12px}.nav-link:hover{background:rgba(255,255,255,.11);color:#fff}.nav-link.active{background:#238de0;color:#fff;box-shadow:inset 3px 0 #b9e6ff}.nav-link.active:before{display:none}.help-card{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.12);color:#fff}.help-card p{color:#c0d9ed}.help-icon{background:#dff2ff;color:#167bc1}.user-row{border-color:rgba(255,255,255,.15)}.user-avatar{background:#dff2ff;color:#176ca9}.user-menu{color:#d2e7f7}.main-area{background:#f2f8fc}.topbar{background:#fff;border-bottom:1px solid #d7e8f4;box-shadow:0 2px 8px rgba(28,75,116,.035)}.breadcrumb{color:#7691aa}.breadcrumb b{color:#164b7e}.page-content{max-width:1680px;padding-top:24px}.eyebrow{color:#1884cf}.page-heading h1{color:#163e6c;font-size:27px;letter-spacing:-.45px}.page-heading p{color:#6d849c}.primary-button{background:#1684d5;box-shadow:0 4px 10px #1684d51c}.primary-button:hover{background:#096ab2}.secondary-button{background:#fff;border-color:#cfe0ed;color:#3e6282}.secondary-button:hover{background:#f0f8fe;border-color:#8dc5eb}.panel,.stat-card{border-color:#d8e8f3;border-radius:11px;box-shadow:0 4px 14px rgba(25,77,121,.045)}.stat-card{border-top:3px solid #258bd5}.stat-card:nth-child(2){border-top-color:#25a879}.stat-card:nth-child(3){border-top-color:#e9ae24}.stat-card:nth-child(4){border-top-color:#d94b86}.stat-icon{background:#e4f3ff;color:#1684d5}.stat-icon.blue{background:#e8efff;color:#6652bd}.stat-icon.gold{background:#fff4d9;color:#c68b08}.stat-icon.rose{background:#ffeaf1;color:#d14b7b}.stat-value{color:#153f70}.panel-heading h2{color:#174a7c}.panel-heading p{color:#7690a7}.data-table th{background:#eaf6fd;color:#38688f;border-bottom-color:#d5e9f6}.data-table td{border-bottom-color:#e9f1f7;color:#244b70}.data-table tbody tr:hover{background:#f7fbff}.field label{color:#355c7f}.field input,.field select,.field textarea{border-color:#cddfeb;color:#1c456d;border-radius:6px}.field input:focus,.field select:focus,.field textarea:focus{border-color:#58a9e4;box-shadow:0 0 0 3px #dcefff}.tag{background:#e5f7ed;color:#208251}.tag.waiting{background:#fff2d7;color:#a36d09}.tag.completed{background:#e8f2fa;color:#47789e}.notice{background:#fff7e6;border-color:#f3dfae;color:#8c6a21}.notice-success{background:#e9f8ef;border-color:#bce7cc;color:#247a4a}.module-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.module-tile{background:#e8f4ff!important;border:1px solid #b6d8f1!important;color:#14548b!important;border-radius:10px!important;min-height:76px;padding:14px 16px!important;box-shadow:none!important;text-align:left}.module-tile:nth-child(6n+2){background:#e4f8ef!important;border-color:#a8dfc8!important;color:#18744e!important}.module-tile:nth-child(6n+3){background:#f0eaff!important;border-color:#d0bdf6!important;color:#6540a6!important}.module-tile:nth-child(6n+4){background:#fff1df!important;border-color:#f0c98e!important;color:#a85b17!important}.module-tile:nth-child(6n+5){background:#ffeaf1!important;border-color:#f0b7cc!important;color:#b23d69!important}.module-tile:nth-child(6n){background:#fff8db!important;border-color:#e9d68b!important;color:#8b6a0c!important}.module-tile small{opacity:.75}.module-tile-active{outline:2px solid #1684d5;outline-offset:1px}.panel-toolbar{background:#f5fbff;border:1px solid #e0edf6;border-radius:8px;padding:10px;margin:10px 0 14px}.search-mini{border-color:#d4e5f2}.quick-action{border-color:#dceaf4}.quick-action:hover{border-color:#85c2eb;background:#f5fbff}.quick-icon{background:#e4f3ff;color:#1684d5}.quick-action:nth-child(4n+2) .quick-icon{background:#e4f8ee;color:#229465}.quick-action:nth-child(4n+3) .quick-icon{background:#f0eaff;color:#7250b8}.quick-action:nth-child(4n) .quick-icon{background:#fff0df;color:#bd771a}@media(max-width:760px){.sidebar{background:#123f6d}.brand{border-bottom:0}.nav-link.active{background:#238de0}.module-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.page-content{padding-top:18px}}@media(min-width:761px) and (max-width:1024px){.module-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.ipd-reference-overview{margin:0 0 20px}.ipd-reference-title{display:flex;justify-content:space-between;gap:16px;margin:0 0 13px;padding:16px 18px;background:#e6f4fd;border:1px solid #cce5f6;border-radius:11px}.ipd-reference-title h2{font:800 20px Manrope,sans-serif;margin:0;color:#154a7d}.ipd-reference-title p{font-size:11px;margin:5px 0 0;color:#5c7d9a}.ipd-reference-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:12px;gap:12px}.ipd-ref-card{position:relative;min-height:152px;padding:14px 14px 13px;border:1px solid;border-radius:11px;display:flex;flex-direction:column;align-items:flex-start;gap:7px;overflow:hidden;transition:transform .15s ease,box-shadow .15s ease;text-align:left;width:100%;font:inherit;cursor:pointer}.ipd-module-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:8px;gap:8px;margin-top:14px}.ipd-module-action{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border:1px solid #cfe2f4;border-radius:9px;background:#f7fbff;color:#164a79;text-align:left;font:600 13px Manrope,sans-serif;cursor:pointer;min-height:43px}.ipd-module-action:hover{background:#e8f4ff;border-color:#7eb9e8}.ipd-action-chevron{font-size:20px;color:#2785c9}.ipd-ref-card:active{transform:translateY(0) scale(.99)}@media(max-width:560px){.ipd-module-actions{grid-template-columns:1fr}}.ipd-ref-card:hover{transform:translateY(-2px);box-shadow:0 7px 18px rgba(24,74,119,.09)}.ipd-ref-number{width:29px;height:29px;display:grid;place-items:center;border-radius:50%;font-weight:800;color:white;font-size:13px}.ipd-ref-icon{position:absolute;right:13px;top:13px;font-size:28px;font-weight:800;opacity:.78}.ipd-ref-card b{font:800 13px Manrope,sans-serif;margin-top:4px}.ipd-ref-card small{line-height:1.6;opacity:.86}.tone-blue{background:#e8f5ff;border-color:#a8d3f2;color:#145a91}.tone-blue .ipd-ref-number{background:#2588d2}.tone-green{background:#e7f8ef;border-color:#a8dfc3;color:#18714e}.tone-green .ipd-ref-number{background:#21986a}.tone-purple{background:#f0eaff;border-color:#d2c0f2;color:#6244a3}.tone-purple .ipd-ref-number{background:#7954bd}.tone-orange{background:#fff1e0;border-color:#f1cca0;color:#9a5b1e}.tone-orange .ipd-ref-number{background:#e58a31}.tone-pink{background:#ffedf3;border-color:#edbfd0;color:#a93d67}.tone-pink .ipd-ref-number{background:#d94f83}.tone-teal{background:#e3f8fa;border-color:#a9e0e5;color:#117783}.tone-teal .ipd-ref-number{background:#1495a3}.tone-yellow{background:#fff8df;border-color:#ecd991;color:#8a6b0a}.tone-yellow .ipd-ref-number{background:#d8a91b}.ipd-ref-card:focus-visible{outline:3px solid #1684d5;outline-offset:2px}@media(max-width:760px){.ipd-reference-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.ipd-ref-card{min-height:145px;padding:11px}.ipd-reference-title{align-items:flex-start;flex-direction:column}.ipd-ref-card b{font-size:12px}.ipd-ref-card small{font-size:9px}}.opd-reference-nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));grid-gap:10px;gap:10px;margin:0 0 18px}.opd-nav-item{min-height:72px;border:1px solid;border-radius:9px;padding:12px;display:flex;flex-direction:column;justify-content:center;gap:6px}.opd-nav-item b{font:800 11px Manrope,sans-serif}.opd-nav-item small{font-size:9px;line-height:1.4;opacity:.82}.opd-nav-item:hover{filter:saturate(1.1);box-shadow:0 5px 14px rgba(24,74,119,.08)}@media(max-width:950px){.opd-reference-nav{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:560px){.opd-reference-nav{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.opd-nav-item{padding:10px;min-height:68px}}.opd-workspace{--opd-blue:#1677cf;--opd-ink:#143d6c;--opd-pale:#eaf6fd;max-width:100%;color:#203c5c}.opd-workspace .page-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:3px 2px 16px;margin-bottom:14px;border-bottom:1px solid #cfe5f4}.opd-workspace .page-heading h1{color:var(--opd-ink);font-size:clamp(23px,2vw,31px);letter-spacing:-.025em;margin:4px 0}.opd-workspace .page-heading p{color:#607c96;margin:5px 0 0;font-size:13px}.opd-workspace .eyebrow{color:#2b83c7;font-size:10px;letter-spacing:.12em;font-weight:800}.opd-workspace .opd-reference-nav{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:0 0 16px}.opd-workspace .opd-nav-item{min-height:72px;background:#f5fbff;border-color:#c7e1f2;box-shadow:0 1px 2px #164a7210;transition:transform .16s ease,box-shadow .16s ease}.opd-workspace .opd-nav-item b{font-size:12px;color:#164b7d}.opd-workspace .opd-nav-item small{font-size:10px;color:#5d7892}.opd-workspace .opd-nav-item.tone-blue{background:#e8f5ff;border-color:#a9d5f3}.opd-workspace .opd-nav-item.tone-green{background:#e8f8f0;border-color:#b5e3ce}.opd-workspace .opd-nav-item.tone-purple{background:#f1edff;border-color:#d3c6f2}.opd-workspace .opd-nav-item.tone-orange{background:#fff3e4;border-color:#f1d2aa}.opd-workspace .opd-nav-item.tone-pink{background:#fff0f5;border-color:#efc5d4}.opd-workspace .stats-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 16px}.opd-workspace .stat-card{border:1px solid #d0e6f4;border-radius:10px;background:linear-gradient(145deg,#fff,#f4fbff);padding:14px 16px;box-shadow:0 2px 6px #174d7510}.opd-workspace .stat-top{color:#51718f;font-size:11px;font-weight:700}.opd-workspace .stat-value{color:#1769ad;font-size:28px;font-weight:800;line-height:1.3}.opd-workspace .stat-foot{color:#7890a5;font-size:10px}.opd-workspace .panel{border:1px solid #cfe4f1;border-radius:11px;background:#fff;box-shadow:0 2px 8px #164a720a;margin-bottom:16px;padding:0;overflow:hidden}.opd-workspace .panel-heading{padding:14px 17px;background:#eaf6fd;border-bottom:1px solid #d4eaf6;margin:0 0 15px}.opd-workspace .panel-heading h2{font-size:16px;color:#174b7b;font-weight:800;margin:0}.opd-workspace .panel-heading p{font-size:11px;color:#64809a;margin:5px 0 0}.opd-workspace .panel>.field,.opd-workspace .panel>.form-actions,.opd-workspace .panel>.form-grid,.opd-workspace .panel>.notice,.opd-workspace .panel>.print-hide,.opd-workspace .panel>.table-wrap,.opd-workspace .panel>article,.opd-workspace .panel>form{margin-left:16px;margin-right:16px}.opd-workspace .panel>form{padding-bottom:16px}.opd-workspace .form-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 16px}.opd-workspace .field label{font-size:11px;font-weight:750;color:#315674;margin-bottom:6px}.opd-workspace .field input:not([type=checkbox]),.opd-workspace .field select,.opd-workspace .field textarea{width:100%;min-height:39px;border:1px solid #ccdeeb;border-radius:6px;background:#fff;color:#294966;padding:9px 10px;font:500 12px inherit;box-shadow:inset 0 1px 2px #0b3e6606}.opd-workspace .field textarea{min-height:78px;resize:vertical}.opd-workspace .field input:focus,.opd-workspace .field select:focus,.opd-workspace .field textarea:focus{outline:2px solid #9cd2f7;outline-offset:1px;border-color:#5aa8e5}.opd-workspace .field small{color:#7890a4;font-size:10px;line-height:1.45}.opd-workspace .primary-button{border:1px solid #1776c5;border-radius:6px;background:linear-gradient(180deg,#238bdc,#1471bd);color:white;padding:9px 13px;font-size:11px;font-weight:750;box-shadow:0 2px 4px #126ab41f}.opd-workspace .primary-button:hover{filter:brightness(1.04);box-shadow:0 4px 10px #126ab42b}.opd-workspace .secondary-button{border:1px solid #c6ddea;border-radius:6px;background:#fff;color:#285a82;padding:8px 11px;font-size:11px;font-weight:700}.opd-workspace .secondary-button:hover{background:#f0f8fd;border-color:#9fc9e4}.opd-workspace .form-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-top:14px;margin-bottom:15px}.opd-workspace .notice{border:1px solid #c8e2f1;background:#f2faff;color:#365d7a;border-radius:7px;padding:10px 12px;font-size:11px;line-height:1.55}.opd-workspace .table-wrap{overflow:auto;border:1px solid #d4e6f1;border-radius:8px}.opd-workspace .data-table{width:100%;border-collapse:separate;border-spacing:0;min-width:900px;font-size:11px}.opd-workspace .data-table thead th{background:#e7f4fc;color:#24567e;font-weight:800;text-align:left;white-space:nowrap;padding:11px 10px;border-bottom:1px solid #cfe3f0}.opd-workspace .data-table tbody td{padding:10px;border-bottom:1px solid #e5eef5;color:#36546f;vertical-align:top}.opd-workspace .data-table tbody tr:nth-child(2n){background:#f9fcfe}.opd-workspace .data-table tbody tr:hover{background:#eff8fe}.opd-workspace .data-table td b{color:#174b7b}.opd-workspace .data-table td small{display:block;color:#7890a4;margin-top:3px}.opd-workspace .tag{display:inline-flex;align-items:center;border-radius:5px;padding:4px 7px;font-size:10px;font-weight:750;background:#fff0d5;color:#9a6814}.opd-workspace .opd-parchi-paper{border:1px solid #b8cddd;border-radius:4px;padding:20px;color:#173a5c}.opd-workspace .opd-parchi-header{border-bottom:2px solid #1b70ad}@media(max-width:1050px){.opd-workspace .opd-reference-nav{grid-template-columns:repeat(3,minmax(0,1fr))}.opd-workspace .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.opd-workspace .page-heading{align-items:flex-start;flex-direction:column}.opd-workspace .opd-reference-nav{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.opd-workspace .form-grid,.opd-workspace .stats-grid{grid-template-columns:1fr}.opd-workspace .panel-heading{padding:12px}.opd-workspace .panel>.field,.opd-workspace .panel>.form-actions,.opd-workspace .panel>.form-grid,.opd-workspace .panel>.notice,.opd-workspace .panel>.print-hide,.opd-workspace .panel>.table-wrap,.opd-workspace .panel>article,.opd-workspace .panel>form{margin-left:10px;margin-right:10px}}@media print{.opd-workspace #opd-queue,.opd-workspace #opd-registration,.opd-workspace .opd-reference-nav,.opd-workspace .page-heading,.opd-workspace .print-hide,.opd-workspace .stats-grid{display:none!important}.opd-workspace .panel{box-shadow:none;border:0}.opd-workspace .opd-parchi-paper{border:1px solid #999;padding:10mm}}.opd-workspace .opd-main-layout{display:grid;grid-template-columns:minmax(0,1fr) 270px;grid-gap:14px;gap:14px;align-items:start}.opd-workspace .opd-main-layout>#opd-registration{margin-bottom:16px}.opd-workspace .opd-side-stack{display:grid;grid-gap:12px;gap:12px}.opd-workspace .opd-side-panel{border:1px solid #cfe4f1;border-radius:10px;background:#fff;overflow:hidden;box-shadow:0 2px 8px #164a7209}.opd-workspace .opd-side-panel h3{margin:0;padding:12px 14px;background:#eaf6fd;border-bottom:1px solid #d5eaf5;color:#174b7b;font-size:13px;font-weight:800}.opd-workspace .opd-quick-grid{padding:11px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:8px;gap:8px}.opd-workspace .opd-quick-grid a,.opd-workspace .opd-quick-grid button{min-height:77px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;border:1px solid;border-radius:7px;text-decoration:none;font-size:23px;font-weight:800;cursor:pointer}.opd-workspace .opd-quick-grid span{font-size:10px;font-weight:700}.opd-workspace .quick-blue{background:#e9f5ff;border-color:#c5e2f7;color:#267fc2}.opd-workspace .quick-green{background:#e9f8f0;border-color:#c7e9d7;color:#2b9a68}.opd-workspace .quick-purple{background:#f2edff;border-color:#d9cff6;color:#7856bd}.opd-workspace .quick-orange{background:#fff3e5;border-color:#f5d9b5;color:#d88831}.opd-workspace .quick-teal{background:#e8f9fa;border-color:#c3e9eb;color:#1c98a5}.opd-workspace .quick-pink{background:#fff0f5;border-color:#f0c9d8;color:#d34e80}.opd-workspace .opd-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:15px 8px}.opd-workspace .opd-summary-grid div{display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;border-right:1px solid #e0edf5}.opd-workspace .opd-summary-grid div:last-child{border-right:0}.opd-workspace .opd-summary-grid b{font-size:23px;color:#164b7b}.opd-workspace .opd-summary-grid span{font-size:9px;color:#6e879d}.opd-workspace .opd-recent-list{padding:3px 12px}.opd-workspace .opd-recent-list button{width:100%;display:flex;flex-direction:column;align-items:flex-start;gap:4px;padding:10px 2px;border:0;border-bottom:1px solid #e7eff5;background:transparent;text-align:left;cursor:pointer}.opd-workspace .opd-recent-list button:hover{background:#f5fbff}.opd-workspace .opd-recent-list b{font-size:11px;color:#204d74}.opd-workspace .opd-recent-list p,.opd-workspace .opd-recent-list small{font-size:10px;color:#7a91a5}@media(max-width:1120px){.opd-workspace .opd-main-layout{grid-template-columns:minmax(0,1fr)}.opd-workspace .opd-side-stack{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:720px){.opd-workspace .opd-side-stack{grid-template-columns:1fr}.opd-workspace .opd-quick-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}.opd-workspace .opd-header-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap;min-width:min(100%,460px)}.opd-workspace .opd-global-search{display:flex;align-items:center;gap:9px;min-width:280px;max-width:390px;flex:1 1;border:1px solid #c9dfed;border-radius:7px;background:#fff;padding:0 11px;color:#4f82a8}.opd-workspace .opd-global-search input{width:100%;height:38px;border:0;outline:0;background:transparent;color:#234968;font-size:12px}.opd-workspace .opd-global-search:focus-within{border-color:#65afe2;box-shadow:0 0 0 3px #dceffc}.opd-workspace .opd-search-results{margin:0 0 14px!important;overflow:hidden}.opd-workspace .opd-search-results .panel-heading{display:flex;align-items:center;justify-content:space-between;margin:0;padding:10px 14px}.opd-workspace .opd-search-results .panel-heading h2{font-size:13px}.opd-workspace .opd-search-result-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:0 12px;gap:0 12px;padding:8px 14px}.opd-workspace .opd-search-result-list button{display:flex;flex-direction:column;align-items:flex-start;gap:5px;padding:11px;border:0;border-bottom:1px solid #e2eef6;background:#fff;text-align:left;cursor:pointer}.opd-workspace .opd-search-result-list button:hover{background:#f0f8fe}.opd-workspace .opd-search-result-list b{color:#174b7b;font-size:12px}.opd-workspace .opd-search-empty,.opd-workspace .opd-search-result-list span{font-size:11px;color:#6d879d}.opd-workspace .opd-search-empty{padding:0 14px 14px}.opd-workspace .opd-queue-filters{display:grid;grid-template-columns:minmax(220px,1.6fr) repeat(3,minmax(130px,1fr)) auto;grid-gap:10px;gap:10px;align-items:end;margin:0 16px 13px}.opd-workspace .opd-queue-filters .field{margin:0;min-width:0}.opd-workspace .opd-queue-filters .secondary-button{min-height:39px;white-space:nowrap}.opd-workspace .opd-main-layout .panel-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}@media(max-width:1100px){.opd-workspace .opd-queue-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.opd-workspace .opd-header-actions{width:100%;min-width:0;justify-content:flex-start}.opd-workspace .opd-global-search{min-width:100%;max-width:none}.opd-workspace .opd-search-result-list{grid-template-columns:1fr}.opd-workspace .opd-queue-filters{grid-template-columns:1fr;margin-left:10px;margin-right:10px}}.opd-workspace .tag.status-completed{background:#e4f7ed;color:#18794e}.opd-workspace .tag.status-consultation{background:#e8f1ff;color:#235fb3}.opd-workspace .tag.status-called{background:#f0eaff;color:#6e45b7}.modal-backdrop{position:fixed;inset:0;z-index:3000;display:flex;align-items:center;justify-content:center;padding:18px;background:rgba(8,25,45,.56);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);overflow:auto}.modal{position:relative;z-index:3001;width:min(900px,calc(100vw - 32px));max-height:calc(100dvh - 36px);overflow:auto;background:#fff;border:1px solid #d7e5f0;border-radius:16px;box-shadow:0 24px 80px rgba(5,28,50,.28);padding:20px}.ipd-module-modal{width:min(760px,calc(100vw - 28px));max-height:min(82vh,760px)}.ipd-form-modal{position:fixed;z-index:3100;left:50%;top:50%;width:min(900px,calc(100vw - 32px));padding:22px;box-shadow:0 0 0 100vmax rgba(8,25,45,.56),0 24px 80px rgba(5,28,50,.28)}.ipd-floating-panel,.ipd-form-modal{transform:translate(-50%,-50%);max-height:calc(100dvh - 36px);overflow:auto}.ipd-floating-panel{position:fixed!important;z-index:3100!important;left:50%!important;top:50%!important;width:min(1200px,calc(100vw - 32px));padding:20px;background:#fff!important;border:1px solid #d7e5f0!important;border-radius:16px!important;box-shadow:0 0 0 100vmax rgba(8,25,45,.56),0 24px 80px rgba(5,28,50,.28)!important}.ipd-floating-panel .panel-heading,.modal .panel-heading{position:-webkit-sticky;position:sticky;top:-20px;z-index:2;background:#fff;padding:4px 0 12px}@media(max-width:640px){.modal-backdrop{padding:8px;align-items:flex-start}.modal{width:100%;max-height:calc(100dvh - 16px);padding:14px}.ipd-floating-panel,.ipd-form-modal{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);padding:14px}}.ipd-bed-rooms{display:grid;grid-gap:14px;gap:14px;padding:2px 0 8px}.ipd-bed-room{border:1px solid #d7e8f8;border-radius:12px;overflow:hidden;background:linear-gradient(180deg,#f8fcff,#fff);box-shadow:0 2px 8px rgba(15,67,115,.045)}.ipd-bed-room-head{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:13px 15px;background:#edf6ff;border-bottom:1px solid #d8e9fa;color:#0d3979}.ipd-bed-room-title{display:flex;align-items:center;gap:10px;flex:1 1;min-width:280px}.ipd-bed-room-title strong{font-size:15px}.ipd-bed-count,.ipd-bed-type{font-size:12px;color:#526b8c}.ipd-bed-count{border-radius:20px;background:#fff;border:1px solid #cfe2f7;padding:4px 9px}.ipd-bed-rate{font-size:12px;font-weight:700;color:#174b96}.ipd-room-stats{font-size:12px;color:#45617f}.ipd-room-stats span{padding:0 5px;color:#9cb1c7}.ipd-bed-card-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:10px;gap:10px;padding:12px}.ipd-bed-card{min-width:0;border:1px solid #d8e7f5;border-radius:10px;background:#fff;padding:11px;box-shadow:0 2px 5px rgba(16,60,100,.035)}.ipd-bed-card.is-occupied{background:#fffafa;border-color:#f1d3d7}.ipd-bed-card-top{display:flex;align-items:center;gap:9px;min-width:0}.ipd-bed-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;flex:none}.ipd-bed-icon.available{color:#119461;background:#e4f8ef}.ipd-bed-icon.occupied{color:#e12d43;background:#ffeaed}.ipd-bed-label{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1 1}.ipd-bed-label strong{font-size:13px;color:#103b7c;overflow-wrap:anywhere}.ipd-bed-label small,.ipd-bed-patient small{font-size:11px;color:#6b8099}.ipd-bed-status{font-size:10px;font-weight:700;border-radius:5px;padding:4px 6px;white-space:nowrap}.ipd-bed-status.available{background:#d9f7e8;color:#087647}.ipd-bed-status.occupied{background:#ffe0e4;color:#bd1e32}.ipd-bed-patient{display:flex;flex-direction:column;gap:5px;min-height:44px;padding:10px 2px 7px}.ipd-bed-patient strong{font-size:12px;color:#23496f;overflow-wrap:anywhere}.ipd-bed-actions{display:flex;flex-wrap:wrap;gap:6px}.ipd-bed-actions button{font-size:11px!important;padding:7px 9px!important;min-height:31px}.ipd-bed-empty{padding:18px;color:#6b8099;font-size:13px}.ipd-bed-room .primary-button,.ipd-bed-room .secondary-button{white-space:nowrap}@media(max-width:1250px){.ipd-bed-card-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:900px){.ipd-bed-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ipd-bed-room-title{min-width:0;flex-wrap:wrap}}@media(max-width:560px){.ipd-bed-card-grid{grid-template-columns:1fr}.ipd-bed-room-head{align-items:flex-start}.ipd-room-stats{width:100%}}@media (max-height:760px) and (min-width:761px){.sidebar{padding-top:14px;padding-bottom:10px}.brand{padding-bottom:14px}.clinic-switch{margin-bottom:16px}.help-card{display:none}.sidebar-bottom{padding-top:6px}.user-row{padding-top:10px}}@media (max-width:760px){.sidebar nav:not(.mobile-bottom-nav),.sidebar-bottom{display:none}}html{scroll-behavior:smooth;text-size-adjust:100%}body{min-width:320px;overflow-x:hidden}canvas,img,svg,video{max-width:100%}a,button,input,select,textarea{-webkit-tap-highlight-color:transparent}a,button{touch-action:manipulation}.app-shell,.content-grid,.ipd-workspace,.main-area,.opd-workspace,.page-content,.panel,.table-scroll,.table-wrap,input,select,textarea{max-width:100%;min-width:0}.page-content{width:100%}.page-content,.topbar{padding-left:clamp(14px,2.2vw,34px);padding-right:clamp(14px,2.2vw,34px)}.topbar{gap:12px}.top-actions{min-width:0;gap:clamp(7px,1.1vw,18px)}.search-mini{min-width:0;max-width:42vw}.stats-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.content-grid{grid-template-columns:minmax(0,1.55fr) minmax(0,1fr)}.panel,.stat-card{min-width:0}.table-panel,.table-scroll,.table-wrap{max-width:100%;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}.data-table,table{max-width:100%}.page-heading,.panel-heading,.section-toolbar,.table-toolbar{min-width:0;flex-wrap:wrap}.field-grid,.field-grid>*,.form-grid,.form-grid>*,.form-row,.form-row>*,.page-heading>*,.panel-heading>*{min-width:0}.ipd-floating-panel,.ipd-form-modal,.modal{overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.mobile-bottom-link,.nav-link,.primary-button,.secondary-button,button{min-height:36px}:focus-visible{outline:3px solid #82c9f0;outline-offset:2px}@media (min-width:1500px){.page-content{padding-top:30px;padding-bottom:32px}.stats-grid{gap:18px}.panel{padding:22px}}@media (max-width:1250px){.sidebar{width:228px;padding-left:12px;padding-right:12px}.main-area{margin-left:228px}.page-content,.topbar{padding-left:20px;padding-right:20px}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.content-grid{grid-template-columns:minmax(0,1fr)}.ipd-bed-card-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width:1024px){.sidebar{width:214px;padding:16px 10px 10px}.main-area{margin-left:214px}.brand{padding-bottom:16px;margin-bottom:12px}.clinic-switch{margin-bottom:15px}.help-card{padding:10px;margin-bottom:8px}.nav-link{gap:9px;padding:0 10px;font-size:11.5px}.page-content{padding:20px 16px 24px}.topbar{height:64px;padding:0 16px}.page-heading h1{font-size:24px}.opd-reference-nav{grid-template-columns:repeat(3,minmax(0,1fr))}.ipd-bed-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:760px){body,html{width:100%;overflow-x:hidden}.app-shell{width:100%;overflow-x:clip}.sidebar{width:min(86vw,310px);max-width:310px;transform:translateX(-105%);visibility:hidden;pointer-events:none;transition:transform .2s ease,visibility .2s ease}.sidebar.sidebar-open{transform:translateX(0);visibility:visible;pointer-events:auto}.main-area{margin-left:0;width:100%;max-width:100%;min-width:0;padding-bottom:calc(72px + env(safe-area-inset-bottom))}.topbar{position:-webkit-sticky;position:sticky;top:0;height:auto;min-height:58px;padding:10px 12px;gap:8px;flex-wrap:wrap}.breadcrumb{font-size:10px;min-width:0;overflow-wrap:anywhere}.top-actions{flex:0 0 auto;margin-left:auto;gap:6px}.search-mini{width:38px;max-width:38px;height:36px;justify-content:center;padding:0;overflow:hidden;gap:0}.search-mini kbd,.search-mini span{display:none}.top-actions .status-pill{font-size:0;padding:7px;gap:0}.top-actions .status-pill svg{width:15px;height:15px}.page-content{padding:16px 12px 24px;width:100%;max-width:100%}.footer{padding:12px 14px;gap:8px;flex-wrap:wrap}.page-heading{flex-direction:column;align-items:stretch;gap:12px;margin-bottom:17px}.page-heading h1{font-size:22px;line-height:1.25;overflow-wrap:anywhere}.page-heading p{line-height:1.55}.page-heading>.primary-button,.page-heading>.secondary-button{align-self:flex-start;max-width:100%;white-space:normal}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.stat-card{padding:13px;min-height:0}.stat-value{font-size:clamp(19px,5vw,25px);overflow-wrap:anywhere}.content-grid{grid-template-columns:minmax(0,1fr);gap:12px}.panel{padding:13px;border-radius:11px;margin-bottom:12px}.panel-heading{gap:8px;align-items:flex-start;flex-wrap:wrap}.opd-reference-nav,.quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.opd-reference-nav{gap:7px}.ipd-bed-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:9px}.ipd-bed-card{padding:9px}.table-scroll,.table-wrap{width:100%;overflow-x:auto;max-width:calc(100vw - 28px)}.data-table,table{min-width:620px}.table-toolbar{align-items:stretch;flex-direction:column;padding:12px;gap:10px}.table-toolbar .search-box{width:100%;max-width:none}.form-grid,.opd-workspace .form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.modal-backdrop{align-items:flex-start;padding:8px}.ipd-floating-panel,.ipd-form-modal,.ipd-module-modal,.modal{width:calc(100vw - 16px);max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);padding:13px;border-radius:12px}.global-overlay{padding:7vh 8px 12px}.global-panel{max-height:86dvh;overflow:auto}.notification-popover{right:8px;top:64px;width:calc(100vw - 16px)}.auth-screen{display:block;min-height:100dvh}.auth-panel{min-height:100dvh;padding:26px 20px}.setup-card{margin:12px;padding:14px}}@media (max-width:480px){.topbar{align-items:center}.breadcrumb{max-width:calc(100vw - 110px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.top-actions{gap:4px}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stat-label{font-size:10px;line-height:1.4}.stat-icon{width:30px;height:30px}.form-grid,.opd-workspace .form-grid,.quick-grid{grid-template-columns:minmax(0,1fr)}.form-grid>.span-2,.span-2{grid-column:span 1}.opd-workspace .opd-quick-grid,.opd-workspace .opd-reference-nav{grid-template-columns:repeat(2,minmax(0,1fr))}.ipd-bed-card-grid{grid-template-columns:minmax(0,1fr)}.ipd-bed-room-head{padding:11px;gap:8px}.ipd-bed-room-title{width:100%;min-width:0}.ipd-bed-actions button{flex:1 1 auto}.modal-actions{display:flex;flex-wrap:wrap;grid-column:span 1}.modal-actions button{flex:1 1 120px}.page-content{padding-left:10px;padding-right:10px}.panel{padding:10px}.opd-workspace .panel>.field,.opd-workspace .panel>.form-actions,.opd-workspace .panel>.form-grid,.opd-workspace .panel>.notice,.opd-workspace .panel>.print-hide,.opd-workspace .panel>.table-wrap,.opd-workspace .panel>article,.opd-workspace .panel>form{margin-left:0;margin-right:0}}@media (max-height:760px) and (min-width:761px){.sidebar{padding-top:10px;padding-bottom:8px}.brand{padding-bottom:12px;margin-bottom:10px}.clinic-switch{margin-bottom:12px}.help-card{display:none}.sidebar-bottom{margin-top:auto}.sidebar nav:not(.mobile-bottom-nav){min-height:0}}@media (prefers-reduced-motion:reduce){*,:after,:before{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}html body .app-shell aside.sidebar{background:#123f6d!important;color:#f4f9ff!important;display:flex!important;flex-direction:column!important;min-height:0!important;overflow:hidden!important}html body .app-shell aside.sidebar>nav:not(.mobile-bottom-nav){flex:1 1 auto!important;min-height:0!important;overflow-x:hidden!important;overflow-y:auto!important;scrollbar-color:#6f9bc1 #123f6d!important;padding-bottom:12px!important}html body .app-shell aside.sidebar>.sidebar-bottom{flex:0 0 auto!important;margin-top:auto!important;padding:10px 4px 2px!important;background:#123f6d!important;color:#f4f9ff!important;border-top:0!important;box-shadow:none!important}html body .app-shell aside.sidebar>.sidebar-bottom .help-card{background:rgba(255,255,255,.07)!important;border:1px solid rgba(220,239,255,.16)!important;color:#f4f9ff!important;margin:0 0 10px!important}html body .app-shell aside.sidebar>.sidebar-bottom .help-card p,html body .app-shell aside.sidebar>.sidebar-bottom .user-row small{color:#c0d9ed!important}html body .app-shell aside.sidebar>.sidebar-bottom .user-row{display:flex!important;align-items:center!important;gap:9px!important;min-width:0!important;margin:0!important;padding:12px 2px 4px!important;border-top:0!important;background:transparent!important;color:#f4f9ff!important}html body .app-shell aside.sidebar>.sidebar-bottom .user-row>div:nth-child(2){flex:1 1 auto!important;min-width:0!important}html body .app-shell aside.sidebar>.sidebar-bottom .user-row b{display:block!important;max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;color:#fff!important;font-size:11px!important}html body .app-shell aside.sidebar>.sidebar-bottom .logout-button{display:grid!important;place-items:center!important;flex:0 0 38px!important;width:38px!important;height:38px!important;min-width:38px!important;margin-left:auto!important;padding:0!important;border:1px solid rgba(255,211,211,.45)!important;border-radius:9px!important;background:#fff0ef!important;color:#a72d35!important;opacity:1!important;visibility:visible!important}html body .app-shell aside.sidebar>.sidebar-bottom .logout-button svg{display:block!important;color:#a72d35!important;stroke:currentColor!important}html body .app-shell aside.sidebar>.sidebar-bottom .logout-button:hover{background:#ffe0de!important;border-color:#f4aaa7!important}@media (min-width:761px){html body .app-shell aside.sidebar{height:100dvh!important}html body .app-shell aside.sidebar>.sidebar-bottom{padding-bottom:max(8px,env(safe-area-inset-bottom))!important}}@media (max-height:820px) and (min-width:761px){html body .app-shell aside.sidebar{padding-top:14px!important;padding-bottom:8px!important}html body .app-shell aside.sidebar>.brand{padding-bottom:13px!important;margin-bottom:10px!important}html body .app-shell aside.sidebar>.clinic-switch{margin-bottom:12px!important}html body .app-shell aside.sidebar .help-card{display:none!important}html body .app-shell aside.sidebar>.sidebar-bottom{padding-top:7px!important}}@media (max-width:760px){html body .app-shell aside.sidebar>.sidebar-bottom{display:none!important}html body .app-shell aside.sidebar>nav.mobile-bottom-nav{display:grid!important}}@media (prefers-contrast:more){html body .app-shell aside.sidebar>.sidebar-bottom .logout-button{border:2px solid #a72d35!important}}@media (max-width:760px){body,html{overflow-x:hidden!important}html body .app-shell aside.sidebar>nav.mobile-bottom-nav{display:flex!important;flex-direction:row!important;align-items:stretch!important;justify-content:flex-start!important;gap:6px!important;position:fixed!important;left:0!important;right:0!important;bottom:0!important;width:100%!important;max-width:100vw!important;height:auto!important;min-height:70px!important;padding:7px 10px calc(7px + env(safe-area-inset-bottom))!important;overflow-x:auto!important;overflow-y:hidden!important;overscroll-behavior-x:contain!important;touch-action:pan-x!important;-webkit-overflow-scrolling:touch!important;scrollbar-width:thin!important;background:rgba(255,255,255,.98)!important;border-top:1px solid #dce6ed!important;box-shadow:0 -5px 20px rgba(18,55,88,.1)!important;z-index:1000!important}html body .app-shell aside.sidebar>nav.mobile-bottom-nav .mobile-bottom-link{display:flex!important;flex:0 0 76px!important;width:76px!important;min-width:76px!important;max-width:76px!important;min-height:54px!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:4px!important;padding:5px 3px!important;margin:0!important;border-radius:10px!important;white-space:nowrap!important;color:#697a79!important;font-size:10px!important;line-height:1.15!important;background:transparent!important}html body .app-shell aside.sidebar>nav.mobile-bottom-nav .mobile-bottom-link span{display:block!important;max-width:70px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}html body .app-shell aside.sidebar>nav.mobile-bottom-nav .mobile-bottom-link.active{color:#147fc0!important;background:#e8f4fb!important;font-weight:700!important}html body .app-shell aside.sidebar>nav.mobile-bottom-nav .mobile-bottom-link svg{flex:0 0 auto!important;width:20px!important;height:20px!important}body{padding-bottom:calc(76px + env(safe-area-inset-bottom))!important}.main-area{padding-bottom:10px!important}}.brand-logo-image{overflow:hidden;background:#031b12!important;padding:2px;border:1px solid rgba(221,177,69,.45)}.brand-logo-image img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;border-radius:9px}.powered-by{display:flex;align-items:center;gap:7px;padding:9px 5px 2px;border-top:0;margin-top:4px;min-width:0}.powered-by span{font-size:9px;color:#c3d6e7;white-space:nowrap}.powered-by img{width:25px;height:25px;object-fit:contain;background:#031b12;border-radius:5px}.powered-by small{font-size:8px;line-height:1.2;color:#b9d9f2;overflow-wrap:anywhere}.login-clinic-logo{width:112px;height:101px;object-position:center;border-radius:12px}.login-clinic-logo,.login-mobile-logo{object-fit:contain;background:#031b12;flex:0 0 auto}.login-mobile-logo{width:48px;height:44px;border-radius:8px}.login-brand-footer{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.login-brand-footer img{width:46px;height:42px;object-fit:contain;background:#031b12;border-radius:5px}.login-brand-footer span{color:#d8bd7e;letter-spacing:.3px}.login-brand-footer small{color:#b7cfc3}.footer-powered{display:inline-flex;align-items:center;gap:5px;margin-left:auto;color:#718078}.footer-powered img{width:22px;height:20px;object-fit:contain;vertical-align:middle}@media(max-width:760px){.powered-by{display:none}.footer-powered{width:100%;margin-left:0}.login-clinic-logo{display:none}.sidebar{position:relative!important;flex-direction:column!important;width:100%!important;height:auto!important;max-height:none!important;padding:12px 14px 10px!important;overflow:visible!important;background:#123f6d!important;border:0!important;border-bottom:1px solid rgba(255,255,255,.16)!important;z-index:55!important}.sidebar,.sidebar>.brand{display:flex!important;color:#fff!important}.sidebar>.brand{align-items:center!important;padding:3px 2px 12px!important;margin:0!important;border-bottom:1px solid rgba(255,255,255,.22)!important}.sidebar>.brand b,.sidebar>.brand small{color:#fff!important}.sidebar .brand-mark{flex:0 0 42px!important;width:42px!important;height:42px!important}.sidebar .clinic-switch,.sidebar .nav-caption,.sidebar>nav:not(.mobile-bottom-nav){display:none!important}.sidebar .sidebar-bottom{display:block!important;flex:0 0 auto!important;margin:10px 0 0!important;padding:0!important;background:transparent!important;color:#fff!important}.sidebar .help-card{display:none!important}.sidebar .user-row{display:flex!important;align-items:center!important;gap:10px!important;min-width:0!important;padding:0!important;background:transparent!important;color:#fff!important}.sidebar .user-avatar{flex:0 0 42px!important;width:42px!important;height:42px!important;background:#e4f3ff!important;color:#17639a!important}.sidebar .user-row b{color:#fff!important;max-width:min(62vw,360px)!important;font-size:13px!important}.sidebar .user-row small{display:block!important;color:#d2e5f5!important;font-size:11px!important;margin-top:3px!important}.sidebar .logout-button{flex:0 0 42px!important;width:42px!important;height:42px!important;margin-left:auto!important;color:#9d3333!important;background:#fff1ef!important;border:1px solid #f0d3d0!important;border-radius:12px!important}.sidebar .powered-by{display:none!important}.mobile-bottom-nav{display:flex!important;position:fixed!important;z-index:100!important;left:0!important;right:0!important;bottom:0!important;width:100%!important;max-width:100vw!important;height:calc(66px + env(safe-area-inset-bottom, 0px))!important;padding:6px 8px calc(6px + env(safe-area-inset-bottom, 0px))!important;gap:5px!important;overflow-x:auto!important;overflow-y:hidden!important;overscroll-behavior-x:contain!important;-webkit-overflow-scrolling:touch!important;scrollbar-width:thin!important;background:#fff!important;border-top:1px solid #dce6ee!important;box-shadow:0 -5px 18px rgba(18,63,109,.1)!important;box-sizing:border-box!important}.mobile-bottom-nav .mobile-bottom-link{display:flex!important;flex:0 0 76px!important;min-width:76px!important;max-width:112px!important;height:52px!important;padding:5px 6px!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;white-space:nowrap!important;overflow:hidden!important;border-radius:10px!important;color:#657780!important;text-decoration:none!important;font-size:10px!important;box-sizing:border-box!important}.mobile-bottom-nav .mobile-bottom-link span{display:block!important;max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important}.mobile-bottom-nav .mobile-bottom-link.active{background:#eaf5ef!important;color:#2185bf!important;font-weight:700!important}.main-area{margin:0!important;width:100%!important;padding-bottom:calc(78px + env(safe-area-inset-bottom, 0px))!important}.main-area,.topbar{min-width:0!important}.topbar{position:-webkit-sticky!important;position:sticky!important;top:0!important;z-index:45!important}.page-content{min-width:0!important}body{overflow-x:hidden!important}}@media (min-width:761px){.mobile-bottom-nav{display:none!important}}@media (max-width:760px){html body .app-shell>aside.sidebar{translate:none!important;position:relative!important;inset:auto!important;flex-shrink:0!important}html body .app-shell>aside.sidebar,html body .app-shell>aside.sidebar>nav.mobile-bottom-nav{transform:none!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important}html body .app-shell>aside.sidebar>nav.mobile-bottom-nav{position:fixed!important}html body .app-shell>aside.sidebar>.brand,html body .app-shell>aside.sidebar>.sidebar-bottom,html body .app-shell>aside.sidebar>nav.mobile-bottom-nav{visibility:visible!important;opacity:1!important}html body .app-shell>main.main-area{margin-left:0!important;width:100%!important;min-width:0!important}}.mobile-brand-row{display:contents}.mobile-header-logout{display:none}@media (max-width:760px){html body .app-shell>aside.sidebar{box-sizing:border-box!important;width:100%!important;max-width:none!important;flex:0 0 100%!important;min-width:0!important;padding:8px 14px 7px!important;gap:0!important;overflow:visible!important}html body .app-shell>aside.sidebar>.mobile-brand-row{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;width:100%!important;min-width:0!important;min-height:62px!important;border-bottom:1px solid rgba(255,255,255,.22)!important;padding:0 0 7px!important;box-sizing:border-box!important}html body .app-shell>aside.sidebar>.mobile-brand-row>.brand{display:flex!important;flex:1 1 auto!important;min-width:0!important;align-items:center!important;gap:10px!important;padding:0!important;margin:0!important;border:0!important}html body .app-shell>aside.sidebar .brand-mark{width:40px!important;height:40px!important;flex-basis:40px!important;border-radius:9px!important}html body .app-shell>aside.sidebar .brand b{font-size:20px!important;line-height:1.1!important}html body .app-shell>aside.sidebar .brand small{font-size:9px!important;letter-spacing:1.8px!important;margin-top:3px!important}html body .app-shell>aside.sidebar>.mobile-brand-row>.mobile-header-logout{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;flex:0 0 auto!important;width:auto!important;min-width:42px!important;height:40px!important;padding:0 10px!important;margin:0!important;border:1px solid #f0d3d0!important;border-radius:10px!important;background:#fff1ef!important;color:#9d3333!important;font-size:12px!important;font-weight:700!important}html body .app-shell>aside.sidebar>.sidebar-bottom{display:none!important}html body .app-shell>main.main-area>.topbar{min-height:48px!important;height:auto!important;padding:8px 14px!important;flex-wrap:nowrap!important;gap:8px!important;box-sizing:border-box!important}html body .breadcrumb{display:flex!important;align-items:center!important;gap:7px!important;flex:1 1 auto!important;min-width:0!important;white-space:nowrap!important;overflow:hidden!important}html body .breadcrumb-clinic-name{max-width:45vw!important}html body .breadcrumb b,html body .breadcrumb-clinic-name{overflow:hidden!important;text-overflow:ellipsis!important}}.login-mobile-powered{display:none}@media (max-width:760px){.login-mobile-powered{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;margin:28px auto 0;padding:14px 10px 0;border-top:1px solid #e5ece7;box-sizing:border-box;color:#60736a}.login-mobile-powered img{display:block;width:42px;height:42px;flex:0 0 42px;object-fit:contain;border-radius:7px;background:#031b12}.login-mobile-powered span{display:flex;flex-direction:column;gap:3px;min-width:0}.login-mobile-powered small{color:#829188;font-size:10px}.login-mobile-powered b{color:#1b513d;font-size:11px;line-height:1.4}body,html{min-height:100%;height:auto}body{overflow-x:hidden}.app-shell{min-height:100dvh;height:auto}html body .app-shell>main.main-area{min-height:0!important;height:auto!important;flex:0 0 auto!important;padding-bottom:calc(76px + env(safe-area-inset-bottom, 0px))!important}html body .app-shell>main.main-area>.page-content{flex:0 0 auto!important;min-height:0!important;height:auto!important;margin-bottom:0!important;padding-bottom:18px!important}html body .app-shell>main.main-area>.footer{flex:0 0 auto!important;min-height:0!important;margin-top:0!important;padding:12px 16px calc(14px + env(safe-area-inset-bottom, 0px))!important;box-sizing:border-box!important;flex-wrap:wrap!important;gap:8px!important}.login-screen{min-height:100dvh!important;height:auto!important}.login-form-panel{min-height:0!important;height:auto!important;align-items:flex-start!important;padding:24px 20px 28px!important}.login-form-wrap{margin:0 auto!important}.login-mobile-brand{margin-bottom:28px!important}body,html{width:100%;min-height:100%;height:auto;margin:0;overflow-x:clip;background:#f1f7fc}body{overscroll-behavior-y:auto}.login-screen{display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:stretch!important;width:100%!important;min-height:100svh!important;min-height:100dvh!important;height:auto!important;padding:18px 0!important;box-sizing:border-box!important;background:linear-gradient(180deg,#eaf4fc,#f4f8fc 52%,#ffffff)!important;color:#173f67!important}.login-brand-panel{display:none!important}.login-form-panel{display:flex!important;flex:0 0 auto!important;align-items:center!important;justify-content:center!important;min-height:0!important;height:auto!important;padding:0 18px!important;background:transparent!important}.login-form-panel,.login-form-wrap{width:100%!important;box-sizing:border-box!important}.login-form-wrap{max-width:430px!important;margin:auto!important;padding:24px 20px 20px!important;border:1px solid #d8e7f4!important;border-radius:20px!important;background:rgba(255,255,255,.97)!important;box-shadow:0 16px 42px rgba(24,67,105,.1)!important}.login-mobile-brand{display:flex!important;align-items:center!important;justify-content:center!important;gap:12px!important;margin:0 auto 22px!important;padding-bottom:17px!important;border-bottom:1px solid #dce9f5!important;text-align:left!important}.login-mobile-brand img,.login-mobile-logo{display:block!important;width:54px!important;height:54px!important;object-fit:contain!important;border-radius:12px!important;background:#062117!important;flex:0 0 54px!important}.login-mobile-brand b{color:#173f67!important;font-size:23px!important}.login-mobile-brand small{color:#537b9d!important;font-size:9px!important;letter-spacing:1.5px!important}.login-welcome{margin-bottom:22px!important;text-align:center!important}.login-welcome .login-kicker{color:#2587c9!important}.login-welcome h2{color:#173f67!important;font-size:25px!important;line-height:1.2!important}.login-welcome p{color:#6e8295!important}.login-form label,.login-password-heading label{color:#2b4d6a!important}.login-input-wrap{border-color:#cddfed!important;background:#fff!important}}@media (max-width:760px){.login-input-wrap:focus-within{border-color:#268bd0!important;box-shadow:0 0 0 3px #e4f2fc!important}.login-text-button{color:#147fc0!important}.login-submit{background:#168bd2!important;box-shadow:0 7px 18px rgba(22,139,210,.18)!important}.login-submit:hover{background:#1178b8!important}.login-security-note{color:#6d8497!important;margin-top:20px!important}.login-help{color:#8798a8!important}.login-mobile-powered{margin:20px auto 0!important;padding:14px 0 0!important;border-top:1px solid #e0eaf2!important;color:#5f7890!important}.login-mobile-powered img{width:36px!important;height:36px!important;flex-basis:36px!important}.login-mobile-powered b{color:#245b83!important}.login-screen{margin:0!important}.app-shell{height:auto!important}.app-shell,.app-shell>main.main-area{min-height:0!important}}body:has(.login-screen),html:has(.login-screen){margin:0!important;padding-bottom:0!important;min-height:100%!important;background:#edf5fb!important}.login-screen{color:#173f67!important;background:#edf5fb!important}.login-brand-panel{background:radial-gradient(ellipse at 12% 85%,#23679a 0,transparent 46%),linear-gradient(145deg,#103b63,#174875 58%,#1d5a88)!important;color:#fff!important}.login-brand-copy .login-kicker,.login-brand-footer span{color:#f1c96e!important}.login-form-panel{background:linear-gradient(180deg,#edf5fb,#f7fbfe)!important}.login-welcome .login-kicker{color:#2787c1!important}.login-welcome h2{color:#173f67!important}.login-security-note,.login-welcome p{color:#71869a!important}.login-form label,.login-password-heading label{color:#2c4d6b!important}.login-input-wrap{border-color:#cfdfec!important}.login-input-wrap:focus-within{border-color:#258bd0!important;box-shadow:0 0 0 3px #e4f2fc!important}.login-text-button{color:#147fc0!important}.login-submit{background:#168bd2!important;box-shadow:0 7px 18px rgba(22,139,210,.18)!important}.login-submit:hover{background:#1178b8!important}.login-alert.success{color:#216b4c!important;background:#eaf7ef!important;border-color:#cdebd8!important}@media (max-width:760px){body:has(.login-screen),html:has(.login-screen){padding:0!important;margin:0!important;height:auto!important;min-height:100%!important;background:#edf5fb!important}.login-screen{display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:stretch!important;min-height:100svh!important;min-height:100dvh!important;height:auto!important;margin:0!important;padding:16px 0!important;box-sizing:border-box!important;background:linear-gradient(180deg,#eaf4fc,#f4f8fc 62%,#edf5fb)!important}.login-form-panel{padding:0 16px!important}.login-form-wrap{margin:0 auto!important}}@media (min-width:761px){.login-form-panel{padding:40px clamp(28px,4vw,64px)!important}.login-form-wrap{max-width:440px!important}}.opd-workspace .opd-parchi-paper{box-sizing:border-box;border:0!important;border-radius:0!important;background:#fff;padding:0;color:#172b3e;box-shadow:none;max-width:100%;font-family:Arial,Helvetica,sans-serif}.opd-workspace .opd-parchi-header{border:0;border-bottom:2px solid var(--parchi-primary,#17436d);padding:0 0 8px;margin:0 0 10px;background:#fff}.opd-workspace .opd-letterhead-generated{display:flex;align-items:center;gap:16px;min-height:25mm;padding:4mm 2mm;color:var(--parchi-primary,#17436d)}.opd-workspace .opd-letterhead-generated img{max-width:24mm;max-height:22mm;object-fit:contain}.opd-workspace .opd-letterhead-details{flex:1 1;text-align:center;font-size:9pt;line-height:1.45}.opd-workspace .opd-letterhead-details h1{font-size:19pt;line-height:1.15;margin:0 0 3px;color:var(--parchi-primary,#17436d);font-weight:800}.opd-workspace .opd-parchi-valid{font-size:8pt;color:#34485b;display:flex;justify-content:space-between;gap:10px;padding:3px 0}.opd-workspace .opd-parchi-document-title{text-align:center;font-weight:800;font-size:12pt;letter-spacing:.4px;padding:5px 0;color:var(--parchi-primary,#17436d)}.opd-workspace .opd-patient-grid>div,.opd-workspace .opd-writing-grid>div{border-color:#aab8c5}@page{size:A4 portrait;margin:10mm}@media print{body,html{width:210mm!important;min-height:297mm!important;background:#fff!important;margin:0!important;padding:0!important}body:has(.opd-parchi-paper) *{visibility:hidden!important}body:has(.opd-parchi-paper) .opd-parchi-paper,body:has(.opd-parchi-paper) .opd-parchi-paper *{visibility:visible!important}body:has(.opd-parchi-paper) .opd-parchi-paper{display:block!important;position:absolute!important;left:0!important;top:0!important;width:190mm!important;min-height:277mm!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:#fff!important;color:#172b3e!important;font-size:9pt!important;line-height:1.25!important;overflow:visible!important}.opd-workspace .opd-parchi-header{border:0!important;border-bottom:1.5pt solid var(--parchi-primary,#17436d)!important;margin-bottom:3mm!important;padding-bottom:2mm!important}.opd-workspace .opd-letterhead-generated{min-height:24mm!important;padding:2mm 1mm!important}.opd-workspace .opd-parchi-paper .opd-patient-grid{border:1px solid #aab8c5!important;page-break-inside:avoid;break-inside:avoid}.opd-workspace .opd-parchi-paper .opd-writing-grid{min-height:100mm!important;page-break-inside:avoid;break-inside:avoid}.opd-workspace .opd-parchi-paper .opd-parchi-footer{margin-top:3mm!important;border-top:1px solid #aab8c5!important}.opd-workspace .opd-parchi-paper .opd-main-writing section{min-height:18mm!important}.opd-workspace .opd-parchi-paper .opd-main-writing p{white-space:pre-wrap!important}}.opd-workspace .opd-parchi-paper .opd-parchi-header{display:block!important;box-sizing:border-box;width:100%;background:#fff!important;border:0!important;border-radius:0!important;padding:0!important;margin:0 0 3mm!important;color:#173f5f}.opd-workspace .opd-parchi-paper .opd-letterhead-generated{flex-direction:row-reverse;align-items:center;justify-content:space-between;gap:5mm;width:100%;padding:5mm 6mm!important;border-radius:0!important}.opd-workspace .opd-parchi-paper .opd-letterhead-generated img{display:block;flex:0 0 auto;width:22mm!important;height:22mm!important;max-width:22mm!important;max-height:22mm!important;object-fit:contain;background:#fff;border-radius:50%;padding:1mm}.opd-workspace .opd-parchi-paper .opd-letterhead-details{flex:1 1;min-width:0;color:#fff!important;overflow-wrap:anywhere}.opd-workspace .opd-parchi-paper .opd-letterhead-details h1{color:#fff!important;line-height:1.08!important;letter-spacing:.1px}.opd-workspace .opd-parchi-paper .opd-letterhead-subtitle{font-size:8.5pt;font-weight:600;letter-spacing:.15px;margin-bottom:1mm;color:#eef8fa}.opd-workspace .opd-parchi-paper .opd-letterhead-details>div:not(.opd-letterhead-subtitle){margin-top:.4mm}.opd-workspace .opd-parchi-paper .opd-parchi-valid{display:flex;justify-content:space-between;align-items:center;gap:3mm;padding:1.5mm 0!important;margin:0!important;border-bottom:1px solid #b9cbd5;font-size:7.5pt!important;color:#34485b!important}.opd-workspace .opd-parchi-paper .opd-parchi-document-title{display:block;text-align:left!important;padding:2.5mm 0!important;margin:0!important;color:var(--parchi-primary,#17436d)!important;font-size:10pt!important;letter-spacing:.2px;border-bottom:1.5px solid var(--parchi-primary,#17436d);white-space:normal!important;overflow-wrap:normal!important}.opd-header-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:8px;gap:8px;padding:8px 0}.opd-header-options label{display:flex;align-items:center;gap:7px;font-size:13px}.opd-header-options input{width:auto}@media print{.opd-workspace .opd-parchi-paper .opd-parchi-header{display:block!important;width:100%!important;margin-bottom:3mm!important}.opd-workspace .opd-parchi-paper .opd-letterhead-generated{display:flex!important;flex-direction:row-reverse!important;width:100%!important;min-height:29mm!important;padding:4mm 5mm!important;print-color-adjust:exact!important;-webkit-print-color-adjust:exact!important}.opd-workspace .opd-parchi-paper .opd-letterhead-generated img{width:21mm!important;height:21mm!important;max-width:21mm!important;max-height:21mm!important}.opd-workspace .opd-parchi-paper .opd-letterhead-details h1{font-size:17pt!important;color:#fff!important}.opd-workspace .opd-parchi-paper .opd-letterhead-details,.opd-workspace .opd-parchi-paper .opd-letterhead-subtitle{color:#fff!important}.opd-workspace .opd-parchi-paper .opd-preprinted-letterhead .opd-letterhead-generated{display:none!important}}.opd-workspace .opd-parchi-paper .opd-letterhead-generated{position:relative;isolation:isolate;min-height:29mm;box-sizing:border-box}.opd-workspace .opd-parchi-paper .opd-letterhead-details{position:relative;z-index:1;min-height:18mm}.opd-workspace .opd-parchi-paper .opd-writing-grid{grid-template-columns:18mm minmax(0,1fr) 20mm;align-items:stretch}.opd-workspace .opd-parchi-paper .opd-investigation-findings,.opd-workspace .opd-parchi-paper .opd-investigations{height:auto;align-self:stretch;box-sizing:border-box}.opd-workspace .opd-parchi-paper .opd-signature{white-space:nowrap}@page{size:A4 portrait;margin:8mm}@media print{body,html{width:210mm!important;height:auto!important;min-height:297mm!important;margin:0!important;padding:0!important;background:#fff!important}body:has(.opd-parchi-paper) .opd-parchi-paper{position:absolute!important;left:0!important;top:0!important;width:194mm!important;height:281mm!important;min-height:281mm!important;max-width:none!important;margin:0!important;padding:0!important;box-sizing:border-box!important;display:flex!important;flex-direction:column!important;overflow:hidden!important}body:has(.opd-parchi-paper) .opd-parchi-paper .opd-parchi-header{flex:0 0 auto!important;margin:0 0 3mm!important;padding:0!important;width:100%!important}body:has(.opd-parchi-paper) .opd-parchi-paper .opd-letterhead-generated{width:100%!important;min-height:31mm!important;height:auto!important;padding:4mm 5mm!important;box-sizing:border-box!important}body:has(.opd-parchi-paper) .opd-parchi-paper .opd-letterhead-details{min-height:20mm!important}body:has(.opd-parchi-paper) .opd-parchi-paper .opd-parchi-valid{padding:1mm 0!important}body:has(.opd-parchi-paper) .opd-parchi-paper .opd-parchi-document-title{padding:2mm 0!important}body:has(.opd-parchi-paper) .opd-parchi-paper .opd-patient-grid{flex:0 0 auto!important;page-break-inside:avoid!important;break-inside:avoid!important;margin-bottom:2mm!important}body:has(.opd-parchi-paper) .opd-parchi-paper .opd-writing-grid{flex:1 1 auto!important;min-height:0!important;height:auto!important;grid-template-columns:18mm minmax(0,1fr) 20mm!important;page-break-inside:avoid!important;break-inside:avoid!important;align-items:stretch!important}body:has(.opd-parchi-paper) .opd-parchi-paper .opd-main-writing{display:grid!important;grid-template-rows:repeat(4,minmax(0,1fr))!important;min-height:0!important}body:has(.opd-parchi-paper) .opd-parchi-paper .opd-main-writing section{min-height:0!important;height:auto!important;box-sizing:border-box!important;overflow-wrap:anywhere!important}body:has(.opd-parchi-paper) .opd-parchi-paper .opd-main-writing p{min-height:0!important}body:has(.opd-parchi-paper) .opd-parchi-paper .opd-investigation-findings,body:has(.opd-parchi-paper) .opd-parchi-paper .opd-investigations{height:100%!important;min-height:0!important;align-self:stretch!important}body:has(.opd-parchi-paper) .opd-parchi-paper .opd-parchi-footer{flex:0 0 auto!important;margin-top:2mm!important;padding-top:2mm!important;display:grid!important;grid-template-columns:1fr auto!important;grid-gap:5mm!important;gap:5mm!important;align-items:end!important}body:has(.opd-parchi-paper) .opd-parchi-paper .opd-signature{min-width:42mm!important;text-align:center!important}body:has(.opd-parchi-paper) .opd-parchi-paper .opd-signature span{display:inline-block!important;margin-top:3mm!important}}@media print{@page{size:A4 portrait;margin:0!important}body,html{width:210mm!important;height:297mm!important;min-height:297mm!important;margin:0!important;padding:0!important;overflow:hidden!important;background:#fff!important}body:has(.opd-parchi-paper){overflow:hidden!important}body:has(.opd-parchi-paper) .opd-parchi-paper{position:absolute!important;inset:0 auto auto 0!important;display:flex!important;flex-direction:column!important;box-sizing:border-box!important;width:210mm!important;height:297mm!important;min-height:297mm!important;max-width:none!important;margin:0!important;padding:8mm!important;overflow:hidden!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:#fff!important}body:has(.opd-parchi-paper) .opd-parchi-paper .opd-parchi-header{display:block!important;flex:0 0 auto!important;width:100%!important;margin:0 0 3mm!important;padding:0!important;overflow:visible!important;background:#fff!important;border:0!important;color:#173f5f!important}body:has(.opd-parchi-paper) .opd-parchi-paper .opd-letterhead-generated{display:flex!important;position:relative!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;gap:5mm!important;width:100%!important;min-height:27mm!important;height:auto!important;box-sizing:border-box!important;padding:3mm 4mm!important;margin:0!important;background:#fff!important;background-image:none!important;color:#173f5f!important;border:0!important;border-bottom:2mm solid var(--parchi-primary,#17436d)!important;overflow:visible!important;print-color-adjust:exact!important;-webkit-print-color-adjust:exact!important}body:has(.opd-parchi-paper) .opd-parchi-paper .opd-letterhead-generated img{display:block!important;visibility:visible!important;position:static!important;flex:0 0 22mm!important;width:22mm!important;height:22mm!important;max-width:22mm!important;max-height:22mm!important;object-fit:contain!important;border-radius:0!important;background:transparent!important;padding:0!important}body:has(.opd-parchi-paper) .opd-parchi-paper .opd-letterhead-details{display:block!important;visibility:visible!important;position:static!important;flex:1 1 auto!important;min-width:0!important;min-height:0!important;height:auto!important;text-align:left!important;color:#173f5f!important;font-size:8pt!important;line-height:1.35!important;overflow:visible!important;overflow-wrap:break-word!important;opacity:1!important}body:has(.opd-parchi-paper) .opd-parchi-paper .opd-letterhead-details h1{display:block!important;visibility:visible!important;position:static!important;margin:0 0 1.5mm!important;padding:0!important;color:#173f5f!important;font-family:Arial,Helvetica,sans-serif!important;font-size:18pt!important;line-height:1.1!important;font-weight:800!important;white-space:normal!important;overflow:visible!important;opacity:1!important}body:has(.opd-parchi-paper) .opd-parchi-paper .opd-letterhead-subtitle{color:#36566e!important}body:has(.opd-parchi-paper) .opd-parchi-paper .opd-parchi-document-title,body:has(.opd-parchi-paper) .opd-parchi-paper .opd-parchi-footer,body:has(.opd-parchi-paper) .opd-parchi-paper .opd-parchi-valid,body:has(.opd-parchi-paper) .opd-parchi-paper .opd-patient-grid,body:has(.opd-parchi-paper) .opd-parchi-paper .opd-writing-grid{flex-shrink:0!important}body:has(.opd-parchi-paper) .opd-parchi-paper .opd-writing-grid{flex:1 1 auto!important;min-height:0!important;height:auto!important;width:100%!important;max-width:100%!important;overflow:hidden!important;grid-template-columns:18mm minmax(0,1fr) 20mm!important}body:has(.opd-parchi-paper) .opd-parchi-paper .opd-main-writing{display:grid!important;grid-template-rows:repeat(4,minmax(0,1fr))!important;min-width:0!important;min-height:0!important}body:has(.opd-parchi-paper) .opd-parchi-paper .opd-main-writing section{min-height:0!important;overflow:hidden!important}body:has(.opd-parchi-paper) .opd-parchi-paper .opd-parchi-footer{flex:0 0 auto!important;margin-top:2mm!important}body:has(.opd-parchi-paper) .opd-parchi-paper *{max-width:100%}}.opd-workspace .opd-parchi-paper .opd-letterhead-generated{display:flex!important;flex-direction:row-reverse!important;align-items:center!important;justify-content:space-between!important;gap:5mm!important;width:100%!important;min-height:25mm!important;height:auto!important;box-sizing:border-box!important;padding:3mm 4mm!important;margin:0!important;border:0!important;border-bottom:2mm solid var(--parchi-primary,#17436d)!important;overflow:visible!important}.opd-workspace .opd-parchi-paper .opd-letterhead-generated:after,.opd-workspace .opd-parchi-paper .opd-letterhead-generated:before{content:none!important;display:none!important;background:none!important}.opd-workspace .opd-parchi-paper .opd-letterhead-generated img{display:block!important;flex:0 0 23mm!important;width:23mm!important;height:23mm!important;max-width:23mm!important;max-height:23mm!important;object-fit:contain!important;border:0!important;padding:0!important}.opd-workspace .opd-parchi-paper .opd-letterhead-details{display:block!important;flex:1 1 auto!important;min-width:0!important;text-align:left!important;color:#173f5f!important;background:transparent!important;font-size:8pt!important;line-height:1.35!important;overflow-wrap:anywhere!important}.opd-workspace .opd-parchi-paper .opd-letterhead-details h1{display:block!important;margin:0 0 1.5mm!important;color:#173f5f!important;font-size:18pt!important;line-height:1.1!important;font-weight:800!important;white-space:normal!important;visibility:visible!important;opacity:1!important}@media print{@page{size:A4 portrait;margin:0!important}body,html{width:210mm!important;height:297mm!important;margin:0!important;padding:0!important;overflow:hidden!important;background:#fff!important}body:has(.opd-parchi-paper) .opd-parchi-paper{width:210mm!important;height:297mm!important;min-height:297mm!important;box-sizing:border-box!important;padding:8mm!important;margin:0!important;overflow:hidden!important}body:has(.opd-parchi-paper) .opd-parchi-paper .opd-parchi-header{background:#fff!important;background-image:none!important;border:0!important;width:100%!important;margin:0 0 3mm!important;padding:0!important}body:has(.opd-parchi-paper) .opd-parchi-paper .opd-letterhead-generated{background:#fff!important;background-color:#fff!important;background-image:none!important}body:has(.opd-parchi-paper) .opd-parchi-paper .opd-letterhead-generated *{background:transparent!important;background-image:none!important}body:has(.opd-parchi-paper) .opd-parchi-paper .opd-preprinted-letterhead .opd-letterhead-generated{display:none!important}body:has(.opd-parchi-paper) .opd-parchi-paper .opd-writing-grid{width:100%!important;max-width:100%!important;overflow:hidden!important}}@media print{@page{size:A4 portrait;margin:0}body,html{margin:0!important;padding:0!important;width:210mm!important;min-width:0!important;height:auto!important;overflow:visible!important;background:#fff!important}body:has(.opd-parchi-paper){overflow:hidden!important}body:has(.opd-parchi-paper) *{box-sizing:border-box}body:has(.opd-parchi-paper) .opd-parchi-paper{width:210mm!important;height:297mm!important;min-height:297mm!important;max-height:297mm!important;margin:0!important;padding:8mm!important;overflow:hidden!important;border:0!important;box-shadow:none!important;display:flex!important;flex-direction:column!important;background:#fff!important}body:has(.opd-parchi-paper) .opd-parchi-paper .opd-parchi-header{display:block!important;flex:0 0 auto!important;width:100%!important;min-width:0!important;margin:0 0 3mm!important;padding:0!important;border:0!important;border-radius:0!important;color:#173f5f!important;background:#fff!important;background-color:#fff!important;background-image:none!important;box-shadow:none!important;overflow:visible!important}body:has(.opd-parchi-paper.opd-paper-plain) .opd-letterhead-generated{display:flex!important;flex-direction:row-reverse!important;justify-content:space-between!important;align-items:center!important;width:100%!important;min-height:28mm!important;height:auto!important;margin:0 0 2mm!important;padding:3mm 2mm!important;color:#173f5f!important;background:#fff!important;background-color:#fff!important;background-image:none!important;border:0!important;border-bottom:1.2mm solid var(--parchi-primary,#17436d)!important;border-radius:0!important;box-shadow:none!important;isolation:auto!important;position:static!important;overflow:visible!important}body:has(.opd-parchi-paper.opd-paper-plain) .opd-letterhead-generated:after,body:has(.opd-parchi-paper.opd-paper-plain) .opd-letterhead-generated:before{content:none!important;display:none!important}body:has(.opd-parchi-paper.opd-paper-plain) .opd-letterhead-generated img{display:block!important;width:24mm!important;height:24mm!important;max-width:24mm!important;max-height:24mm!important;object-fit:contain!important;flex:0 0 24mm!important;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}body:has(.opd-parchi-paper.opd-paper-plain) .opd-letterhead-details,body:has(.opd-parchi-paper.opd-paper-plain) .opd-letterhead-details *{display:block;color:#173f5f!important;background:transparent!important;background-image:none!important;text-align:left!important;overflow-wrap:anywhere!important;opacity:1!important;visibility:visible!important}body:has(.opd-parchi-paper.opd-paper-plain) .opd-letterhead-details h1{display:block!important;margin:0 0 1.5mm!important;font-size:18pt!important;line-height:1.1!important;font-weight:800!important}body:has(.opd-parchi-paper.opd-paper-preprinted) .opd-parchi-header:before{content:""!important;display:block!important;width:100%!important;height:4in!important;min-height:4in!important;max-height:4in!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;background-image:none!important;box-shadow:none!important}body:has(.opd-parchi-paper.opd-paper-preprinted) .opd-letterhead-generated{display:none!important}body:has(.opd-parchi-paper) .opd-parchi-valid{display:flex!important;justify-content:space-between!important;gap:4mm!important;width:100%!important;margin:0 0 2mm!important;padding:0 0 1.5mm!important;border-bottom:.3mm solid #aab9c7!important;color:#173f5f!important;background:transparent!important}body:has(.opd-parchi-paper) .opd-parchi-document-title{display:block!important;width:100%!important;margin:0 0 2.5mm!important;padding:0 0 1.5mm!important;color:#173f5f!important;background:transparent!important;border-bottom:.4mm solid var(--parchi-primary,#17436d)!important;font-size:12pt!important;line-height:1.2!important;white-space:normal!important}body:has(.opd-parchi-paper) .opd-parchi-footer,body:has(.opd-parchi-paper) .opd-patient-grid,body:has(.opd-parchi-paper) .opd-writing-grid{width:100%!important;max-width:100%!important;min-width:0!important;overflow:hidden!important}body:has(.opd-parchi-paper) .opd-parchi-paper *{max-width:100%}body:has(.opd-parchi-paper) .opd-parchi-paper .opd-parchi-footer{margin-top:auto!important}body:has(.opd-parchi-paper) .opd-parchi-paper .opd-parchi-paper{overflow:hidden!important}body:has(.opd-parchi-paper) .print-prescription{margin:0!important;padding:0!important;border:0!important;box-shadow:none!important}body:has(.opd-parchi-paper) .print-prescription .panel-heading{display:none!important}}@media print{@page{size:A4 portrait;margin:0!important}body:has(.opd-parchi-paper){margin:0!important;padding:0!important;overflow:hidden!important}body:has(.opd-parchi-paper) .opd-parchi-paper{position:absolute!important;left:0!important;top:0!important;width:210mm!important;height:297mm!important;min-height:297mm!important;max-height:297mm!important;margin:0!important;padding:8mm!important;box-sizing:border-box!important;overflow:hidden!important;background:#fff!important;background-image:none!important;border:0!important;box-shadow:none!important}body:has(.opd-parchi-paper.opd-paper-preprinted) .opd-parchi-paper .opd-parchi-header,body:has(.opd-parchi-paper.opd-paper-preprinted) .opd-parchi-paper .opd-parchi-header *{background:transparent!important;background-color:transparent!important;background-image:none!important;box-shadow:none!important}body:has(.opd-parchi-paper.opd-paper-preprinted) .opd-parchi-paper .opd-parchi-header{display:block!important;position:static!important;width:100%!important;height:auto!important;min-height:0!important;margin:-8mm 0 2.5mm!important;padding:3in 0 0!important;border:0!important;border-radius:0!important;color:#173f5f!important}body:has(.opd-parchi-paper.opd-paper-preprinted) .opd-parchi-paper .opd-letterhead-generated,body:has(.opd-parchi-paper.opd-paper-preprinted) .opd-parchi-paper .opd-letterhead-generated:after,body:has(.opd-parchi-paper.opd-paper-preprinted) .opd-parchi-paper .opd-letterhead-generated:before,body:has(.opd-parchi-paper.opd-paper-preprinted) .opd-parchi-paper .opd-parchi-header:after,body:has(.opd-parchi-paper.opd-paper-preprinted) .opd-parchi-paper .opd-parchi-header:before{content:none!important;display:none!important;height:0!important;min-height:0!important;background:transparent!important;background-image:none!important;border:0!important;box-shadow:none!important}body:has(.opd-parchi-paper.opd-paper-preprinted) .opd-parchi-paper .opd-parchi-header .opd-parchi-document-title,body:has(.opd-parchi-paper.opd-paper-preprinted) .opd-parchi-paper .opd-parchi-header .opd-parchi-valid{background:transparent!important;background-image:none!important}body:has(.opd-parchi-paper) .opd-parchi-paper *{max-width:100%!important;box-sizing:border-box!important}}@media print{@page{size:A4 portrait;margin:0!important}body:has(.opd-parchi-paper.opd-paper-preprinted) .opd-parchi-paper,body:has(.opd-parchi-paper.opd-paper-preprinted) .opd-parchi-paper *{background-image:none!important;box-shadow:none!important}body:has(.opd-parchi-paper.opd-paper-preprinted) .opd-parchi-paper .opd-parchi-header{background:transparent!important;background-color:transparent!important;background-image:none!important;border:0!important;outline:0!important;margin-top:-8mm!important;padding-top:3in!important;min-height:0!important;height:auto!important;overflow:visible!important}body:has(.opd-parchi-paper.opd-paper-preprinted) .opd-parchi-paper .opd-letterhead-generated,body:has(.opd-parchi-paper.opd-paper-preprinted) .opd-parchi-paper .opd-letterhead-generated:after,body:has(.opd-parchi-paper.opd-paper-preprinted) .opd-parchi-paper .opd-letterhead-generated:before,body:has(.opd-parchi-paper.opd-paper-preprinted) .opd-parchi-paper .opd-parchi-header:after,body:has(.opd-parchi-paper.opd-paper-preprinted) .opd-parchi-paper .opd-parchi-header:before{display:none!important;content:none!important;visibility:hidden!important;height:0!important;min-height:0!important;max-height:0!important;padding:0!important;margin:0!important;border:0!important;background:transparent!important;background-color:transparent!important;background-image:none!important;box-shadow:none!important}body:has(.opd-parchi-paper.opd-paper-preprinted) .opd-parchi-paper .opd-parchi-document-title,body:has(.opd-parchi-paper.opd-paper-preprinted) .opd-parchi-paper .opd-parchi-valid{background:transparent!important;background-color:transparent!important;background-image:none!important;box-shadow:none!important}}@media print{body:has(.opd-parchi-paper.opd-paper-preprinted) .opd-parchi-paper{background:#fff!important;background-image:none!important}body:has(.opd-parchi-paper.opd-paper-preprinted) .opd-parchi-paper .opd-parchi-header,body:has(.opd-parchi-paper.opd-paper-preprinted) .opd-parchi-paper .opd-parchi-header *{background:transparent!important;background-color:transparent!important;background-image:none!important;color:#173f5f!important;box-shadow:none!important;outline:0!important}body:has(.opd-parchi-paper.opd-paper-preprinted) .opd-parchi-paper .opd-parchi-header{display:block!important;height:auto!important;min-height:0!important;margin:0 0 2.5mm!important;padding:0!important;border:0!important}body:has(.opd-parchi-paper.opd-paper-preprinted) .opd-parchi-paper .opd-letterhead-generated,body:has(.opd-parchi-paper.opd-paper-preprinted) .opd-parchi-paper .opd-letterhead-generated:after,body:has(.opd-parchi-paper.opd-paper-preprinted) .opd-parchi-paper .opd-letterhead-generated:before,body:has(.opd-parchi-paper.opd-paper-preprinted) .opd-parchi-paper .opd-parchi-header:after,body:has(.opd-parchi-paper.opd-paper-preprinted) .opd-parchi-paper .opd-parchi-header:before{display:none!important;content:none!important;visibility:hidden!important;height:0!important;min-height:0!important;max-height:0!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;background-image:none!important;box-shadow:none!important}body:has(.opd-parchi-paper.opd-paper-preprinted) .opd-parchi-paper:before{content:""!important;display:block!important;height:76.2mm!important;width:100%!important;background:#fff!important;background-image:none!important;margin:0!important;padding:0!important}}@media print{body:has(.opd-parchi-paper.opd-paper-preprinted) .opd-parchi-paper{display:flex!important;flex-direction:column!important;width:210mm!important;height:297mm!important;min-height:297mm!important;max-height:297mm!important;margin:0!important;padding:0 8mm 8mm!important;box-sizing:border-box!important;overflow:hidden!important;background:#fff!important;background-image:none!important;border:0!important;border-radius:0!important;box-shadow:none!important}body:has(.opd-parchi-paper.opd-paper-preprinted) .opd-parchi-paper:after,body:has(.opd-parchi-paper.opd-paper-preprinted) .opd-parchi-paper:before{content:none!important;display:none!important;height:0!important;min-height:0!important;background:transparent!important;background-image:none!important;border:0!important;box-shadow:none!important}body:has(.opd-parchi-paper.opd-paper-preprinted) .opd-preprinted-top-spacer{display:block!important;flex:0 0 76.2mm!important;width:100%!important;height:76.2mm!important;min-height:76.2mm!important;max-height:76.2mm!important;margin:0!important;padding:0!important;border:0!important;outline:0!important;background:#fff!important;background-color:#fff!important;background-image:none!important;box-shadow:none!important}body:has(.opd-parchi-paper.opd-paper-preprinted) .opd-parchi-paper>.opd-parchi-header{display:block!important;flex:0 0 auto!important;position:static!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;margin:0 0 2.5mm!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;background-color:transparent!important;background-image:none!important;color:#173f5f!important;box-shadow:none!important;overflow:visible!important}body:has(.opd-parchi-paper.opd-paper-preprinted) .opd-parchi-paper>.opd-parchi-header:after,body:has(.opd-parchi-paper.opd-paper-preprinted) .opd-parchi-paper>.opd-parchi-header:before{content:none!important;display:none!important;height:0!important;min-height:0!important;max-height:0!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;background-image:none!important;box-shadow:none!important}}.opd-workspace .opd-parchi-paper .opd-letterhead-generated,.opd-workspace .opd-parchi-paper .opd-parchi-header{background:#fff!important;background-color:#fff!important;background-image:none!important;box-shadow:none!important}.opd-workspace .opd-parchi-paper .opd-letterhead-details,.opd-workspace .opd-parchi-paper .opd-letterhead-details h1,.opd-workspace .opd-parchi-paper .opd-letterhead-details>div,.opd-workspace .opd-parchi-paper .opd-letterhead-subtitle{color:#173f5f!important}.opd-workspace .opd-parchi-paper .opd-letterhead-generated:after,.opd-workspace .opd-parchi-paper .opd-letterhead-generated:before,.opd-workspace .opd-parchi-paper .opd-parchi-header:after,.opd-workspace .opd-parchi-paper .opd-parchi-header:before{content:none!important;display:none!important;background:transparent!important;background-image:none!important;box-shadow:none!important;border:0!important}@media print{body:has(.opd-parchi-paper) .opd-parchi-paper .opd-letterhead-generated,body:has(.opd-parchi-paper) .opd-parchi-paper .opd-parchi-header{background:#fff!important;background-color:#fff!important;background-image:none!important;box-shadow:none!important;-webkit-print-color-adjust:economy!important;print-color-adjust:economy!important}body:has(.opd-parchi-paper) .opd-parchi-paper .opd-letterhead-generated:after,body:has(.opd-parchi-paper) .opd-parchi-paper .opd-letterhead-generated:before,body:has(.opd-parchi-paper) .opd-parchi-paper .opd-parchi-header:after,body:has(.opd-parchi-paper) .opd-parchi-paper .opd-parchi-header:before{content:none!important;display:none!important;background:transparent!important;background-image:none!important;box-shadow:none!important;border:0!important}body:has(.opd-parchi-paper.opd-paper-plain) .opd-parchi-paper .opd-letterhead-generated{color:#173f5f!important;border-bottom:1px solid #d5e0e8!important}body:has(.opd-parchi-paper.opd-paper-plain) .opd-parchi-paper .opd-letterhead-details,body:has(.opd-parchi-paper.opd-paper-plain) .opd-parchi-paper .opd-letterhead-details h1,body:has(.opd-parchi-paper.opd-paper-plain) .opd-parchi-paper .opd-letterhead-details>div,body:has(.opd-parchi-paper.opd-paper-plain) .opd-parchi-paper .opd-letterhead-subtitle{color:#173f5f!important}}.opd-parchi-paper .opd-letterhead-generated,.opd-parchi-paper .opd-parchi-header,.opd-parchi-paper header.opd-parchi-header{background:#fff!important;background-color:#fff!important;background-image:none!important;box-shadow:none!important}.opd-parchi-paper .opd-letterhead-generated{color:#173f5f!important;border-top:0!important}.opd-parchi-paper .opd-letterhead-details,.opd-parchi-paper .opd-letterhead-details h1,.opd-parchi-paper .opd-letterhead-details>div,.opd-parchi-paper .opd-letterhead-generated *,.opd-parchi-paper .opd-letterhead-subtitle{background:transparent!important;background-color:transparent!important;background-image:none!important;color:#173f5f!important;box-shadow:none!important}.opd-parchi-paper .opd-letterhead-generated:after,.opd-parchi-paper .opd-letterhead-generated:before,.opd-parchi-paper .opd-parchi-header:after,.opd-parchi-paper .opd-parchi-header:before{content:none!important;display:none!important;background:transparent!important;background-image:none!important;box-shadow:none!important}@media print{.opd-parchi-paper .opd-letterhead-generated,.opd-parchi-paper .opd-parchi-header{background:#fff!important;background-color:#fff!important;background-image:none!important;-webkit-print-color-adjust:economy!important;print-color-adjust:economy!important}.opd-parchi-paper .opd-letterhead-generated:after,.opd-parchi-paper .opd-letterhead-generated:before,.opd-parchi-paper .opd-parchi-header:after,.opd-parchi-paper .opd-parchi-header:before{content:none!important;display:none!important;background:transparent!important;background-image:none!important}}@media print{@page{size:A4 portrait;margin:0!important}body:has(.opd-parchi-paper) .opd-parchi-paper .opd-letterhead-generated,body:has(.opd-parchi-paper) .opd-parchi-paper .opd-letterhead-generated *,body:has(.opd-parchi-paper) .opd-parchi-paper .opd-parchi-header,body:has(.opd-parchi-paper) .opd-parchi-paper .opd-parchi-header *{background:transparent!important;background-color:transparent!important;background-image:none!important;box-shadow:none!important}body:has(.opd-parchi-paper) .opd-parchi-paper .opd-parchi-header{display:block!important;position:static!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;margin:0 0 2.5mm!important;padding:0!important;border:0!important;overflow:visible!important}body:has(.opd-parchi-paper) .opd-parchi-paper .opd-letterhead-generated:after,body:has(.opd-parchi-paper) .opd-parchi-paper .opd-letterhead-generated:before,body:has(.opd-parchi-paper) .opd-parchi-paper .opd-parchi-header:after,body:has(.opd-parchi-paper) .opd-parchi-paper .opd-parchi-header:before{content:none!important;display:none!important;height:0!important;min-height:0!important;max-height:0!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;background-image:none!important;box-shadow:none!important}body:has(.opd-parchi-paper.opd-paper-plain) .opd-preprinted-top-spacer{display:none!important;height:0!important;min-height:0!important;max-height:0!important;margin:0!important;padding:0!important}body:has(.opd-parchi-paper.opd-paper-plain) .opd-parchi-paper .opd-letterhead-generated{display:flex!important;position:relative!important;width:100%!important;height:auto!important;min-height:25mm!important;margin:0 0 3mm!important;padding:4mm 2mm!important;border:0!important;border-bottom:1px solid #d5e0e8!important;color:#173f5f!important}body:has(.opd-parchi-paper.opd-paper-preprinted) .opd-preprinted-top-spacer{display:block!important;box-sizing:border-box!important;width:100%!important;height:76.2mm!important;min-height:76.2mm!important;max-height:76.2mm!important;flex:0 0 76.2mm!important;margin:0!important;padding:0!important;border:0!important;background:#fff!important;background-color:#fff!important;background-image:none!important;box-shadow:none!important}body:has(.opd-parchi-paper.opd-paper-preprinted) .opd-parchi-paper .opd-letterhead-generated{display:none!important;height:0!important;min-height:0!important;max-height:0!important;margin:0!important;padding:0!important;border:0!important;visibility:hidden!important}body:has(.opd-parchi-paper.opd-paper-preprinted) .opd-parchi-paper .opd-parchi-header{margin:0 0 2.5mm!important;padding:0!important;background:transparent!important;background-color:transparent!important;background-image:none!important;border:0!important}body:has(.opd-parchi-paper) .opd-parchi-paper .opd-parchi-document-title,body:has(.opd-parchi-paper) .opd-parchi-paper .opd-parchi-valid{background:transparent!important;background-color:transparent!important;background-image:none!important;box-shadow:none!important}}.opd-workspace .opd-parchi-paper .opd-letterhead-generated{background:#fff!important;background-color:#fff!important;background-image:none!important;color:#173f5f!important;box-shadow:none!important;border-bottom:1px solid #d5e0e8!important}.opd-workspace .opd-parchi-paper .opd-letterhead-generated img{background:transparent!important;border-radius:0!important}@media print{.opd-workspace .opd-parchi-paper .opd-letterhead-generated{background:#fff!important;background-color:#fff!important;background-image:none!important;color:#173f5f!important;box-shadow:none!important;border-bottom:1px solid #d5e0e8!important;-webkit-print-color-adjust:economy!important;print-color-adjust:economy!important}}@media print{body:has(.opd-parchi-paper) .opd-letterhead-generated:after,body:has(.opd-parchi-paper) .opd-letterhead-generated:before,body:has(.opd-parchi-paper) .opd-parchi-header:after,body:has(.opd-parchi-paper) .opd-parchi-header:before,body:has(.opd-parchi-paper) .opd-parchi-paper:after,body:has(.opd-parchi-paper) .opd-parchi-paper:before{content:none!important;display:none!important;visibility:hidden!important;height:0!important;min-height:0!important;max-height:0!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;background-color:transparent!important;background-image:none!important;box-shadow:none!important}body:has(.opd-parchi-paper) .opd-parchi-paper,body:has(.opd-parchi-paper) .opd-parchi-paper>.opd-parchi-header,body:has(.opd-parchi-paper) .opd-parchi-paper>.opd-parchi-header .opd-letterhead-generated{background:#fff!important;background-color:#fff!important;background-image:none!important;box-shadow:none!important}body:has(.opd-parchi-paper.opd-paper-plain) .opd-parchi-paper>.opd-parchi-header{min-height:0!important;padding:0!important}body:has(.opd-parchi-paper.opd-paper-plain) .opd-parchi-paper>.opd-parchi-header .opd-letterhead-generated{display:flex!important;min-height:25mm!important;height:auto!important;padding:4mm 2mm!important;color:#173f5f!important}body:has(.opd-parchi-paper.opd-paper-plain) .opd-parchi-paper>.opd-parchi-header .opd-letterhead-details,body:has(.opd-parchi-paper.opd-paper-plain) .opd-parchi-paper>.opd-parchi-header .opd-letterhead-details h1,body:has(.opd-parchi-paper.opd-paper-plain) .opd-parchi-paper>.opd-parchi-header .opd-letterhead-details>div,body:has(.opd-parchi-paper.opd-paper-plain) .opd-parchi-paper>.opd-parchi-header .opd-letterhead-subtitle{color:#173f5f!important;background:transparent!important;background-image:none!important}body:has(.opd-parchi-paper.opd-paper-preprinted) .opd-parchi-paper>.opd-parchi-header .opd-letterhead-generated{display:none!important}}@media print{html body .opd-workspace .opd-parchi-paper,html body .opd-workspace .opd-parchi-paper .opd-letterhead-generated,html body .opd-workspace .opd-parchi-paper .opd-letterhead-generated:after,html body .opd-workspace .opd-parchi-paper .opd-letterhead-generated:before,html body .opd-workspace .opd-parchi-paper>.opd-parchi-header,html body .opd-workspace .opd-parchi-paper>.opd-parchi-header:after,html body .opd-workspace .opd-parchi-paper>.opd-parchi-header:before,html body .opd-workspace .opd-parchi-paper>.opd-preprinted-top-spacer{background-color:#fff!important;background-image:none!important;box-shadow:none!important;outline:0!important}html body .opd-workspace .opd-parchi-paper>.opd-parchi-header{border-top:0!important;border-left:0!important;border-right:0!important}html body .opd-workspace .opd-parchi-paper.opd-paper-preprinted>.opd-parchi-header .opd-letterhead-generated,html body .opd-workspace .opd-parchi-paper.opd-paper-preprinted>.opd-parchi-header .opd-letterhead-generated *{display:none!important;visibility:hidden!important}html body .opd-workspace .opd-parchi-paper.opd-paper-preprinted>.opd-preprinted-top-spacer{display:block!important;height:76.2mm!important;min-height:76.2mm!important;max-height:76.2mm!important;flex:0 0 76.2mm!important;margin:0!important;padding:0!important;border:0!important}}.opd-workspace .opd-parchi-paper .opd-parchi-letterhead-wrap,.opd-workspace .opd-parchi-paper .opd-parchi-preprinted-meta{display:block;width:100%;box-sizing:border-box;background:#fff!important;background-color:#fff!important;background-image:none!important;color:#173f5f;box-shadow:none!important;border:0;border-radius:0}.opd-workspace .opd-parchi-paper .opd-parchi-letterhead-wrap{margin:0 0 3mm;padding:0}.opd-workspace .opd-parchi-paper .opd-parchi-letterhead-wrap:after,.opd-workspace .opd-parchi-paper .opd-parchi-letterhead-wrap:before,.opd-workspace .opd-parchi-paper .opd-parchi-preprinted-meta:after,.opd-workspace .opd-parchi-paper .opd-parchi-preprinted-meta:before{content:none!important;display:none!important}.opd-workspace .opd-parchi-paper .opd-parchi-preprinted-meta{margin:0 0 3mm;padding:0}.opd-workspace .opd-parchi-paper .opd-parchi-preprinted-meta .opd-parchi-valid{display:flex;justify-content:space-between;gap:3mm;margin:0 0 1.5mm;padding:0 0 1.5mm;border-bottom:1px solid #d5e0e8;color:#303b55;background:transparent!important}.opd-workspace .opd-parchi-paper .opd-parchi-preprinted-meta .opd-parchi-document-title{display:block;margin:0;padding:0 0 1.5mm;border-bottom:1.5px solid #243f70;color:#173f5f;background:transparent!important;font-weight:800;font-size:10pt}@media print{body:has(.opd-parchi-paper) .opd-parchi-paper .opd-parchi-letterhead-wrap,body:has(.opd-parchi-paper) .opd-parchi-paper .opd-parchi-letterhead-wrap *,body:has(.opd-parchi-paper) .opd-parchi-paper .opd-parchi-preprinted-meta{background:#fff!important;background-color:#fff!important;background-image:none!important;box-shadow:none!important}body:has(.opd-parchi-paper.opd-paper-plain) .opd-parchi-paper .opd-parchi-letterhead-wrap{display:block!important}body:has(.opd-parchi-paper.opd-paper-preprinted) .opd-parchi-paper .opd-parchi-letterhead-wrap{display:none!important}body:has(.opd-parchi-paper.opd-paper-plain) .opd-parchi-paper .opd-parchi-preprinted-meta{display:none!important}body:has(.opd-parchi-paper.opd-paper-preprinted) .opd-parchi-paper .opd-parchi-preprinted-meta{display:block!important}body:has(.opd-parchi-paper.opd-paper-preprinted) .opd-parchi-paper>.opd-preprinted-top-spacer{display:block!important;width:100%!important;height:76.2mm!important;min-height:76.2mm!important;max-height:76.2mm!important;flex:none!important;margin:0!important;padding:0!important;border:0!important;background:#fff!important;background-image:none!important}}@media print{html body .opd-workspace .print-prescription .opd-parchi-paper :after,html body .opd-workspace .print-prescription .opd-parchi-paper :before,html body .opd-workspace .print-prescription .opd-parchi-paper:after,html body .opd-workspace .print-prescription .opd-parchi-paper:before{content:none!important;display:none!important;visibility:hidden!important;background:transparent!important;background-color:transparent!important;background-image:none!important;box-shadow:none!important;border:0!important;outline:0!important}html body .opd-workspace .print-prescription .opd-parchi-paper,html body .opd-workspace .print-prescription .opd-parchi-paper .opd-letterhead-generated,html body .opd-workspace .print-prescription .opd-parchi-paper .opd-parchi-header,html body .opd-workspace .print-prescription .opd-parchi-paper>.opd-generated-letterhead,html body .opd-workspace .print-prescription .opd-parchi-paper>.opd-parchi-letterhead-wrap{background-color:#fff!important;background-image:none!important;box-shadow:none!important}html body .opd-workspace .print-prescription .opd-parchi-paper.opd-paper-plain .opd-letterhead-generated{color:#173f5f!important;background:#fff!important;border-top:0!important}html body .opd-workspace .print-prescription .opd-parchi-paper.opd-paper-plain .opd-letterhead-details,html body .opd-workspace .print-prescription .opd-parchi-paper.opd-paper-plain .opd-letterhead-details *{color:#173f5f!important;background:transparent!important}html body .opd-workspace .print-prescription .opd-parchi-paper.opd-paper-preprinted>.opd-preprinted-top-spacer{display:block!important;flex:0 0 76.2mm!important;width:100%!important;height:76.2mm!important;min-height:76.2mm!important;max-height:76.2mm!important;margin:0!important;padding:0!important;border:0!important;background:#fff!important}html body .opd-workspace .print-prescription .opd-parchi-paper.opd-paper-preprinted .opd-letterhead-generated,html body .opd-workspace .print-prescription .opd-parchi-paper.opd-paper-preprinted .opd-parchi-letterhead-wrap{display:none!important}}@page pharmacyInvoicePage{size:A5 portrait;margin:8mm}@media print{body:has(.pharmacy-invoice-print){page:pharmacyInvoicePage!important}body:has(.pharmacy-invoice-print) .pharmacy-invoice-print{display:block!important;position:absolute!important;left:0!important;top:0!important;right:auto!important;bottom:auto!important;width:132mm!important;max-width:132mm!important;min-height:190mm!important;box-sizing:border-box!important;margin:0!important;padding:0!important;overflow:visible!important;background:#fff!important;color:#111!important;font-family:Arial,Helvetica,sans-serif!important;font-size:9pt!important;line-height:1.35!important;box-shadow:none!important;border:0!important}body:has(.pharmacy-invoice-print) .pharmacy-invoice-print .invoice-print-header{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;width:100%!important;min-height:0!important;height:auto!important;gap:8px!important;margin:0 0 10px!important;padding:0 0 8px!important;background:#fff!important;background-image:none!important;color:#111!important;border:0!important;border-bottom:1.5px solid #222!important;border-radius:0!important;box-shadow:none!important;overflow:visible!important}body:has(.pharmacy-invoice-print) .pharmacy-invoice-print .invoice-print-header:after,body:has(.pharmacy-invoice-print) .pharmacy-invoice-print .invoice-print-header:before{content:none!important;display:none!important}body:has(.pharmacy-invoice-print) .pharmacy-invoice-print .invoice-print-header b,body:has(.pharmacy-invoice-print) .pharmacy-invoice-print .invoice-print-header div,body:has(.pharmacy-invoice-print) .pharmacy-invoice-print .invoice-print-header h1,body:has(.pharmacy-invoice-print) .pharmacy-invoice-print .invoice-print-header h2,body:has(.pharmacy-invoice-print) .pharmacy-invoice-print .invoice-print-header p{color:#111!important;background:transparent!important;background-image:none!important;text-shadow:none!important;visibility:visible!important;opacity:1!important}body:has(.pharmacy-invoice-print) .pharmacy-invoice-print .invoice-title-block{flex:0 0 35mm!important;min-width:35mm!important;text-align:right!important}body:has(.pharmacy-invoice-print) .pharmacy-invoice-print .invoice-print-table{width:100%!important;table-layout:auto!important}body:has(.pharmacy-invoice-print) .pharmacy-invoice-print .invoice-print-table td,body:has(.pharmacy-invoice-print) .pharmacy-invoice-print .invoice-print-table th{color:#111!important;background-color:transparent}body:has(.pharmacy-invoice-print) .pharmacy-invoice-print .invoice-print-table th{background-color:#f1f4f2!important}}.billing-workspace{display:block;min-width:0}.billing-workspace .page-heading{align-items:center;padding:5px 2px 18px;margin-bottom:18px;border-bottom:1px solid #e1eaf2}.billing-workspace .page-heading h1{font-size:clamp(23px,2vw,29px);letter-spacing:-.6px}.billing-workspace .page-heading p{max-width:760px;line-height:1.55}.billing-workspace .panel{overflow:hidden;border:1px solid #dce7f0;border-radius:13px;box-shadow:0 5px 18px rgba(23,67,103,.055)}.billing-workspace .panel-heading{padding-bottom:13px;border-bottom:1px solid #edf2f6;margin-bottom:17px}.billing-workspace .panel-heading h2{font-size:15px;letter-spacing:-.15px}.billing-workspace .panel-heading p{font-size:11px;line-height:1.55;max-width:850px}.billing-workspace .diagnostic-billing-panel{border-top:3px solid #2786c7}.billing-workspace .diagnostic-test-toolbar{display:grid;grid-template-columns:minmax(0,1fr) minmax(190px,240px);grid-gap:10px;gap:10px;margin:0 0 12px}.billing-workspace .diagnostic-test-toolbar input,.billing-workspace .diagnostic-test-toolbar select{width:100%;min-width:0;height:42px;border:1px solid #d3e1ed;border-radius:8px;background:#fff;color:#234968;padding:0 12px;font-size:12px;outline:none}.billing-workspace .diagnostic-test-toolbar input:focus,.billing-workspace .diagnostic-test-toolbar select:focus{border-color:#67afe0;box-shadow:0 0 0 3px #e5f4ff}.billing-workspace .diagnostic-test-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 10px;color:#71869b;font-size:11px}.billing-workspace .diagnostic-test-summary span:first-child{font-weight:750;color:#17669f;background:#eaf6ff;border:1px solid #d6ebfa;border-radius:20px;padding:5px 10px}.billing-workspace .diagnostic-test-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:9px;gap:9px;max-height:380px;overflow:auto;padding:2px 5px 4px 2px;align-content:start;scrollbar-width:thin;scrollbar-color:#b8ccdc #f3f7fa}.billing-workspace .diagnostic-test-card{display:grid!important;grid-template-columns:18px minmax(0,1fr);align-items:center!important;justify-content:start!important;grid-gap:10px!important;gap:10px!important;min-width:0;width:100%;min-height:76px;margin:0!important;padding:11px 12px!important;border:1px solid #dbe6ef!important;border-radius:9px!important;background:#fff;cursor:pointer;text-align:left!important;box-shadow:0 1px 3px rgba(24,67,100,.025);transition:border-color .15s ease,background .15s ease,box-shadow .15s ease}.billing-workspace .diagnostic-test-card:hover{border-color:#92c7e8!important;background:#f8fcff;box-shadow:0 3px 10px rgba(33,113,169,.08)}.billing-workspace .diagnostic-test-card:has(input:checked){border-color:#3293ce!important;background:#f0f9ff;box-shadow:inset 0 0 0 1px #3293ce}.billing-workspace .diagnostic-test-card input[type=checkbox]{width:16px;height:16px;min-width:16px;margin:0;accent-color:#1976b8;cursor:pointer}.billing-workspace .diagnostic-test-copy{display:flex!important;flex-direction:column;align-items:flex-start!important;justify-content:center!important;gap:4px;min-width:0;width:100%;text-align:left!important;line-height:1.3}.billing-workspace .diagnostic-test-copy b{display:block;max-width:100%;font-size:12px;font-weight:750;color:#244968;line-height:1.35;overflow-wrap:anywhere;word-break:normal}.billing-workspace .diagnostic-test-copy small{display:block;max-width:100%;font-size:10px;line-height:1.3;color:#7a90a4;overflow-wrap:anywhere}.billing-workspace .diagnostic-test-copy strong{display:block;font-size:12px;line-height:1.25;color:#176fa9;font-weight:800}.billing-workspace .form-grid{gap:15px 16px}.billing-workspace .field>label{font-size:11px;font-weight:750;margin-bottom:7px}.billing-workspace .field input:not([type=checkbox]),.billing-workspace .field select,.billing-workspace .field textarea{min-height:41px;border-radius:8px}.billing-workspace .form-actions{padding-top:12px}@media(max-width:1250px){.billing-workspace .diagnostic-test-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:900px){.billing-workspace .diagnostic-test-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.billing-workspace .diagnostic-test-toolbar{grid-template-columns:minmax(0,1fr) minmax(150px,210px)}}@media(max-width:560px){.billing-workspace .diagnostic-test-grid{grid-template-columns:minmax(0,1fr);max-height:420px}.billing-workspace .diagnostic-test-toolbar{grid-template-columns:minmax(0,1fr)}.billing-workspace .diagnostic-test-card{min-height:68px}.billing-workspace .diagnostic-test-summary{align-items:flex-start;flex-direction:column;gap:6px}}.ipd-reference-overview{margin-bottom:12px}.ipd-reference-title{padding:10px 14px;margin-bottom:9px;border-radius:10px;align-items:center}.ipd-reference-title .eyebrow{font-size:9px;letter-spacing:.12em}.ipd-reference-title h2{font-size:18px;line-height:1.25}.ipd-reference-title p{font-size:10px;margin-top:3px}.ipd-reference-title .tag{font-size:10px;white-space:nowrap}.ipd-reference-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.ipd-ref-card{min-height:104px;padding:10px 12px;gap:4px;border-radius:10px}.ipd-ref-number{width:25px;height:25px;font-size:11px}.ipd-ref-icon{right:11px;top:10px;font-size:22px}.ipd-ref-card b{font-size:12px;margin-top:3px;line-height:1.3;max-width:calc(100% - 26px)}.ipd-ref-card small{font-size:10px;line-height:1.35;max-width:100%}.ipd-module-modal{width:min(860px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:22px;overflow:auto}.ipd-module-actions{gap:9px;margin-top:12px}.ipd-module-action{min-height:46px;padding:11px 13px;border-radius:10px;background:linear-gradient(135deg,#f8fbff,#eef6ff);font-size:12px;box-shadow:0 1px 2px rgba(15,55,95,.04)}.ipd-module-action:hover{transform:translateY(-1px);box-shadow:0 5px 14px rgba(25,90,145,.1)}.modal-backdrop{padding:14px}.modal{width:min(960px,calc(100vw - 28px));max-height:calc(100dvh - 28px);padding:22px;border-radius:18px}.modal .panel-heading{margin:-2px 0 14px;padding:0 0 12px;border-bottom:1px solid #e6eef6;top:-22px}.modal .panel-heading h2{font-size:18px;line-height:1.35;color:#123f70}.modal .panel-heading p{font-size:12px;line-height:1.5;color:#647c96;margin-top:4px}.modal form{display:grid;grid-gap:14px;gap:14px}.modal .form-grid{gap:12px}.modal .field label{font-size:12px;font-weight:700;color:#315475;margin-bottom:6px}.modal .field input,.modal .field select,.modal .field textarea{border-radius:9px;border-color:#d4e2ef;background:#fbfdff;min-height:40px;padding:9px 11px;font-size:13px}.modal .field textarea{min-height:86px}.modal .form-actions{display:flex;justify-content:flex-end;align-items:center;gap:8px;flex-wrap:wrap;padding-top:12px;border-top:1px solid #e8eff6}@media(max-width:1100px){.ipd-reference-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:760px){.ipd-reference-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.ipd-ref-card{min-height:100px;padding:10px}.ipd-reference-title{align-items:flex-start;flex-direction:row}.ipd-ref-card small{font-size:9px}.modal .form-grid{grid-template-columns:1fr}}@media(max-width:480px){.ipd-reference-grid{grid-template-columns:1fr}.ipd-reference-title{flex-direction:column}.ipd-module-actions{grid-template-columns:1fr}.modal .panel-heading{align-items:flex-start;gap:8px}.modal .form-actions>*{flex:1 1}}@media print{html body:has(.opd-parchi-paper) .opd-workspace .print-prescription .opd-parchi-paper,html body:has(.opd-parchi-paper) .opd-workspace .print-prescription .opd-parchi-paper .opd-letterhead-generated,html body:has(.opd-parchi-paper) .opd-workspace .print-prescription .opd-parchi-paper>.opd-generated-letterhead,html body:has(.opd-parchi-paper) .opd-workspace .print-prescription .opd-parchi-paper>.opd-parchi-letterhead-wrap,html body:has(.opd-parchi-paper) .opd-workspace .print-prescription .opd-parchi-paper>.opd-parchi-letterhead-wrap.opd-generated-letterhead{background:#fff!important;background-color:#fff!important;background-image:none!important;border-top:0!important;box-shadow:none!important;filter:none!important;-webkit-print-color-adjust:economy!important;print-color-adjust:economy!important}html body:has(.opd-parchi-paper) .opd-workspace .print-prescription .opd-parchi-paper .opd-letterhead-generated:after,html body:has(.opd-parchi-paper) .opd-workspace .print-prescription .opd-parchi-paper .opd-letterhead-generated:before,html body:has(.opd-parchi-paper) .opd-workspace .print-prescription .opd-parchi-paper>.opd-parchi-letterhead-wrap:after,html body:has(.opd-parchi-paper) .opd-workspace .print-prescription .opd-parchi-paper>.opd-parchi-letterhead-wrap:before{content:none!important;display:none!important;height:0!important;min-height:0!important;max-height:0!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;background-image:none!important;box-shadow:none!important}html body:has(.opd-parchi-paper.opd-paper-plain) .opd-workspace .print-prescription .opd-parchi-paper>.opd-parchi-letterhead-wrap{display:block!important;width:100%!important;min-height:0!important;height:auto!important;margin:0 0 3mm!important;padding:0!important;border:0!important}html body:has(.opd-parchi-paper.opd-paper-plain) .opd-workspace .print-prescription .opd-parchi-paper .opd-letterhead-generated{display:flex!important;box-sizing:border-box!important;width:100%!important;min-height:0!important;height:auto!important;margin:0!important;padding:2mm 0!important;border:0!important;border-bottom:1px solid #d5e0e8!important;color:#173f5f!important;background:#fff!important;background-color:#fff!important;background-image:none!important}html body:has(.opd-parchi-paper.opd-paper-plain) .opd-workspace .print-prescription .opd-parchi-paper .opd-letterhead-details,html body:has(.opd-parchi-paper.opd-paper-plain) .opd-workspace .print-prescription .opd-parchi-paper .opd-letterhead-details *,html body:has(.opd-parchi-paper.opd-paper-plain) .opd-workspace .print-prescription .opd-parchi-paper .opd-letterhead-subtitle{color:#173f5f!important;background:transparent!important;background-color:transparent!important;background-image:none!important}html body:has(.opd-parchi-paper.opd-paper-preprinted) .opd-workspace .print-prescription .opd-parchi-paper .opd-letterhead-generated,html body:has(.opd-parchi-paper.opd-paper-preprinted) .opd-workspace .print-prescription .opd-parchi-paper>.opd-parchi-letterhead-wrap{display:none!important}html body:has(.opd-parchi-paper.opd-paper-preprinted) .opd-workspace .print-prescription .opd-parchi-paper>.opd-preprinted-top-spacer{display:block!important;box-sizing:border-box!important;flex:0 0 76.2mm!important;width:100%!important;height:76.2mm!important;min-height:76.2mm!important;max-height:76.2mm!important;margin:0!important;padding:0!important;border:0!important;background:#fff!important;background-image:none!important}}@media print{html body:has(.opd-parchi-paper.opd-paper-plain) .opd-workspace .print-prescription .opd-parchi-paper>.opd-parchi-letterhead-wrap.opd-generated-letterhead,html body:has(.opd-parchi-paper.opd-paper-plain) .opd-workspace .print-prescription .opd-parchi-paper>.opd-parchi-letterhead-wrap.opd-generated-letterhead>.opd-letterhead-generated{display:block!important;position:static!important;width:100%!important;min-height:0!important;height:auto!important;margin:0!important;padding:0!important;box-sizing:border-box!important;background:#fff!important;background-color:#fff!important;background-image:none!important;border-top:0!important;box-shadow:none!important;filter:none!important;isolation:auto!important}html body:has(.opd-parchi-paper.opd-paper-plain) .opd-workspace .print-prescription .opd-parchi-paper>.opd-parchi-letterhead-wrap.opd-generated-letterhead>.opd-letterhead-generated{display:flex!important;flex-direction:row-reverse!important;align-items:center!important;justify-content:space-between!important;gap:5mm!important;min-height:25mm!important;padding:3mm 4mm!important;color:#173f5f!important;border:0!important;border-bottom:1px solid #d5e0e8!important}html body:has(.opd-parchi-paper.opd-paper-plain) .opd-workspace .print-prescription .opd-parchi-paper .opd-letterhead-generated img{display:block!important;background:transparent!important;object-fit:contain!important;box-shadow:none!important}html body:has(.opd-parchi-paper.opd-paper-plain) .opd-workspace .print-prescription .opd-parchi-paper .opd-letterhead-details,html body:has(.opd-parchi-paper.opd-paper-plain) .opd-workspace .print-prescription .opd-parchi-paper .opd-letterhead-details h1,html body:has(.opd-parchi-paper.opd-paper-plain) .opd-workspace .print-prescription .opd-parchi-paper .opd-letterhead-details>div,html body:has(.opd-parchi-paper.opd-paper-plain) .opd-workspace .print-prescription .opd-parchi-paper .opd-letterhead-subtitle{color:#173f5f!important;background:transparent!important;background-image:none!important;visibility:visible!important;opacity:1!important}html body:has(.opd-parchi-paper.opd-paper-plain) .opd-workspace .print-prescription .opd-parchi-paper .opd-letterhead-generated:after,html body:has(.opd-parchi-paper.opd-paper-plain) .opd-workspace .print-prescription .opd-parchi-paper .opd-letterhead-generated:before,html body:has(.opd-parchi-paper.opd-paper-plain) .opd-workspace .print-prescription .opd-parchi-paper>.opd-parchi-letterhead-wrap:after,html body:has(.opd-parchi-paper.opd-paper-plain) .opd-workspace .print-prescription .opd-parchi-paper>.opd-parchi-letterhead-wrap:before{content:none!important;display:none!important;height:0!important;min-height:0!important;max-height:0!important;background:none!important;border:0!important;box-shadow:none!important}html body:has(.opd-parchi-paper.opd-paper-plain) .opd-workspace .print-prescription .opd-parchi-paper>.opd-parchi-header{display:none!important}}@media print{body:has(.opd-workspace .opd-parchi-paper) .opd-workspace .print-prescription,body:has(.opd-workspace .opd-parchi-paper) .opd-workspace .print-prescription>.panel-heading{background:#fff!important;background-color:#fff!important;background-image:none!important;box-shadow:none!important;border:0!important}body:has(.opd-workspace .opd-parchi-paper) .opd-workspace .print-prescription .opd-parchi-paper .opd-letterhead-generated:after,body:has(.opd-workspace .opd-parchi-paper) .opd-workspace .print-prescription .opd-parchi-paper .opd-letterhead-generated:before,body:has(.opd-workspace .opd-parchi-paper) .opd-workspace .print-prescription .opd-parchi-paper .opd-parchi-header:after,body:has(.opd-workspace .opd-parchi-paper) .opd-workspace .print-prescription .opd-parchi-paper .opd-parchi-header:before,body:has(.opd-workspace .opd-parchi-paper) .opd-workspace .print-prescription .opd-parchi-paper:after,body:has(.opd-workspace .opd-parchi-paper) .opd-workspace .print-prescription .opd-parchi-paper:before,body:has(.opd-workspace .opd-parchi-paper) .opd-workspace .print-prescription .opd-parchi-paper>.opd-parchi-letterhead-wrap:after,body:has(.opd-workspace .opd-parchi-paper) .opd-workspace .print-prescription .opd-parchi-paper>.opd-parchi-letterhead-wrap:before{content:none!important;display:none!important;visibility:hidden!important;height:0!important;min-height:0!important;max-height:0!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;background-image:none!important;box-shadow:none!important}body:has(.opd-workspace .opd-parchi-paper.opd-paper-plain) .opd-workspace .print-prescription .opd-parchi-paper,body:has(.opd-workspace .opd-parchi-paper.opd-paper-plain) .opd-workspace .print-prescription .opd-parchi-paper>.opd-parchi-letterhead-wrap,body:has(.opd-workspace .opd-parchi-paper.opd-paper-plain) .opd-workspace .print-prescription .opd-parchi-paper>.opd-parchi-letterhead-wrap>.opd-letterhead-generated{background:#fff!important;background-color:#fff!important;background-image:none!important;color:#173f5f!important;box-shadow:none!important;outline:0!important;filter:none!important}body:has(.opd-workspace .opd-parchi-paper.opd-paper-plain) .opd-workspace .print-prescription .opd-parchi-paper>.opd-parchi-letterhead-wrap{display:block!important;position:static!important;width:100%!important;height:auto!important;min-height:0!important;margin:0 0 3mm!important;padding:0!important;border:0!important}body:has(.opd-workspace .opd-parchi-paper.opd-paper-plain) .opd-workspace .print-prescription .opd-parchi-paper>.opd-parchi-letterhead-wrap>.opd-letterhead-generated{display:flex!important;position:static!important;flex-direction:row-reverse!important;align-items:center!important;justify-content:space-between!important;width:100%!important;height:auto!important;min-height:25mm!important;margin:0!important;padding:3mm 4mm!important;border:0!important;border-bottom:1px solid #d5e0e8!important;color:#173f5f!important;background:#fff!important;background-image:none!important;isolation:auto!important}body:has(.opd-workspace .opd-parchi-paper.opd-paper-plain) .opd-workspace .print-prescription .opd-parchi-paper .opd-letterhead-details,body:has(.opd-workspace .opd-parchi-paper.opd-paper-plain) .opd-workspace .print-prescription .opd-parchi-paper .opd-letterhead-details *,body:has(.opd-workspace .opd-parchi-paper.opd-paper-plain) .opd-workspace .print-prescription .opd-parchi-paper .opd-letterhead-subtitle{color:#173f5f!important;background:transparent!important;background-image:none!important;text-shadow:none!important;visibility:visible!important;opacity:1!important}body:has(.opd-workspace .opd-parchi-paper.opd-paper-preprinted) .opd-workspace .print-prescription .opd-parchi-paper>.opd-preprinted-top-spacer{display:block!important;flex:0 0 76.2mm!important;width:100%!important;height:76.2mm!important;min-height:76.2mm!important;max-height:76.2mm!important;margin:0!important;padding:0!important;border:0!important;background:#fff!important;background-image:none!important}}@media print{html body:has(.opd-workspace .opd-parchi-paper.opd-paper-plain) .opd-workspace .print-prescription,html body:has(.opd-workspace .opd-parchi-paper.opd-paper-plain) .opd-workspace .print-prescription .opd-parchi-paper,html body:has(.opd-workspace .opd-parchi-paper.opd-paper-plain) .opd-workspace .print-prescription>.panel-heading{background:#fff!important;background-color:#fff!important;background-image:none!important;box-shadow:none!important;filter:none!important;outline:0!important}html body:has(.opd-workspace .opd-parchi-paper.opd-paper-plain) .opd-workspace .print-prescription .opd-parchi-paper :after,html body:has(.opd-workspace .opd-parchi-paper.opd-paper-plain) .opd-workspace .print-prescription .opd-parchi-paper :before,html body:has(.opd-workspace .opd-parchi-paper.opd-paper-plain) .opd-workspace .print-prescription .opd-parchi-paper:after,html body:has(.opd-workspace .opd-parchi-paper.opd-paper-plain) .opd-workspace .print-prescription .opd-parchi-paper:before,html body:has(.opd-workspace .opd-parchi-paper.opd-paper-plain) .opd-workspace .print-prescription:after,html body:has(.opd-workspace .opd-parchi-paper.opd-paper-plain) .opd-workspace .print-prescription:before{content:none!important;display:none!important;background:transparent!important;background-color:transparent!important;background-image:none!important;box-shadow:none!important;filter:none!important;border:0!important;outline:0!important}html body:has(.opd-workspace .opd-parchi-paper.opd-paper-plain) .opd-workspace .print-prescription .opd-parchi-paper>.opd-parchi-letterhead-wrap,html body:has(.opd-workspace .opd-parchi-paper.opd-paper-plain) .opd-workspace .print-prescription .opd-parchi-paper>.opd-parchi-letterhead-wrap>.opd-letterhead-generated{background:#fff!important;background-color:#fff!important;background-image:none!important;box-shadow:none!important;filter:none!important;border-top:0!important;outline:0!important}html body:has(.opd-workspace .opd-parchi-paper.opd-paper-plain) .opd-workspace .print-prescription .opd-parchi-paper>.opd-parchi-letterhead-wrap *{background-color:transparent!important;background-image:none!important;box-shadow:none!important;filter:none!important;text-shadow:none!important}html body:has(.opd-workspace .opd-parchi-paper.opd-paper-plain) .opd-workspace .print-prescription .opd-parchi-paper .opd-letterhead-details,html body:has(.opd-workspace .opd-parchi-paper.opd-paper-plain) .opd-workspace .print-prescription .opd-parchi-paper .opd-letterhead-details *,html body:has(.opd-workspace .opd-parchi-paper.opd-paper-plain) .opd-workspace .print-prescription .opd-parchi-paper .opd-letterhead-subtitle{color:#173f5f!important;visibility:visible!important;opacity:1!important}html body:has(.opd-workspace .opd-parchi-paper.opd-paper-plain) .opd-workspace .print-prescription>.panel-heading{display:none!important}}@page{size:A4 portrait;margin:0}@media print{body:has(.opd-workspace .opd-parchi-paper),body:has(.opd-workspace .opd-parchi-paper) .app-shell,body:has(.opd-workspace .opd-parchi-paper) .main-area,body:has(.opd-workspace .opd-parchi-paper) .opd-workspace,body:has(.opd-workspace .opd-parchi-paper) .page-content,body:has(.opd-workspace .opd-parchi-paper) .print-prescription,html:has(body .opd-workspace .opd-parchi-paper),html:has(body .opd-workspace .opd-parchi-paper) body{background:#fff!important;background-color:#fff!important;background-image:none!important;box-shadow:none!important;filter:none!important}body:has(.opd-workspace .opd-parchi-paper) *{-webkit-print-color-adjust:economy!important;print-color-adjust:economy!important}body:has(.opd-workspace .opd-parchi-paper) .opd-parchi-paper,body:has(.opd-workspace .opd-parchi-paper) .opd-parchi-paper *{background-image:none!important;box-shadow:none!important;text-shadow:none!important;filter:none!important}body:has(.opd-workspace .opd-parchi-paper) .opd-parchi-paper *{background-color:transparent!important}body:has(.opd-workspace .opd-parchi-paper) .opd-parchi-paper,body:has(.opd-workspace .opd-parchi-paper) .opd-parchi-paper:after,body:has(.opd-workspace .opd-parchi-paper) .opd-parchi-paper:before{background:#fff!important;background-color:#fff!important;background-image:none!important;content:none}body:has(.opd-workspace .opd-parchi-paper) .opd-parchi-paper{display:block!important;position:absolute!important;top:8mm!important;left:10mm!important;width:190mm!important;min-height:277mm!important;height:auto!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;color:#172b3e!important;font-family:Arial,Helvetica,sans-serif!important;font-size:9pt!important;line-height:1.25!important;overflow:visible!important}body:has(.opd-workspace .opd-parchi-paper) .opd-parchi-paper :after,body:has(.opd-workspace .opd-parchi-paper) .opd-parchi-paper :before,body:has(.opd-workspace .opd-parchi-paper):after,body:has(.opd-workspace .opd-parchi-paper):before{content:none!important;display:none!important;background:transparent!important;background-image:none!important;box-shadow:none!important;border:0!important}body:has(.opd-workspace .opd-parchi-paper.opd-paper-plain) .opd-letterhead-generated,body:has(.opd-workspace .opd-parchi-paper.opd-paper-plain) .opd-parchi-letterhead-wrap{display:block!important;position:static!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;margin:0!important;padding:0!important;border:0!important;background:#fff!important;background-color:#fff!important;background-image:none!important;color:#173f5f!important;isolation:auto!important}body:has(.opd-workspace .opd-parchi-paper.opd-paper-plain) .opd-letterhead-generated{display:flex!important;flex-direction:row-reverse!important;align-items:center!important;justify-content:space-between!important;gap:5mm!important;min-height:25mm!important;padding:2mm 3mm!important;border-bottom:1px solid #d5e0e8!important}body:has(.opd-workspace .opd-parchi-paper.opd-paper-plain) .opd-letterhead-details,body:has(.opd-workspace .opd-parchi-paper.opd-paper-plain) .opd-letterhead-details *,body:has(.opd-workspace .opd-parchi-paper.opd-paper-plain) .opd-letterhead-subtitle{color:#173f5f!important;background:transparent!important;background-color:transparent!important;background-image:none!important;visibility:visible!important;opacity:1!important}body:has(.opd-workspace .opd-parchi-paper.opd-paper-plain) .opd-letterhead-details h1{color:#173f5f!important;font-size:17pt!important;margin:0 0 1.5mm!important}body:has(.opd-workspace .opd-parchi-paper.opd-paper-plain) .opd-letterhead-generated img{display:block!important;width:21mm!important;height:21mm!important;max-width:21mm!important;max-height:21mm!important;object-fit:contain!important;background:transparent!important;border:0!important}body:has(.opd-workspace .opd-parchi-paper) .opd-parchi-document-title,body:has(.opd-workspace .opd-parchi-paper) .opd-parchi-valid{background:transparent!important;color:#173f5f!important}body:has(.opd-workspace .opd-parchi-paper) .opd-workspace>.page-heading,body:has(.opd-workspace .opd-parchi-paper) .print-prescription>.panel-heading,body:has(.opd-workspace .opd-parchi-paper) .sidebar,body:has(.opd-workspace .opd-parchi-paper) .topbar{display:none!important}}@media print{@page{size:A4 portrait;margin:0!important}body:has(.opd-workspace .opd-parchi-paper) .opd-workspace .opd-parchi-paper{display:flex!important;flex-direction:column!important;box-sizing:border-box!important;top:8mm!important;left:10mm!important;width:190mm!important;height:281mm!important;min-height:281mm!important;max-height:281mm!important;padding:0!important;margin:0!important;overflow:hidden!important}body:has(.opd-workspace .opd-parchi-paper) .opd-workspace .opd-parchi-paper>.opd-parchi-footer,body:has(.opd-workspace .opd-parchi-paper) .opd-workspace .opd-parchi-paper>.opd-parchi-letterhead-wrap,body:has(.opd-workspace .opd-parchi-paper) .opd-workspace .opd-parchi-paper>.opd-parchi-preprinted-meta,body:has(.opd-workspace .opd-parchi-paper) .opd-workspace .opd-parchi-paper>.opd-patient-grid{flex:0 0 auto!important}body:has(.opd-workspace .opd-parchi-paper) .opd-workspace .opd-parchi-paper>.opd-writing-grid{flex:1 1!important;height:auto!important;min-height:0!important;max-height:none!important;align-self:stretch!important;display:grid!important;grid-template-columns:18mm minmax(0,1fr) 20mm!important;align-items:stretch!important;overflow:hidden!important}body:has(.opd-workspace .opd-parchi-paper) .opd-workspace .opd-parchi-paper .opd-main-writing{display:grid!important;grid-template-rows:repeat(4,minmax(0,1fr))!important;min-height:0!important;height:100%!important}body:has(.opd-workspace .opd-parchi-paper) .opd-workspace .opd-parchi-paper .opd-main-writing>section{min-height:0!important;height:auto!important;overflow:hidden!important;box-sizing:border-box!important}body:has(.opd-workspace .opd-parchi-paper) .opd-workspace .opd-parchi-paper .opd-investigation-findings,body:has(.opd-workspace .opd-parchi-paper) .opd-workspace .opd-parchi-paper .opd-investigations{height:100%!important;min-height:0!important;align-self:stretch!important;box-sizing:border-box!important}body:has(.opd-workspace .opd-parchi-paper) .opd-workspace .opd-parchi-paper>.opd-parchi-footer{margin-top:2mm!important;flex:0 0 auto!important}}@media print{body:has(.opd-workspace .opd-parchi-paper.opd-paper-preprinted) .opd-workspace .print-prescription .opd-parchi-paper>.opd-preprinted-top-spacer{display:block!important;flex:0 0 50.8mm!important;width:100%!important;height:50.8mm!important;min-height:50.8mm!important;max-height:50.8mm!important;margin:0!important;padding:0!important;border:0!important;background:#fff!important;background-image:none!important}}@media print{html body:has(.opd-workspace .opd-parchi-paper.opd-paper-preprinted) .opd-workspace .print-prescription .opd-parchi-paper.opd-paper-preprinted>.opd-writing-grid{display:block!important;flex:1 1 auto!important;width:100%!important;min-height:0!important;height:auto!important;max-height:none!important;margin:0!important;padding:0!important;border:0!important;outline:0!important;background:transparent!important;box-shadow:none!important;overflow:hidden!important}html body:has(.opd-workspace .opd-parchi-paper.opd-paper-preprinted) .opd-workspace .print-prescription .opd-parchi-paper.opd-paper-preprinted .opd-main-writing>section,html body:has(.opd-workspace .opd-parchi-paper.opd-paper-preprinted) .opd-workspace .print-prescription .opd-parchi-paper.opd-paper-preprinted>.opd-writing-grid>*{display:none!important;border:0!important;background:transparent!important;box-shadow:none!important}html body:has(.opd-workspace .opd-parchi-paper.opd-paper-preprinted) .opd-workspace .print-prescription .opd-parchi-paper.opd-paper-preprinted>.opd-parchi-footer>div:first-child{display:none!important}html body:has(.opd-workspace .opd-parchi-paper.opd-paper-preprinted) .opd-workspace .print-prescription .opd-parchi-paper.opd-paper-preprinted>.opd-parchi-footer{display:flex!important;justify-content:flex-end!important;align-items:flex-end!important;flex:0 0 auto!important;margin-top:0!important;padding:0!important;border:0!important;background:transparent!important}html body:has(.opd-workspace .opd-parchi-paper.opd-paper-preprinted) .opd-workspace .print-prescription .opd-parchi-paper.opd-paper-preprinted .opd-signature{display:block!important;margin-left:auto!important;text-align:center!important}}.prescription-toolbar{display:flex;gap:8px;flex-wrap:wrap}.rx-patient-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:10px;gap:10px;padding:14px;margin:14px 0;background:#f4f9fd;border:1px solid #d7e7f3;border-radius:12px}.rx-patient-summary>div{display:flex;flex-direction:column;gap:4px;min-width:0}.rx-patient-summary small,.rx-table-sub{font-size:11px;color:#71849a}.rx-patient-summary b{font-size:12px;color:#173b5e;overflow-wrap:anywhere}.rx-medicine-card{margin-top:14px;padding:14px;border:1px solid #dce7f1;border-radius:12px;background:#fbfdff}.rx-search{display:flex;align-items:center;gap:8px;border:1px solid #d5e2ed;border-radius:9px;padding:0 10px;min-width:250px}.rx-search input{border:0!important;outline:0!important;min-width:0}.rx-table-sub{display:block;margin-top:3px}.rx-print-sheet{display:none}.rx-print-note{display:block;font-size:10px;margin-top:3px}.rx-print-header{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;border-bottom:2px solid #173e65;padding-bottom:12px;margin-bottom:14px}.rx-print-header h2{margin:0;color:#173e65;font-size:22px}.rx-print-header p{margin:4px 0 0;color:#53677c}.rx-print-no{text-align:right;font-size:12px}.rx-print-patient{display:grid;grid-template-columns:1fr 1fr;grid-gap:8px 18px;gap:8px 18px;padding:12px;background:#f7fafc;border:1px solid #d9e2eb;border-radius:6px;font-size:12px;margin-bottom:16px}.rx-print-sheet h3{font-size:15px;margin:12px 0}.rx-print-instructions{margin-top:16px;font-size:12px}.rx-print-footer{display:flex;justify-content:space-between;align-items:flex-end;margin-top:48px;font-size:11px}.rx-doctor-sign{min-width:190px;display:flex;flex-direction:column;align-items:center;border-top:1px solid #26394d;padding-top:7px}.rx-doctor-sign span{margin-top:3px}@media(max-width:760px){.rx-patient-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.rx-search{min-width:100%}}@media print{@page{size:A4 portrait;margin:12mm}body,html{background:#fff!important;margin:0!important;padding:0!important}body *{visibility:hidden!important}.rx-print-sheet,.rx-print-sheet *{visibility:visible!important}.rx-print-sheet{display:block!important;position:absolute!important;left:0!important;top:0!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;background:#fff!important;color:#111!important;border:0!important;box-shadow:none!important;font-family:Arial,sans-serif!important;font-size:11px!important}.rx-print-sheet .table-wrap{overflow:visible!important}.rx-print-sheet table{width:100%!important;border-collapse:collapse!important;font-size:10px!important}.rx-print-sheet td,.rx-print-sheet th{border:1px solid #9aa9b8!important;padding:6px 5px!important;color:#111!important;white-space:normal!important}.rx-print-sheet th{background:#eef3f7!important;font-weight:700!important}.rx-print-sheet *{-webkit-print-color-adjust:exact;print-color-adjust:exact}}