/* NHỊP v2.98 — giao diện chuyên nghiệp trang Phân tích (thanh KPI, tab Kỹ thuật, tờ con, menu con, giao diện navy). Chỉ trình bày. */
html[data-skin="blue"]{--bg:#081426;--surface:#0e1d33;--surface2:#13294a;--bar:#0a1830;--line:#1b3250;--line2:#27466e;--brand:#2f7bff;--on-brand:#fff;--up:#14b98a;--dn:#f0525a}
html[data-skin="blue"] .tp-bb{background:#14b98a!important;color:#fff!important;border-color:#14b98a!important}
html[data-skin="blue"] .tp-bsl{background:#e5484d!important;color:#fff!important;border-color:#e5484d!important}
.pro-strip{margin:10px 0;padding:12px 14px;border:1px solid var(--line,#e3e8ed);border-radius:14px;background:var(--surface,#fff)}
.pro-top{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.pro-id{display:flex;align-items:center;gap:10px;min-width:0;flex:1 1 240px}
.pro-logo{flex:none;width:44px;height:44px;border-radius:12px;display:grid;place-items:center;font-weight:800;font-size:13px;color:#fff;background:linear-gradient(135deg,#2f7bff,#14b98a)}
.pro-idt{min-width:0}.pro-idr{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.pro-idr b{font-size:18px}
.pro-idt small{display:block;color:var(--muted,#71879b);font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}
.pro-kpis{display:grid;grid-template-columns:repeat(5,minmax(78px,1fr));gap:8px;flex:2 1 420px}
.pro-kpi{padding:8px 10px;border:1px solid var(--line,#e3e8ed);border-radius:10px;background:var(--surface2,#f1f5f8);min-width:0}
.pro-kpi span{display:block;font-size:11px;color:var(--muted,#71879b)}.pro-kpi b{font-size:15px;white-space:nowrap}
.pro-upd{flex:0 0 100%;font-size:11px;color:var(--muted,#71879b)}
.pro-tabs{display:flex;gap:4px;margin-top:10px;overflow-x:auto;scrollbar-width:none;border-top:1px solid var(--line,#e3e8ed);padding-top:8px}
.pro-tabs::-webkit-scrollbar{display:none}
.pro-tabs button{flex:none;border:0;background:transparent;color:inherit;padding:8px 12px;border-radius:9px;font-size:13px;font-weight:600;opacity:.75;cursor:pointer;white-space:nowrap}
.pro-tabs button.on{background:var(--brand,#2f7bff);color:var(--on-brand,#fff);opacity:1}
.pro-chip{display:inline-block;padding:2px 9px;border-radius:999px;font-size:11.5px;font-weight:700;white-space:nowrap;background:rgba(127,145,166,.18);color:var(--muted,#71879b)}
.pro-chip.up{background:rgba(20,185,138,.16);color:var(--up,#14b98a)}.pro-chip.dn{background:rgba(240,82,90,.16);color:var(--dn,#f0525a)}.pro-chip.ac{background:rgba(47,123,255,.16);color:#5b9dff}
.pro-kt .up,.pro-sheet .up{color:var(--up,#14b98a)}.pro-kt .dn,.pro-sheet .dn{color:var(--dn,#f0525a)}
.pro-card{padding:12px;margin-bottom:10px;border:1px solid var(--line,#e3e8ed);border-radius:12px;background:var(--surface2,rgba(127,145,166,.06))}
.pro-h{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}
.pro-link{border:0;background:none;color:var(--brand,#2f7bff);font-weight:600;font-size:12.5px;cursor:pointer;padding:4px 0}.pro-link.wide{display:block;width:100%;text-align:right;margin-top:6px}
.pro-sig{display:flex;align-items:center;justify-content:space-between;gap:12px}
.pro-lines p{margin:0 0 4px;font-size:13px;display:flex;gap:8px}.pro-lines small{display:block;margin-top:6px;color:var(--muted,#71879b);line-height:1.45}
.pro-gauge{position:relative;flex:none;width:84px;height:84px}.pro-gauge svg{width:100%;height:100%}
.pro-gauge circle{fill:none;stroke-width:6}.pro-gauge .bg{stroke:rgba(127,145,166,.22)}.pro-gauge .fg{stroke:var(--muted,#71879b);stroke-linecap:round}
.pro-gauge.up .fg{stroke:var(--up,#14b98a)}.pro-gauge.dn .fg{stroke:var(--dn,#f0525a)}
.pro-gauge div{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:1px}.pro-gauge b{font-size:20px}.pro-gauge small{font-size:11px;color:var(--muted,#71879b);align-self:flex-end;margin-bottom:26px}
.pro-r{display:flex;align-items:center;gap:8px;padding:8px 0;border-bottom:1px solid var(--line,#e3e8ed);font-size:13px}.pro-r:last-of-type{border-bottom:0}
.pro-r>span{flex:1;min-width:0}.pro-r>span small{display:block;color:var(--muted,#71879b);font-size:11px;margin-top:2px}.pro-r>b{white-space:nowrap}.pro-r>small{color:var(--muted,#71879b);font-size:11px}
.pro-r.big{padding:11px 0;font-size:14px}
.pro-p{margin:0 0 6px;font-size:13px;line-height:1.5}
.pro-tools{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.pro-tools button{display:flex;flex-direction:column;align-items:center;gap:6px;padding:10px 4px;border:1px solid var(--line,#e3e8ed);border-radius:10px;background:var(--surface,#fff);color:inherit;font-size:12px;cursor:pointer}
.pro-tools svg{width:22px;height:22px}
.pro-warn{padding:8px 10px;border-radius:8px;background:rgba(240,82,90,.12);color:var(--dn,#f0525a);font-size:12.5px}
/* tờ con */
html.pro-lock{overflow:hidden}
.pro-sheet{position:fixed;inset:0;z-index:9000;background:rgba(3,10,20,.62);display:flex;align-items:center;justify-content:center;padding:16px}
.pro-sh-card{width:min(980px,100%);max-height:calc(100vh - 32px);display:flex;flex-direction:column;border:1px solid var(--line2,#d3dbe3);border-radius:16px;background:var(--surface,#fff);color:var(--text,inherit);overflow:hidden}
.pro-sh-hd{display:flex;align-items:center;gap:10px;padding:12px 14px;border-bottom:1px solid var(--line,#e3e8ed)}
.pro-sh-hd>div{flex:1;min-width:0}.pro-sh-hd b{display:block;font-size:16px}.pro-sh-hd small{color:var(--muted,#71879b);font-size:12px;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pro-x{border:0;background:var(--surface2,#f1f5f8);color:inherit;width:34px;height:34px;border-radius:10px;font-size:16px;cursor:pointer}
.pro-sh-tabs{display:flex;gap:4px;padding:8px 12px;overflow-x:auto;scrollbar-width:none;border-bottom:1px solid var(--line,#e3e8ed)}
.pro-sh-tabs::-webkit-scrollbar{display:none}
.pro-sh-tabs button{flex:none;border:0;background:transparent;color:inherit;padding:8px 14px;border-radius:9px;font-size:13px;font-weight:600;opacity:.75;cursor:pointer}
.pro-sh-tabs button.on{background:var(--brand,#2f7bff);color:var(--on-brand,#fff);opacity:1}
.pro-sh-body{padding:12px 14px 18px;overflow-y:auto}
.pro-cmpbar,.pro-form{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px;align-items:flex-end}
.pro-form label{display:flex;flex-direction:column;gap:4px;font-size:12px;color:var(--muted,#71879b);flex:1 1 150px;min-width:0}
.pro-two{display:flex;gap:6px}.pro-two input{min-width:0;width:50%}
.pro-sheet input,.pro-sheet select{height:38px;padding:0 10px;border:1px solid var(--line2,#d3dbe3);border-radius:9px;background:var(--surface2,#f1f5f8);color:inherit;font:inherit;font-size:14px;min-width:0}
.pro-btn{height:38px;padding:0 16px;border:0;border-radius:9px;background:var(--brand,#2f7bff);color:var(--on-brand,#fff);font-weight:700;cursor:pointer}.pro-btn.ghost{background:var(--surface2,#f1f5f8);color:inherit;border:1px solid var(--line2,#d3dbe3)}.pro-btn:disabled{opacity:.5}
.pro-tw{overflow-x:auto}.pro-tbl{width:100%;border-collapse:collapse;font-size:13px}
.pro-tbl th{text-align:right;color:var(--muted,#71879b);font-weight:600;padding:8px 6px;border-bottom:1px solid var(--line,#e3e8ed)}.pro-tbl td{text-align:right;padding:9px 6px;border-bottom:1px solid var(--line,#e3e8ed);white-space:nowrap}
.pro-tbl th:first-child,.pro-tbl td:first-child{text-align:left}.pro-tbl td small{display:block;color:var(--muted,#71879b);font-size:10.5px;max-width:120px;overflow:hidden;text-overflow:ellipsis}
.pro-tbl tr.go{cursor:pointer}.pro-tbl tr.go:hover{background:var(--surface2,#f1f5f8)}
.pro-del{border:0;background:none;color:var(--muted,#71879b);cursor:pointer}
.pro-resh{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px}
.pro-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:8px}.pro-grid article{padding:10px;border:1px solid var(--line,#e3e8ed);border-radius:10px}.pro-grid small{display:block;font-size:11px;color:var(--muted,#71879b)}.pro-grid b{font-size:17px}
/* menu con */
.pro-sub{display:flex;flex-direction:column;margin:2px 0 6px 14px;padding-left:10px;border-left:1px solid var(--line,#e3e8ed)}
.pro-sub[hidden]{display:none}.pro-sub a,.pro-sub button{display:block;text-align:left;border:0;background:none;color:inherit;padding:7px 8px;font-size:13px;opacity:.78;border-radius:8px;cursor:pointer;text-decoration:none}.pro-sub a:hover,.pro-sub button:hover{opacity:1;background:var(--surface2,rgba(127,145,166,.12))}
@media(min-width:1100px){.an-sidex .pro-kt{padding-bottom:6px}}
@media(max-width:700px){
  .pro-strip{padding:10px;border-radius:12px}.pro-kpis{display:flex;overflow-x:auto;scrollbar-width:none;flex:1 1 100%}.pro-kpis::-webkit-scrollbar{display:none}.pro-kpi{flex:none;min-width:84px}
  .pro-sheet{padding:0;align-items:stretch}.pro-sh-card{max-height:100vh;height:100%;border-radius:0;border:0}
  .pro-sh-hd{padding-top:calc(12px + env(safe-area-inset-top,0px))}.pro-sh-body{padding-bottom:calc(18px + env(safe-area-inset-bottom,0px))}
  .pro-grid{grid-template-columns:1fr 1fr}.pro-tbl{font-size:12px}
}

/* v2.98b — GỌN: bỏ phần trùng với khung mã phía trên (tên mã/sàn/ngành, dải tab con, dòng Mở-Cao-Thấp-KL).
   Khung mã cũ giữ giá + tìm mã + nút; thanh dưới chỉ còn 5 ô KPI + giờ cập nhật. */
.pro-strip .pro-id,.pro-strip .pro-tabs{display:none!important}
.cp-top .cp-ohlc{display:none!important}
.pro-strip{margin:8px 0;padding:8px 10px;border-radius:12px}
.pro-strip .pro-top{display:block}
.pro-strip .pro-kpis{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;overflow:visible}
.pro-strip .pro-kpi{min-width:0;padding:6px 8px}
.pro-strip .pro-kpi b{font-size:14px}
.pro-strip .pro-upd{margin-top:6px;flex:none}
@media(max-width:700px){.pro-strip .pro-kpi{padding:5px 6px}.pro-strip .pro-kpi span{font-size:10px}.pro-strip .pro-kpi b{font-size:12.5px}}
