/*! FoSciTech – Trang đích (fst-giai-phap 1.3) · cùng hệ token và thành phần với mega menu FST Nav */

/* ---------- Token (trùng #fstn của FST Nav) ---------- */
.fsts {
	--ink: #19202D;
	--ink2: #3D4552;
	--mut: #5C6370;
	--mut2: #687079;
	--line: #E5E9EC;
	--line3: #DDE3E8;
	--line2: #EEF1F4;
	--bg: #F6FAFC;
	--teal: #02838D;
	--teal-d: #026A72;
	--tint: #E6F4F5;
	--fc: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
	--fd: "Big Shoulders Display", "Barlow Condensed", "Arial Narrow", sans-serif;
	--fb: Montserrat, "Segoe UI", Arial, sans-serif;
	--a: #004AAD;
	--at: #EAF1FB;
	--ab: #004AAD;
	--abi: #fff;
	--sh: 0 1px 2px #19202d0f, 0 8px 20px -12px #19202d40;
	--sh-lg: 0 30px 60px -30px #19202d59;

	display: block;
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	background: #fff;
	color: var(--ink);
	font: 400 15px/1.6 var(--fb);
	-webkit-font-smoothing: antialiased;
	text-align: left;
}
.fsts[data-accent="blue"], .fsts [data-accent="blue"] { --a: #004AAD; --at: #EAF1FB; --ab: #004AAD; --abi: #fff; }
.fsts[data-accent="magenta"], .fsts [data-accent="magenta"] { --a: #CC004C; --at: #FFF0F5; --ab: #CC004C; --abi: #fff; }
.fsts[data-accent="amber"], .fsts [data-accent="amber"] { --a: #8A5A00; --at: #FFF4D6; --ab: #FDBD21; --abi: #19202D; }
.fsts[data-accent="teal"], .fsts [data-accent="teal"] { --a: #02838D; --at: #E6F4F5; --ab: #02838D; --abi: #fff; }
body.fsts-page { overflow-x: clip; }

/* Đặt lại kiểu theme trong vùng plugin */
.fsts :where(h1, h2, h3, h4, h5, h6, p, ul, ol, li, dl, dt, dd, table, details, summary) { margin: 0; padding: 0; border: 0; }
.fsts :where(ul, ol) { list-style: none; }
.fsts :where(h1, h2, h3, h4, h5, h6) { color: var(--ink); text-transform: none; letter-spacing: normal; }
.fsts :where(a) { color: inherit; text-decoration: none; }
.fsts :where(a, button, summary):focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; border-radius: 8px; }
.fsts *, .fsts *::before, .fsts *::after { box-sizing: border-box; }
.fsts :where([id]) { scroll-margin-top: 24px; }

.fsts-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 1240px) { .fsts-wrap { padding: 0; } }
.fsts-wrap--narrow { max-width: 860px; }
.fsts-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.fsts-i { display: inline-block; flex: 0 0 auto; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }

/* ---------- Thành phần nguyên tử (giống mega menu) ---------- */
.fsts-ico { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 40px; height: 40px; border-radius: 10px; background: var(--at); color: var(--a); }
.fsts-ico .fsts-i { width: 20px; height: 20px; }
.fsts-ico--sm { width: 36px; height: 36px; }
.fsts-ico--sm .fsts-i { width: 18px; height: 18px; }
.fsts-ico--lg { width: 48px; height: 48px; border-radius: 12px; }
.fsts-ico--lg .fsts-i { width: 24px; height: 24px; }
.fsts-ico--dark { width: 34px; height: 34px; border-radius: 9px; background: #ffffff1a; color: #fff; }
.fsts-ico--dark .fsts-i { width: 17px; height: 17px; }

.fsts-more { display: inline-flex; align-items: center; gap: 6px; min-height: 24px; font: 700 13.5px/1.3 var(--fb); color: var(--teal); white-space: nowrap; }
.fsts-more::after { content: ""; width: 14px; height: 14px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat; transition: transform .15s; }
a.fsts-more:hover { text-decoration: underline; text-underline-offset: 3px; }
a:hover > .fsts-more::after, a.fsts-more:hover::after { transform: translateX(2px); }

.fsts-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.fsts-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 1px solid transparent; border-radius: 10px; font: 500 18px/1.1 var(--fc); letter-spacing: .2px; white-space: nowrap; transition: background-color .15s, border-color .15s, color .15s, filter .15s; }
.fsts-btn .fsts-i { width: 17px; height: 17px; }
.fsts-btn--accent { background: var(--ab); color: var(--abi) !important; }
.fsts-btn--accent:hover { filter: brightness(.92); }
.fsts-btn--ink { background: var(--ink); color: #fff !important; }
.fsts-btn--ink:hover { background: var(--teal); }
.fsts-btn--line { background: #fff; border-color: var(--line3); color: var(--ink) !important; }
.fsts-btn--line:hover { border-color: var(--teal); color: var(--teal) !important; }
.fsts-btn--light { background: #ffffff14; border-color: #ffffff33; color: #fff !important; }
.fsts-btn--light:hover { background: #ffffff26; }

.fsts-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.fsts-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 4px 14px; border: 1px solid var(--line3); border-radius: 999px; background: #fff; font: 500 17px/1.15 var(--fc); color: var(--ink); }
.fsts-chip .fsts-i { width: 16px; height: 16px; color: var(--a); }
.fsts-chip--link { transition: border-color .15s, color .15s, background-color .15s; }
.fsts-chip--link:hover { border-color: var(--a); color: var(--a); background: var(--at); }
.fsts-chip--amber { border-color: #f3d27a; }
.fsts-chiplinks { display: flex; flex-wrap: wrap; gap: 8px; }

.fsts-badge { display: inline-flex; align-items: center; align-self: flex-start; height: 26px; padding: 0 10px; border-radius: 999px; background: #fffffff0; font: 700 12px/1 var(--fb); color: var(--ink); }

.fsts-ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: var(--ink2); }
.fsts-ticks li + li { margin-top: 8px; }
.fsts-ticks .fsts-i { width: 16px; height: 16px; margin-top: 2px; color: var(--teal); stroke-width: 2.6; }
.fsts-ticks--grid { display: grid; gap: 10px 24px; }
.fsts-ticks--grid li + li { margin-top: 0; }
@media (min-width: 640px) { .fsts-ticks--grid { grid-template-columns: 1fr 1fr; } }
.fsts-ticks--dark li { color: #c5cbd3; }
.fsts-ticks--dark .fsts-i { color: #5fd3da; }

/* ---------- Breadcrumb ---------- */
.fsts-bc { padding: 18px 0 16px; font: 400 13px/1.3 var(--fb); color: var(--mut); }
.fsts-bc ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
.fsts-bc li { display: inline-flex; align-items: center; gap: 6px; }
.fsts-bc .fsts-i { width: 12px; height: 12px; stroke-width: 2.6; color: var(--mut2); }
.fsts-bc a:hover { color: var(--teal); }
.fsts-bc [aria-current] { color: var(--ink); font-weight: 700; }

/* ---------- Hero: khung nền #F6FAFC + thẻ tối (như panel mega menu) ---------- */
.fsts-hero { padding-bottom: 28px; border-bottom: 1px solid var(--line2); }
.fsts-hero__grid { display: grid; gap: 16px; }
.fsts-hero__card { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 18px; padding: 28px 22px; border-radius: 16px; background: var(--bg); }
.fsts-hero__mark { position: absolute; right: -40px; bottom: -60px; color: var(--a); opacity: .07; pointer-events: none; }
.fsts-hero__mark .fsts-i { width: 300px; height: 300px; stroke-width: 1.2; }
.fsts-kicker { position: relative; display: flex; align-items: center; gap: 12px; font: 600 22px/1 var(--fd); letter-spacing: .5px; text-transform: uppercase; color: var(--a); }
.fsts-h1 { position: relative; font: 600 clamp(34px, 4.6vw, 54px)/1.06 var(--fd); letter-spacing: .5px; text-transform: uppercase; color: var(--ink); max-width: 26ch; text-wrap: balance; }
.fsts-lede { position: relative; max-width: 64ch; font-size: 15.5px; line-height: 1.7; color: var(--ink2); }
.fsts-hero__card .fsts-chips, .fsts-hero__card .fsts-btns { position: relative; }
@media (min-width: 866px) {
	.fsts-hero__grid { grid-template-columns: minmax(0, 1fr) 312px; gap: 24px; }
	.fsts-hero__card { padding: 40px 44px 40px; }
}

/* Thẻ tối (fstn-feat) */
.fsts-feat { position: relative; display: flex; flex-direction: column; border-radius: 14px; overflow: hidden; background: var(--ink); color: #fff; }
.fsts-feat__img { display: flex; align-items: center; justify-content: center; height: 128px; background: #2b374a; color: #ffffff80; }
.fsts-feat__img .fsts-i { width: 44px; height: 44px; stroke-width: 1.4; }
.fsts-feat > .fsts-badge { position: absolute; left: 12px; top: 12px; }
.fsts-feat__body { display: flex; flex-direction: column; gap: 12px; flex: 1 1 auto; padding: 18px 20px 20px; }
.fsts-feat__t { font: 500 24px/1.12 var(--fc); color: #fff; }
.fsts-feat__dl > div { padding: 10px 0; border-top: 1px solid #ffffff1a; }
.fsts-feat__dl dt { font: 700 12px/1.3 var(--fb); color: #8c96a5; }
.fsts-feat__dl dd { margin-top: 3px; font: 500 18px/1.2 var(--fc); color: #fff; }
.fsts-feat__list li + li { border-top: 1px solid #ffffff1a; }
.fsts-feat__list a { display: flex; align-items: center; gap: 12px; padding: 9px 0; font: 500 17.5px/1.2 var(--fc); color: #fff; }
.fsts-feat__list a:hover { color: #5fd3da; }
.fsts-feat__cta { display: flex; flex-direction: column; gap: 8px; margin-top: auto; padding-top: 4px; }
.fsts-feat__cta .fsts-btn { width: 100%; }
.fsts-feat__link { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 30px; font: 700 13px/1.3 var(--fb); color: #fff; }
.fsts-feat__link .fsts-i { width: 15px; height: 15px; }
.fsts-feat__link:hover { text-decoration: underline; }

/* Bộ chọn giai đoạn (trang tổng) dạng rail */
.fsts-stage { display: flex; flex-direction: column; gap: 4px; padding: 20px 12px 14px; border-radius: 16px; background: var(--bg); }
.fsts-stage__t { padding: 0 8px; font: 600 24px/1.05 var(--fd); letter-spacing: .5px; text-transform: uppercase; color: var(--a); }
.fsts-stage__s { padding: 0 8px 8px; font-size: 13px; color: var(--mut); }
.fsts-stage > .fsts-more { margin-top: auto; padding: 12px 10px 2px; border-top: 1px solid var(--line); }
@media (min-width: 866px) { .fsts-hero--hub .fsts-hero__grid { grid-template-columns: minmax(0, 1fr) 340px; } }

/* ---------- Tab (fstn-tab) – dùng cho rail mục lục và bộ chọn giai đoạn ---------- */
.fsts-tabs { display: flex; flex-direction: column; gap: 3px; }
.fsts-tab { position: relative; display: grid; grid-template-columns: 36px minmax(0, 1fr) 14px; align-items: center; gap: 10px; min-height: 52px; padding: 6px 8px; border-radius: 12px; color: var(--ink2); transition: background-color .15s, color .15s, box-shadow .15s; }
.fsts-tab::after { content: ""; width: 14px; height: 14px; background: var(--teal); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat; opacity: 0; transition: opacity .15s; }
.fsts-tab:hover { background: #ffffffbf; color: var(--ink); }
.fsts-tab[aria-current="true"] { background: #fff; color: var(--ink); box-shadow: var(--sh); }
.fsts-tab[aria-current="true"]::after, .fsts-tab:hover::after { opacity: 1; }
.fsts-tab__tx { display: flex; flex-direction: column; min-width: 0; }
.fsts-tab__l { font: 500 18px/1.1 var(--fc); }
.fsts-tab__c { margin-top: 3px; font: 400 12px/1.25 var(--fb); color: var(--mut2); }

/* ---------- Khung mục ---------- */
.fsts-sec { padding: 56px 0; }
.fsts-sec--bg { background: var(--bg); border-top: 1px solid var(--line2); border-bottom: 1px solid var(--line2); }
.fsts-ph { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding: 0 0 12px; margin-bottom: 18px; border-bottom: 1px solid var(--line2); }
.fsts-ph__tx { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.fsts-ph__t { font: 600 clamp(25px, 2.6vw, 30px)/1.05 var(--fd); letter-spacing: .6px; text-transform: uppercase; color: var(--ink); }
.fsts-ph__s { font: 400 13.5px/1.45 var(--fb); color: var(--mut); }
.fsts-sec--bg .fsts-ph { border-bottom-color: var(--line); }

/* ---------- Bố cục trang chi tiết: rail + nội dung (như panel 262px | nội dung) ---------- */
.fsts-body { padding: 24px 0 48px; }
.fsts-layout { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
.fsts-rail { min-width: 0; }
.fsts-rail__in { display: flex; flex-direction: column; gap: 10px; padding: 14px 10px 12px; border-radius: 16px; background: var(--bg); }
.fsts-rail__n { padding: 4px 8px 0; font: 600 22px/1.05 var(--fd); letter-spacing: .5px; text-transform: uppercase; color: var(--a); }
.fsts-rail .fsts-tabs { flex-direction: row; overflow-x: auto; scrollbar-width: none; gap: 6px; }
.fsts-rail .fsts-tabs::-webkit-scrollbar { display: none; }
.fsts-rail .fsts-tabs > li { flex: 0 0 auto; }
.fsts-rail .fsts-tab { grid-template-columns: 36px auto; min-height: 48px; padding: 6px 12px 6px 6px; background: #fff; white-space: nowrap; }
.fsts-rail .fsts-tab::after { display: none; }
.fsts-rail .fsts-tab__c { display: none; }
.fsts-rail > .fsts-rail__in > .fsts-more { display: none; }
@media (min-width: 866px) {
	.fsts-layout { grid-template-columns: 262px minmax(0, 1fr); gap: 32px; align-items: start; }
	.fsts-rail { position: sticky; top: 24px; }
	.fsts-rail__in { padding: 18px 12px 14px; }
	.fsts-rail .fsts-tabs { flex-direction: column; overflow: visible; gap: 3px; }
	.fsts-rail .fsts-tab { grid-template-columns: 36px minmax(0, 1fr) 14px; padding: 6px 8px; background: transparent; white-space: normal; }
	.fsts-rail .fsts-tab[aria-current="true"] { background: #fff; }
	.fsts-rail .fsts-tab::after { display: block; }
	.fsts-rail .fsts-tab__c { display: block; }
	.fsts-rail > .fsts-rail__in > .fsts-more { display: inline-flex; margin-top: 4px; padding: 12px 10px 2px; border-top: 1px solid var(--line); }
}
body.admin-bar .fsts-rail { top: 56px; }

.fsts-panes { min-width: 0; display: flex; flex-direction: column; gap: 44px; padding-top: 4px; }

/* Cảnh báo / thách thức: khối vàng của mega menu (fstn-sec) */
.fsts-warn { display: grid; gap: 10px; }
.fsts-warn li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; padding: 14px 16px; border-radius: 12px; background: #fff7e3; }
.fsts-warn .fsts-ico { background: #fff; color: #8A5A00; }
.fsts-warn__t { font: 500 19px/1.2 var(--fc); color: #4a3200; margin-bottom: 4px; }
.fsts-warn p { font-size: 13.5px; line-height: 1.55; color: #5c4a22; }
@media (min-width: 760px) { .fsts-warn--grid { grid-template-columns: 1fr 1fr; } }

/* Danh sách giàu (fstn-l--rich) */
.fsts-list { display: grid; gap: 4px 8px; }
.fsts-list li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: start; padding: 12px; border-radius: 10px; }
.fsts-list__t { font: 500 18.5px/1.2 var(--fc); color: var(--ink); margin-bottom: 3px; }
.fsts-list__d { font-size: 13.5px; line-height: 1.5; color: var(--mut); }
@media (min-width: 700px) { .fsts-list { grid-template-columns: 1fr 1fr; } }

.fsts-rich { display: grid; gap: 4px 8px; }
.fsts-rich__a { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr) 14px; gap: 12px; align-items: start; height: 100%; padding: 12px; border-radius: 10px; transition: background-color .15s; }
.fsts-rich__a::after { content: ""; width: 14px; height: 14px; margin-top: 4px; background: var(--teal); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat; opacity: 0; transition: opacity .15s, transform .15s; }
.fsts-rich__a:hover { background: var(--bg); }
.fsts-rich__a:hover::after { opacity: 1; transform: translateX(2px); }
.fsts-rich__tx { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.fsts-rich__t { font: 500 18.5px/1.2 var(--fc); color: var(--ink); transition: color .15s; }
.fsts-rich__a:hover .fsts-rich__t { color: var(--teal); }
.fsts-rich__d { font-size: 13.5px; line-height: 1.5; color: var(--mut); }
@media (min-width: 700px) { .fsts-rich { grid-template-columns: 1fr 1fr; } }

/* Thẻ giải pháp trên trang tổng */
.fsts-rich--svc { gap: 12px; }
.fsts-rich--svc .fsts-rich__a { grid-template-columns: 48px minmax(0, 1fr) 14px; gap: 16px; padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: border-color .15s, box-shadow .15s, opacity .25s; }
.fsts-rich--svc .fsts-rich__a:hover { background: #fff; border-color: transparent; box-shadow: var(--sh-lg), 0 0 0 1px var(--line); }
.fsts-rich--svc .fsts-rich__t { font-size: 22px; }
.fsts-rich__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.fsts-rich__tags span { padding: 3px 9px; border-radius: 999px; background: var(--bg); font: 400 12px/1.4 var(--fb); color: var(--ink2); }
.fsts-rich__i:target .fsts-rich__a { border-color: var(--a); }
.fsts-rich__i.is-dim .fsts-rich__a { opacity: .35; }
.fsts-rich__i.is-match .fsts-rich__a { border-color: var(--a); box-shadow: 0 0 0 1px var(--a); }
.fsts-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: -6px 0 14px; padding: 10px 14px; border-radius: 12px; background: var(--at); font-size: 13.5px; color: var(--ink); }
.fsts-filter[hidden] { display: none; }
.fsts-filter__clear { appearance: none; border: 0; background: none; padding: 0; font: 700 13.5px/1.3 var(--fb); color: var(--teal); cursor: pointer; }
.fsts-filter__clear:hover { text-decoration: underline; }

/* Ô ngành trên trang tổng */
.fsts-tiles { display: grid; gap: 12px; }
.fsts-tile { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 20px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--line); transition: box-shadow .15s; }
.fsts-tile:hover { box-shadow: var(--sh-lg), 0 0 0 1px var(--line); }
.fsts-tile__t { margin-top: 4px; font: 500 22px/1.15 var(--fc); color: var(--ink); }
.fsts-tile:hover .fsts-tile__t { color: var(--teal); }
.fsts-tile__d { font-size: 13.5px; line-height: 1.5; color: var(--mut); }
.fsts-tile__m { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line2); font: 400 12.5px/1.3 var(--fb); color: var(--mut2); }
.fsts-tile__m::before { content: ""; width: 8px; height: 8px; border-radius: 99px; background: var(--a); }
.fsts-tiles li:target .fsts-tile { box-shadow: 0 0 0 2px var(--a); }
@media (min-width: 600px) { .fsts-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .fsts-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Bước hợp tác / Quy trình */
.fsts-steps { display: grid; gap: 12px; }
.fsts-steps__i { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: 14px; background: var(--bg); }
.fsts-steps__n { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-bottom: 6px; border-radius: 10px; background: var(--a); color: #fff; font: 600 20px/1 var(--fd); letter-spacing: .5px; }
.fsts-steps__t { font: 500 20px/1.15 var(--fc); }
.fsts-steps__d { font-size: 13.5px; line-height: 1.5; color: var(--mut); }
@media (min-width: 700px) { .fsts-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) {
	.fsts-steps { grid-template-columns: repeat(5, minmax(0, 1fr)); }
	.fsts-steps__i:not(:last-child)::after { content: ""; position: absolute; top: 37px; right: -9px; width: 6px; height: 6px; border-top: 2px solid var(--line3); border-right: 2px solid var(--line3); transform: rotate(45deg); }
}

.fsts-flow { display: flex; flex-direction: column; gap: 8px; counter-reset: f; }
.fsts-flow__i { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 4px 14px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.fsts-flow__i:not(:last-child)::before { content: ""; position: absolute; left: 33px; top: 54px; bottom: -9px; width: 2px; background: var(--at); }
.fsts-flow__n { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; background: var(--at); color: var(--a); font: 600 20px/1 var(--fd); letter-spacing: .5px; }
.fsts-flow__c { min-width: 0; }
.fsts-flow__t { font: 500 19px/1.2 var(--fc); margin: 1px 0 3px; }
.fsts-flow__d { font-size: 13.5px; line-height: 1.5; color: var(--mut); }
.fsts-flow__o { grid-column: 2; justify-self: start; display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; padding: 4px 10px; border-radius: 999px; background: var(--tint); font: 700 12.5px/1.35 var(--fb); color: var(--teal-d); }
.fsts-flow__o span { font-weight: 400; color: var(--teal); }
.fsts-flow__o .fsts-i { width: 14px; height: 14px; }
.fsts-flow__o--param { align-items: flex-start; border-radius: 10px; background: var(--at); color: var(--a); }
.fsts-flow__o--param .fsts-i { margin-top: 2px; }
@media (min-width: 1000px) {
	.fsts-flow__i { grid-template-columns: 40px minmax(0, 1fr) minmax(180px, 34%); align-items: center; }
	.fsts-flow__o { grid-column: 3; margin-top: 0; justify-self: end; }
}

/* Thông số / 7 nguyên tắc */
.fsts-specs { display: grid; gap: 8px; }
.fsts-specs > div { padding: 14px 16px; border-radius: 12px; background: var(--bg); }
.fsts-specs dt { font: 500 19px/1.2 var(--fc); color: var(--a); }
.fsts-specs dd { margin-top: 3px; font-size: 13.5px; color: var(--mut); }
@media (min-width: 640px) { .fsts-specs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .fsts-specs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.fsts-seven { display: grid; gap: 8px; }
.fsts-seven li { display: flex; align-items: center; gap: 12px; padding: 8px 14px 8px 8px; border-radius: 12px; background: var(--bg); font: 500 18px/1.2 var(--fc); }
.fsts-seven__n { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 36px; height: 36px; border-radius: 10px; background: var(--a); color: #fff; font: 600 19px/1 var(--fd); }
@media (min-width: 700px) { .fsts-seven { grid-template-columns: 1fr 1fr; } }

/* Bàn giao */
.fsts-deliver { display: grid; gap: 12px; }
.fsts-box { padding: 18px 20px; border-radius: 14px; background: var(--bg); }
.fsts-sec-amber { padding: 14px 14px 16px; border-radius: 12px; background: #fff7e3; }
.fsts-sec-amber__l { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font: 700 13px/1.3 var(--fb); color: #6b4700; }
.fsts-sec-amber__l .fsts-i { width: 16px; height: 16px; }

/* Liên kết dạng mục menu (fstn-l) */
.fsts-links { display: grid; gap: 2px 8px; }
.fsts-link { position: relative; display: grid; grid-template-columns: 36px minmax(0, 1fr) 14px; gap: 10px; align-items: center; min-height: 50px; padding: 6px 10px; border-radius: 10px; transition: background-color .15s; }
.fsts-link::after { content: ""; width: 14px; height: 14px; background: var(--teal); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat; opacity: 0; transition: opacity .15s, transform .15s; }
.fsts-link__t { font: 500 18px/1.2 var(--fc); color: var(--ink); transition: color .15s; }
.fsts-link:hover { background: var(--bg); }
.fsts-link:hover .fsts-link__t { color: var(--teal); }
.fsts-link:hover::after { opacity: 1; transform: translateX(2px); }
@media (min-width: 640px) { .fsts-links { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fsts-links--1 { grid-template-columns: 1fr; } }
@media (min-width: 1100px) { .fsts-links { grid-template-columns: repeat(3, minmax(0, 1fr)); } .fsts-links--1 { grid-template-columns: 1fr; } }

/* Bảng chỉ tiêu */
.fsts-table { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.fsts-table table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.fsts-table thead th { padding: 12px 16px; background: var(--bg); border-bottom: 1px solid var(--line); text-align: left; font: 700 12.5px/1.3 var(--fb); color: var(--mut); }
.fsts-table tbody tr + tr { border-top: 1px solid var(--line2); }
.fsts-table tbody tr:hover { background: #fbfcfd; }
.fsts-table tbody th, .fsts-table td { padding: 12px 16px; text-align: left; vertical-align: top; line-height: 1.5; }
.fsts-table tbody th { width: 27%; font: 500 18px/1.25 var(--fc); color: var(--ink); }
.fsts-table td { color: var(--ink2); }
.fsts-table__a { width: 90px; white-space: nowrap; }
@media (max-width: 759px) {
	.fsts-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.fsts-table table, .fsts-table tbody, .fsts-table tr, .fsts-table th, .fsts-table td { display: block; width: auto !important; }
	.fsts-table tbody tr { padding: 12px 14px; }
	.fsts-table tbody th, .fsts-table td { padding: 2px 0; }
	.fsts-table td[data-label]::before { content: attr(data-label) ": "; font-weight: 700; color: var(--ink); }
	.fsts-table__a:empty { display: none !important; }
}
.fsts-note { display: flex; align-items: flex-start; gap: 8px; margin-top: 12px; font-size: 12.5px; line-height: 1.5; color: var(--mut2); }
.fsts-note .fsts-i { width: 14px; height: 14px; margin-top: 2px; }

/* Tài nguyên */
.fsts-res { display: grid; gap: 12px; align-items: start; }
.fsts-res__line { display: flex; flex-direction: column; gap: 8px; padding: 20px; border-radius: 14px; background: var(--at); }
.fsts-res__t { margin-top: 4px; font: 500 22px/1.15 var(--fc); color: var(--ink); }
.fsts-res__d { font-size: 13.5px; line-height: 1.5; color: var(--ink2); }
.fsts-res__line .fsts-ico { background: #fff; }
@media (min-width: 900px) { .fsts-res { grid-template-columns: 300px minmax(0, 1fr); } }

/* Hệ sinh thái (màu từng mảng của mega menu) */
.fsts-eco { display: grid; gap: 12px; }
.fsts-eco__a { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 22px; border-radius: 14px; background: var(--at); transition: box-shadow .15s; }
.fsts-eco__a .fsts-ico { background: #fff; }
.fsts-eco__t { margin-top: 6px; font: 600 26px/1 var(--fd); letter-spacing: .5px; text-transform: uppercase; color: var(--a); }
.fsts-eco__d { font-size: 13.5px; line-height: 1.55; color: var(--ink2); }
.fsts-eco__a .fsts-more { margin-top: auto; padding-top: 6px; color: var(--a); }
.fsts-eco__a:hover { box-shadow: var(--sh); }
@media (min-width: 860px) { .fsts-eco { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Hỏi đáp */
.fsts-faqwrap { display: grid; gap: 18px; }
.fsts-faqwrap > div:first-child .fsts-ph { border: 0; margin-bottom: 8px; }
@media (min-width: 900px) { .fsts-faqwrap { grid-template-columns: 340px minmax(0, 1fr); gap: 40px; } }
.fsts-faq { display: flex; flex-direction: column; gap: 8px; }
.fsts-faq__i { border-radius: 12px; background: var(--bg); transition: background-color .15s, box-shadow .15s; }
.fsts-faq__i[open] { background: #fff; box-shadow: var(--sh), 0 0 0 1px var(--line2); }
.fsts-faq__i summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; cursor: pointer; list-style: none; }
.fsts-faq__i summary::-webkit-details-marker { display: none; }
.fsts-faq__q { font: 500 18.5px/1.25 var(--fc); color: var(--ink); }
.fsts-faq__i summary:hover .fsts-faq__q { color: var(--teal); }
.fsts-faq__ic { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 30px; height: 30px; border-radius: 8px; background: #fff; color: var(--teal); }
.fsts-faq__ic .fsts-i { width: 16px; height: 16px; stroke-width: 2.4; transition: transform .2s; }
.fsts-faq__i[open] .fsts-faq__ic { background: var(--tint); }
.fsts-faq__i[open] .fsts-faq__ic .fsts-i { transform: rotate(180deg); }
.fsts-faq__a { padding: 0 16px 16px; font-size: 14px; line-height: 1.65; color: var(--ink2); max-width: 75ch; }

/* Khối liên hệ: thẻ tối bo tròn */
.fsts-cta { padding: 8px 0 48px; }
.fsts-cta__card { display: grid; gap: 24px; padding: 28px 22px; border-radius: 16px; background: var(--ink); color: #fff; }
.fsts-cta__main { display: flex; flex-direction: column; gap: 14px; }
.fsts-cta__t { font: 600 clamp(28px, 3.2vw, 38px)/1.05 var(--fd); letter-spacing: .6px; text-transform: uppercase; color: #fff; max-width: 22ch; }
.fsts-cta__p { font-size: 14px; line-height: 1.6; color: #c5cbd3; max-width: 56ch; }
.fsts-cta__prep { display: flex; flex-direction: column; gap: 12px; padding: 18px; border-radius: 14px; background: #ffffff0d; }
.fsts-cta__pt { font: 700 13px/1.3 var(--fb); color: #fff; }
.fsts-cta__hot { display: flex; align-items: center; gap: 10px; margin-top: 4px; padding-top: 12px; border-top: 1px solid #ffffff1a; }
.fsts-cta__hi { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 999px; background: #ffffff14; color: #5fd3da; }
.fsts-cta__hot small { display: block; font: 700 12px/1.2 var(--fb); color: #8c96a5; }
.fsts-cta__hot strong { display: block; font: 500 21px/1.1 var(--fc); letter-spacing: .3px; color: #fff; }
@media (min-width: 866px) { .fsts-cta__card { grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; padding: 40px 44px; align-items: center; } }

/* Dải chân (fstn-foot) */
.fsts-foot { background: #fbfcfd; border-top: 1px solid var(--line2); }
.fsts-foot__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; min-height: 52px; padding-top: 10px; padding-bottom: 10px; }
.fsts-foot__t { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink2); }
.fsts-foot__t::before { content: ""; flex: 0 0 auto; width: 8px; height: 8px; border-radius: 99px; background: var(--a); }

/* Nội dung soạn thêm */
.fsts-prose { max-width: 75ch; font-size: 15px; color: var(--ink2); }
.fsts-prose > * + * { margin-top: 1em; }
.fsts-prose ul { list-style: disc; padding-left: 1.3em; }
.fsts-prose a { color: var(--teal); text-decoration: underline; }

/* ---------- Điện thoại ---------- */
@media (max-width: 599px) {
	.fsts-wrap { padding: 0 16px; }
	.fsts-btns .fsts-btn { flex: 1 1 100%; }
	.fsts-sec { padding: 40px 0; }
	.fsts-ph { flex-wrap: wrap; align-items: flex-start; }
	.fsts-hero__mark .fsts-i { width: 220px; height: 220px; }
	.fsts-feat__img { height: 88px; }
}

@media (prefers-reduced-motion: reduce) {
	.fsts *, .fsts *::before, .fsts *::after { transition: none !important; animation: none !important; }
}
@media print {
	.fsts-rail, .fsts-btns, .fsts-cta, .fsts-foot, .fsts-feat__cta { display: none !important; }
	.fsts-layout { display: block; }
}

/* =========================================================
 * 1.2 – Lab & Vật tư, Dây chuyền & Thiết bị
 * ========================================================= */
.fsts-feat__p { font-size: 13px; line-height: 1.55; color: #c5cbd3; }
.fsts-rich__k { font: 700 11.5px/1.2 var(--fb); color: var(--a); }
.fsts-rich--card { gap: 12px; }
.fsts-rich--card .fsts-rich__a { padding: 18px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.fsts-rich--card .fsts-rich__a:hover { background: #fff; box-shadow: var(--sh-lg), 0 0 0 1px var(--line); }
.fsts-rich--card .fsts-rich__t { font-size: 21px; }
.fsts-rich__i:target .fsts-rich__a { box-shadow: 0 0 0 2px var(--a); }
@media (min-width: 1000px) { .fsts-tiles--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.fsts-tile--dark { background: var(--ink); box-shadow: none; }
.fsts-tile--dark .fsts-ico { background: #ffffff14; color: #fff; }
.fsts-tile--dark .fsts-tile__t, .fsts-tile--dark:hover .fsts-tile__t { color: #fff; }
.fsts-tile--dark .fsts-tile__d { color: #c5cbd3; }
.fsts-tile--dark .fsts-more { margin-top: auto; color: #5fd3da; }

/* Lưới chỉ tiêu (giống chip mega menu nhưng có dòng phương pháp) */
.fsts-tests { display: grid; gap: 8px; }
.fsts-test { display: flex; align-items: center; gap: 12px; height: 100%; padding: 10px 14px 10px 10px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px var(--line); transition: box-shadow .15s; }
.fsts-test:hover { box-shadow: 0 0 0 1px var(--a), var(--sh); }
.fsts-test__tx { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.fsts-test__t { font: 500 18.5px/1.15 var(--fc); color: var(--ink); }
.fsts-test:hover .fsts-test__t { color: var(--a); }
.fsts-test__m { font-size: 12px; line-height: 1.35; color: var(--mut2); }
.fsts-tests li:target .fsts-test { box-shadow: 0 0 0 2px var(--a); }
@media (min-width: 600px) { .fsts-tests { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .fsts-tests { grid-template-columns: repeat(5, minmax(0, 1fr)); } .fsts-tests--beer { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.fsts-sec-amber--beer { margin-top: 14px; }
.fsts-sec-amber--beer .fsts-test { box-shadow: 0 0 0 1px #f3d27a; }

/* Các bước 4 cột, bước có liên kết */
@media (min-width: 1000px) { .fsts-steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.fsts-steps__i--link { padding: 0; }
.fsts-steps__i--link > a { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 18px; border-radius: 14px; transition: background-color .15s, box-shadow .15s; }
.fsts-steps__i--link > a:hover { background: #fff; box-shadow: var(--sh), 0 0 0 1px var(--line); }
.fsts-steps__i--link .fsts-more { margin-top: auto; padding-top: 6px; }
.fsts-steps__i--link:target > a { box-shadow: 0 0 0 2px var(--a); }

/* Sản phẩm WooCommerce */
.fsts-prods { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 760px) { .fsts-prods { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .fsts-prods { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.fsts-prod { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 10px 10px 14px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--line); transition: box-shadow .15s; }
.fsts-prod:hover { box-shadow: var(--sh-lg), 0 0 0 1px var(--line); }
.fsts-prod__img { display: block; aspect-ratio: 1; max-width: 100%; border-radius: 10px; overflow: hidden; background: var(--bg); }
.fsts-prod__img img { display: block; width: 100%; height: 100%; object-fit: contain; }
.fsts-prod__t { padding: 0 4px; font: 500 17.5px/1.2 var(--fc); color: var(--ink); }
.fsts-prod:hover .fsts-prod__t { color: var(--teal); }
.fsts-prod__s { padding: 0 4px; font-size: 12px; color: var(--mut2); }
.fsts-prod__p { margin-top: auto; padding: 4px 4px 0; font: 700 13.5px/1.3 var(--fb); color: var(--a); }
.fsts-prods__all { margin-top: 12px; }
.fsts-empty { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; padding: 18px 20px; border-radius: 14px; background: var(--at); }
.fsts-empty > div { flex: 1 1 260px; min-width: 0; }
.fsts-empty .fsts-ico { background: #fff; }
.fsts-empty__t { font: 500 20px/1.2 var(--fc); color: var(--ink); }
.fsts-empty__d { margin-top: 3px; font-size: 13.5px; color: var(--ink2); }

/* Hãng phân phối */
.fsts-brands { display: grid; gap: 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 760px) { .fsts-brands { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.fsts-brand { display: flex; flex-direction: column; gap: 3px; height: 100%; padding: 14px 16px; border-radius: 12px; background: var(--bg); }
a.fsts-brand:hover { background: var(--at); }
.fsts-brand__n { font: 600 21px/1.1 var(--fd); letter-spacing: .4px; text-transform: uppercase; color: var(--ink); }
.fsts-brand__g { font-size: 12.5px; color: var(--mut); }

/* Danh mục hàng (groups) + ô chọn */
.fsts-pickhint { display: none; align-items: center; gap: 8px; margin-bottom: 12px; padding: 9px 12px; border-radius: 10px; background: var(--at); font-size: 13px; color: var(--ink); }
.fsts-pickhint .fsts-i { width: 16px; height: 16px; color: var(--a); stroke-width: 2.4; }
.fsts.is-js .fsts-pickhint { display: flex; }
.fsts-groups { display: grid; gap: 12px; }
@media (min-width: 760px) { .fsts-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; } }
.fsts-grp { padding: 14px 10px 8px; border-radius: 14px; background: var(--bg); }
.fsts-grp__t { display: flex; align-items: center; gap: 10px; padding: 0 6px 10px; font: 600 21px/1.1 var(--fd); letter-spacing: .4px; text-transform: uppercase; color: var(--ink); }
.fsts-grp__t > span:nth-child(2) { flex: 1; }
.fsts-grp__n { display: inline-flex; align-items: center; justify-content: center; min-width: 26px; height: 22px; padding: 0 7px; border-radius: 999px; background: #fff; font: 700 12px/1 var(--fb); letter-spacing: 0; color: var(--mut); }
.fsts-grp__l { display: flex; flex-direction: column; gap: 2px; }
.fsts-gi__l { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; padding: 8px 8px; border-radius: 10px; transition: background-color .15s; }
.fsts-gi__dot { width: 6px; height: 6px; margin: 8px 0 0 8px; border-radius: 99px; background: var(--a); }
.fsts-gi__tx { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.fsts-gi__t { font: 500 17px/1.2 var(--fc); color: var(--ink); }
.fsts-gi__d { font-size: 12.5px; line-height: 1.45; color: var(--mut); }
.fsts-gi__cb { position: absolute; opacity: 0; width: 1px; height: 1px; }
.fsts-gi__box { display: none; }
.fsts.is-js label.fsts-gi__l { cursor: pointer; }
.fsts.is-js label.fsts-gi__l:hover { background: #fff; }
.fsts.is-js .fsts-gi__box { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; margin-top: 1px; border: 1.5px solid var(--line3); border-radius: 6px; background: #fff; color: transparent; transition: background-color .15s, border-color .15s; }
.fsts-gi__box .fsts-i { width: 14px; height: 14px; stroke-width: 3; }
.fsts-gi__cb:checked + .fsts-gi__box { border-color: var(--ab); background: var(--ab); color: var(--abi); }
.fsts-gi__cb:focus-visible + .fsts-gi__box { outline: 2px solid var(--teal); outline-offset: 2px; }
.fsts:not(.is-js) label.fsts-gi__l { grid-template-columns: minmax(0, 1fr); gap: 0; }
.fsts-gi__l:has(.fsts-gi__cb:checked) { background: #fff; box-shadow: 0 0 0 1px var(--ab); }

/* Thanh danh sách chọn */
.fsts-pickbar { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -12px 30px -18px #19202d59; animation: fsts-up .2s ease-out; }
.fsts-pickbar[hidden] { display: none; }
.fsts-pickbar__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; max-width: 1200px; margin: 0 auto; }
.fsts-pickbar__n { font: 500 19px/1.2 var(--fc); color: var(--ink); }
.fsts-pickbar__c { display: inline-flex; align-items: center; justify-content: center; min-width: 30px; height: 26px; margin-right: 6px; padding: 0 8px; border-radius: 999px; background: var(--ab); color: var(--abi); font: 700 13px/1 var(--fb); }
.fsts-pickbar__a { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.fsts-pickbar__b { appearance: none; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border: 1px solid var(--line3); border-radius: 10px; background: #fff; font: 700 13px/1 var(--fb); color: var(--ink2); cursor: pointer; }
.fsts-pickbar__b:hover { border-color: var(--teal); color: var(--teal); }
.fsts-pickbar__b .fsts-i { width: 15px; height: 15px; }
.fsts-pickbar__list { max-width: 1200px; max-height: 40vh; margin: 10px auto 0; overflow: auto; padding: 12px 14px; border-radius: 12px; background: var(--bg); }
.fsts-pickbar__list[hidden] { display: none; }
.fsts-pickbar__list ol { list-style: decimal; padding-left: 22px; font-size: 13.5px; line-height: 1.6; color: var(--ink2); }
.fsts-pickbar__list small { color: var(--mut2); }
@keyframes fsts-up { from { transform: translateY(100%); } }
body.fsts-picking { padding-bottom: 76px; }
@media (max-width: 865px) {
	body.fstn-has-ab .fsts-pickbar { bottom: calc(70px + env(safe-area-inset-bottom, 0px)); padding-bottom: 10px; }
	body.fstn-has-ab.fsts-picking { padding-bottom: 150px; }
	.fsts-pickbar__b span { display: none; }
	.fsts-pickbar__a .fsts-btn { flex: 1 1 auto; }
}
.fsts-chip--link.is-cur { border-color: var(--a); background: var(--at); color: var(--a); }

/* =========================================================
 * 1.3 – Trang ngành 4 thẻ, bộ tra cứu, khối thu gọn, xem trước
 * ========================================================= */

/* Cấp tiêu đề lồng nhau */
.fsts-ph--h3 .fsts-ph__t { font-size: clamp(22px, 2.2vw, 25px); }
.fsts-ph--h4 .fsts-ph__t { font-size: 21px; letter-spacing: .5px; }
.fsts-ph--h4 { margin-bottom: 14px; padding-bottom: 10px; }
.fsts-badge--a { background: var(--at); color: var(--a); }

/* Thanh xem trước bản nháp */
.fsts-prev { background: #FFF4D6; border-bottom: 1px solid #f3d27a; }
.fsts-prev__in { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; min-height: 44px; padding-top: 8px; padding-bottom: 8px; font-size: 13.5px; color: #4a3200; }
.fsts-prev__in strong { padding: 2px 8px; border-radius: 6px; background: #FDBD21; color: #19202D; }
.fsts-prev__in a { margin-left: auto; font-weight: 700; color: #6b4700; text-decoration: underline; }

/* Liên kết có mô tả, liên kết sản phẩm trong danh mục */
.fsts-link__tx { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.fsts-link__d { font-size: 12.5px; line-height: 1.45; color: var(--mut); }
.fsts-links--ext .fsts-link { align-items: start; padding-top: 8px; padding-bottom: 8px; }
.fsts-gi { display: flex; align-items: flex-start; gap: 4px; }
.fsts-gi > .fsts-gi__l { flex: 1 1 auto; min-width: 0; }
.fsts-gi__p { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 34px; height: 34px; margin-top: 2px; border-radius: 9px; color: var(--a); }
.fsts-gi__p:hover { background: #fff; }
.fsts-gi__p .fsts-i { width: 16px; height: 16px; }
.fsts-groups--1 { grid-template-columns: minmax(0, 1fr) !important; }
.fsts-groups--1 .fsts-grp__l { display: grid; gap: 2px 12px; }
@media (min-width: 760px) { .fsts-groups--1 .fsts-grp__l { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.fsts-gi.is-hit > .fsts-gi__l, .fsts-table tr.is-hit { background: #FFF4D6; box-shadow: 0 0 0 1px #f3d27a; }

/* Khối thu gọn */
.fsts-pane--fold { border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.fsts-pane--fold > summary { position: relative; display: block; padding: 16px 64px 4px 18px; cursor: pointer; list-style: none; }
.fsts-pane--fold > summary::-webkit-details-marker { display: none; }
.fsts-pane--fold > summary .fsts-ph { margin-bottom: 0; padding-bottom: 12px; border-bottom: 0; }
.fsts-pane--fold > summary:hover .fsts-ph__t { color: var(--teal); }
.fsts-fold__ic { position: absolute; right: 16px; top: 16px; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 8px; background: var(--bg); color: var(--teal); }
.fsts-fold__ic .fsts-i { width: 16px; height: 16px; stroke-width: 2.4; transition: transform .2s; }
.fsts-pane--fold[open] .fsts-fold__ic .fsts-i { transform: rotate(180deg); }
.fsts-pane--fold[open] > summary .fsts-ph { border-bottom: 1px solid var(--line2); margin-bottom: 4px; }
.fsts-fold__b { padding: 12px 18px 18px; }

/* ---------- Trang ngành: thanh 4 thẻ ---------- */
.fsts-itabs { position: sticky; top: 0; z-index: 30; background: #fffffff5; border-bottom: 1px solid var(--line); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
body.admin-bar .fsts-itabs { top: 32px; }
@media (max-width: 782px) { body.admin-bar .fsts-itabs { top: 0; } }
.fsts-itabs__l { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.fsts-itabs__l::-webkit-scrollbar { display: none; }
.fsts-itabs__l > li { flex: 1 0 auto; }
.fsts-itab { position: relative; display: flex; align-items: center; gap: 10px; min-height: 64px; padding: 10px 14px 10px 8px; color: var(--ink2); white-space: nowrap; transition: color .15s, background-color .15s; }
.fsts-itab::after { content: ""; position: absolute; left: 8px; right: 8px; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--ab); opacity: 0; transition: opacity .15s; }
.fsts-itab:hover { color: var(--ink); background: var(--bg); }
.fsts-itab[aria-selected="true"] { color: var(--ink); }
.fsts-itab[aria-selected="true"]::after { opacity: 1; }
.fsts-itab[aria-selected="true"] .fsts-ico { background: var(--ab); color: var(--abi); }
.fsts-itab__tx { display: flex; flex-direction: column; min-width: 0; }
.fsts-itab__l { font: 500 19px/1.1 var(--fc); }
.fsts-itab__c { margin-top: 2px; font: 400 12px/1.2 var(--fb); color: var(--mut2); }
@media (max-width: 699px) {
	.fsts-itab { min-height: 56px; gap: 8px; padding-right: 10px; }
	.fsts-itab__c { display: none; }
	.fsts-itab .fsts-ico { width: 32px; height: 32px; }
	.fsts-itab .fsts-ico .fsts-i { width: 16px; height: 16px; }
}

.fsts-ipanel { padding: 32px 0 44px; }
.fsts-ipanel + .fsts-ipanel { border-top: 1px solid var(--line2); }
.fsts.has-tabs .fsts-ipanel + .fsts-ipanel { border-top: 0; }
.fsts-ipanel:focus { outline: none; }
.fsts-ipanel__in { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1000px) { .fsts-ipanel__in { grid-template-columns: minmax(0, 1fr) 280px; gap: 40px; align-items: start; } }
.fsts-ipanel__main { min-width: 0; display: flex; flex-direction: column; gap: 44px; }
.fsts-ipanel__k { display: flex; align-items: center; gap: 12px; margin-bottom: -16px; font: 600 26px/1 var(--fd); letter-spacing: .5px; text-transform: uppercase; color: var(--a); }
.fsts.has-tabs .fsts-ipanel__k { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: 0; }
.fsts-ipanel__side { min-width: 0; }
@media (min-width: 1000px) { .fsts-ipanel__side { position: sticky; top: 92px; } body.admin-bar .fsts-ipanel__side { top: 124px; } }
.fsts-iside { display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: 16px; background: var(--bg); }
.fsts-iside__t { padding: 0 4px; font: 700 12px/1.3 var(--fb); color: var(--mut); }
.fsts-iside__toc { display: flex; flex-direction: column; gap: 2px; counter-reset: t; }
.fsts-iside__toc a { position: relative; display: block; padding: 7px 10px 7px 34px; border-radius: 10px; font: 500 17px/1.2 var(--fc); color: var(--ink2); counter-increment: t; }
.fsts-iside__toc a::before { content: counter(t, decimal-leading-zero); position: absolute; left: 10px; top: 9px; font: 600 13px/1 var(--fd); color: var(--a); }
.fsts-iside__toc a:hover { background: #fff; color: var(--teal); }
.fsts-iside__cta { display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.fsts-iside__ct { font: 500 20px/1.15 var(--fc); color: var(--ink); }
.fsts-iside__cta .fsts-btn { width: 100%; }
@media (max-width: 999px) { .fsts-iside__t, .fsts-iside__toc { display: none; } .fsts-iside { padding: 0; background: none; } }
.fsts-body--after { padding-top: 8px; border-top: 1px solid var(--line2); }
.fsts-body--after .fsts-panes { padding-top: 32px; }

/* Bộ chọn giai đoạn dạng tĩnh (trang tổng Ngành) */
.fsts-tab--static { cursor: default; }
.fsts-tab--static::after { display: none; }
.fsts-tab--static:hover { background: transparent; }

/* Ô ngành có lối tắt tới 4 thẻ */
.fsts-tile--deep { position: relative; }
.fsts-tile__main { color: var(--ink); }
.fsts-tile__main::after { content: ""; position: absolute; inset: 0; border-radius: 14px; }
.fsts-tile--deep:hover .fsts-tile__main { color: var(--teal); }
.fsts-tile__tabs { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line2); }
.fsts-tile__tabs a { display: flex; align-items: center; gap: 6px; min-height: 34px; padding: 4px 8px; border-radius: 9px; background: var(--at); font: 500 15.5px/1.1 var(--fc); color: var(--ink); transition: background-color .15s, color .15s; }
.fsts-tile__tabs a .fsts-i { width: 15px; height: 15px; color: var(--a); }
.fsts-tile__tabs a:hover { background: var(--ab); color: var(--abi); }
.fsts-tile__tabs a:hover .fsts-i { color: inherit; }
.fsts-tile__tabs a.is-thin { background: var(--bg); color: var(--mut); }

/* ---------- Bộ tra cứu ---------- */
.fsts-x__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-bottom: 16px; }
.fsts-seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 14px; background: var(--bg); }
.fsts-seg__b { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 14px; border-radius: 11px; font: 500 18px/1 var(--fc); color: var(--ink2); transition: background-color .15s, color .15s, box-shadow .15s; }
.fsts-seg__b .fsts-i { color: var(--a); }
.fsts-seg__b:hover { color: var(--ink); background: #ffffffb3; }
.fsts-seg__b[aria-current="true"] { background: #fff; color: var(--ink); box-shadow: var(--sh); }
.fsts-seg__n { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; height: 22px; padding: 0 7px; border-radius: 99px; background: var(--at); font: 700 11.5px/1 var(--fb); color: var(--a); }
.fsts:not(.is-js) .fsts-seg { display: none; }
.fsts-x__search { position: relative; flex: 1 1 280px; max-width: 420px; }
.fsts-x__search[hidden] { display: none; }
.fsts-x__search > .fsts-i { position: absolute; left: 14px; top: 13px; width: 18px; height: 18px; color: var(--mut2); pointer-events: none; }
.fsts-x__search input { width: 100%; height: 44px; padding: 0 14px 0 42px; border: 1px solid var(--line3); border-radius: 12px; background: #fff; font: 400 14.5px/1 var(--fb); color: var(--ink); }
.fsts-x__search input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px var(--tint); }
.fsts-x__res { display: block; margin-top: 4px; min-height: 16px; font-size: 12.5px; color: var(--mut); }

.fsts-x__grid { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
.fsts-x__nav { min-width: 0; }
.fsts-x__gt { margin: 4px 0 6px; padding: 0 8px; font: 700 11.5px/1.3 var(--fb); letter-spacing: .3px; text-transform: uppercase; color: var(--mut2); }
.fsts-x__gt[hidden] { display: none; }
.fsts-x__list { display: flex; flex-direction: column; gap: 3px; }
.fsts-x__list > li[hidden] { display: none; }
.fsts-x__it { display: grid; grid-template-columns: 36px minmax(0, 1fr); align-items: center; gap: 10px; min-height: 50px; padding: 6px 8px; border-radius: 12px; color: var(--ink2); transition: background-color .15s, box-shadow .15s, color .15s; }
.fsts-x__it:hover { background: #ffffffbf; color: var(--ink); }
.fsts-x__it[aria-current="true"] { background: #fff; color: var(--ink); box-shadow: var(--sh); }
.fsts-x__it[aria-current="true"] .fsts-ico { background: var(--ab); color: var(--abi); }
.fsts-x__tx { display: flex; flex-direction: column; min-width: 0; }
.fsts-x__l { font: 500 18px/1.15 var(--fc); }
.fsts-x__c { margin-top: 2px; font: 400 12px/1.2 var(--fb); color: var(--mut2); }
.fsts-x__num { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 10px; background: var(--at); color: var(--a); font: 600 18px/1 var(--fd); }
.fsts-x__it[aria-current="true"] .fsts-x__num { background: var(--ab); color: var(--abi); }
.fsts-x__none { margin: 8px; padding: 12px; border-radius: 12px; background: #fff; font-size: 13px; color: var(--ink2); }
.fsts-x__none[hidden], .fsts-x__set[hidden], .fsts-x__panel[hidden] { display: none; }

.fsts-x__panels { min-width: 0; }
.fsts-x__panel { display: flex; flex-direction: column; gap: 28px; }
.fsts-x__panel:focus { outline: none; }
.fsts-x__head { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; align-items: start; padding: 22px 22px 20px; border-radius: 16px; background: var(--at); }
.fsts-x__head .fsts-ico { background: #fff; }
.fsts-x__bignum { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px; background: var(--ab); color: var(--abi); font: 600 24px/1 var(--fd); }
.fsts-x__ht { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.fsts-x__k { font: 700 12px/1.3 var(--fb); color: var(--a); }
.fsts-x__t { font: 600 clamp(26px, 2.8vw, 34px)/1.05 var(--fd); letter-spacing: .5px; text-transform: uppercase; color: var(--ink); }
.fsts-x__d { max-width: 70ch; font-size: 14px; line-height: 1.6; color: var(--ink2); }
.fsts-x__act { grid-column: 2; display: flex; flex-wrap: wrap; gap: 8px 16px; }
.fsts-x__body { display: flex; flex-direction: column; gap: 32px; }
.fsts-x__body .fsts-faq__q { font-size: 17.5px; }
.fsts-x__pn { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-top: 4px; border-top: 1px solid var(--line2); }
.fsts-x__pn a { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 12px; background: var(--bg); font: 500 18px/1.2 var(--fc); color: var(--ink); transition: background-color .15s; }
.fsts-x__pn a:hover { background: var(--at); color: var(--a); }
.fsts-x__pn small { font: 700 11.5px/1.2 var(--fb); color: var(--mut2); }
.fsts-x__next { grid-column: 2; text-align: right; }
.fsts-x__prev::before { content: "←"; display: none; }

@media (min-width: 866px) {
	.fsts-x__grid { grid-template-columns: 290px minmax(0, 1fr); gap: 32px; align-items: start; }
	.fsts-x__nav { position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow: auto; padding: 12px 10px; border-radius: 16px; background: var(--bg); scrollbar-width: thin; }
	body.admin-bar .fsts-x__nav { top: 48px; max-height: calc(100vh - 64px); }
	.fsts-sec--bg .fsts-x__nav { background: #fff; box-shadow: 0 0 0 1px var(--line); }
	.fsts-sec--bg .fsts-x__it[aria-current="true"] { background: var(--bg); box-shadow: none; }
}
@media (max-width: 865px) {
	.fsts-x.is-on .fsts-x__set { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 2px 2px 8px; }
	.fsts-x.is-on .fsts-x__set::-webkit-scrollbar { display: none; }
	.fsts-x.is-on .fsts-x__set[hidden] { display: none; }
	.fsts-x.is-on .fsts-x__list { flex-direction: row; gap: 6px; }
	.fsts-x.is-on .fsts-x__gt { align-self: center; margin: 0; padding: 0 4px; white-space: nowrap; }
	.fsts-x.is-on .fsts-x__it { grid-template-columns: 32px auto; min-height: 46px; padding: 5px 12px 5px 6px; background: var(--bg); white-space: nowrap; }
	.fsts-x.is-on .fsts-x__it .fsts-ico, .fsts-x.is-on .fsts-x__num { width: 32px; height: 32px; }
	.fsts-x.is-on .fsts-x__c { display: none; }
	.fsts-x.is-on.is-searching .fsts-x__set { flex-wrap: wrap; overflow: visible; }
	.fsts-x__head { grid-template-columns: 40px minmax(0, 1fr); padding: 18px 16px; gap: 12px; }
	.fsts-x__head .fsts-ico--lg, .fsts-x__bignum { width: 40px; height: 40px; }
	.fsts-x__act { grid-column: 1 / -1; }
}
/* Dạng bước (dịch vụ dự án): danh sách nằm ngang phía trên */
.fsts-x--steps .fsts-x__grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
.fsts-x--steps .fsts-x__nav { position: static; max-height: none; overflow: visible; padding: 0; background: none; box-shadow: none; }
@media (min-width: 866px) {
	.fsts-x--steps .fsts-x__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
	.fsts-x--steps .fsts-x__it { position: relative; min-height: 64px; padding: 10px 12px; background: var(--bg); }
	.fsts-x--steps .fsts-x__it[aria-current="true"] { background: #fff; box-shadow: 0 0 0 2px var(--a); }
	.fsts-x--steps li:not(:last-child) .fsts-x__it::after { content: ""; position: absolute; top: 50%; right: -7px; z-index: 1; width: 6px; height: 6px; border-top: 2px solid var(--line3); border-right: 2px solid var(--line3); transform: translateY(-50%) rotate(45deg); }
}
/* Không có JS: danh sách là mục lục, mọi mục hiện nối tiếp */
.fsts-x:not(.is-on) .fsts-x__grid { grid-template-columns: minmax(0, 1fr); }
.fsts-x:not(.is-on) .fsts-x__nav { position: static; max-height: none; }
.fsts-x:not(.is-on) .fsts-x__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.fsts-x:not(.is-on) .fsts-x__panels { display: flex; flex-direction: column; gap: 56px; }
.fsts-x:not(.is-on) .fsts-x__pn { display: none; }

@media print {
	.fsts-itabs, .fsts-ipanel__side, .fsts-x__nav, .fsts-x__bar, .fsts-x__pn, .fsts-pickbar, .fsts-prev { display: none !important; }
	.fsts-ipanel[hidden], .fsts-x__panel[hidden] { display: block !important; }
	.fsts-x__grid, .fsts-ipanel__in { display: block; }
}

/* Chống kiểu của theme (ô chọn, bảng, ô tìm kiếm) */
.fsts input.fsts-gi__cb { position: absolute !important; width: 1px !important; height: 1px !important; margin: 0 !important; padding: 0 !important; border: 0 !important; opacity: 0 !important; -webkit-appearance: auto; appearance: auto; }
.fsts input.fsts-gi__cb::before, .fsts input.fsts-gi__cb::after { display: none !important; }
.fsts .fsts-table table, .fsts .fsts-table th, .fsts .fsts-table td { border: 0; }
.fsts .fsts-table tbody tr + tr { border-top: 1px solid var(--line2); }
.fsts .fsts-x__search input { -webkit-appearance: none; appearance: none; max-width: none; margin: 0; }
.fsts .fsts-x__search input::-webkit-search-decoration { -webkit-appearance: none; }
@media (max-width: 865px) {
	.fsts-x.is-on .fsts-x__set > *, .fsts-x.is-on .fsts-x__list > li { flex: 0 0 auto; }
	.fsts-x__bar { flex-direction: column; align-items: stretch; }
	.fsts-seg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.fsts-seg__b { justify-content: center; padding: 0 8px; font-size: 17px; }
	.fsts-x__search { max-width: none; flex: 0 0 auto; }
	.fsts-x.is-on .fsts-x__gt { font-size: 10.5px; writing-mode: horizontal-tb; }
}
@media (max-width: 599px) {
	.fsts-seg__b { white-space: nowrap; gap: 6px; }
	.fsts-seg__b > .fsts-i { display: none; }
	.fsts-itabs .fsts-wrap { padding: 0 6px; }
	.fsts-itabs__l { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; overflow: visible; }
	.fsts-itab { flex-direction: column; justify-content: center; gap: 4px; min-height: 64px; padding: 8px 2px; white-space: normal; text-align: center; }
	.fsts-itab__l { font-size: 15.5px; }
	.fsts-itab::after { left: 10px; right: 10px; }
}
.fsts-x__st { display: none; margin: 10px 0 4px; padding: 6px 8px 0; border-top: 1px solid var(--line); font: 600 18px/1.1 var(--fd); letter-spacing: .4px; text-transform: uppercase; color: var(--a); }
.fsts-x.is-searching .fsts-x__st, .fsts-x:not(.is-on) .fsts-x__st { display: block; }
.fsts-x.is-searching .fsts-x__set:first-child .fsts-x__st { margin-top: 0; border-top: 0; padding-top: 0; }
@media (max-width: 865px) { .fsts-x.is-on.is-searching .fsts-x__st { flex: 0 0 100%; margin: 4px 0 0; border: 0; } }
.fsts button.fsts-pickbar__b { background: #fff !important; color: var(--ink2) !important; border: 1px solid var(--line3) !important; box-shadow: none; text-transform: none; letter-spacing: 0; }
.fsts button.fsts-pickbar__b:hover { background: #fff !important; border-color: var(--teal) !important; color: var(--teal) !important; }
.fsts button.fsts-filter__clear { background: none !important; border: 0 !important; box-shadow: none; color: var(--teal) !important; text-transform: none; letter-spacing: 0; padding: 0; min-height: 0; }

/* =========================================================
 * 1.3.1 – Danh sách báo giá có số lượng, hãng / mã hàng, thông số cho kỹ sư
 * ========================================================= */
.fsts-pickbar__st { font: 400 13px/1.3 var(--fb); color: var(--teal-d); }
.fsts-pickbar__st.is-bad { color: #8A5A00; }
.fsts-pickbar__list { max-height: min(70vh, 640px); padding: 0; background: transparent; }
.fsts-pl { display: flex; flex-direction: column; gap: 14px; padding: 16px; border-radius: 14px; background: var(--bg); }
.fsts-pl__head { display: flex; flex-direction: column; gap: 4px; }
.fsts-pl__t { font: 600 22px/1.05 var(--fd); letter-spacing: .5px; text-transform: uppercase; color: var(--ink); }
.fsts-pl__s { font-size: 13px; line-height: 1.5; color: var(--mut); max-width: 80ch; }
.fsts-pl__l { display: flex; flex-direction: column; gap: 8px; counter-reset: pl; }
.fsts-pl__i { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 12px 14px 12px 44px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px var(--line); counter-increment: pl; }
.fsts-pl__i::before { content: counter(pl, decimal-leading-zero); position: absolute; left: 12px; top: 13px; font: 600 16px/1 var(--fd); color: var(--a); }
.fsts-pl__i.is-bad { box-shadow: 0 0 0 1px #f3d27a; background: #fffdf6; }
.fsts-pl__top { display: flex; align-items: flex-start; gap: 10px; }
.fsts-pl__tx { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.fsts-pl__n { font: 500 18px/1.2 var(--fc); color: var(--ink); }
.fsts-pl__src { font-size: 12.5px; line-height: 1.4; color: var(--mut); }
.fsts-pl__name { flex: 1 1 auto; }
.fsts-pl__st { flex: 0 0 auto; align-self: center; padding: 3px 9px; border-radius: 999px; background: var(--tint); font: 700 11.5px/1.2 var(--fb); color: var(--teal-d); white-space: nowrap; }
.fsts-pl__i.is-bad .fsts-pl__st { background: #FFF4D6; color: #8A5A00; }
.fsts-pl__del { flex: 0 0 auto; width: 30px; height: 30px; border: 0; border-radius: 8px; background: transparent; color: var(--mut); font-size: 22px; line-height: 1; cursor: pointer; }
.fsts-pl__del:hover { background: var(--bg); color: #b32d2e; }
.fsts-pl__row { display: grid; gap: 10px 14px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) {
	.fsts-pl__row { grid-template-columns: 200px 220px minmax(0, 1fr); }
	.fsts-pl__row--3 { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
	.fsts-pl__gen .fsts-pl__row { grid-template-columns: minmax(0, 1fr) 200px auto; }
}
.fsts-pl__f { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.fsts-pl__lb { font: 700 11.5px/1.3 var(--fb); color: var(--mut); }
.fsts .fsts-pl__in { width: 100%; min-height: 38px; margin: 0; padding: 6px 10px; border: 1px solid var(--line3); border-radius: 9px; background: #fff; font: 400 14px/1.4 var(--fb); color: var(--ink); -webkit-appearance: none; appearance: none; }
.fsts .fsts-pl__in:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px var(--tint); }
.fsts select.fsts-pl__in { padding-right: 28px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235C6370' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 8px center/14px no-repeat; }
.fsts textarea.fsts-pl__in { resize: vertical; min-height: 56px; }
.fsts-pl__qg { display: grid; grid-template-columns: minmax(0, 1fr) 96px; gap: 6px; }
.fsts-pl__unit { text-align: left; }
.fsts-pl__chk { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; font-size: 13px; color: var(--ink2); cursor: pointer; }
.fsts .fsts-pl__chk input { width: 18px; height: 18px; margin: 0; accent-color: var(--teal); }
.fsts-pl__chks { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.fsts-pl__add { align-self: flex-start; min-height: 38px; padding: 0 14px; border: 1px dashed var(--line3); border-radius: 10px; background: #fff; font: 700 13px/1 var(--fb); color: var(--teal); cursor: pointer; }
.fsts-pl__add:hover { border-color: var(--teal); }
.fsts-pl__gen { display: flex; flex-direction: column; gap: 10px; padding-top: 12px; border-top: 1px solid var(--line); }
.fsts-pl__gen .fsts-pl__t { font-size: 18px; }
.fsts-pl__pv summary { cursor: pointer; font: 700 13px/1.3 var(--fb); color: var(--teal); }
.fsts-pl__pv pre { margin: 8px 0 0; padding: 12px; border-radius: 10px; background: #fff; font: 12.5px/1.55 ui-monospace, Menlo, Consolas, monospace; color: var(--ink2); white-space: pre-wrap; }
@media (max-width: 865px) {
	.fsts-pickbar__list { max-height: calc(100vh - 230px); }
	.fsts-pl { padding: 12px; }
	.fsts-pl__i { padding-left: 38px; }
	.fsts-pl__i::before { left: 10px; }
	.fsts-pl__top { flex-wrap: wrap; }
	.fsts-pl__st { order: 3; }
}
.fsts button.fsts-pl__add { background: #fff !important; color: var(--teal) !important; border: 1px dashed var(--line3) !important; box-shadow: none; text-transform: none; letter-spacing: 0; }
.fsts button.fsts-pl__add:hover { border-color: var(--teal) !important; }
.fsts button.fsts-pl__del { background: transparent !important; color: var(--mut) !important; border: 0 !important; box-shadow: none; min-height: 0; padding: 0; }
.fsts button.fsts-pl__del:hover { background: var(--bg) !important; color: #b32d2e !important; }
.fsts .fsts-pl__chk input[type="checkbox"] { -webkit-appearance: auto; appearance: auto; width: 18px; height: 18px; margin: 0; }
.fsts .fsts-pl__chk input[type="checkbox"]::before, .fsts .fsts-pl__chk input[type="checkbox"]::after { display: none; }

/* ===== Cách ly khỏi CSS của giao diện (theme) =====
   Một số theme áp CSS chung cho section / header / ul (flex, grid, float, ép độ rộng, kể cả !important),
   làm tiêu đề khối chiếm hết hàng và nội dung bị dồn thành cột hẹp. Dùng #fsts (độ ưu tiên cao) + !important
   chỉ cho các thuộc tính bố cục, để khối của plugin hiển thị như thiết kế trên mọi theme và mọi màn hình. */
#fsts .fsts-pane, #fsts .fsts-sec, #fsts .fsts-hero, #fsts .fsts-cta {
	display: block !important; float: none !important;
	width: auto !important; max-width: none !important; min-width: 0 !important;
	margin-left: 0 !important; margin-right: 0 !important;
	grid-template-columns: none !important; columns: auto !important; column-count: auto !important;
}
#fsts .fsts-pane > *, #fsts .fsts-x__body > * {
	float: none !important; clear: both; flex: none !important;
	width: auto !important; max-width: none !important; min-width: 0 !important;
}
#fsts .fsts-ph {
	display: flex !important; flex-wrap: wrap; float: none !important; position: static !important;
	width: auto !important; max-width: none !important; height: auto !important; min-height: 0 !important;
	background: none; box-shadow: none;
}
#fsts .fsts-ph::before, #fsts .fsts-ph::after { content: none !important; display: none !important; }
#fsts .fsts-x__body, #fsts .fsts-x__panel, #fsts .fsts-panes, #fsts .fsts-ipanel__main {
	display: flex !important; flex-direction: column !important; flex-wrap: nowrap !important;
}
@media screen { #fsts .fsts-x__panel[hidden] { display: none !important; } }
@media print { #fsts .fsts-x__panel[hidden] { display: flex !important; } }
#fsts .fsts-chiplinks {
	display: flex !important; flex-direction: row !important; flex-wrap: wrap !important; gap: 8px;
	width: auto !important; max-width: none !important; margin: 0 !important; padding: 0 !important; list-style: none !important; columns: auto !important;
}
#fsts .fsts-chiplinks > li { display: block !important; float: none !important; width: auto !important; max-width: 100% !important; margin: 0 !important; padding: 0 !important; list-style: none !important; }
#fsts .fsts-chiplinks > li::before, #fsts .fsts-chiplinks > li::after { content: none !important; display: none !important; }
#fsts .fsts-chip { display: inline-flex !important; width: auto !important; max-width: 100%; white-space: normal; word-break: normal; overflow-wrap: anywhere; }
#fsts .fsts-faq { display: flex !important; flex-direction: column !important; width: 100% !important; max-width: none !important; margin: 0 !important; padding: 0 !important; }
#fsts .fsts-faq__i { display: block !important; float: none !important; width: 100% !important; max-width: none !important; margin: 0; }
#fsts .fsts-faq__i > summary { display: flex !important; width: auto !important; }
#fsts .fsts-faq__q { flex: 1 1 auto !important; min-width: 0 !important; width: auto !important; word-break: normal; overflow-wrap: break-word; }
#fsts .fsts-faq__ic { flex: 0 0 auto !important; }
#fsts ul, #fsts ol { float: none !important; width: auto !important; max-width: none !important; }
#fsts li { float: none !important; width: auto !important; max-width: none !important; }
#fsts header:not(.fsts-ph) { float: none !important; width: auto !important; max-width: none !important; }
#fsts { clear: both; } #fsts .fsts-wrap > * { clear: both; }

/* ===== Lập yêu cầu gửi mẫu (1.4.0) ===== */
.fsts-rq__msg { margin: 0 0 16px; padding: 14px 16px; border-radius: 12px; font-size: 14px; line-height: 1.55; }
.fsts-rq__msg.is-ok { background: #E3F5EC; color: #0E5A33; box-shadow: inset 0 0 0 1px #A9DDBF; }
.fsts-rq__msg.is-err { background: #FDE8EC; color: #8E0E30; box-shadow: inset 0 0 0 1px #F3B6C4; }
.fsts-rq__msg:focus { outline: none; }
.fsts-rq__again { margin-bottom: 8px; }
.fsts-rq__trap { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
#fsts .fsts-rq__grid { display: grid !important; gap: 20px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 1100px) { #fsts .fsts-rq__grid { grid-template-columns: minmax(0, 1fr) 300px; } }
.fsts-rq__form { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.fsts-rq__step { margin: 0; padding: 16px 18px 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.fsts-rq__step legend { display: flex; align-items: center; gap: 10px; padding: 0 6px; margin-left: -6px; font: 500 19px/1.2 var(--fc); color: var(--ink); }
.fsts-rq__n { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 8px; background: var(--at); color: var(--a); font: 700 14px/1 var(--fb); }
.fsts-rq__opts { display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.fsts-rq__opt, .fsts-rq__chip { position: relative; display: block; cursor: pointer; }
.fsts-rq__chip { display: inline-block; }
#fsts .fsts-rq__opt input, #fsts .fsts-rq__chip input { position: absolute !important; opacity: 0 !important; inset: 0 !important; width: 100% !important; height: 100% !important; margin: 0 !important; padding: 0 !important; border: 0 !important; z-index: 1; cursor: pointer; -webkit-appearance: none; appearance: none; }
#fsts .fsts-rq__opt, #fsts .fsts-rq__chip { position: relative !important; }
#fsts .fsts-rq__check input { position: static !important; opacity: 1 !important; -webkit-appearance: checkbox; appearance: auto; width: 18px !important; height: 18px !important; }
.fsts-rq__opt > span { display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 12px 14px; border: 1px solid var(--line3); border-radius: 12px; background: var(--bg); transition: border-color .15s, background-color .15s, box-shadow .15s; }
.fsts-rq__opt b { font: 500 16.5px/1.2 var(--fc); color: var(--ink); }
.fsts-rq__opt small { font-size: 12.5px; line-height: 1.4; color: var(--mut); }
.fsts-rq__opt:hover > span { border-color: var(--a); }
.fsts-rq__opt input:checked + span { border-color: var(--a); background: var(--at); box-shadow: inset 0 0 0 1px var(--a); }
.fsts-rq__opt input:focus-visible + span, .fsts-rq__chip input:focus-visible + span { outline: 2px solid var(--a); outline-offset: 2px; }
.fsts-rq__hint { margin: 0; padding: 10px 12px; border-radius: 10px; background: #FFF4D6; color: #5c3d00; font-size: 13px; line-height: 1.55; }
.fsts-rq__row { display: flex; flex-wrap: wrap; gap: 12px 16px; }
.fsts-rq__f { display: flex; flex-direction: column; gap: 6px; flex: 1 1 200px; min-width: 0; }
.fsts-rq__f--sm { flex: 0 1 120px; }
.fsts-rq__l { font: 600 12.5px/1.3 var(--fb); color: var(--ink2); }
.fsts-rq__l abbr { color: #B0103A; text-decoration: none; }
.fsts-rq__in { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line3); border-radius: 10px; background: #fff; font: 500 14px/1.35 var(--fb); color: var(--ink); box-sizing: border-box; }
textarea.fsts-rq__in { min-height: 84px; resize: vertical; }
.fsts-rq__in:focus { outline: 2px solid var(--a); outline-offset: 1px; border-color: var(--a); }
.fsts-rq__in[aria-invalid="true"] { border-color: #B0103A; box-shadow: 0 0 0 3px #fde8ec; }
.fsts-rq__grp { display: flex; flex-direction: column; gap: 6px; }
.fsts-rq__gt { margin: 0; font: 700 11.5px/1.2 var(--fb); letter-spacing: .6px; text-transform: uppercase; color: var(--mut); }
.fsts-rq__gt span { text-transform: none; letter-spacing: 0; font-weight: 600; }
#fsts .fsts-rq__chips { display: flex !important; flex-wrap: wrap; gap: 8px; }
.fsts-rq__chip > span { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 4px 14px; border: 1px solid var(--line3); border-radius: 999px; background: #fff; font: 500 16px/1.15 var(--fc); color: var(--ink); transition: border-color .15s, background-color .15s, color .15s; }
.fsts-rq__chip > span::before { content: ""; flex: none; width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid var(--line3); background: #fff; }
.fsts-rq__chip input:checked + span { border-color: var(--a); background: var(--at); color: var(--a); }
.fsts-rq__chip input:checked + span::before { border-color: var(--a); background: var(--a) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/10px no-repeat; }
.fsts-rq__chip.is-sug > span { border-style: dashed; border-color: #E9C46A; }
.fsts-rq__chip.is-sug > span::after { content: "thường cần"; font: 600 10.5px/1 var(--fb); color: #7A4F00; background: #FFF4D6; padding: 3px 6px; border-radius: 999px; }
.fsts-rq__check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 13.5px; line-height: 1.5; color: var(--ink2); }
.fsts-rq__check input { flex: none; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--a); }
.fsts-rq__check a { color: var(--teal); text-decoration: underline; }
.fsts-rq__sum { display: flex; flex-direction: column; gap: 14px; padding: 20px; border-radius: 16px; background: var(--ink); color: #fff; min-width: 0; }
@media (min-width: 1100px) { .fsts-rq__sum { position: sticky; top: 96px; } body.admin-bar .fsts-rq__sum { top: 128px; } }
.fsts-rq__k { margin: 0; font: 700 11.5px/1 var(--fb); letter-spacing: .8px; text-transform: uppercase; color: #8fe0e5; }
.fsts-rq__st { margin: 0; font: 600 26px/1.05 var(--fd); letter-spacing: .4px; text-transform: uppercase; color: #fff; }
.fsts-rq__dl { margin: 0; display: flex; flex-direction: column; }
.fsts-rq__dl > div { padding: 10px 0; border-top: 1px solid #ffffff1a; }
.fsts-rq__dl dt { font: 600 11.5px/1.3 var(--fb); color: #8c96a5; }
.fsts-rq__dl dd { margin: 2px 0 0; font: 500 17px/1.3 var(--fc); color: #fff; overflow-wrap: anywhere; }
.fsts-rq__prep { padding: 14px; border-radius: 12px; background: #ffffff0d; }
.fsts-rq__pt { margin: 0 0 8px; font: 700 12px/1.2 var(--fb); color: #c5cbd3; }
#fsts .fsts-rq__prep ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.fsts-rq__prep li { position: relative; padding-left: 22px; font-size: 13px; line-height: 1.5; color: #e3e7ec; }
.fsts-rq__prep li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 10px; height: 6px; border-left: 2px solid #5fd3da; border-bottom: 2px solid #5fd3da; transform: rotate(-45deg); }
.fsts-rq__note { margin: 0; font-size: 12.5px; line-height: 1.55; color: #c5cbd3; }
.fsts-rq__send { width: 100%; justify-content: center; }
.fsts-rq__send.is-busy { opacity: .7; cursor: progress; }
.fsts-rq__small { margin: 0; font-size: 12px; line-height: 1.5; color: #9aa3ae; }
.fsts-rq__legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px; }
.fsts-rq__lg { font-size: 13px; color: var(--mut); margin-left: 4px; }
.fsts-rq__pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font: 700 12px/1.2 var(--fb); white-space: nowrap; }
.fsts-rq__pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.fsts-rq__pill--ok { background: #E3F5EC; color: #0E6B3B; }
.fsts-rq__pill--warn { background: #FFF4D6; color: #7A4F00; }
.fsts-rq__pill--bad { background: #FDE8EC; color: #B0103A; }
.fsts-rq__tbl { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: #fff; margin-bottom: 14px; }
.fsts-rq__tbl:focus-visible { outline: 2px solid var(--a); outline-offset: 2px; }
.fsts-rq__tbl table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 13.5px; }
.fsts-rq__tbl th { text-align: left; padding: 12px 14px; background: var(--bg); font: 700 11.5px/1.2 var(--fb); letter-spacing: .5px; text-transform: uppercase; color: var(--mut); border-bottom: 1px solid var(--line); }
.fsts-rq__tbl td { padding: 12px 14px; border-bottom: 1px solid var(--line2); color: var(--ink2); vertical-align: middle; }
.fsts-rq__tbl tr:last-child td { border-bottom: 0; }
.fsts-rq__tbl td:first-child { font: 500 16px/1.2 var(--fc); color: var(--ink); }
.fsts-rq__tbl .is-ph { color: var(--mut2); font-style: italic; }
#fsts .fsts-rq__rep { margin: 0; padding: 0; list-style: none; display: grid !important; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); counter-reset: rq; }
.fsts-rq__rep li { counter-increment: rq; display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: 12px; background: var(--bg); }
.fsts-rq__rep b { font: 500 17px/1.2 var(--fc); color: var(--ink); }
.fsts-rq__rep b::before { content: counter(rq) ". "; color: var(--a); }
.fsts-rq__rep span { font-size: 13px; line-height: 1.55; color: var(--ink2); }
#fsts .fsts-rq [hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) { .fsts-rq * { transition: none !important; } }
/* Ô nhập của khối yêu cầu: không để CSS ô nhập của theme ghi đè (viền dày, nền, cỡ chữ). */
#fsts .fsts-rq__in { display: block !important; width: 100% !important; max-width: none !important; min-height: 44px !important; height: auto !important; margin: 0 !important; padding: 10px 12px !important; border: 1px solid var(--line3) !important; border-radius: 10px !important; background: #fff !important; box-shadow: none !important; font: 500 14px/1.35 var(--fb) !important; color: var(--ink) !important; }
#fsts textarea.fsts-rq__in { min-height: 84px !important; }
#fsts .fsts-rq__in:focus { outline: 2px solid var(--a) !important; outline-offset: 1px !important; border-color: var(--a) !important; }
#fsts .fsts-rq__in[aria-invalid="true"] { border-color: #B0103A !important; box-shadow: 0 0 0 3px #fde8ec !important; }
#fsts .fsts-rq__in::placeholder { color: var(--mut2); opacity: 1; }
#fsts .fsts-rq__step { margin: 0 !important; min-inline-size: 0; }
#fsts .fsts-rq__step legend { float: none !important; width: auto !important; border: 0 !important; }
#fsts .fsts-rq__send { display: inline-flex !important; align-items: center; justify-content: center; gap: 8px; width: 100% !important; min-height: 48px; padding: 0 16px !important; border: 0 !important; border-radius: 10px !important; background: var(--ab) !important; color: var(--abi) !important; font: 500 18px/1 var(--fc) !important; letter-spacing: .2px; text-transform: none !important; cursor: pointer; }
#fsts .fsts-rq__send:hover { filter: brightness(.92); }
#fsts .fsts-rq__send:focus-visible { outline: 2px solid #8fe0e5 !important; outline-offset: 2px; }
#fsts .fsts-rq__send .fsts-i { width: 18px; height: 18px; }
#fsts .fsts-rq__step > .fsts-rq__f { flex: none !important; }

/* ===== Nền tảng chữ của trang đích (1.4.1) =====
   Theme đặt lề cho p/h1–h6, dt nổi trái rộng 100px căn phải, dd lùi 6,875rem, màu liên kết xám, ô chọn có mũi tên nền.
   Đặt lại ở độ ưu tiên thấp (bằng quy tắc của theme, nạp sau) để mọi lớp của plugin vẫn quyết định bố cục. */
:where(#fsts) p, :where(#fsts) h1, :where(#fsts) h2, :where(#fsts) h3, :where(#fsts) h4, :where(#fsts) h5, :where(#fsts) h6, :where(#fsts) figure, :where(#fsts) blockquote { margin: 0; clear: none; }
:where(#fsts) dl, :where(#fsts) dd { margin: 0; padding: 0; overflow: visible; }
:where(#fsts) dt { float: none; clear: none; width: auto; text-align: left; font-weight: inherit; }
:where(#fsts) a { color: inherit; text-decoration: none; }
:where(#fsts) b, :where(#fsts) strong { font-weight: 700; }
#fsts dt { float: none !important; clear: none !important; width: auto !important; text-align: left !important; }
#fsts dd { margin-left: 0 !important; margin-right: 0 !important; overflow: visible !important; }
#fsts select.fsts-rq__in { -webkit-appearance: none !important; appearance: none !important; padding-right: 38px !important; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235C6370' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 12px center / 14px 14px no-repeat !important; }
#fsts .fsts-rq__tbl thead { background: transparent !important; font-size: inherit !important; }
