@font-face{font-family:Cairo;font-weight:400 800;font-display:swap;src:url(/fonts/cairo-ar.woff2) format("woff2");unicode-range:U+0600-06FF,U+0750-077F,U+0870-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC}
@font-face{font-family:Cairo;font-weight:400 800;font-display:swap;src:url(/fonts/cairo-lat.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
:root{--green:#146354;--ink:#203d37;--muted:#82908c;--line:#e6ece8;--bg:#f6f8f7}*{box-sizing:border-box}body{background:var(--bg);color:var(--ink);margin:0;font:14px Cairo,Tahoma,sans-serif}button,input,select,textarea{font:inherit}button,a,select{cursor:pointer}button{background:var(--green);color:#fff;border:0;border-radius:9px;padding:11px 20px;font-weight:700}button:hover{filter:brightness(.95)}button.secondary{color:var(--green);background:#edf3ef}button.text{color:var(--green);background:0 0;padding:5px}aside{border-left:1px solid var(--line);background:#fff;flex-direction:column;width:245px;padding:32px 23px;display:flex;position:fixed;top:0;bottom:0;right:0}.brand{align-items:center;gap:13px;font-size:28px;font-weight:800;display:flex}.brand span:not(.logo){color:var(--muted);font-size:11px;font-weight:500;display:block}.logo{background:var(--green);color:#fff;text-align:center;border-radius:15px;width:50px;font-size:36px}.workspace{color:var(--muted);margin:45px 0 19px;font-size:11px}.workspace span{background:#f3f5f0;border-radius:5px;margin-right:5px;padding:3px 7px}nav button{text-align:right;color:#75857e;background:0 0;width:100%;margin:8px 0;padding:13px 15px;font-weight:600;display:block}nav button.active{color:var(--green);background:#e8f2ed}nav button span{margin-left:13px;font-size:19px}.aside-bottom{color:#89968e;margin-top:auto;font-size:11px}.clinic{border:1px solid var(--line);color:var(--ink);border-radius:12px;margin-bottom:24px;padding:16px;font-weight:700}.clinic small,.clinic a{margin-top:6px;font-size:10px;font-weight:400;display:block}.clinic a{color:var(--green)}.shell{margin-right:245px}header{border-bottom:1px solid var(--line);background:#fff;justify-content:space-between;align-items:center;height:86px;padding:0 40px;display:flex}.live{background:#39a881;border-radius:50%;width:7px;height:7px;margin-left:7px;display:inline-block}.muted{color:var(--muted);margin:0 15px}.identity{align-items:center;gap:16px;display:flex}.identity select{color:var(--ink);background:#fff;border:0}.avatar{background:#f1e9dc;border-radius:50%;padding:10px;font-size:12px}main{max-width:1500px;margin:auto;padding:24px 40px}.dm{color:#887e61;background:#fcfaf3;border:1px solid #e9e4d5;border-radius:7px;margin-bottom:26px;padding:9px 14px;font-size:11px}.heading{justify-content:space-between;align-items:center;margin:14px 0 27px;display:flex}h1{letter-spacing:-.8px;margin:0 0 6px;font-size:27px}p{color:var(--muted);margin:0}.eyebrow{color:var(--green);margin-bottom:8px;font-size:11px;font-weight:700}.stats{grid-template-columns:repeat(4,1fr);gap:18px;margin-bottom:26px;display:grid}.stat{border:1px solid var(--line);background:#fff;border-radius:13px;padding:21px}.stat .label{color:#71837a;font-size:12px}.stat strong{margin:10px 0;font-size:30px;display:block}.stat small{color:#8b9991;font-size:10px}.stat:first-child{background:var(--green);color:#fff}.stat:first-child .label,.stat:first-child small{color:#c1dacf}.grid{grid-template-columns:minmax(0,2.4fr) minmax(245px,1fr);gap:24px;display:grid}.panel{border:1px solid var(--line);background:#fff;border-radius:14px;margin-bottom:23px;overflow:hidden}.panel-head{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;padding:21px 24px;display:flex}h2{margin:0;font-size:16px}h3{font-size:14px}.filters{flex-wrap:wrap;gap:10px;padding:17px 24px;display:flex}input,select,textarea{color:var(--ink);background:#fff;border:1px solid #dfe7e1;border-radius:7px;max-width:100%;padding:10px}input:focus,textarea:focus{outline:2px solid #9ac5b2}.filters input[type=search]{flex:1;min-width:140px}table{border-collapse:collapse;text-align:right;white-space:nowrap;width:100%}th{color:#8c9991;background:#fafcfb;padding:13px 20px;font-size:10px;font-weight:600}td{border-top:1px solid #f0f3f1;padding:18px 20px;font-size:12px}.table-wrap{overflow:auto}.person{align-items:center;gap:10px;display:flex}.initial{color:#6e8873;background:#edf2eb;border-radius:10px;place-items:center;width:34px;height:34px;display:grid}.person small{color:#9aa59f;font-size:9px;display:block}.badge{color:#6680aa;background:#eef3fd;border-radius:6px;padding:5px 10px;font-size:10px}.badge.done{color:#32815a;background:#e8f4ed}.badge.wait{color:#a48b50;background:#fff4de}.badge.cancel{color:#ad6864;background:#f9e9e8}.stack{padding:22px}.quick{text-align:right;width:100%;color:var(--ink);border:1px solid var(--line);background:#fff;margin-top:12px;display:block}.quick span{color:var(--green);margin-left:13px}.note{color:#668174;background:#eef4ef;border-radius:10px;margin-top:20px;padding:18px;font-size:11px;line-height:1.9}.summary-row{border-bottom:1px solid var(--line);justify-content:space-between;padding:14px 0;font-size:12px;display:flex}footer{color:#96a29b;justify-content:space-between;padding:24px 40px;font-size:10px;display:flex}.empty{text-align:center;color:var(--muted);padding:45px}dialog{width:650px;max-width:95vw;color:var(--ink);border:0;border-radius:16px;padding:28px}dialog::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#17392e66}.modal-head{justify-content:space-between;align-items:center;margin-bottom:20px;display:flex}.formgrid{grid-template-columns:1fr 1fr;gap:15px;display:grid}label{flex-direction:column;gap:7px;font-size:12px;display:flex}.full{grid-column:1/-1}textarea{resize:vertical;min-height:85px}.actions{justify-content:flex-end;gap:10px;margin-top:20px;display:flex}.history{border:1px solid var(--line);white-space:pre-wrap;border-radius:10px;margin:12px 0;padding:16px;font-size:12px}.bars{align-items:end;gap:25px;height:180px;padding:30px 25px;display:flex}.bar{background:#8cb69c;border-radius:6px 6px 0 0;flex:1;min-height:3px;position:relative}.bar span{text-align:center;font-size:9px;position:absolute;bottom:-25px;left:0;right:0}#toast{background:var(--green);color:#fff;z-index:10;border-radius:10px;padding:14px 25px;display:none;position:fixed;bottom:25px;left:25px}@media (max-width:1100px){aside{width:205px;padding:25px 15px}.shell{margin-right:205px}main{padding:20px}.grid{grid-template-columns:1fr}.stats{gap:10px}.stat{padding:15px}header{padding:0 20px}}@media (max-width:700px){aside{width:100%;padding:16px;position:static}.brand{font-size:23px}.workspace,.aside-bottom .clinic{display:none}.aside-bottom{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;margin-top:8px;display:flex}.aside-bottom button{min-height:44px}.aside-bottom .text{margin-inline-start:auto;padding-inline:12px}nav{gap:4px;margin-top:12px;display:flex;overflow:auto}nav button{white-space:nowrap;margin:0;padding:10px;font-size:11px}nav button span{margin-left:5px}.shell{margin:0}header{height:65px;font-size:11px}.avatar{display:none}main{padding:15px}.stats{grid-template-columns:1fr 1fr}.heading{align-items:flex-start;gap:10px}h1{font-size:21px}.heading p{font-size:11px}.heading button{padding:10px;font-size:11px}.formgrid{grid-template-columns:1fr}.full{grid-column:auto}footer{padding:20px;display:block}footer span{display:none}}@media print{aside,header,footer,.dm,.actions,body>.shell{display:none}dialog{border:0;width:100%;max-width:100%;display:block;position:static}.no-print{display:none}}button,.button{justify-content:center;align-items:center;gap:8px;text-decoration:none;display:inline-flex}button:disabled{opacity:.55;cursor:wait}nav button{justify-content:flex-start;gap:13px;display:flex}.brand img{border-radius:14px}.button{background:var(--green);color:#fff;border-radius:8px;padding:11px 18px;font-weight:700}.icon-button{color:#6e8578;background:0 0;padding:7px}.row-actions{align-items:center;gap:8px;display:flex}.quick{justify-content:flex-start;font-size:12px;display:flex}.quick svg{color:var(--green)}.stat strong{font-size:27px}.empty>svg{color:#9ab7a6;margin:auto}.note b{margin-right:7px}.error{color:#a63f38;background:#fff0ef;border:1px solid #f4d1cb;border-radius:8px;margin-bottom:16px;padding:12px;font-size:12px}.spaced{margin:18px 0;line-height:1.9}label{margin:8px 0}pre{white-space:pre-wrap;background:#f3f6f3;padding:14px;font-size:12px}.pre{white-space:pre-wrap;line-height:1.9}.template-grid{grid-template-columns:repeat(2,1fr);gap:20px;display:grid}.warning{color:#8b764e;background:#faf5e9;margin:0 0 20px}.modal-backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:30;background:#18372c66;justify-content:center;align-items:center;padding:25px;display:flex;position:fixed;inset:0}.modal{background:#fff;border-radius:18px;width:100%;max-width:650px;max-height:92vh;padding:28px;overflow:auto;box-shadow:0 20px 100px #12382f22}.modal.wide{max-width:1000px}.profile-grid{grid-template-columns:1fr 1fr;gap:28px;margin-top:24px;display:grid}.patient-banner{background:#f5f8f5;border-radius:10px;justify-content:space-between;align-items:center;padding:18px;display:flex}.file-link{color:var(--green);overflow-wrap:anywhere;gap:8px;margin:12px 0;display:flex}.toast{color:#fff;z-index:40;background:#164f40;border-radius:10px;align-items:center;gap:10px;padding:15px 23px;display:flex;position:fixed;bottom:24px;left:24px}.audit-list{max-height:350px;padding:10px 20px;overflow:auto}.loading{place-items:center;min-height:100vh;display:grid}.auth-page{background:#fff;grid-template-columns:1fr 1fr;min-height:100vh;display:grid}.auth-story{color:#f1f5ee;background:#123f35 radial-gradient(at 20% 60%,#2c665350,#0000 60%);flex-direction:column;justify-content:space-between;min-height:100vh;padding:60px 65px;display:flex}.auth-story .brand span{color:#b7cbbb}.auth-story .eyebrow{color:#b6cbaa}.auth-story h1{margin:20px 0;font-size:44px;line-height:1.8}.auth-story p{color:#b4c9bc;line-height:2.2}.auth-story small{color:#a7beb1;font-size:11px}.auth-features{flex-direction:column;gap:20px;margin-top:35px;display:flex}.auth-features span{color:#d2e0d4;align-items:center;gap:12px;font-size:13px;display:flex}.auth-features svg{width:18px}.auth-form{place-items:center;padding:40px;display:grid}.auth-card{width:100%;max-width:370px}.auth-card h2{margin:20px 0 9px;font-size:27px}.auth-card p{margin-bottom:26px;font-size:12px}.auth-symbol{color:var(--green);background:#edf4ef;border-radius:15px;padding:14px;display:inline-flex}.auth-card label{margin:18px 0;font-weight:600}.auth-card input{padding:13px}.auth-card form button{width:100%;margin-top:15px}.auth-foot{color:#8d9c92;border-top:1px solid var(--line);justify-content:center;align-items:center;gap:7px;margin-top:30px;padding-top:24px;font-size:10px;display:flex}.print-sheet{display:none}@media (max-width:800px){.auth-page{grid-template-columns:1fr}.auth-story{min-height:auto;padding:28px}.auth-story>div:nth-child(2),.auth-story>small{display:none}.auth-form{padding:35px 23px}.profile-grid,.template-grid{grid-template-columns:1fr}.modal-backdrop{padding:10px}.modal{padding:20px}.heading>.row-actions{flex-wrap:wrap}.stats strong{font-size:24px}}@media print{body *{visibility:hidden}.print-sheet,.print-sheet *{visibility:visible}.print-sheet{width:100%;position:absolute;inset:0 auto auto 0}.modal-backdrop,.toast{display:none!important}.print-sheet{color:#111;min-height:250mm;padding:25px;display:block!important}.print-sheet p{color:#333}.print-footer{position:fixed;bottom:20mm;left:20mm;right:20mm}.print-sheet h1{font-size:25px}.print-sheet .pre{margin-top:30px;font-size:16px}}.developer-credit{text-align:center;color:#758a80;font-size:11px}.auth-card>.developer-credit{margin-top:16px}.pdf-hint{color:#76867c;white-space:normal;margin-top:8px;font-size:10px;line-height:1.8;display:block}@media (max-width:700px){footer .developer-credit{text-align:right;margin-top:9px;display:block}}.avatar{min-width:40px;min-height:40px}.avatar:has(img){padding:0;overflow:hidden}.avatar-photo{object-fit:cover;border-radius:50%;width:42px;height:42px}.personal-card{text-align:center;margin:20px 0}.personal-photo,.personal-placeholder{object-fit:cover;border-radius:50%;width:110px;height:110px;margin:auto}.personal-placeholder{background:#edf3ef;place-items:center;font-size:30px;display:grid}.prescription-logo{object-fit:contain;float:left;width:80px;height:80px}.brand img{object-fit:contain;background:#f7f5ef}:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}.theme-toggle{color:var(--ink);border:1px solid var(--line);white-space:nowrap;background:0 0;padding:8px 11px;font-size:11px}.auth-card>.theme-toggle{margin:0 auto 25px 0;display:flex}:is(button:focus-visible,a:focus-visible,select:focus-visible){outline-offset:3px;outline:2px solid #66bfa4}@media screen{:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--ink:#e0eee8;--muted:#a1b5ab;--line:#334b41;--bg:#101b17}[data-theme=dark] aside,[data-theme=dark] header,[data-theme=dark] .panel,[data-theme=dark] .stat:not(:first-child),[data-theme=dark] .modal,[data-theme=dark] dialog,[data-theme=dark] .auth-page{background:#192a23}[data-theme=dark] input,[data-theme=dark] select,[data-theme=dark] textarea,[data-theme=dark] .identity select{border-color:var(--line);color:var(--ink);background:#12221b}[data-theme=dark] input::placeholder,[data-theme=dark] textarea::placeholder{color:#9cb0a4}[data-theme=dark] th{color:#b1c7b9;background:#20352b}[data-theme=dark] td{border-color:var(--line)}[data-theme=dark] .quick{color:var(--ink);background:#20352b}[data-theme=dark] nav button{color:#b0c5b8}[data-theme=dark] nav button.active,[data-theme=dark] button.secondary,[data-theme=dark] .auth-symbol{color:#a0e1c6;background:#254b3d}[data-theme=dark] .eyebrow,[data-theme=dark] button.text,[data-theme=dark] .clinic a,[data-theme=dark] .file-link,[data-theme=dark] .quick svg{color:#8cd6b7}[data-theme=dark] .note,[data-theme=dark] .patient-banner,[data-theme=dark] pre,[data-theme=dark] .workspace span,[data-theme=dark] .personal-placeholder{color:#bdd7c6;background:#243b2f}[data-theme=dark] .initial{color:#c1dfca;background:#2c4938}[data-theme=dark] .avatar{color:#f8ecd2;background:#4b4436}[data-theme=dark] .stat .label,[data-theme=dark] .stat small,[data-theme=dark] .person small,[data-theme=dark] .developer-credit,[data-theme=dark] .pdf-hint,[data-theme=dark] .icon-button,[data-theme=dark] .auth-foot{color:#a9beb1}[data-theme=dark] .badge{color:#cadbfa;background:#293e60}[data-theme=dark] .badge.done{color:#a5e3ba;background:#234b36}[data-theme=dark] .badge.wait{color:#f2d69c;background:#514127}[data-theme=dark] .badge.cancel{color:#f5b5b4;background:#502f30}[data-theme=dark] .error{color:#ffc1b7;background:#432727;border-color:#754641}[data-theme=dark] .warning{color:#f0d9aa;background:#433a27}[data-theme=dark] .modal-backdrop{background:#030c08aa}[data-theme=dark] .auth-story{background-color:#102f26}}@media (max-width:700px){.identity{gap:8px}.identity .theme-toggle span{display:none}.identity .theme-toggle{padding:8px}header{gap:8px}}@media print{.theme-toggle{display:none!important}body{color:#111;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;background:#fff}}.collection-toggle{margin:0 0 10px;padding:7px 10px;font-size:11px;display:flex}.global-search{flex:1;max-width:440px;margin:0 20px;position:relative}.global-search svg{color:var(--muted);position:absolute;top:13px;right:12px}.global-search input{width:100%;padding-right:38px;font-size:11px}header{gap:10px}.identity{flex-shrink:0}@media (max-width:1100px){header{flex-wrap:wrap;height:auto;min-height:86px;padding:14px 20px}.global-search{flex-basis:100%;order:3;max-width:none;margin:0}}button.clinic-install{color:#124f4c;font:inherit;cursor:pointer;background:#e3f2ed;border:1px solid #a8cec3;border-radius:.65rem;justify-content:center;align-items:center;gap:.5rem;margin-block:.5rem;padding:.65rem .95rem;display:inline-flex}.clinic-install-help{color:#183c39;text-align:start;background:#fff;border:0;border-radius:1rem;max-width:min(30rem,90vw);max-height:85vh;margin:auto;padding:1.5rem;line-height:1.65;overflow:auto}.clinic-install-help::backdrop{background:#102c2a99}.clinic-install-help p{color:#234540}.clinic-install-help button{color:#fff;cursor:pointer;background:#125a54;border:0;border-radius:.5rem;padding:.45rem 1.4rem}.rx-letterhead{border-block:1px solid var(--line);align-items:center;gap:12px;margin-block:12px;padding-block:10px;font-size:13px;line-height:1.7;display:flex}.rx-letterhead img{object-fit:contain;flex-shrink:0}.rx-letterhead strong{font-size:16px}
@media (max-width:700px){html,body{overflow-x:hidden}.shell,main,.panel,.panel-head,.filters{min-width:0;max-width:100%}.filters{flex-wrap:wrap}.filters input,.filters select{min-width:0;width:100%;max-width:100%}.table-wrap{overflow-x:auto;max-width:100%}}
@media (max-width:700px){*{scrollbar-width:none}::-webkit-scrollbar{display:none}}
