#ehrview .ehr .ix{display:grid;grid-template-columns:390px minmax(0,1fr);min-height:calc(100dvh - 120px);border:1px solid var(--line);border-radius:16px;overflow:hidden;background:var(--panel)}#ehrview .ehr .ix.ix-phone{grid-template-columns:minmax(0,1fr);min-height:0}#ehrview .ehr .ix-pool{border-right:1px solid var(--line);background:var(--panel);display:flex;flex-direction:column;min-height:0;min-width:0}#ehrview .ehr .ix-ph{padding:16px 18px 10px}#ehrview .ehr .ix-pad{padding:12px 18px}#ehrview .ehr .ix-seg{display:flex;gap:4px;flex-wrap:wrap;margin-top:12px}#ehrview .ehr .ix-seg button{border:1px solid var(--line2);background:var(--panel);color:var(--ink);border-radius:999px;padding:6px 11px;font:700 13px var(--disp, inherit);min-height:36px;cursor:pointer}#ehrview .ehr .ix-seg button[aria-pressed=true]{background:var(--ink);color:var(--bg);border-color:transparent}#ehrview .ehr .ix-plist{overflow-y:auto;flex:1}#ehrview .ehr .ix-pr{display:block;width:100%;text-align:left;border:0;border-top:1px solid var(--line);background:none;color:var(--ink);padding:13px 18px;position:relative;cursor:pointer;font:inherit}#ehrview .ehr .ix-pr.on{background:var(--panel2);box-shadow:inset 3px 0 0 var(--mag)}#ehrview .ehr .ix-nm{font-weight:700;font-size:15px;display:flex;gap:8px;align-items:center}#ehrview .ehr .ix-pr.unread .ix-nm::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--mag);flex:none}#ehrview .ehr .ix-at{margin-left:auto;color:var(--soft);font-weight:500;font-size:13px;white-space:nowrap}#ehrview .ehr .ix-sn{display:block;color:var(--soft);font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:2px}#ehrview .ehr .ix-mt{display:flex;gap:6px;margin-top:8px;flex-wrap:wrap}#ehrview .ehr .ix-mt .ehs-chip{display:inline-flex;align-items:center;gap:5px}#ehrview .ehr .ehs-chip.ix-sage{background:var(--sage-tint);color:var(--sage-ink)}#ehrview .ehr .ehs-chip.ix-plain{background:var(--raise);color:var(--soft)}#ehrview .ehr .ix-main{display:flex;flex-direction:column;min-height:0;min-width:0}#ehrview .ehr .ix-empty{padding:24px}#ehrview .ehr .ix-chart{display:flex;align-items:center;gap:14px;padding:14px 22px;background:var(--panel);border-bottom:1px solid var(--line);flex-wrap:wrap}#ehrview .ehr .ix-pn{font-weight:800;font-size:19px}#ehrview .ehr .ix-vchip{display:inline-flex;flex-direction:column;align-items:flex-end;gap:3px}#ehrview .ehr .ix-vchip small{color:var(--soft);font-size:12.5px;display:flex;gap:4px;align-items:center}#ehrview .ehr .ehr-btn.ink{background:var(--ink);color:var(--bg);border-color:transparent;text-decoration:none;display:inline-flex;align-items:center;gap:8px}#ehrview .ehr .ix-tbar{display:flex;align-items:center;gap:10px;padding:10px 22px;border-bottom:1px solid var(--line);background:var(--panel2);flex-wrap:wrap}#ehrview .ehr .ix-menuwrap{position:relative}#ehrview .ehr .ix-menu{position:absolute;z-index:30;top:calc(100% + 6px);left:0;background:var(--panel);border:1px solid var(--line2);border-radius:14px;box-shadow:0 18px 40px -16px rgba(0,0,0,.4);padding:6px;width:260px}#ehrview .ehr .ix-menu button{display:flex;gap:10px;align-items:center;width:100%;border:0;background:none;color:var(--ink);border-radius:10px;padding:10px;text-align:left;font-size:14.5px;cursor:pointer;min-height:44px}#ehrview .ehr .ix-menu button:hover{background:var(--raise)}#ehrview .ehr .ix-menu small{color:var(--soft);margin-left:auto;font-size:12.5px}#ehrview .ehr .ix-tscroll{flex:1;overflow-y:auto;padding:18px 22px;min-height:240px;max-height:calc(100dvh - 420px)}#ehrview .ehr .ix-msg{max-width:72%;display:flex;flex-direction:column;gap:4px;margin-bottom:14px;min-width:0}#ehrview .ehr .ix-msg.me{margin-left:auto;align-items:flex-end}#ehrview .ehr .ix-who{font-size:12.5px;font-weight:700;color:var(--soft)}#ehrview .ehr .ix-bub{background:var(--panel);border:1px solid var(--line);padding:11px 14px;border-radius:16px;font-size:15px;white-space:pre-wrap;overflow-wrap:anywhere}#ehrview .ehr .ix-msg.pt .ix-bub{border-bottom-left-radius:5px;background:var(--panel2)}#ehrview .ehr .ix-msg.me .ix-bub{background:var(--sage-tint);border-color:transparent}#ehrview .ehr .ix-msg.urgent .ix-bub{border-color:var(--bad)}#ehrview .ehr .ix-photo{display:block;width:200px;max-width:100%;border-radius:14px;overflow:hidden;border:1px solid var(--line)}#ehrview .ehr .ix-photo img{display:block;width:100%;height:auto}#ehrview .ehr .ix-photo.none{padding:20px;text-align:center;color:var(--soft)}#ehrview .ehr .ix-flag{display:flex;gap:10px;align-items:center;background:var(--bad-tint);color:var(--ink);border:1px solid var(--bad);border-radius:12px;padding:10px 12px;margin-bottom:14px;font-size:14px}#ehrview .ehr .ix-flag svg{color:var(--bad);flex:none}#ehrview .ehr .ix-reply{border-top:1px solid var(--line);background:var(--panel);padding:12px 22px 16px}#ehrview .ehr .ix-ta{width:100%;min-height:70px;resize:vertical}#ehrview .ehr .ix-rfoot{display:flex;gap:10px;align-items:center;margin-top:10px;flex-wrap:wrap}#ehrview .ehr .ix-note{flex:1;min-width:200px;font-size:13px}#ehrview .ehr .ix-attach{display:inline-flex;align-items:center;gap:8px;background:var(--raise);border-radius:12px;padding:6px 8px;margin-bottom:8px;font-size:13.5px;font-weight:700}#ehrview .ehr .ix-attach img{width:34px;height:34px;border-radius:8px;object-fit:cover}#ehrview .ehr .ix-req{flex-wrap:wrap;gap:8px}#ehrview .ehr [data-ehr-join]{display:inline-flex}#ehrview .ehr [data-ehr-join]:empty{display:none}@media(max-width:860px){#ehrview .ehr .ix-chart,#ehrview .ehr .ix-tbar,#ehrview .ehr .ix-reply,#ehrview .ehr .ix-tscroll{padding-left:14px;padding-right:14px}#ehrview .ehr .ix-msg{max-width:90%}#ehrview .ehr .ix-tscroll{max-height:none}#ehrview .ehr .ix-vchip{align-items:flex-start}}
