.context-help{position:relative;z-index:24;display:inline-flex;flex:0 0 auto;align-items:center}
.context-help-trigger{position:relative;display:grid;place-items:center;width:36px;height:36px;padding:0;border:1px solid var(--line);border-radius:9px;background:#fff;color:#61736d;cursor:pointer;transition:border-color .16s ease,background .16s ease,color .16s ease}
.context-help-trigger:hover,.context-help-trigger:focus-visible,.context-help-trigger[aria-expanded="true"]{border-color:#abc3ba;background:#edf5f2;color:var(--teal)}
.context-help-trigger:focus-visible{outline:2px solid rgba(44,115,103,.25);outline-offset:2px}
.context-help-trigger svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.context-help-trigger:after{position:absolute;right:0;top:calc(100% + 7px);z-index:31;width:max-content;border-radius:7px;background:#173c36;padding:6px 8px;color:#fff;content:attr(data-tooltip);font-size:9px;font-weight:700;line-height:1;opacity:0;pointer-events:none;transform:translateY(-3px);transition:.16s}
.context-help-trigger:hover:after,.context-help-trigger:focus-visible:after{opacity:1;transform:none}
.context-help-trigger[aria-expanded="true"]:after{display:none}
.context-help-popover{position:absolute;z-index:40;right:0;top:calc(100% + 9px);width:min(370px,calc(100vw - 34px));max-height:min(520px,70vh);overflow:auto;border:1px solid #d2ddd9;border-radius:13px;background:#fff;padding:7px;box-shadow:0 20px 48px rgba(18,48,40,.17);animation:context-help-in .14s ease-out}
.context-help-popover[hidden]{display:none}
.context-help-popover:before{position:absolute;right:11px;bottom:100%;border:7px solid transparent;border-bottom-color:#d2ddd9;content:''}
.context-help-popover:after{position:absolute;right:12px;bottom:100%;border:6px solid transparent;border-bottom-color:#fff;content:''}
.context-help-popover>header{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:8px 9px 7px}
.context-help-popover>header>strong{font-size:12px;line-height:1.3}
.context-help-popover>header>button{display:grid;place-items:center;width:28px;height:28px;flex:0 0 28px;border:0;border-radius:7px;background:transparent;color:var(--muted);font-size:18px;cursor:pointer}
.context-help-popover>header>button:hover{background:#edf5f2;color:var(--teal)}
.context-help-popover>article{display:grid;grid-template-columns:30px minmax(0,1fr);gap:10px;padding:11px 9px;border-top:1px solid #edf1ef}
.context-help-popover>article>span{display:grid;place-items:center;width:30px;height:30px;border-radius:8px;background:#edf5f2;color:var(--teal);font-size:10px;font-weight:800}
.context-help-popover>article strong,.context-help-popover>article p{display:block}
.context-help-popover>article strong{font-size:11px;line-height:1.35}
.context-help-popover>article p{margin:3px 0 0;color:var(--muted);font-size:10px;line-height:1.5}
.patient-subpage-actions{display:flex;align-items:center;gap:8px}
.finance-summary-tools{display:flex;align-items:center;gap:9px}
@keyframes context-help-in{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}
@media(max-width:760px){.context-help-trigger{width:36px;height:36px}.context-help-popover{position:fixed;right:12px;top:76px;width:calc(100vw - 24px);max-height:calc(100dvh - 96px)}.context-help-popover:before,.context-help-popover:after{display:none}.patient-subpage-actions{width:100%}.patient-subpage-actions .primary-button{flex:1}}
@media(prefers-reduced-motion:reduce){.context-help-popover{animation:none}}
