/* v6.27 – Thông số môi trường vi sinh (thl_media_spec) + trang hãng HiMedia. Màu theo phong cách THL: 1 màu nhấn xanh, nền sáng. */
.ms{--g:#1E7B3C;--gd:#0E3B22;--gl:#EAF5EE;--bd:#e8e8ed;--bg:#f5f5f7;--m:#6e6e73;margin-top:22px}
.ms-nav{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 18px}
.ms-nav a{font-size:13.5px;padding:6px 13px;border-radius:999px;background:var(--bg);color:#424245;text-decoration:none!important}
.ms-nav a:hover{background:var(--gl);color:var(--g)}
.ms-sec{border:1px solid var(--bd);border-radius:20px;padding:4px 24px 20px;margin-bottom:14px;background:#fff;scroll-margin-top:90px}
.ms-sec h2{font-size:21px;margin:18px 0 12px}
.ms-sec ul,.ms-sec ol{padding-left:22px;margin:6px 0}.ms-sec li{padding:3px 0}
.ms-sec p+p{margin-top:8px}
.ms-note{font-size:13px;color:var(--m);margin-top:8px}
.ms-tw{overflow-x:auto;-webkit-overflow-scrolling:touch}
.ms-t{width:100%;border-collapse:collapse;font-size:14.5px;margin:6px 0}
.ms-t th,.ms-t td{text-align:left;padding:9px 10px;border-bottom:1px solid var(--bd);vertical-align:top;text-wrap:pretty}
.ms-t th{background:var(--bg);font-size:13px;font-weight:600;color:#424245}
.ms-comp td:last-child,.ms-comp th:last-child{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
.ms-comp tr:last-child td{font-weight:700}
.ms-kv td:first-child{color:var(--m);width:34%}
.ms-atcc td{white-space:normal}
.ms-bar{display:flex;align-items:center;gap:8px;min-width:120px}
.ms-bar-t{flex:1;height:8px;border-radius:4px;background:var(--bg);overflow:hidden}
.ms-bar-t i{display:block;height:100%;background:var(--g);border-radius:4px}
.ms-bar span:last-child{white-space:nowrap;font-size:13px}
.ms-cols{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:22px;align-items:center}
.ms-plate{margin:0;text-align:center}.ms-plate svg{width:100%;max-width:260px;height:auto;margin:0 auto}
.ms-plate figcaption{font-size:12.5px;color:var(--m);margin-top:6px}
.ms-steps li{padding:4px 0}
.ms-sec details{border-bottom:1px solid var(--bd);padding:12px 0}
.ms-sec summary{font-weight:600;cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:12px}
.ms-sec summary::-webkit-details-marker{display:none}
.ms-sec summary::after{content:"+";color:var(--g);font-size:20px;line-height:1}
.ms-sec details[open] summary::after{content:"–"}
.ms-sec details>div{color:#3a3a3c;margin-top:8px;line-height:1.65}
/* Bàn thí nghiệm – đĩa Petri bấm được */
.ms-bench{--g:#1E7B3C;--bd:#e8e8ed;--m:#6e6e73;background:#fff;border:1px solid var(--bd);border-radius:28px;padding:28px;display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:28px;align-items:center;margin:30px 0 0}
.ms-plates{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.ms-pl{background:none;border:0;padding:0;cursor:pointer;text-align:center;font:inherit;color:inherit;border-radius:50%}
.ms-pl svg{width:100%;height:auto;display:block;transition:transform .35s cubic-bezier(.2,.7,.2,1)}
.ms-pl[aria-pressed=true] svg{transform:scale(1.05)}
.ms-pl span{display:block;font-size:13px;color:var(--m);margin-top:6px}
.ms-pl[aria-pressed=true] span{color:var(--g);font-weight:600}
.ms-read h3{font-size:25px;letter-spacing:-.02em;margin:0 0 2px}
.ms-code{color:var(--m);font-size:14px;margin-bottom:12px}
.ms-legend{list-style:none;padding:0;margin:0 0 12px}
.ms-legend li{display:flex;gap:12px;align-items:flex-start;padding:10px 0;border-top:1px solid var(--bd)}
.ms-legend b{display:block;font-size:15px}.ms-legend span{font-size:14px;color:var(--m)}
.ms-dot{flex:0 0 22px;height:22px;border-radius:50%;margin-top:2px;box-shadow:inset 0 -3px 5px rgba(0,0,0,.18)}
.ms-bench .ms-note{margin:0}
/* Chọn theo chỉ tiêu */
.ms-chips{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px}
.ms-chip{font-size:14px;border:0;background:#fff;box-shadow:inset 0 0 0 1px #e8e8ed;border-radius:999px;padding:8px 16px;cursor:pointer;color:#424245}
.ms-chip:hover{background:#EAF5EE}.ms-chip[aria-pressed=true]{background:#1E7B3C;color:#fff;box-shadow:none}
.ms-chon .ms-tw{background:#fff;border:1px solid #e8e8ed;border-radius:22px;padding:10px 18px}
.ms-chon td a{font-weight:600}
/* Quy trình MPN */
.ms-mpn{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:#fff;border:1px solid #e8e8ed;border-radius:24px;overflow:hidden;counter-reset:mpn}
.ms-mpn li{padding:22px 20px;border-right:1px solid #e8e8ed;counter-increment:mpn}
.ms-mpn li:last-child{border-right:0}
.ms-mpn li::before{content:counter(mpn);width:30px;height:30px;border-radius:50%;background:#1E7B3C;color:#fff;display:grid;place-items:center;font-weight:700;font-size:14px}
.ms-mpn h3{font-size:17px;margin:12px 0 2px}.ms-med{font-size:13.5px;font-weight:600;color:#1E7B3C}
.ms-mpn p{font-size:14px;color:#6e6e73;margin:8px 0 0}.ms-tube{height:90px;margin-top:14px;display:block}
/* Trang hãng HiMedia */
.hm{margin-bottom:28px}
.hm-hero{padding:30px 0 0}
.hm-kicker{display:block;min-height:24px;font-size:15px;color:#1E7B3C;font-weight:600}
.hm-hero h1{font-size:52px;line-height:1.06;letter-spacing:-.035em;margin:10px 0 16px;max-width:22ch}
.hm-sub{font-size:19px;color:#6e6e73;max-width:58ch;margin:0 0 24px}
.hm-actions{display:flex;flex-wrap:wrap;gap:10px}
.hm-stats{list-style:none;padding:0;margin:16px 0 0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.hm-stats li{background:#fff;border:1px solid #e8e8ed;border-radius:20px;padding:18px 22px}
.hm-stats b{display:block;font-size:38px;font-weight:700;letter-spacing:-.03em;line-height:1}
.hm-stats span{color:#6e6e73;font-size:14px;margin-top:6px;display:block}
.hm-sec{padding-top:52px}.hm-sec h2{font-size:30px;letter-spacing:-.02em;margin:0 0 8px}
.hm-lead{color:#6e6e73;font-size:17px;max-width:68ch;margin:0 0 22px}
.hm-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.hm-card{display:flex;flex-direction:column;background:#fff;border:1px solid #e8e8ed;border-radius:20px;padding:18px;color:#1d1d1f;text-decoration:none!important;transition:transform .2s,box-shadow .2s,border-color .2s}
.hm-card:hover{transform:translateY(-2px);border-color:#1E7B3C;box-shadow:0 8px 24px rgba(30,123,60,.10);color:#1d1d1f}
.hm-card.w2{grid-column:span 2}.hm-card.w2 ul{columns:2;column-gap:20px}
.hm-card-top{display:flex;gap:10px;justify-content:space-between;align-items:flex-start}
.hm-card-n{font-weight:600;font-size:17px;line-height:1.3;text-wrap:balance}.hm-card:hover .hm-card-n{color:#1E7B3C}
.hm-arr{flex:0 0 30px;height:30px;border-radius:50%;background:#EAF5EE;color:#1E7B3C;display:grid;place-items:center;transition:transform .2s,background .2s,color .2s}
.hm-card:hover .hm-arr{background:#1E7B3C;color:#fff;transform:translateX(3px)}
.hm-pill{display:inline-flex;align-items:center;gap:6px;margin-top:8px;font-size:13px;background:#EAF5EE;color:#0E3B22;border-radius:999px;padding:3px 11px;width:max-content}
.hm-pill.grey{background:#f5f5f7;color:#6e6e73}
.hm-pulse{width:7px;height:7px;border-radius:50%;background:#1E7B3C;animation:hmpu 2s infinite}
@keyframes hmpu{0%,100%{opacity:1}50%{opacity:.35}}
.hm-card ul{margin:12px 0 0;padding:0;list-style:none;font-size:14px;color:#6e6e73}.hm-card li{padding:2px 0;break-inside:avoid}
.hm-cta{margin-top:52px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:20px;padding:34px 36px;border-radius:24px;color:#fff;background:linear-gradient(135deg,#0E3B22 0,#1E7B3C 100%)}
.hm-cta strong{display:block;font-size:22px;font-weight:800;margin-bottom:6px}.hm-cta span{opacity:.85}
.hm-list-h{font-size:24px;margin:48px 0 0}
@media(max-width:980px){.hm-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ms-bench{grid-template-columns:1fr}.ms-mpn{grid-template-columns:repeat(2,minmax(0,1fr))}.ms-mpn li:nth-child(2){border-right:0}.ms-mpn li{border-bottom:1px solid #e8e8ed}.ms-cols{grid-template-columns:1fr}}
@media(max-width:640px){.hm-hero h1{font-size:36px}.hm-sub{font-size:16.5px}.hm-sec h2{font-size:25px}.hm-grid{grid-template-columns:1fr}.hm-card.w2{grid-column:auto}.hm-card.w2 ul{columns:1}.hm-stats{gap:8px}.hm-stats li{padding:14px}.hm-stats b{font-size:26px}.ms-bench{padding:18px;border-radius:22px}.ms-mpn{grid-template-columns:1fr}.ms-mpn li{border-right:0}.ms-sec{padding:2px 16px 16px}.hm-cta{padding:26px}}
@media(prefers-reduced-motion:reduce){.ms *,.hm *,.ms-bench *{animation:none!important;transition:none!important}}
.hm .hgn-faq details{border:1px solid #e8e8ed;border-radius:16px;margin-bottom:10px;background:#fff}
.hm .hgn-faq summary{list-style:none;cursor:pointer;padding:16px 52px 16px 20px;font-weight:700;position:relative}
.hm .hgn-faq summary::-webkit-details-marker{display:none}
.hm .hgn-faq summary::after{content:"+";position:absolute;right:20px;top:50%;transform:translateY(-50%);width:26px;height:26px;border-radius:50%;background:#EAF5EE;color:#1E7B3C;display:grid;place-items:center;font-size:18px}
.hm .hgn-faq details[open] summary::after{content:"–"}
.hm .hgn-faq details>div{padding:0 20px 18px;color:#3a3a3c;line-height:1.7}
