/* Widget gọi bệnh nhân — bám token win8/tokens.css. Nổi, không chặn thao tác. */
#gbnW{position:fixed;left:24px;top:80px;z-index:1200;display:flex;background:var(--surface,#fff);
  border:1px solid var(--line-2,#cbd5d0);border-radius:var(--radius,2px);
  box-shadow:0 8px 28px rgba(15,40,32,.22);overflow:hidden;font-size:13px;max-width:720px;}
#gbnW.gbn-collapsed .gbnW-panel{display:none;}
#gbnW .gbnW-title{position:absolute;top:0;left:0;right:0;height:26px;display:flex;align-items:center;
  gap:7px;padding:0 9px;font-size:11.5px;font-weight:600;color:#fff;background:var(--brand,#1d6f5c);
  cursor:grab;user-select:none;z-index:2;}
#gbnW .gbnW-title .gbnW-cap{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
#gbnW .gbnW-title .gbnW-x{flex:none;margin-left:auto;width:20px;height:18px;border:0;border-radius:2px;
  background:rgba(255,255,255,.16);color:#fff;font-size:11px;line-height:1;cursor:pointer;}
#gbnW .gbnW-title .gbnW-x:hover{background:#c0392b;}
#gbnW .gbnW-left{width:200px;flex:none;padding:34px 14px 14px;display:flex;flex-direction:column;gap:11px;
  background:var(--surface-2,#f6fefa);border-right:1px solid var(--line,#e5e7eb);}
#gbnW .gbnW-num{border-radius:2px;padding:12px 8px;text-align:center;background:#2fae5f;border:1px solid #1f8f49;}
#gbnW .gbnW-num .l{font-size:10px;letter-spacing:.14em;text-transform:uppercase;color:rgba(255,255,255,.85);}
#gbnW .gbnW-num .v{font-family:"Segoe UI",monospace;font-variant-numeric:tabular-nums;font-weight:700;
  font-size:46px;line-height:1.05;color:#fff;}
#gbnW .gbnW-num.gbn-flash{animation:gbnFlash 1s ease;}
@keyframes gbnFlash{0%{background:#54c97e;}100%{background:#2fae5f;}}
@media(prefers-reduced-motion:reduce){#gbnW .gbnW-num.gbn-flash{animation:none;}}
#gbnW .gbnW-name{text-align:center;min-height:30px;}
#gbnW .gbnW-name b{font-size:14px;} #gbnW .gbnW-name span{display:block;font-size:11.5px;color:var(--muted,#475569);}
#gbnW .gbnW-btns{display:flex;flex-direction:column;gap:8px;margin-top:auto;}
#gbnW .gbnW-call{font-size:15px;font-weight:700;color:#fff;background:var(--brand,#1d6f5c);
  border:1px solid var(--brand-dark,#13503f);border-radius:2px;padding:12px;cursor:pointer;}
#gbnW .gbnW-call:hover{background:var(--brand-dark,#13503f);}
#gbnW .gbnW-repeat{font-size:14px;font-weight:600;color:var(--brand,#1d6f5c);background:var(--surface,#fff);
  border:1px solid var(--line-2,#cbd5d0);border-radius:2px;padding:10px;cursor:pointer;}
#gbnW .gbnW-expand{font-size:12px;font-weight:600;color:var(--brand,#1d6f5c);background:var(--surface,#fff);
  border:1px solid var(--line,#e5e7eb);border-radius:2px;padding:8px;cursor:pointer;}
#gbnW .gbnW-panel{width:470px;max-width:100%;padding:30px 0 0;display:flex;flex-direction:column;}
#gbnW .gbnW-tabs{display:flex;padding:0 10px;border-bottom:1px solid var(--line,#e5e7eb);background:var(--surface-2,#f6fefa);}
#gbnW .gbnW-tab{font-size:12px;font-weight:600;color:var(--muted,#475569);background:transparent;border:0;
  border-bottom:2px solid transparent;padding:9px 13px;cursor:pointer;}
#gbnW .gbnW-tab.on{color:var(--brand,#1d6f5c);border-bottom-color:var(--brand,#1d6f5c);background:var(--surface,#fff);}
#gbnW .gbnW-body{padding:12px;flex:1;overflow:auto;min-height:200px;background:var(--surface,#fff);}
#gbnW .gbnW-pane{display:none;} #gbnW .gbnW-pane.on{display:block;}
#gbnW .gbnW-fld{display:flex;flex-direction:column;gap:4px;margin-bottom:9px;}
#gbnW .gbnW-fld label{font-size:11px;color:var(--muted,#475569);font-weight:600;}
#gbnW .gbnW-fld input,#gbnW .gbnW-fld select{height:32px;border:1px solid var(--line-2,#cbd5d0);
  border-radius:2px;padding:0 9px;font-size:12.5px;}
#gbnW .gbnW-chk{display:flex;align-items:center;gap:7px;font-size:12.5px;margin-bottom:7px;}
#gbnW .gbnW-save{height:32px;font-size:12.5px;font-weight:700;color:#fff;background:var(--brand,#1d6f5c);
  border:1px solid var(--brand-dark,#13503f);border-radius:2px;padding:0 15px;cursor:pointer;}
