.fund-legend .fl-item{display:inline-flex;align-items:center;gap:5px;font-weight:600}
.fund-legend .fl-dot{width:10px;height:10px;border-radius:50%;border:1.5px solid #fff;
  box-shadow:0 0 0 1px rgba(15,23,42,.15);flex:none}
/* Onpro: mặt bằng marker + popup theo màu nhận diện quỹ căn */ /* speech bubble: thân bo tròn + đuôi tam giác chỉ đúng tọa độ căn trên mặt bằng. Đỉnh đuôi rơi vào điểm neo OSD → khách nhận ra căn ở zoom trung bình, không cần zoom sát. margin-top = -(24 thân + 8 đuôi) = -32px. */ .vhgg-marker{position:absolute;min-width:34px;height:20px;margin:-32px 0 0 auto;padding:0 8px;
  background:#ef4444;border:2px solid #fff;border-radius:10px;cursor:pointer;z-index:999;
  box-shadow:0 2px 6px rgba(0,0,0,.5);transition:transform .15s;
  font-size:11px;font-weight:700;color:#fff;
  display:flex;align-items:center;justify-content:center;
  line-height:1;white-space:nowrap;transform:translateX(-50%);}
/* viền trắng lót dưới (::before) để đuôi nổi rõ trên nền ảnh */ .vhgg-marker::before{content:"";position:absolute;left:50%;bottom:-10px;margin-left:-7px;
  width:0;height:0;border-left:7px solid transparent;border-right:7px solid transparent;
  border-top:10px solid #fff;}
/* tam giác màu quỹ (::after) — màu khai báo tường minh bên dưới theo data-fund */ .vhgg-marker::after{content:"";position:absolute;left:50%;bottom:-8px;margin-left:-5px;
  width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;
  border-top:8px solid #ef4444;}
.vhgg-marker[data-fund="primary"]::after{border-top-color:#22c55e;}
.vhgg-marker[data-fund="transfer"]::after{border-top-color:#f59e0b;}
.vhgg-marker[data-fund="rent"]::after{border-top-color:#ef4444;}
.vhgg-marker[data-marker-type="sample"]::after{border-top-color:#8b5cf6;}
.vhgg-marker:not([data-fund]):not([data-marker-type="sample"])::after{border-top-color:#94a3b8;}
.vhgg-marker:hover,.vhgg-marker.active{transform:translateX(-50%) scale(1.25);}
.vhgg-marker[data-fund="primary"]{background:#22c55e;}
.vhgg-marker[data-fund="transfer"]{background:#f59e0b;}
.vhgg-marker[data-fund="rent"]{background:#ef4444;}
.vhgg-marker:not([data-fund]){background:#94a3b8;}
#vhggChips{margin-top:12px;display:flex;flex-direction:column;gap:6px;max-height:400px;overflow-y:auto;padding:2px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;}
.vhgg-chip{background:#f8fafc;color:#334155;padding:6px 11px;border-radius:18px;
  font-size:12.5px;font-weight:600;cursor:pointer;border:1px solid #cbd5e1;
  transition:all .15s;user-select:none;display:inline-block;}
.vhgg-chip:hover{background:#e2e8f0;border-color:#94a3b8;}
.vhgg-chip.active{background:#1d4ed8;border-color:#1d4ed8;color:#fff;}
/* Accordion */ .vhgg-acc{border:1px solid #e2e8f0;border-radius:8px;background:#fff;flex:0 0 auto;}
.vhgg-acc-h{width:100%;display:flex;align-items:center;gap:8px;padding:10px 12px;
  background:#f8fafc;border:0;cursor:pointer;font-size:13px;font-weight:700;color:#334155;
  text-align:left;transition:background .15s;border-radius:7px 7px 0 0;}
.vhgg-acc-h:hover{background:#f1f5f9;}
.vhgg-acc-h.open{background:#e2e8f0;border-radius:7px 7px 0 0;}
.vhgg-acc-arrow{font-size:10px;color:#64748b;transition:transform .15s;}
.vhgg-acc-name{flex:1;}
.vhgg-acc-count{color:#94a3b8;font-weight:600;font-size:12px;}
.vhgg-acc-b{display:flex;flex-wrap:wrap;gap:6px;padding:10px 12px;background:#fafbfc;border-top:1px solid #e2e8f0;}
/* Fix toolbar 5 ô fit 1 hàng desktop (VHGG) */ #vhggStage ~ .inv-toolbar .inv-tool, .inv-toolbar .inv-tool{flex:1 1 calc(20% - 10px);min-width:170px;}
#vhggPopup{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);
  background:#fff;padding:0;border-radius:14px;box-shadow:0 8px 40px rgba(0,0,0,.4);
  z-index:10000;display:none;min-width:320px;max-width:92vw;overflow:hidden;}
#vhggPopup.show{display:block;}
#vhggPopup .head{background:linear-gradient(135deg,#0f172a,#1e293b);color:#f8fafc;
  padding:18px 22px;display:flex;justify-content:space-between;align-items:center;
  transition:background .25s;}
#vhggPopup .head[data-fund="rent"]{background:linear-gradient(135deg,#b91c1c,#dc2626);}
#vhggPopup .head[data-fund="transfer"]{background:linear-gradient(135deg,#b45309,#d97706);}
#vhggPopup .head[data-fund="primary"]{background:linear-gradient(135deg,#15803d,#16a34a);}
#vhggPopup .head h3{margin:0;font-size:22px;font-weight:800;}
#vhggPopup .body{padding:18px 22px;color:#334155;font-size:15px;line-height:1.7;}
#vhggPopup .body .row{display:flex;justify-content:space-between;padding:8px 0;
  border-bottom:1px solid #f1f5f9;}
#vhggPopup .body .row:last-child{border-bottom:none;}
#vhggPopup .body .row .label{color:#64748b;}
#vhggPopup .body .row .val{font-weight:700;color:#0f172a;}
#vhggPopup .foot{padding:14px 22px;background:#f8fafc;text-align:center;
  font-size:13px;color:#94a3b8;display:flex;flex-direction:column;gap:10px;}
.vhgg-popup-link{display:inline-flex;align-items:center;justify-content:center;gap:8px;
  background:linear-gradient(135deg,#C4A35A 0%,#D4AF37 100%);color:#fff;text-decoration:none;
  padding:11px 22px;border-radius:9px;font-weight:700;font-size:14px;
  transition:transform .2s,box-shadow .2s;box-shadow:0 3px 12px rgba(196,163,90,.35);}
.vhgg-popup-link:hover{transform:translateY(-2px);box-shadow:0 6px 20px rgba(196,163,90,.5);}
/* === Onpro brand: popup + nút theo màu nhận diện quỹ căn === */ #vhggPopup .vhgg-popup-link[data-fund="primary"]{
  background:linear-gradient(135deg,#16a34a 0%,#22c55e 100%);
  box-shadow:0 3px 12px rgba(34,197,94,.35);}
#vhggPopup .vhgg-popup-link[data-fund="primary"]:hover{
  box-shadow:0 6px 20px rgba(34,197,94,.5);}
#vhggPopup .vhgg-popup-link[data-fund="transfer"]{
  background:linear-gradient(135deg,#d97706 0%,#f59e0b 100%);
  box-shadow:0 3px 12px rgba(245,158,11,.35);}
#vhggPopup .vhgg-popup-link[data-fund="transfer"]:hover{
  box-shadow:0 6px 20px rgba(245,158,11,.5);}
#vhggPopup .vhgg-popup-link[data-fund="rent"]{
  background:linear-gradient(135deg,#dc2626 0%,#ef4444 100%);
  box-shadow:0 3px 12px rgba(239,68,68,.35);}
#vhggPopup .vhgg-popup-link[data-fund="rent"]:hover{
  box-shadow:0 6px 20px rgba(239,68,68,.5);}
#vhggPopup .close{background:rgba(255,255,255,.15);border:none;color:#fff;width:30px;height:30px;
  border-radius:50%;cursor:pointer;font-size:18px;line-height:1;transition:background .2s;}
#vhggPopup .close:hover{background:rgba(255,255,255,.25);}
#vhggOverlay{position:fixed;inset:0;background:rgba(0,0,0,.55);z-index:9999;display:none;}
#vhggOverlay.show{display:block;}
.vhgg-legend{display:flex;gap:14px;flex-wrap:wrap;align-items:center;margin-top:8px;
  font-size:12.5px;color:#94a3b8;font-weight:600;}
.vhgg-legend .fl-item{display:inline-flex;align-items:center;gap:6px;}
.vhgg-legend .fl-dot{width:11px;height:11px;border-radius:50%;border:2px solid #fff;
  box-shadow:0 0 0 1px rgba(255,255,255,.3);}
.vhgg-legend .fl-n{color:#f8fafc;font-weight:800;}
@media(max-width:768px){
  #vhggChips{max-height:120px;overflow-y:auto;}
  #vhggPopup{min-width:280px;}
}
/* Badge quỹ trong popup */ .gc-fund-badge,.vhgg-fund-badge{
  display:inline-flex;align-items:center;padding:4px 12px;border-radius:999px;
  font-size:12px;font-weight:800;letter-spacing:.01em;color:#fff;white-space:nowrap;}
[data-fund="primary"] > .gc-fund-badge,[data-fund="primary"] > .vhgg-fund-badge, .gc-fund-badge[data-fund="primary"],.vhgg-fund-badge[data-fund="primary"]{background:#22c55e;}
[data-fund="transfer"] > .gc-fund-badge,[data-fund="transfer"] > .vhgg-fund-badge, .gc-fund-badge[data-fund="transfer"],.vhgg-fund-badge[data-fund="transfer"]{background:#f59e0b;}
[data-fund="rent"] > .gc-fund-badge,[data-fund="rent"] > .vhgg-fund-badge, .gc-fund-badge[data-fund="rent"],.vhgg-fund-badge[data-fund="rent"]{background:#ef4444;}
[data-fund="secondary"] > .gc-fund-badge, .gc-fund-badge[data-fund="secondary"],.vhgg-fund-badge[data-fund="secondary"]{background:#f59e0b;}
.vhgg-marker{position:absolute;width:16px;height:16px;margin:-16px 0 0 -8px;
  background:#94a3b8;border:2.5px solid #fff;border-radius:50%;cursor:pointer;z-index:999;
  box-shadow:0 2px 6px rgba(0,0,0,.5);transition:transform .15s;}
.vhgg-marker:hover,.vhgg-marker.active{transform:scale(1.5);}
.vhgg-marker[data-fund="transfer"]{background:#f59e0b;}
.vhgg-marker[data-fund="rent"]{background:#ef4444;}
.vhgg-marker[data-fund="primary"]{background:#22c55e;}
#vhggChips{margin-top:12px;display:flex;flex-direction:column;gap:6px;max-height:400px;overflow-y:auto;padding:2px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;}
.vhgg-chip{background:#f8fafc;color:#334155;padding:6px 11px;border-radius:18px;
  font-size:12.5px;font-weight:600;cursor:pointer;border:1px solid #cbd5e1;
  transition:all .15s;user-select:none;display:inline-block;}
.vhgg-chip:hover{background:#e2e8f0;border-color:#94a3b8;}
.vhgg-chip.active{background:#1d4ed8;border-color:#1d4ed8;color:#fff;}
/* Accordion */ .vhgg-acc{border:1px solid #e2e8f0;border-radius:8px;background:#fff;flex:0 0 auto;}
.vhgg-acc-h{width:100%;display:flex;align-items:center;gap:8px;padding:10px 12px;
  background:#f8fafc;border:0;cursor:pointer;font-size:13px;font-weight:700;color:#334155;
  text-align:left;transition:background .15s;border-radius:7px 7px 0 0;}
.vhgg-acc-h:hover{background:#f1f5f9;}
.vhgg-acc-h.open{background:#e2e8f0;border-radius:7px 7px 0 0;}
.vhgg-acc-arrow{font-size:10px;color:#64748b;transition:transform .15s;}
.vhgg-acc-name{flex:1;}
.vhgg-acc-count{color:#94a3b8;font-weight:600;font-size:12px;}
.vhgg-acc-b{display:flex;flex-wrap:wrap;gap:6px;padding:10px 12px;background:#fafbfc;border-top:1px solid #e2e8f0;}
/* Fix toolbar 5 ô fit 1 hàng desktop (VHGG) */ #vhggStage ~ .inv-toolbar .inv-tool, .inv-toolbar .inv-tool{flex:1 1 calc(20% - 10px);min-width:170px;}
#vhggPopup{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);
  background:#fff;padding:0;border-radius:14px;box-shadow:0 8px 40px rgba(0,0,0,.4);
  z-index:10000;display:none;min-width:320px;max-width:92vw;overflow:hidden;}
#vhggPopup.show{display:block;}
#vhggPopup .head{background:linear-gradient(135deg,#0f172a,#1e293b);color:#f8fafc;
  padding:18px 22px;display:flex;justify-content:space-between;align-items:center;
  transition:background .25s;}
#vhggPopup .head h3{margin:0;font-size:22px;font-weight:800;}
#vhggPopup .body{padding:18px 22px;color:#334155;font-size:15px;line-height:1.7;}
#vhggPopup .body .row{display:flex;justify-content:space-between;padding:8px 0;
  border-bottom:1px solid #f1f5f9;}
#vhggPopup .body .row:last-child{border-bottom:none;}
#vhggPopup .body .row .label{color:#64748b;}
#vhggPopup .body .row .val{font-weight:700;color:#0f172a;}
#vhggPopup .foot{padding:14px 22px;background:#f8fafc;text-align:center;
  font-size:13px;color:#94a3b8;display:flex;flex-direction:column;gap:10px;}
.vhgg-popup-link{display:inline-flex;align-items:center;justify-content:center;gap:8px;
  background:linear-gradient(135deg,#C4A35A 0%,#D4AF37 100%);color:#fff;text-decoration:none;
  padding:11px 22px;border-radius:9px;font-weight:700;font-size:14px;
  transition:transform .2s,box-shadow .2s;box-shadow:0 3px 12px rgba(196,163,90,.35);}
.vhgg-popup-link:hover{transform:translateY(-2px);box-shadow:0 6px 20px rgba(196,163,90,.5);}
/* === Onpro brand: popup + nút theo màu nhận diện quỹ căn === */ #vhggPopup .vhgg-popup-link[data-fund="primary"]{
  background:linear-gradient(135deg,#16a34a 0%,#22c55e 100%);
  box-shadow:0 3px 12px rgba(34,197,94,.35);}
#vhggPopup .vhgg-popup-link[data-fund="primary"]:hover{
  box-shadow:0 6px 20px rgba(34,197,94,.5);}
#vhggPopup .vhgg-popup-link[data-fund="transfer"]{
  background:linear-gradient(135deg,#d97706 0%,#f59e0b 100%);
  box-shadow:0 3px 12px rgba(245,158,11,.35);}
#vhggPopup .vhgg-popup-link[data-fund="transfer"]:hover{
  box-shadow:0 6px 20px rgba(245,158,11,.5);}
#vhggPopup .vhgg-popup-link[data-fund="rent"]{
  background:linear-gradient(135deg,#dc2626 0%,#ef4444 100%);
  box-shadow:0 3px 12px rgba(239,68,68,.35);}
#vhggPopup .vhgg-popup-link[data-fund="rent"]:hover{
  box-shadow:0 6px 20px rgba(239,68,68,.5);}
#vhggPopup .close{background:rgba(255,255,255,.15);border:none;color:#fff;width:30px;height:30px;
  border-radius:50%;cursor:pointer;font-size:18px;line-height:1;transition:background .2s;}
#vhggPopup .close:hover{background:rgba(255,255,255,.25);}
#vhggOverlay{position:fixed;inset:0;background:rgba(0,0,0,.55);z-index:9999;display:none;}
#vhggOverlay.show{display:block;}
.vhgg-legend{display:flex;gap:14px;flex-wrap:wrap;align-items:center;margin-top:8px;
  font-size:12.5px;color:#94a3b8;font-weight:600;}
.vhgg-legend .fl-item{display:inline-flex;align-items:center;gap:6px;}
.vhgg-legend .fl-dot{width:11px;height:11px;border-radius:50%;border:2px solid #fff;
  box-shadow:0 0 0 1px rgba(255,255,255,.3);}
.vhgg-legend .fl-n{color:#f8fafc;font-weight:800;}
@media(max-width:768px){
  #vhggChips{max-height:120px;overflow-y:auto;}
  #vhggPopup{min-width:280px;}
}
.vhgg-mb{position:relative;margin:26px 0}
.vhgg-mb .vhgg-head{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-bottom:14px}
.vhgg-mb h2{margin:0;font-family:"Cormorant Garamond",Georgia,serif;font-size:clamp(22px,3vw,30px);color:#0f172a}
.vhgg-mb .sub{font-size:13px;color:#64748b}
.vhgg-tabs{display:flex;gap:8px;flex-wrap:wrap}
.vhgg-tab{display:inline-flex;flex-direction:column;gap:1px;padding:9px 16px;border:1.5px solid #e2e8f0;
 background:#fff;border-radius:12px;cursor:pointer;text-align:left;font:inherit;transition:.18s}
.vhgg-tab:hover{border-color:#C4A35A;transform:translateY(-1px)}
.vhgg-tab.active{border-color:#C4A35A;background:linear-gradient(180deg,#fffdf7,#fdf7e8);
 box-shadow:0 6px 18px rgba(196,163,90,.18)}
.vhgg-tab .tk{font-size:11px;color:#94a3b8;font-weight:700;letter-spacing:.4px}
.vhgg-tab .tn{font-size:15px;font-weight:800;color:#0f172a}
.vhgg-tab.active .tn{color:#8a6b1f}
.vhgg-stage{position:relative;background:#0f172a;border:1px solid #e2e8f0;border-radius:16px;overflow:hidden;
 min-height:420px;height:min(62vh,560px);box-shadow:0 12px 40px rgba(15,23,42,.10)}
#vhggOsd{position:absolute!important;inset:0!important;width:100%!important;height:100%!important}
#vhggFsOsd{position:absolute!important;inset:0!important;width:100%!important;height:100%!important}
.vhgg-stage .frame{position:absolute;inset:0;overflow:hidden;display:none}
.vhgg-stage .frame.active{display:block}
.vhgg-stage img{width:100%;height:100%;object-fit:contain;background:#0f172a;cursor:zoom-in}
.vhgg-zoom{position:absolute;inset:0;background:#0f172a;display:none;align-items:center;justify-content:center;z-index:60}
.vhgg-zoom.on{display:flex}
.vhgg-zoom img{max-width:98%;max-height:96%;object-fit:contain;cursor:zoom-out}
.vhgg-zoom .x{position:absolute;top:12px;right:14px;width:38px;height:38px;border-radius:50%;border:0;
 background:rgba(255,255,255,.14);color:#fff;font-size:22px;cursor:pointer}
.vhgg-zoom .hint{position:absolute;bottom:14px;left:50%;transform:translateX(-50%);color:#cbd5e1;font-size:12px;
 background:rgba(15,23,42,.72);padding:6px 14px;border-radius:999px}
.vhgg-foot{display:flex;gap:14px;flex-wrap:wrap;align-items:center;justify-content:space-between;margin-top:10px}
.vhgg-note{font-size:12.5px;color:#475569}
.vhgg-jump{display:inline-flex;align-items:center;gap:6px;background:#C4A35A;color:#fff;border:0;
 padding:9px 16px;border-radius:10px;font-weight:700;font-size:13px;cursor:pointer;text-decoration:none}
.vhgg-jump:hover{background:#b08f45}
.vhgg-thumbs{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:10px}
.vhgg-thumbs .tt{border:1px solid #e2e8f0;background:#fff;border-radius:10px;overflow:hidden;cursor:pointer;padding:0}
.vhgg-thumbs .tt img{width:100%;height:64px;object-fit:cover;display:block}
.vhgg-thumbs .tt span{display:block;font-size:11.5px;font-weight:700;color:#334155;padding:6px 4px}
.vhgg-thumbs .tt.active{border-color:#C4A35A;box-shadow:0 4px 12px rgba(196,163,90,.2)}
@media(max-width:800px){
 .vhgg-stage{min-height:300px}
 .vhgg-thumbs{grid-template-columns:repeat(2,1fr)}
 .vhgg-tab{flex:1 1 calc(50% - 4px);min-width:140px}
}
