:root{--emr-font:"Segoe UI", Tahoma, Arial, sans-serif;--chrome-bg:#f0f0f0;--tabstrip:#0c4975;--tab-inactive:#176e92;--tab-active:#007bbd;--banner:#007bbd;--menu-header:#07507c;--menu-top:#3577aa;--menu-bottom:#165383;--menu-sep:#1a6295;--menu-sel:#2f6fa3;--view-header:#0d66a1;--pane:#fff;--filter-bg:#ebebeb;--nav-bg:#e2e6ea;--nav-head:#aec2ca;--range-bar:#a0adb7;--range-text:#1f2a33;--grid-head:#f6f6f6;--grid-head-border:#a0a0a0;--group-row:#cddcee;--alt-row:#e8ebf5;--sel-row:#39f;--link:#06c;--btn-bg:#e1e1e1;--btn-border:#adadad;--mandatory:#ff9;--res-normal:#00f;--res-abn:#c00000;--comp-head:#dce6f0;--current-col:#fff0b3;--mar-sched:#096893;--mar-sched-cell:#cddcee;--mar-prn:#56872f;--mar-prn-cell:#bde0a1;--mar-dc:silver;--mar-due:#0e5c8c;--mar-future:#b4a7d6;--iview-range:#1d5d8e;--balance-row:#06f;--form-range:#1f4e9a;--btf-yellow:#ffe600;--btf-red:#ff6b6b;--unsigned:purple;--high-orange:#e07000;--low-blue:#0050c8;--alert-red:#c00000}.emr,.emr *{box-shadow:none!important;border-radius:0!important}.emr{font:12px var(--emr-font);color:#000}.emr button{font:inherit}.emr-btn{background:var(--btn-bg);border:1px solid var(--btn-border);color:#000;white-space:nowrap;cursor:default;align-items:center;gap:4px;height:22px;padding:0 8px;display:inline-flex}.emr-btn:hover:not(:disabled){background:#e5f1fb;border-color:#0078d7}.emr-btn:disabled{color:#8a8a8a}.emr-btn.primary{border-color:#0078d7}.emr-flat{white-space:nowrap;background:0 0;border:1px solid #0000;align-items:center;gap:4px;height:22px;padding:0 6px;display:inline-flex}.emr-flat:hover:not(:disabled){background:#e5f1fb;border-color:#cce4f7}.emr-toolbar{background:var(--chrome-bg);border-bottom:1px solid #d0d0d0;flex-wrap:wrap;align-items:center;gap:2px;padding:2px 4px;display:flex}.emr-sep{border-left:1px solid #a0a0a0;border-right:1px solid #fff;width:0;height:18px;margin:0 3px}.emr-link{color:var(--link);cursor:pointer;background:0 0;border:0;padding:0;text-decoration:underline}.emr-input,.emr select,.emr textarea{font:12px var(--emr-font);background:#fff;border:1px solid #7a7a7a;height:21px;padding:0 3px}.emr textarea{height:auto;padding:2px 3px}.emr-input.mandatory,.emr .mandatory{background:var(--mandatory)}.emr-filter{background:var(--filter-bg);border-bottom:1px solid #c8c8c8;flex-wrap:wrap;align-items:center;gap:8px;padding:3px 6px;display:flex}.emr-range{background:var(--range-bar);color:var(--range-text);justify-content:space-between;align-items:center;height:22px;font-weight:700;display:flex}.emr-range>span{text-align:center;flex:1}.emr-range button{color:var(--range-text);cursor:pointer;background:0 0;border:0;width:22px;height:22px}.emr-tabs{background:var(--chrome-bg);border-bottom:1px solid #8c8c8c;gap:0;padding:2px 4px 0;display:flex}.emr-tab{background:#e6e6e6;border:1px solid #adadad;border-bottom:0;margin-right:-1px;padding:2px 10px}.emr-tab[aria-selected=true]{background:#fff;font-weight:700;position:relative;top:1px}.emr-nav{background:var(--nav-bg);border-right:1px solid #a0a0a0;overflow:auto}.emr-nav-h{background:var(--nav-head);border-bottom:1px solid #8fa5ae;padding:2px 6px;font-weight:700}.emr-nav-item{text-align:left;background:0 0;border:0;width:100%;padding:1px 6px;display:block}.emr-nav-item[aria-selected=true]{background:var(--sel-row);color:#fff}.emr-grid{border-collapse:collapse;background:#fff;width:100%;font-size:12px}.emr-grid th{background:var(--grid-head);border-bottom:1px solid var(--grid-head-border);text-align:left;white-space:nowrap;z-index:1;border-right:1px solid #d8d8d8;padding:2px 4px;font-weight:400;position:sticky;top:0}.emr-grid td{vertical-align:top;border-bottom:1px solid #ececec;border-right:1px solid #e0e0e0;padding:1px 4px}.emr-grid tbody tr:nth-child(2n) td{background:var(--alt-row)}.emr-grid tr.group td{font-weight:700;background:var(--group-row)!important}.emr-grid tr[aria-selected=true] td{color:#fff;background:var(--sel-row)!important}.emr-grid tr[aria-selected=true] td .emr-link{color:#fff}.emr-pane{background:var(--pane);overflow:auto}.emr-res-n{color:var(--res-normal)}.emr-res-a{color:var(--res-abn)}.emr-res-c{color:var(--res-abn);outline:1px solid var(--res-abn);outline-offset:-1px;font-weight:700}.emr-win-backdrop{z-index:60;background:#00000026;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.emr-win{background:var(--chrome-bg);border:1px solid #6e6e6e;flex-direction:column;min-width:320px;max-width:95vw;max-height:92vh;display:flex}.emr-win-t{background:#fff;border-bottom:1px solid #d0d0d0;justify-content:space-between;align-items:center;height:24px;padding-left:6px;display:flex}.emr-win-t button{background:0 0;border:0;width:36px;height:24px}.emr-win-t button:hover{color:#fff;background:#e81123}.emr-win-b{flex:1;padding:8px;overflow:auto}.emr-win-f{border-top:1px solid #d0d0d0;justify-content:flex-end;gap:6px;padding:6px 8px;display:flex}.emr-comp{background:#fff;border:1px solid #b9c9d8;margin-bottom:6px}.emr-comp-h{background:var(--comp-head);align-items:center;gap:6px;padding:2px 6px;font-weight:700;display:flex}.emr-comp-f{color:#555;border-bottom:1px solid #e3e3e3;padding:1px 6px;font-size:11px}.emr-doc-page{white-space:pre-wrap;background:#fbfaf5;border:1px solid #9a9a9a;max-width:760px;margin:8px auto;padding:24px 32px;font-family:Courier New,monospace;font-size:12px}.emr-desktop{background:var(--chrome-bg);flex-direction:column;min-width:900px;height:100dvh;display:flex;overflow:hidden}.emr-desktop-in{flex-direction:column;flex:1;min-height:0;display:flex}.emr-title{background:#fff;border-bottom:1px solid #d0d0d0;flex-shrink:0;align-items:center;gap:6px;height:22px;padding:0 6px;display:flex}.emr-title-ico{color:#fff;background:#007bbd;justify-content:center;align-items:center;width:14px;height:14px;font-size:10px;font-weight:700;display:inline-flex}.emr-menubar{background:var(--chrome-bg);z-index:50;border-bottom:1px solid #d8d8d8;flex-shrink:0;display:flex;position:relative}.emr-mb-item{position:relative}.emr-mb-item>button{background:0 0;border:1px solid #0000;padding:2px 8px}.emr-mb-item>button:hover,.emr-mb-item>button[aria-expanded=true]{background:#cce8ff;border-color:#99d1ff}.emr-mb-drop{background:#f2f2f2;border:1px solid #a0a0a0;min-width:200px;padding:2px 0;position:absolute;top:100%;left:0}.emr-mb-drop button{text-align:left;background:0 0;border:0;width:100%;padding:3px 24px;display:block}.emr-mb-drop button:hover:not(:disabled){background:#91c9f7}.emr-mb-drop button:disabled{color:#8a8a8a}.emr-tb{flex-wrap:nowrap;flex-shrink:0;overflow:hidden}.emr-grip{background-image:radial-gradient(#8a8a8a 1px,#0000 1px);background-size:3px 3px;width:4px;height:18px;margin-right:4px}.emr-ptabs{background:var(--tabstrip);flex-shrink:0;align-items:flex-end;gap:2px;min-height:26px;padding:3px 4px 0;display:flex}.emr-ptab{background:var(--tab-inactive);color:#fff;font-weight:700;display:inline-flex}.emr-ptab[aria-selected=true]{background:var(--tab-active)}.emr-ptab button{color:#fff;background:0 0;border:0;padding:3px 8px;font-weight:700}.emr-ptab-btn{color:#fff;background:0 0;border:0;align-self:center;padding:2px 6px}.emr-recent{align-self:center;height:20px;margin:0 4px}.emr-ptabs form{align-self:center;margin-bottom:2px}.emr-banner{background:var(--banner);color:#fff;flex-shrink:0;padding:2px 6px}.emr-bn-r{grid-template-columns:2.2fr 1fr 1.3fr 1.3fr 1.6fr;gap:6px;line-height:17px;display:grid}.emr-bn-c{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.emr-bn-l{opacity:.85;margin-right:2px}.emr-bn-name{color:#fff;text-align:left;cursor:pointer;background:0 0;border:0;padding:0;font-size:13px;font-weight:700}.emr-bn-alert{background:var(--alert-red);padding:0 4px;font-weight:700}.emr-vh{background:var(--view-header);color:#fff;flex-shrink:0;align-items:center;gap:4px;height:24px;display:flex}.emr-vh button{color:#fff;background:0 0;border:0;height:24px;padding:0 6px}.emr-vh button:disabled{opacity:.5}.emr-vh-menu{background:var(--menu-header);justify-content:space-between;align-items:center;height:24px;padding-left:6px;font-weight:700;display:flex}.emr-vh-title{margin-left:6px;font-size:13px}.emr-chart{flex-direction:column;flex:1;min-height:0;display:flex}.emr-body{flex:1;min-height:0;display:flex}.emr-menu{background:linear-gradient(to bottom, var(--menu-top), var(--menu-bottom));width:210px;min-width:210px;overflow:auto}.emr-menu-row{border-bottom:1px solid var(--menu-sep);color:#fff;align-items:center;height:25px;display:flex}.emr-menu-row[aria-current=page]{background:var(--menu-sel);font-weight:700}.emr-menu-row button{color:#fff;text-align:left;height:25px;font-weight:inherit;background:0 0;border:0;flex:1;padding:0 8px}.emr-menu-row .emr-menu-add{flex:none;font-size:11px;font-weight:400}.emr-view{background:#fff;flex-direction:column;flex:1;min-width:0;display:flex;overflow:hidden}.emr-view>*{min-height:0}.emr-list-wrap{background:#fff;flex:1;min-height:0;display:flex;overflow:auto}.emr-status{background:var(--chrome-bg);border-top:1px solid #c8c8c8;flex-shrink:0;align-items:center;height:18px;font-size:11px;display:flex}.emr-st-msg{flex:1;padding-left:6px}.emr-st{border-left:1px solid #a0a0a0;padding:0 8px}.emr-split{flex:1;min-height:0;display:flex}.emr-fill{flex:1;min-height:0;overflow:auto}.emr-col{flex-direction:column;flex:1;min-width:0;min-height:0;display:flex}.emr-kv{grid-template-columns:170px 1fr;gap:1px 8px;padding:4px 6px;display:grid}.emr-kv>:nth-child(odd){color:#333}.emr-sec{background:var(--group-row);border-bottom:1px solid #b9c9d8;padding:2px 6px;font-weight:700}.emr-mpage{background:#eef2f6;flex:1;grid-template-columns:repeat(3,1fr);align-content:start;gap:6px;padding:6px;display:grid;overflow:auto}.emr-up{color:var(--high-orange)}.emr-down{color:var(--low-blue)}.emr-age{color:#888;font-size:11px}.emr-zone-Y{background:var(--btf-yellow)!important}.emr-zone-R{background:var(--btf-red)!important}.emr-unsigned{color:var(--unsigned);font-style:italic}.emr-hl{background:#ff0}.emr-mar td{vertical-align:top}.emr-mar .cur{background:var(--current-col)!important}.emr-adm{background:#fff;border:1px solid #7a7a7a;margin:1px 0;padding:0 3px;font-size:11px;display:inline-block}.emr-adm.due{background:var(--mar-due);color:#fff;border-color:var(--mar-due)}.emr-adm.future{background:var(--mar-future)}.emr-adm.ng{border-style:dashed;font-style:italic}.fc-print-footer{display:none}@media print{@page{margin-bottom:18mm;@bottom-center{content:"SIMULATION - FakeChart teaching record - fictional patient - not a medical record";font:10px Arial,sans-serif}}.emr-desktop{min-width:0;height:auto;display:block;overflow:visible}.fc-print-chart{padding-bottom:24px}.fc-print-footer{display:none}}:root{--platform-focus:#005fcc}.fc-skip{z-index:200;background:var(--warn-bg);color:var(--foreground);padding:8px;position:fixed;top:-80px;left:8px}.fc-skip:focus{top:4px}.fc-sr-heading{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.emr.emr-comfortable{scroll-padding-top:var(--fc-fixed-bars,220px);font-size:14px}.emr-comfortable .emr-grid,.emr-comfortable .fc-table,.emr-comfortable .fc-input,.emr-comfortable input,.emr-comfortable select,.emr-comfortable textarea{font-size:14px}.emr-comfortable .emr-grid tr,.emr-comfortable .fc-table tr{min-height:28px;height:28px!important}.emr-comfortable button,.emr-comfortable [role=tab],.emr-comfortable [role=menuitem],.emr-comfortable input,.emr-comfortable select{min-width:24px;height:auto;min-height:24px}.emr-comfortable input[type=checkbox],.emr-comfortable input[type=radio]{flex-shrink:0;width:24px;height:24px}.emr-comfortable :focus-visible{outline:2px solid var(--platform-focus);outline-offset:2px}.emr-comfortable .emr-title{flex-wrap:wrap;height:auto;min-height:28px}.emr-comfortable .emr-grid td,.emr-comfortable .emr-grid th,.emr-comfortable .fc-table td,.emr-comfortable .fc-table th{padding:4px}.emr-comfortable .emr-tb,.emr-comfortable .emr-ptabs,.emr-comfortable .emr-tabs,.emr-comfortable .emr-vh{flex-wrap:wrap;height:auto;min-height:28px}.emr-comfortable .emr-body,.emr-comfortable .emr-view{min-width:0}.emr-comfortable .emr-pane,.emr-comfortable .emr-view,.emr-comfortable .emr-menu,.emr-comfortable .fc-platform-body{scroll-padding-top:var(--fc-fixed-bars,220px)}.emr-comfortable .emr-grid,.emr-comfortable .fc-table{table-layout:fixed;width:100%}.emr-comfortable .emr-grid td,.emr-comfortable .emr-grid th,.emr-comfortable .fc-table td,.emr-comfortable .fc-table th,.emr-comfortable .emr-bn-c{white-space:normal;overflow-wrap:anywhere}.emr-comfortable .emr-menu-row{min-height:28px}.fc-orientation{background:var(--warn-bg);color:var(--foreground);flex-shrink:0;align-items:center;gap:8px;padding:4px 8px;display:flex}.fc-orientation span{flex:1}.fc-display-choice{gap:4px;margin:12px 0;display:grid}.fc-case-library{margin:8px 0 16px}.fc-case-library article{border-bottom:1px solid var(--chrome-line);padding:12px 0}.fc-case-library .fc-badge{margin-right:4px}.fc-preview-bar{background:var(--warn-bg);align-items:center;gap:12px;padding:6px;display:flex}.fc-preview .emr-desktop{height:calc(100dvh - 42px)}.fc-narrow-notice{background:var(--chrome-bg);min-height:100dvh;color:var(--foreground);padding:24px}@media (width>=900px){.emr-comfortable.emr-desktop{min-width:0;max-width:100%}}.emr.emr-comfortable .fc-btn{min-width:24px;min-height:24px;font-size:14px!important}
