:root{--navy:#082431;--navy2:#102f3c;--navy3:#194450;--teal:#10aaa6;--teal2:#30c7c2;--ink:#153541;--muted:#5c7580;--line:#d9e6e8;--pale:#f4f9f9;--white:#fff;--blue:#2c70a5;--amber:#a35a18;--pink:#a2494e;--shadow:0 28px 80px rgba(4,35,50,.22);font-synthesis:none}
*{box-sizing:border-box}html{font-family:Inter,Manrope,Arial,Helvetica,sans-serif;color:var(--ink)}body{margin:0;background:#eef5f5;font-size:14px}button,select,input{font:inherit}button{cursor:pointer}a{color:inherit}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid #19a9a3;outline-offset:3px}.skip{position:absolute;left:10px;top:-200px;background:white;padding:10px;z-index:999}.skip:focus{top:10px}.hidden{display:none!important}
.topbar{min-height:72px;position:sticky;top:0;z-index:20;background:#071924;color:#fff;display:flex;align-items:center;padding:14px 28px;gap:18px;box-shadow:0 2px 10px rgba(0,0,0,.08)}.brand{display:flex;align-items:center;gap:11px;text-decoration:none;color:#fff;white-space:nowrap}.sidecar-brand .brand-mark{width:42px;height:42px;border-radius:10px;display:block;box-shadow:0 8px 20px rgba(0,0,0,.22)}.brand-word{display:flex;flex-direction:column;line-height:1}.brand-word b{font-size:18px;font-weight:800;letter-spacing:-.03em;color:#fff}.brand-word small{font-size:11px;color:#90b4bf;margin-top:3px}.top-title{display:flex;flex-direction:column;min-width:0}.top-title strong{font-size:16px;letter-spacing:-.02em}.top-title small{font-size:12px;color:#8fb4c0;margin-top:4px}.top-note{color:#8aafb9;font-size:12px;flex:1}.top-note a{color:#b9d7df;text-decoration:none}.top-note a:hover{text-decoration:underline}.top-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.top-action{display:inline-flex;align-items:center;gap:7px;background:#126f72;border:1px solid #299596;color:white;border-radius:8px;font-size:12px;font-weight:700;padding:10px 14px;text-decoration:none}.top-action svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.7}.top-action.subtle{background:transparent;border-color:#2e4d59;color:#c5dbe1}.top-action:hover{filter:brightness(1.08)}
.workspace{display:grid;grid-template-columns:245px minmax(0,1fr);min-height:calc(100vh - 68px)}.chart-rail{background:#0d2a37;color:#cde4e8;padding:25px 13px;position:relative}.rail-kicker{font-size:10px;font-weight:800;letter-spacing:.16em;color:#55b6b5;margin:0 13px 7px}.rail-title{font-weight:750;color:white;font-size:17px;margin:0 13px 5px}.rail-sub{font-size:12px;color:#a1bdc5;margin:0 13px 24px}.case-list{display:grid;gap:7px}.case-option{color:#cbe1e5;display:block;width:100%;text-align:left;background:transparent;border:1px solid transparent;border-radius:10px;padding:12px 14px;transition:background .15s}.case-option:hover{background:#183f4b}.case-option.active{background:#1c4852;border-color:#4ba8a7;color:white;box-shadow:inset 3px 0 var(--teal2)}.case-option small{display:block;font-size:10px;letter-spacing:.1em;color:#8eafb6;font-weight:800;margin-bottom:4px}.case-option strong{display:block;font-size:12px;line-height:1.45;font-weight:750}.case-option span{display:block;font-size:11px;color:#a7c3c8;margin-top:5px}.rail-bottom{position:sticky;top:88vh;display:flex;align-items:flex-start;gap:9px;background:#183c48;margin-top:34px;padding:13px;border:1px solid #2f5660;border-radius:9px}.tiny-dot{width:7px;height:7px;border-radius:50%;background:#3bc5c0;margin-top:6px;flex:none}.rail-bottom strong{color:#d7f2ef;font-size:11px}.rail-bottom p{font-size:11px;color:#9bbdc4;margin:4px 0 0;line-height:1.5}
.chart-area{background:#f5fafb;min-width:0}.ehr-bar{background:white;border-bottom:1px solid #e1e9eb;min-height:52px;display:flex;align-items:center;gap:22px;padding:0 28px;color:#2f5863;font-size:12px}.ehr-bar>span:first-child{display:flex;gap:7px;align-items:center;font-weight:800;white-space:nowrap}.app-square{display:inline-grid;place-items:center;background:#146f7b;color:#fff;width:18px;height:18px;border-radius:5px}.ehr-bar nav{display:flex;gap:3px;height:52px}.ehr-nav{padding:0 13px;border:0;background:transparent;color:#647f87;font-weight:650;font-size:12px;border-bottom:3px solid transparent}.ehr-nav.active{color:#13777b;border-bottom-color:var(--teal)}.no-connection{margin-left:auto;color:#8aa4ab;font-size:11px;white-space:nowrap}
.chart-heading{padding:32px 38px 26px;border-bottom:1px solid #dce9eb;display:flex;gap:20px;align-items:end;justify-content:space-between}.eyebrow{font-size:10px;font-weight:850;letter-spacing:.12em;color:#0b918d}.chart-heading h1{font-size:28px;letter-spacing:-.05em;margin:10px 0 7px;color:#123443}.chart-heading p{color:#577783;margin:0;font-size:13px;line-height:1.6}.chart-actions{display:flex;gap:9px;flex-wrap:wrap;justify-content:flex-end}.primary-light,.outline-light{border:1px solid #189997;background:#0e9b98;color:#fff;padding:11px 15px;border-radius:8px;font-size:12px;font-weight:800;white-space:nowrap}.primary-light:hover{background:#087e80}.outline-light{background:white;color:#147877;border-color:#bdd9dc}.outline-light:hover{background:#e5f4f4}.chart-overview{padding:28px 38px 90px;max-width:1150px}.chart-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(210px,.9fr);gap:18px}.card{background:white;border:1px solid #dce8eb;border-radius:12px;box-shadow:0 5px 25px rgba(9,63,74,.035);overflow:hidden}.card-header{padding:15px 19px;border-bottom:1px solid #e9f0f1;display:flex;align-items:center;justify-content:space-between;gap:10px}.card-header h2{font-size:12px;font-weight:850;margin:0;color:#153c49}.card-header small{font-size:10px;color:#85a1a9}.card-body{padding:18px 19px}.kv-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.kv label{font-size:10px;color:#6d8d95;letter-spacing:.06em;text-transform:uppercase;display:block;margin-bottom:5px;font-weight:750}.kv strong{font-size:12px;color:#294b57;line-height:1.4;display:block}.context-banner{display:flex;align-items:center;gap:12px;background:#ecf9f7;border-left:3px solid #1fb8b2;border-radius:5px;padding:12px 15px;font-size:12px;color:#235560;line-height:1.55;margin-bottom:18px}.context-banner b{color:#176d6c}.record-list{width:100%;border-collapse:collapse;font-size:11px}.record-list th{text-align:left;color:#6f8992;font-size:10px;letter-spacing:.04em;text-transform:uppercase;font-weight:800;padding:11px 10px;border-bottom:1px solid #e7eff0}.record-list td{padding:12px 10px;border-bottom:1px solid #ecf1f2;color:#294e58;vertical-align:top}.record-list tr:last-child td{border-bottom:none}.status{display:inline-block;border-radius:5px;padding:4px 6px;font-size:10px;font-weight:800;background:#e5f4f2;color:#187570;white-space:nowrap}.status.wait{background:#fff2e7;color:#945c20}.status.blue{background:#eaf2fc;color:#366f9f}.summary-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 18px}.stat{border:1px solid #dbe9eb;background:white;padding:17px 19px;border-radius:11px}.stat strong{font-size:23px;color:#174650;display:block;letter-spacing:-.04em}.stat small{display:block;font-size:10px;color:#72909a;margin-top:5px}.micro-timeline{display:grid;gap:14px}.micro-event{display:grid;grid-template-columns:45px 1fr;gap:9px;font-size:11px;line-height:1.55}.micro-event time{font-size:10px;color:#71929b}.micro-event strong{font-size:11px;color:#254c58}.micro-event p{margin:3px 0 0;color:#68848b}.chart-footer{padding:23px 38px;color:#78959d;display:flex;justify-content:space-between;gap:15px;font-size:10px;border-top:1px solid #e0e9eb}.primary-small{background:#eaf8f6;color:#177975;border:1px solid #b9dedb;border-radius:6px;padding:6px 8px;font-weight:700;font-size:10px;cursor:pointer}
.sidecar{position:fixed;z-index:40;right:18px;top:92px;width:415px;max-height:calc(100dvh - 112px);height:690px;display:flex;flex-direction:column;color:#163844;background:#fff;border:1px solid #b7d5d8;border-radius:15px;box-shadow:var(--shadow);overflow:hidden;transition:width .22s,height .22s,box-shadow .2s}.sidecar.mode-float{width:435px;max-width:calc(100vw - 30px);box-shadow:0 23px 65px rgba(2,25,32,.25)}.sidecar.mode-expand{width:min(670px,calc(100vw - 30px));height:min(800px,calc(100dvh - 110px))}.sidecar.mode-dock{border-radius:14px}.sidecar-top{height:66px;flex:none;display:flex;align-items:center;gap:10px;background:#081c26;padding:10px 13px;color:#e9ffff;user-select:none;touch-action:none;cursor:grab}.sidecar-top.dragging{cursor:grabbing}.sidecar-logo{display:grid;place-items:center;width:34px;height:34px;border-radius:8px;overflow:hidden;box-shadow:0 8px 16px rgba(0,0,0,.22)}.sidecar-logo img{display:block;width:100%;height:100%;object-fit:cover}.sidecar-heading{flex:1;min-width:0}.sidecar-heading strong{font-size:13px;display:block}.sidecar-heading small{font-size:10px;display:block;color:#9ec4c8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:3px}.sidecar-controls{display:flex;gap:2px}.icon-button{width:31px;height:31px;display:grid;place-items:center;border:1px solid transparent;border-radius:7px;background:transparent;color:#b4d8df;padding:5px}.icon-button svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.icon-button:hover{background:#133848;color:white}.sidecar-summary{padding:15px 17px 14px;display:flex;justify-content:space-between;align-items:center;gap:7px;border-bottom:1px solid #e8eff0}.sidecar-summary>div{min-width:0}.sidecar-summary strong{display:block;font-size:14px;margin-top:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.count-chip{font-size:10px;font-weight:800;padding:6px 8px;color:#0d716d;background:#e5f8f5;border:1px solid #bae5df;border-radius:6px;white-space:nowrap}.sidecar-tabs{display:flex;flex:none;padding:0 13px;border-bottom:1px solid #e4edef;gap:2px}.sc-tab{padding:13px 9px 11px;border:0;background:transparent;border-bottom:3px solid transparent;font-size:12px;color:#718991;font-weight:750;display:flex;gap:5px;align-items:center}.sc-tab.active{border-color:#0baba8;color:#087b7c}.tiny-count{background:#f0f5f5;color:#456f79;padding:2px 5px;font-size:9px;border-radius:4px}.sidecar-scroll{padding:15px;overflow:auto;flex:1;min-height:0;background:#f8fbfb}.sidecar-scroll::-webkit-scrollbar{width:7px}.sidecar-scroll::-webkit-scrollbar-thumb{background:#cbdde0;border-radius:8px}.sc-section-heading{font-size:10px;color:#66858d;text-transform:uppercase;letter-spacing:.08em;font-weight:850;display:flex;align-items:center;justify-content:space-between;margin:1px 3px 10px}.task-card{border:1px solid #dfebec;background:#fff;border-radius:10px;margin-bottom:10px;box-shadow:0 2px 10px rgba(14,50,61,.025)}.task-card.priority{border-left:3px solid #d6a254}.task-card.done{opacity:.72}.task-main{padding:13px 13px 10px}.task-meta{display:flex;align-items:center;gap:6px;margin-bottom:7px;flex-wrap:wrap}.pill{font-size:9px;line-height:1.4;font-weight:800;border-radius:4px;background:#e8f3f6;color:#427583;padding:3px 6px}.pill.amber{background:#fff1de;color:#9b641e}.pill.green{background:#e6f6f0;color:#168064}.pill.red{background:#ffeaea;color:#a74c4f}.task-main h3{font-size:13px;color:#173b46;margin:0 0 7px;line-height:1.45}.task-detail{font-size:11px;color:#6d8890;line-height:1.55;margin:0 0 10px}.task-owner{font-size:10px;color:#587680}.task-owner strong{color:#224955}.task-actions{border-top:1px solid #edf3f3;display:flex;align-items:center;justify-content:flex-start;gap:7px;flex-wrap:wrap;padding:8px 12px}.task-actions button,.linklike{border:none;background:transparent;color:#147775;font-weight:800;font-size:10px;padding:5px 3px}.task-actions button:hover,.linklike:hover{text-decoration:underline}.task-actions .muted-btn{color:#5d8390}.task-actions .attn-btn{color:#99521f}.card-soft{padding:12px 13px;border:1px solid #d4e4e5;border-radius:9px;background:#edf7f6;color:#3c6570;font-size:11px;line-height:1.6;margin-bottom:12px}.card-soft strong{color:#1c5259}.event-item{border:1px solid #e0ebed;background:#fff;border-radius:8px;padding:13px;margin-bottom:9px}.event-item strong{font-size:12px;display:block;color:#204a53}.event-item small{display:block;font-size:10px;color:#79959c;margin-top:5px}.event-item p{font-size:11px;line-height:1.6;color:#537580;margin:8px 0 0}.event-item .source-link{font-size:11px;font-weight:750;color:#098986;padding:8px 0 0;background:none;border:0}.proposal{border-color:#b4d7d1;background:#fafffe}.proposal .task-actions{justify-content:flex-start}.empty-state{text-align:center;padding:29px 15px;color:#65848b;font-size:12px;line-height:1.6}.empty-state strong{display:block;color:#244b55;font-size:13px}.section-divider{height:1px;background:#e3edee;margin:18px 0}.handoff-list{display:grid;gap:10px}.handoff-row{background:#fff;border:1px solid #dbe7e9;border-radius:9px;padding:12px}.handoff-row strong{font-size:11px;color:#254a55;display:block}.handoff-row small{font-size:10px;line-height:1.5;color:#688891;display:block;margin-top:5px}.handoff-row .handoff-actions{display:flex;align-items:center;gap:7px;margin-top:10px;flex-wrap:wrap}.handoff-actions select{border:1px solid #d4e3e6;padding:7px;border-radius:6px;font-size:11px;max-width:170px;color:#245461;background:#fff}.handoff-actions button{font-size:10px;background:#0e9791;color:white;border:1px solid #138984;padding:8px;border-radius:6px;font-weight:750}.handoff-actions button.alt{background:white;color:#126c72;border-color:#9ccdcc}.handoff-badge{font-size:10px;color:#a3712c;margin-top:6px;font-weight:700}.sidecar-bottom{border-top:1px solid #d9e7e9;background:white;display:flex;gap:8px;padding:12px}.sidecar-primary{border:0;background:#0f9993;border-radius:7px;color:#fff;font-size:12px;padding:11px;flex:1;font-weight:800}.sidecar-primary:hover{background:#057c7b}.sidecar-secondary{display:flex;align-items:center;gap:6px;border:1px solid #b5d6d6;background:#eef9f8;color:#106e6a;border-radius:7px;padding:10px;font-size:11px;font-weight:800}.sidecar-secondary svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.bubble{position:fixed;z-index:40;right:22px;bottom:24px;min-width:80px;min-height:52px;padding:0 10px;border:1px solid #5cb3b1;background:#0f3441;color:#fff;border-radius:14px;box-shadow:0 14px 42px rgba(5,49,63,.28);display:flex;align-items:center;justify-content:center;gap:8px}.bubble:hover{background:#184f5b}.bubble-mark{font-weight:850;letter-spacing:-.1em;color:#b7eeeb;font-size:18px}.bubble-count{font-size:10px;font-weight:900;background:#e4b56f;color:#43290b;padding:5px 7px;border-radius:50%}.toast-holder{position:fixed;bottom:96px;left:50%;transform:translateX(-50%);z-index:85;display:grid;gap:6px;width:max-content;max-width:calc(100vw - 28px);pointer-events:none}.toast{background:#153946;color:#fff;box-shadow:0 10px 25px rgba(10,50,62,.15);border-radius:9px;padding:11px 15px;max-width:370px;line-height:1.5;font-size:12px}.review-dialog{border:1px solid #bcd6d7;background:#fff;color:#193c47;width:min(550px,calc(100vw - 30px));max-height:88dvh;overflow:auto;border-radius:14px;padding:0;box-shadow:0 35px 100px rgba(0,30,41,.4)}dialog::backdrop{background:rgba(4,29,39,.48)}.dialog-head{padding:14px 19px;border-bottom:1px solid #e4edef;display:flex;align-items:center;justify-content:space-between}.dialog-head .close-dark{color:#47717d;font-size:26px}.dialog-body{padding:18px 20px 25px}.dialog-body h2{font-size:19px;line-height:1.4;margin:0 0 8px;color:#163d47}.dialog-body p{color:#5f7c84;font-size:12px;line-height:1.6}.dialog-source{padding:13px;border:1px solid #e0e8ea;border-radius:8px;margin:10px 0;background:#f8fbfb}.dialog-source strong{font-size:11px;display:block}.dialog-source small{font-size:10px;color:#65828c}.dialog-source p{margin:5px 0 0}.dialog-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}.dialog-actions button{font-weight:750;font-size:12px}.dialog-check{margin-top:16px;display:flex;gap:9px;font-size:12px;line-height:1.6;color:#325661}.dialog-check input{margin-top:3px}.tour-dialog{width:min(470px,calc(100vw - 30px));padding:27px 29px}.tour-mark{color:#149b98;letter-spacing:.11em;font-weight:850;font-size:10px}.tour-dialog h2{color:#173d48;font-size:23px;line-height:1.3;margin:9px 0 13px;letter-spacing:-.03em}.tour-dialog p{color:#52737d;font-size:13px;line-height:1.75;min-height:65px}.tour-controls{display:flex;align-items:center;justify-content:space-between;margin-top:28px}.tour-controls>div{display:flex;align-items:center;gap:8px}.text-btn{background:transparent;border:0;padding:8px 10px;font-size:12px;font-weight:700;color:#487481}
@media(min-width:1400px){.chart-overview{padding-right:450px}.chart-heading{padding-right:440px}}
@media(max-width:1000px){.chart-overview{padding-right:35px}.chart-heading{padding-right:35px}.chart-rail{width:215px}.workspace{grid-template-columns:215px minmax(0,1fr)}.sidecar{width:390px}.top-note{display:none}.brand{flex:1}}
@media(max-width:740px){.topbar{height:60px;padding:0 13px;gap:8px}.brand{font-size:16px;gap:5px}.brand small{display:none}.top-action{padding:8px 10px}.top-action span{display:none}.top-action.subtle{font-size:11px}.workspace{grid-template-columns:1fr}.chart-rail{width:auto;display:block;padding:13px;position:static}.rail-kicker,.rail-title,.rail-sub,.rail-bottom{display:none}.case-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.case-option{padding:9px 8px}.case-option small{font-size:9px}.case-option strong{font-size:10px}.case-option span{font-size:9px}.ehr-bar{overflow:auto;gap:8px;padding:0 11px}.ehr-bar .no-connection{display:none}.ehr-nav{padding:0 8px;white-space:nowrap}.chart-heading{display:block;padding:25px 17px}.chart-heading h1{font-size:24px}.chart-actions{margin-top:15px;justify-content:flex-start}.chart-overview{padding:18px 13px 40px}.chart-grid{grid-template-columns:1fr}.chart-footer{padding:18px 13px}.sidecar,.sidecar.mode-float,.sidecar.mode-expand,.sidecar.mode-dock{left:12px!important;right:12px!important;top:auto!important;bottom:12px!important;width:calc(100vw - 24px);height:min(75dvh,690px);max-height:75dvh;border-radius:14px;transform:none!important}.sidecar-top{touch-action:auto;cursor:default!important}.sidecar.mode-expand{height:calc(100dvh - 85px);max-height:calc(100dvh - 85px)}.sidecar-scroll{padding:11px}.sidecar-summary{padding:12px 14px}.sidecar-bottom{padding:9px}.bubble{bottom:15px;right:14px}.summary-stats{gap:7px}.stat{padding:11px}.stat strong{font-size:19px}}
@media(max-width:390px){.case-option strong{font-size:9px}.case-option span{display:none}.brand-mark{width:25px}.top-action.subtle{padding:8px}.sidecar-heading strong{font-size:12px}.sidecar-controls{gap:0}.icon-button{width:26px;height:27px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* v2.114: enterprise chart training shell, original mock data, no vendor artwork. */
:root{--panel-width:420px;--ehr-chrome:#315d87;--ehr-pale:#e8eff7}
body{background:#e7edf4} .topbar{height:47px;padding:0 15px;gap:16px;box-shadow:none;position:relative}.brand{font-size:16px}.brand-mark{width:24px}.brand-mark svg{width:24px}.top-action{padding:6px 9px;border-radius:4px;text-decoration:none}.top-note{font-size:11px}.ehr-shellbar{display:flex;justify-content:space-between;align-items:center;gap:10px;min-height:38px;padding:0 13px;background:linear-gradient(#3f739d,#2b577f);color:#fff;font:600 12px Arial,sans-serif}.ehr-suite{display:flex;align-items:center;gap:8px}.ehr-emblem{font-size:19px;color:#d5e9fd}.ehr-divider{opacity:.5}.ehr-shell-right{font-weight:400;white-space:nowrap}.ehr-activities{display:flex;align-items:end;gap:2px;padding:4px 8px 0;background:#d7e3f0;border-bottom:1px solid #91a8c1;font:12px Arial,sans-serif;min-height:34px}.ehr-activity{padding:8px 13px 7px;border:1px solid #b3c4d8;border-bottom:0;background:#eaf0f8;color:#24496b;border-radius:4px 4px 0 0;white-space:nowrap}.ehr-activity.active{background:white;font-weight:bold;position:relative}.workspace{grid-template-columns:185px minmax(0,1fr);min-height:calc(100dvh - 119px);transition:margin-right .2s;background:white}.chart-rail{width:auto;padding:9px 7px;background:#e5edf6;color:#263c54;border-right:1px solid #aabed2;font:12px Arial,sans-serif}.rail-kicker{margin:0;padding:6px 7px;background:#c8daec;color:#284e74;border:1px solid #a8bed4;letter-spacing:.04em}.rail-title{color:#244768;font-size:13px;margin:10px 6px 3px}.rail-sub{color:#596e84;font-size:11px;margin:0 6px 10px}.case-list{gap:2px}.case-option,.case-option.active{border:1px solid #bacade;border-radius:2px;padding:8px;background:#f5f8fc;color:#203d58;box-shadow:none}.case-option.active{background:#c6e0f6;border-color:#789fc4;box-shadow:inset 3px 0 #3979b3}.case-option:hover{background:#deebf8}.case-option small,.case-option span{color:#4a6680;font-size:10px;letter-spacing:0}.case-option strong{color:#213e5a;font-size:12px}.rail-bottom{position:static;border:1px solid #b6c9dd;border-radius:2px;background:#f1f5fa;margin-top:18px;padding:9px}.rail-bottom strong,.rail-bottom p{color:#516881}.storyboard{margin-top:12px;border:1px solid #a9bdd2;background:#f5f8fc}.sb-title{padding:7px;background:#527ba0;color:white;font-weight:bold}.sb-row{padding:8px 7px;border-bottom:1px solid #d0dce9;line-height:1.45}.sb-row:last-child{border:0}.chart-area{background:#f7f9fc;font:12px Arial,sans-serif;color:#24364a}.ehr-bar{padding:0 9px;min-height:40px;background:#dbe7f3;gap:10px;border-bottom:1px solid #a3b7ca;color:#284d72;flex-wrap:wrap}.ehr-bar>span:first-child{font-weight:bold}.ehr-bar nav{gap:2px;display:flex;flex-wrap:wrap;align-items:stretch}.ehr-nav{font-size:12px;padding:8px 11px;border:1px solid #afc2d6!important;border-radius:3px 3px 0 0;background:#edf3fa;color:#2c4d70}.ehr-nav.active{background:white;color:#193f65;border-bottom:2px solid #4b85b9!important}.no-connection{font-size:10px;margin-left:auto;color:#506982}.chart-heading{padding:13px 12px!important;display:flex;align-items:center;gap:10px;flex-wrap:wrap;background:white;border-bottom:1px solid #aebfd1}.chart-heading h1{font:700 19px Arial,sans-serif;color:#234b72;margin:4px 0}.chart-heading p{font-size:12px;color:#53687f;margin:3px 0}.chart-heading .eyebrow{color:#536e89;letter-spacing:.03em;font-size:10px}.chart-actions{justify-content:start;gap:5px}.chart-actions button{border-radius:3px;padding:7px 9px;font:600 11px Arial,sans-serif}.ehr-filter{display:flex;align-items:center;flex-wrap:wrap;gap:14px;padding:7px 12px;background:#eef3f9;border-bottom:1px solid #b6c7da;color:#4c647c;font-size:11px}.ehr-filter-right{margin-left:auto}.chart-overview{padding:10px 12px 28px!important;max-width:none}.chart-grid{grid-template-columns:minmax(0,1fr);gap:10px}.chart-area .context-banner{border-radius:2px;background:#f4f7fc;border:1px solid #b5c8dd;padding:9px;color:#304a66;font-size:12px}.chart-area .context-banner b{color:#234e77}.chart-area .summary-stats{gap:5px;margin:8px 0}.chart-area .stat{border-radius:2px;border:1px solid #b8cada;background:white;padding:8px}.chart-area .stat strong{font-size:17px;color:#305e8a}.chart-area .stat small{font-size:10px;color:#526980}.chart-area .card{border-radius:2px;border:1px solid #aebfd1;box-shadow:none;background:white}.chart-area .card-header{padding:6px 9px;background:linear-gradient(#e3edf8,#cfdeee);border-bottom:1px solid #aebfd1;border-radius:0;color:#234f79}.chart-area .card-header h2{font-size:12px;color:#244e77}.chart-area .card-body{padding:9px}.chart-area .record-list{font-size:11px;table-layout:fixed;width:100%}.chart-area .record-list th{background:#e9f0f8;color:#395a7c;font-size:10px;letter-spacing:0;text-transform:none;padding:6px 5px;border:1px solid #c0cfdf}.chart-area .record-list td{padding:7px 5px;border:1px solid #d3dfeb;overflow-wrap:anywhere;vertical-align:top}.chart-area .record-list tr:nth-child(even){background:#f4f8fc}.chart-area .record-list th:first-child{width:17%}.chart-area .record-list th:last-child{width:18%}.chart-area .record-list button{padding:4px 7px;border-radius:2px}.chart-area .kv-grid{gap:8px}.chart-area .chart-footer{padding:10px 12px;background:#e6eef7;color:#526d86;font-size:10px}.snapshot-note{font-size:11px;color:#65778a;line-height:1.5}.sidecar{top:119px;right:0;height:calc(100dvh - 119px);max-height:calc(100dvh - 119px);width:var(--panel-width);border-radius:0;box-shadow:-3px 0 15px #24364a24}.sidecar.mode-dock{border-radius:0}.sidecar.mode-float{right:14px;top:133px;height:min(680px,calc(100dvh - 150px));max-height:calc(100dvh - 150px);border-radius:10px}.sidecar.mode-expand{width:min(780px,65vw);height:calc(100dvh - 119px);max-height:calc(100dvh - 119px);border-radius:0}.dock-open .workspace{margin-right:var(--panel-width)}.expand-open .workspace{margin-right:min(780px,65vw)}.expand-open .workspace{grid-template-columns:145px minmax(0,1fr)}.product-switch,.panel-switch{flex:none;display:flex;align-items:center;gap:5px;padding:7px 10px;border-bottom:1px solid #d9e7e9;background:#f3f9f9}.product-switch button,.panel-switch button{border:1px solid #bcd3d5;border-radius:5px;background:white;padding:6px 10px;color:#365c65;font-weight:700;font-size:11px}.product-switch button[aria-pressed=true],.panel-switch button[aria-pressed=true]{background:#137f7b;color:white;border-color:#137f7b}.product-switch a{margin-left:auto;color:#28777b;font-size:10px;font-weight:700;white-space:nowrap}.panel-switch{background:#fff;padding:5px 10px}.sidecar-top{height:52px}.app-panel{display:flex;flex-direction:column;flex:1;min-height:0}.app-context{padding:8px 10px;background:#edf6f6;color:#345c63;font-size:11px;border-bottom:1px solid #c5dcdf}.product-frame{width:100%;flex:1;min-height:0;border:0;background:#f5f8fa}.app-panel-foot{display:flex;align-items:center;gap:8px;justify-content:space-between;padding:7px 9px;border-top:1px solid #d6e5e7;font-size:10px;color:#627c81}.app-panel-foot button{border:1px solid #a6c9c8;background:#eff9f8;border-radius:4px;color:#176e6b;padding:6px 8px;font-weight:700}.top-actions [hidden],button[hidden]{display:none!important}.bubble{bottom:18px;right:18px}.app-active .sidecar-top .sidecar-heading small{max-width:180px}
@media(max-width:1100px){:root{--panel-width:390px}.workspace{grid-template-columns:155px minmax(0,1fr)}.expand-open .workspace{grid-template-columns:1fr}.expand-open .chart-rail{display:none}.chart-area .record-list th:last-child{width:auto}}
@media(max-width:740px){.topbar{height:47px;padding:0 8px}.top-note{display:none}.ehr-shellbar{font-size:10px;padding:0 8px;min-height:32px}.ehr-shell-right{display:none}.ehr-activities{overflow:auto}.ehr-activity{font-size:10px;padding:6px 8px}.workspace,.dock-open .workspace,.expand-open .workspace{margin-right:0;grid-template-columns:1fr}.chart-rail{padding:7px;display:block}.storyboard,.rail-bottom{display:none}.case-list{display:flex;overflow:auto}.case-option{min-width:116px}.chart-heading h1{font-size:17px}.ehr-bar{gap:5px}.ehr-nav{padding:6px}.sidecar,.sidecar.mode-float,.sidecar.mode-dock,.sidecar.mode-expand{width:calc(100vw - 16px);left:8px!important;right:8px!important;top:auto!important;bottom:8px!important;max-height:70dvh;height:70dvh;border-radius:9px}.sidecar.mode-expand{height:86dvh;max-height:86dvh}.sidecar-top{height:48px}.product-switch{padding:6px 8px}.product-switch a{font-size:10px}.sidecar-summary{padding:8px 12px}.sidecar-scroll{padding:8px}.chart-area .summary-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.chart-area .stat{min-width:0}.chart-area .stat small{font-size:9px}}

.sidecar-logo{display:flex;align-items:center;justify-content:center;gap:0;flex-shrink:0;letter-spacing:-.07em}.bubble.has-changes:after{content:' ';position:absolute;left:0;top:0;width:10px;height:10px;border:2px solid white;border-radius:50%;background:#efab3a}.ehr-activity:not(.active){opacity:.85}.ehr-activity{cursor:default}.app-panel-foot span{white-space:normal;text-align:right}
/* v2.115: clinical training workstation, movable panels */
body{background:#eaf3f7}.topbar{height:38px;background:#102f3c}.top-action{font-size:11px;padding:4px 7px}.ehr-shellbar{min-height:29px;background:linear-gradient(#ae2638,#8f1527);padding:0 8px;font:12px 'Segoe UI',Arial,sans-serif;gap:4px}.ehr-suite{gap:0;min-width:0;overflow:hidden;white-space:nowrap}.ehr-suite>b{padding:4px 12px 4px 4px;font-style:italic;background:#fff;color:#9c1c33}.ehr-emblem{color:#a61d33;background:white;padding:2px 4px;font-size:17px}.ehr-tool{padding:5px 10px;border-right:1px solid #c26873}.ehr-activities{background:#c0e0ed;min-height:29px;padding:3px 6px 0;border-color:#7eaac3}.ehr-activity{padding:5px 11px;background:#d5e9f2;border-color:#9fbfd0;color:#1b4d69;border-radius:3px 3px 0 0}.encounter-workspace{background:#f5fbfe;font-weight:bold;border-top:2px solid #4a92b9}.workspace{grid-template-columns:178px minmax(0,1fr);min-height:calc(100dvh - 96px);background:#edf5f8}.chart-rail{background:linear-gradient(#d1eef9,#e4f4fa);border-color:#83b2c8;padding:5px 5px 10px;font:11px 'Segoe UI',Arial,sans-serif}.storyboard{background:transparent;margin:0 0 10px;border:0}.sb-profile{text-align:center;padding:10px 2px 9px;border-bottom:1px solid #a9cddd;display:flex;flex-direction:column;align-items:center;gap:3px}.sb-profile strong{font-size:16px;color:#155777}.sb-profile small{font-size:10px;color:#365b6f}.sb-avatar{width:56px;height:56px;border:3px solid #f4fbff;display:grid;place-items:center;border-radius:50%;color:#36789f;background:#c3e6f5;font-size:22px}.sb-title{display:none}.sb-row{padding:6px 5px;border-bottom:1px solid #b3d7e5;color:#244f65}.sb-row:last-child{background:#fff3bd;border:1px solid #d5c173;margin:6px 0}.rail-kicker{background:#c0e0ef;color:#174f70;padding:5px;border:0;border-bottom:1px solid #9ebdce}.rail-title{margin:6px 3px 2px;font-size:12px}.rail-sub{margin:0 3px 5px;font-size:10px}.case-option,.case-option.active{border-color:#b4d2e1;padding:5px;background:#f3faff}.case-option.active{background:#b3dcef;box-shadow:inset 3px 0 #3683b0}.case-option strong{font-size:11px}.rail-bottom{background:transparent;border:0;margin-top:10px;padding:4px}.chart-area{background:#f0f7fa;font:12px 'Segoe UI',Arial,sans-serif}.ehr-bar{padding:3px 5px 0;min-height:31px;gap:3px;background:#c9e5ef;border-color:#94bacd}.ehr-bar>span:first-child{display:none}.ehr-bar nav{gap:1px;overflow-x:auto;flex-wrap:nowrap;max-width:100%}.ehr-nav{white-space:nowrap;font:12px 'Segoe UI',Arial,sans-serif;padding:5px 8px;border-radius:2px 2px 0 0;background:#ddedf4;color:#29586f;border:1px solid #a7c9d8!important}.ehr-nav.active{background:#fff;border-top:2px solid #2182b0!important;border-bottom-color:#fff!important}.no-connection{display:none}.chart-heading{padding:7px 9px!important;gap:5px;background:#fff}.chart-heading h1{font:600 17px 'Segoe UI',Arial,sans-serif;margin:2px 0;color:#216a91}.chart-heading .eyebrow{font-size:10px;color:#4a778b}.chart-heading p{font-size:11px;margin:0}.chart-actions button{padding:5px 7px;font-size:10px}.ehr-filter{padding:4px 8px;gap:12px;background:#e8f3f8;border-color:#b7d0de}.chart-overview{padding:7px!important}.ehr-summary-grid{display:grid;grid-template-columns:minmax(155px,.8fr) minmax(0,1.3fr);gap:6px;align-items:start}.ehr-summary-col{display:grid;gap:6px;min-width:0}.ehr-section{border:1px solid #bdd4e0;border-left:3px solid #4ba4ca;background:white;min-width:0}.ehr-section h2{font-size:12px;color:#17658b;background:#dff2fa;margin:0;padding:4px 6px;font-weight:650}.ehr-section>div{padding:7px;font-size:11px;line-height:1.45;min-height:34px}.ehr-section p{margin:4px 0;line-height:1.45}.ehr-section small{color:#637d8c}.ehr-section.amber{border-left-color:#d5a53e}.ehr-section.amber h2{background:#fff0c7;color:#86610c}.ehr-section.violet{border-left-color:#a28bc8}.ehr-section.violet h2{background:#eee6fa;color:#69469e}.ehr-mini-table{display:grid;grid-template-columns:1fr 1fr;gap:4px}.chart-area .card{margin:0;border-color:#b8d1df;border-left:3px solid #4ba4ca}.chart-area .card-header{padding:4px 6px;background:#dff2fa;border-color:#b8d1df}.chart-area .card-header h2{color:#17658b}.chart-area .record-list th{background:#ebf4f8;border-color:#c4d8e4}.chart-area .record-list td{padding:5px 4px;border-color:#d4e3eb}.chart-area .record-list td span{color:#426174!important}.chart-area .record-list th:last-child{width:48px}.chart-area .record-list th:first-child{width:20%}.chart-area .record-list tr:nth-child(even){background:#f2f8fb}.chart-footer{background:#e2f1f7!important}.sidecar{top:96px;height:calc(100dvh - 96px);max-height:calc(100dvh - 96px)}.sidecar.mode-float{top:108px;height:min(640px,calc(100dvh - 130px));max-height:calc(100dvh - 130px)}.sidecar.mode-expand{height:min(770px,calc(100dvh - 112px));max-height:calc(100dvh - 112px)}.sidecar-top,.sidecar.mode-float .sidecar-top{cursor:grab;touch-action:none;user-select:none}.drag-grip{color:#a5d1d1;font-size:16px;line-height:1;flex:none}.sidecar-top.dragging,.bubble.dragging{cursor:grabbing}.bubble{cursor:grab;touch-action:none;user-select:none;gap:6px}.sidecar.custom-position,.bubble.custom-position{left:var(--move-x)!important;top:var(--move-y)!important;right:auto!important;bottom:auto!important;transform:none!important}.dock-left .workspace{margin-left:var(--panel-width);margin-right:0}.dock-right .workspace{margin-right:var(--panel-width);margin-left:0}.expand-open .workspace{grid-template-columns:145px minmax(0,1fr)}
@media(max-width:1100px){.workspace{grid-template-columns:150px minmax(0,1fr)}.ehr-summary-grid{grid-template-columns:minmax(0,1fr)}.expand-open .workspace{grid-template-columns:minmax(0,1fr)}.expand-open .chart-rail{display:none}.ehr-tool{padding:5px 6px}}
@media(max-width:740px){.topbar{height:38px}.ehr-shellbar{min-height:29px}.ehr-suite{overflow-x:auto}.ehr-activities{min-height:29px}.workspace,.dock-open .workspace,.expand-open .workspace{grid-template-columns:minmax(0,1fr);margin:0}.chart-rail{padding:5px}.storyboard{display:none}.sidecar,.sidecar.mode-dock,.sidecar.mode-float,.sidecar.mode-expand{width:calc(100vw - 24px);height:69dvh;max-height:69dvh;left:12px!important;right:12px!important;bottom:12px!important;top:auto!important}.sidecar.mode-float{width:min(345px,calc(100vw - 32px));height:62dvh;max-height:62dvh}.sidecar.mode-expand{height:84dvh;max-height:84dvh}.sidecar.custom-position{left:var(--move-x)!important;right:auto!important;top:var(--move-y)!important;bottom:auto!important}.ehr-bar nav{max-width:100%;overflow:auto}.ehr-nav{font-size:11px;padding:6px}.ehr-summary-grid{grid-template-columns:minmax(0,1fr)}.ehr-tool{font-size:10px}.chart-area .record-list th:last-child{width:48px}}
.sidecar,.sidecar.custom-position{transition:none!important}.ehr-labs{width:100%;border-collapse:collapse;font-size:11px}.ehr-labs th,.ehr-labs td{text-align:left;padding:4px 6px;border:1px solid #d5e4eb}.ehr-labs th{background:#edf6fb;color:#345c71;font-weight:600}.ehr-labs tr:nth-child(even){background:#f4f9fc}.ehr-bar{min-height:31px!important;height:auto!important}.ehr-bar nav{align-items:end}.ehr-nav{min-height:26px!important;line-height:1.2}.sb-profile strong{font-size:14px}.sidecar-controls .icon-button{width:32px;height:32px}.sidecar-controls .icon-button svg{width:20px;height:20px}

/* v2.116: status links */
.top-note .sidecar-status-link{color:inherit;text-decoration:underline;text-underline-offset:3px}.chart-footer .sidecar-status-link,.snapshot-note a,.app-panel-foot a{color:inherit;text-decoration:underline;text-underline-offset:2px}



@media (max-width:700px){.sidecar-brand .brand-mark{width:38px;height:38px}.brand-word b{font-size:17px}.top-title strong{font-size:15px}.top-title small{font-size:11px}}
/* v2.118 chart context and work filters */
html{font-family:'DM Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif}.topbar{height:60px;min-height:60px;padding:8px 16px;background:#0b1e29;gap:14px}.sidecar-brand .brand-mark{width:36px;height:36px;box-shadow:none;border-radius:7px}.brand-word b{font-size:17px}.brand-word small{font-size:10px;border:0;padding:0;margin-left:0;letter-spacing:normal}.top-title{border-left:1px solid #45616b;padding-left:14px}.top-title strong{font-size:15px}.top-title small{display:none}.top-actions .top-action{min-height:32px}.ehr-shellbar .shell-tool{border-radius:0;min-height:27px;padding:4px 12px}.ehr-activity{cursor:pointer}.ehr-activity.active{font-weight:700}.sidecar{top:120px;height:calc(100dvh - 128px);max-height:calc(100dvh - 128px)}.sidecar.mode-float{top:124px;max-height:calc(100dvh - 140px)}.sidecar.mode-expand{max-height:calc(100dvh - 128px)}.context-strip{display:flex;align-items:center;gap:8px;padding:8px 12px;background:#e9f5f2;border-bottom:1px solid #c9e3dc;color:#173e42;font-size:12px;flex:none;min-width:0}.context-strip>span:last-child{min-width:0}.context-strip b{display:block;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.context-strip small{display:block;font-size:10px;color:#466d69;margin-top:2px}.context-dot{display:block;flex:none;width:8px;height:8px;border-radius:50%;background:#168570}.context-dot.waiting{background:#b88529}.work-filters{flex:none;padding:8px 10px 6px;border-bottom:1px solid #dbe7e8;background:white}.quick-filters{display:flex;gap:4px;flex-wrap:wrap}.quick-filters button{border:1px solid #c6d9dc;background:white;border-radius:5px;padding:6px 7px;font-size:11px;font-weight:650;color:#345962;min-height:29px}.quick-filters button[aria-pressed=true]{background:#dbf3ee;border-color:#579e94;color:#075b55}.filter-row{display:flex;align-items:end;gap:6px;margin-top:7px}.filter-row label{min-width:0;flex:1}.filter-row label span{display:block;font-size:10px;color:#4c6971;margin-bottom:3px}.filter-row input,.filter-row select{width:100%;height:30px;border:1px solid #b9cfd3;background:white;color:#213d48;border-radius:5px;padding:4px 6px;font-size:11px}.filter-row #clearFilters{height:30px;border:0;background:transparent;color:#176b69;font-size:11px;font-weight:700}.filter-info{font-size:10px;color:#4e6d75;line-height:1.4;margin-top:6px}.task-actions button{font-size:11px;min-height:32px}.task-detail{font-size:12px;color:#476773}.task-owner{font-size:11px}.task-main h3{font-size:13px}.task-card.done{opacity:1;background:#f5f9f8}.timeline-source{background:transparent;border:0;color:#17658b;text-align:left;text-decoration:underline;padding:2px 0;font:inherit}.record-selected td{background:#fff0bc!important}.new-record{margin-left:8px;color:#78500e;font-weight:700;font-size:10px}.chart-search{display:block;margin-bottom:10px;font-size:12px}.chart-search input{display:block;border:1px solid #a4c5d5;border-radius:3px;padding:6px;max-width:100%;width:240px;margin-top:4px}.dialog-source .source-link{border:0;background:transparent;color:#126c72;text-decoration:underline;padding:4px 0}.sidecar-heading small{color:#b6d3d7}.sidecar-logo img,.bubble-mark img{object-fit:contain}.sidecar-top .drag-grip{color:#b7d7dd}.sidecar-primary:focus-visible,.quick-filters button:focus-visible{outline:2px solid #086d75;outline-offset:2px}
@media(max-width:740px){.topbar{height:auto;min-height:52px;padding:6px 8px;gap:7px;flex-wrap:wrap}.top-title{width:auto;padding-left:8px;flex:1}.top-title strong{font-size:14px}.top-actions{width:auto;gap:4px;flex-wrap:nowrap}.top-actions .top-action{font-size:10px;padding:4px 6px}.top-actions #guidedBtn span{display:none}.top-actions #guidedBtn{min-width:30px;justify-content:center}.top-actions a{display:none}.ehr-shellbar .shell-tool{font-size:10px;padding:4px 6px}.sidecar,.sidecar.mode-dock,.sidecar.mode-float,.sidecar.mode-expand{top:auto;max-height:72dvh;height:72dvh}.sidecar.mode-expand{height:84dvh;max-height:84dvh}.sidecar.mode-float{height:67dvh;max-height:67dvh}.context-strip{padding:5px 10px}.context-strip b{font-size:11px}.context-strip small{font-size:10px}.sidecar-top{height:48px}.quick-filters button{padding:5px 5px;min-height:28px;font-size:10px}.work-filters{padding:6px 8px}.filter-row{margin-top:4px}.sidecar-summary{padding:6px 10px}.sc-tab{padding:8px}.task-actions button{min-height:36px}.filter-info{font-size:10px}}
.ehr-shellbar .shell-tool{background:#f7e9eb;color:#52212a;border:1px solid #ab5661;border-top-color:#f7d4d8;border-radius:2px}.ehr-shellbar .shell-tool:hover,.ehr-shellbar .shell-tool.active{background:#fff;color:#8d1c30;box-shadow:inset 0 -2px #a52b3f}.ehr-shellbar .shell-tool:focus-visible{outline:2px solid #fff;outline-offset:-3px}.context-strip small{line-height:1.3}.sidecar-summary{padding-top:10px;padding-bottom:10px}

/* v2.120: access and layout */
.topbar{height:48px;min-height:48px;padding:6px 14px}.sidecar-brand .brand-mark{width:32px;height:32px}.top-title{border-left:1px solid #45616b}.sidecar-top{height:44px;padding:5px 10px}.sidecar-heading strong{font-size:14px}.sidecar-heading small{display:none}.sidecar-controls{gap:3px}.sidecar-controls .icon-button{width:34px;height:34px}.sidecar-summary{padding:7px 12px}.sidecar-summary .eyebrow{display:none}.sidecar-summary strong{margin:0}.sidecar,.sidecar.mode-dock,.sidecar.mode-float,.sidecar.mode-expand{width:var(--user-width,var(--default-width));height:var(--user-height,var(--default-height));max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}.sidecar.mode-dock{--default-width:var(--panel-width);--default-height:calc(100dvh - 116px);top:108px}.sidecar.mode-float{--default-width:435px;--default-height:min(640px,calc(100dvh - 130px));top:116px}.sidecar.mode-expand{--default-width:min(780px,65vw);--default-height:calc(100dvh - 116px);top:108px}.sidecar.resize-width-only{height:calc(100dvh - 116px);max-height:calc(100dvh - 116px)}
.dock-open .workspace,.dock-right .workspace{margin-right:var(--actual-panel-width,var(--panel-width));margin-left:0}.dock-left .workspace{margin-left:var(--actual-panel-width,var(--panel-width));margin-right:0}.expand-open .workspace{margin-right:var(--actual-panel-width,min(780px,65vw))}.resize-handle{position:absolute;right:0;bottom:0;width:24px;height:24px;display:grid;place-items:center;z-index:5;background:#e8f4f1;border:1px solid #b3d2cf;border-radius:5px 0 0 0;color:#236c6b;cursor:nwse-resize;touch-action:none;padding:3px}.resize-handle svg,#launcherMenuBtn svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.resize-left .resize-handle{left:0;right:auto;border-radius:0 5px 0 0;transform:scaleX(-1)}.resize-width-only .resize-handle{cursor:ew-resize;top:50%;bottom:auto}.resize-width-only .resize-handle svg{transform:rotate(-45deg)}.sidecar-bottom,.app-panel-foot{padding-bottom:30px}.resize-width-only .sidecar-bottom,.resize-width-only .app-panel-foot{padding-bottom:12px}.panel-resizing iframe{pointer-events:none}.panel-resizing .sidecar{user-select:none}.bubble{padding:0 3px 0 5px;gap:1px;min-height:48px;min-width:0;z-index:45}.bubble button{background:transparent;border:0;color:white;display:flex;align-items:center;justify-content:center;gap:5px;min-height:44px;border-radius:7px;touch-action:none}.bubble #bubbleRestore{padding:5px 6px;cursor:grab}.bubble #launcherMenuBtn{width:34px;border-left:1px solid #436b76;border-radius:0 7px 7px 0;cursor:pointer}.bubble button:hover{background:#224b58}.bubble-mark{display:block;width:29px;height:29px}.bubble-mark img{width:100%;height:100%}.launcher-menu{position:fixed;width:min(245px,calc(100vw - 16px));max-height:calc(100dvh - 16px);overflow:auto;background:#fff;color:#153541;z-index:60;border:1px solid #b9d2d5;border-radius:10px;padding:5px;box-shadow:0 10px 35px #0b253233}.launcher-menu button,.launcher-menu a{display:flex;width:100%;justify-content:space-between;align-items:center;min-height:39px;border:0;background:white;text-align:left;text-decoration:none;padding:8px 10px;border-radius:5px;font-size:13px;color:#153541}.launcher-menu button:hover,.launcher-menu a:hover{background:#e5f3f0}.launcher-menu span{font-size:11px;color:#426d73}.launcher-label{padding:8px 10px 4px;font-size:10px;font-weight:650;color:#52717b;border-top:1px solid #e0eaea}.layout-options,.layout-size{display:flex;gap:8px;flex-wrap:wrap;align-items:end;margin:14px 0}.layout-options button{border:1px solid #b7d1d3;border-radius:6px;background:white;padding:8px 12px;color:#23444e}.layout-options button[aria-pressed=true]{background:#e1f3ef;border-color:#298f84}.layout-size label{display:grid;gap:5px;font-size:12px;flex:1;min-width:75px}.layout-size input{width:100%;padding:8px;border:1px solid #a9c7cc;border-radius:6px}.layout-hint{font-size:12px;color:#4b6b74}.layout-dialog .dialog-actions{justify-content:space-between}
@media(max-width:740px){.topbar{height:auto;min-height:44px;padding:5px 8px}.sidecar-brand .brand-mark{width:28px;height:28px}.sidecar.mode-dock,.sidecar.mode-float,.sidecar.mode-expand{--default-width:calc(100vw - 24px);top:auto;height:var(--user-height,var(--default-height));width:var(--user-width,var(--default-width));max-height:calc(100dvh - 16px)}.sidecar.mode-dock{--default-height:72dvh}.sidecar.mode-float{--default-height:67dvh}.sidecar.mode-expand{--default-height:84dvh}.dock-open .workspace,.dock-right .workspace,.dock-left .workspace,.expand-open .workspace{margin:0}.sidecar-controls .icon-button{width:31px;height:34px}.sidecar-top{height:43px}.resize-handle{width:30px;height:30px}.sidecar-bottom,.app-panel-foot{padding-bottom:35px}}

.panel-dragging iframe{pointer-events:none}.panel-dragging{user-select:none}

/* v2.127: chart-first workspace and Sidecar surface styling. */
:root{--chart-chrome-height:64px}
.workspace{min-height:calc(100dvh - var(--chart-chrome-height))}

.workspace-menu-trigger{flex:none;align-self:center;width:32px;height:28px;padding:3px 6px;margin:0 0 3px auto;display:grid;place-items:center;border:1px solid #8dabbc;background:#eaf4f8;color:#294e64;border-radius:6px}
.workspace-menu-trigger:hover{background:white}.workspace-menu-trigger svg{width:20px;height:20px;fill:currentColor}
.workspace-menu{position:fixed;inset:calc(var(--chart-chrome-height) + 5px) 8px auto auto;margin:0;width:min(240px,calc(100vw - 16px));max-height:calc(100dvh - var(--chart-chrome-height) - 12px);overflow:auto;padding:6px;border:1px solid #b7cfd5;border-radius:12px;background:#fff;color:#153541;box-shadow:0 12px 36px #102b3933}
.workspace-menu p{font-size:11px;color:#526f79;margin:5px 9px 7px;font-weight:650}
.workspace-menu button,.workspace-menu a{display:block;width:100%;min-height:40px;border:0;border-radius:8px;background:white;color:#173c4b;text-align:left;text-decoration:none;font:inherit;font-size:13px;padding:10px}
.workspace-menu button[hidden]{display:none}.workspace-menu button:hover,.workspace-menu a:hover{background:#eaf4f3}
.sidecar,.sidecar.mode-dock,.sidecar.mode-float,.sidecar.mode-expand{border-radius:14px}
.sidecar .task-card,.sidecar .event-item,.sidecar .handoff-row,.sidecar .card-soft,.sidecar .empty-state,.sidecar .wf-completion{border-radius:12px}
.sidecar button:not(.resize-handle),.sidecar select,.sidecar input,.launcher-menu button,.launcher-menu a,.layout-options button,.layout-size input{border-radius:8px}
.sidecar .product-switch button,.sidecar .panel-switch button,.sidecar .sc-tab{border-radius:8px 8px 0 0}
.launcher-menu,.review-dialog,.wf-focus-dialog,.wf-rounds-capture{border-radius:14px}
@media(min-width:741px){
.sidecar.mode-dock,.sidecar.mode-expand{top:var(--chart-chrome-height);--default-height:calc(100dvh - var(--chart-chrome-height) - 8px)}
.sidecar.mode-float{top:calc(var(--chart-chrome-height) + 8px);--default-height:min(640px,calc(100dvh - var(--chart-chrome-height) - 16px))}
.sidecar.resize-width-only{height:calc(100dvh - var(--chart-chrome-height) - 8px);max-height:calc(100dvh - var(--chart-chrome-height) - 8px)}
}
@media(max-width:740px){.workspace-menu-trigger{width:29px}.ehr-activities .encounter-workspace{max-width:40vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidecar,.sidecar.mode-dock,.sidecar.mode-float,.sidecar.mode-expand{border-radius:14px}}

/* v2.129: no logo tile or matte on the launcher. */
.bubble-mark,.bubble-mark img,.sidecar-logo,.sidecar-logo img,.sidecar-brand .brand-mark{background:transparent!important;box-shadow:none!important;border:0!important;border-radius:0!important;object-fit:contain!important}
.bubble-mark img{display:block;pointer-events:none}

/* Host chart brand: one continuous white surface, aligned mark and label. */
.ehr-brand{display:inline-flex;align-items:center;gap:5px;flex:none;background:#fff;color:#9c1c33;padding:3px 9px 3px 6px;min-height:26px;box-sizing:border-box;line-height:1;white-space:nowrap}
.ehr-brand .ehr-emblem{display:block;background:transparent;color:inherit;padding:0;font-size:17px;line-height:1}
.ehr-brand b{font-style:italic;font-size:13px;line-height:1;letter-spacing:0}

/* Service lists: reserve room for chart actions; scroll the table on narrow workspaces. */
.chart-area .service-record-scroll{min-width:0;max-width:100%;overflow-x:auto}
.chart-area .service-record-list{min-width:380px}
.chart-area .service-record-list th:last-child{width:92px}
.chart-area .service-record-list td:last-child{vertical-align:middle;white-space:nowrap;overflow-wrap:normal}
.chart-area .service-record-list td:last-child button{white-space:nowrap;overflow-wrap:normal;word-break:normal;min-height:28px;max-width:100%}
