/* DEHA · giao diện trang con.
   Dùng chung với base.css (màu, chữ, nút, header, footer). Tên lớp giữ nguyên theo mockup
   để không phải sửa nội dung; chỉ thay cách trình bày. */
:root .deha-v2 {
  /* tên biến mockup còn dùng trong thuộc tính style của nội dung */
  --brand: var(--blue);
  --brand-deep: var(--blue-deep);
  --link: var(--blue);
  --bg: var(--paper);
  --card: var(--paper);
  --surface2: var(--surface-2);
  --action: var(--green);
  --action-ink: var(--ink);
  --green-ink: #2F6B0E;
  --display: var(--f-display);
  --body: var(--f-text);
  --ph: #FFF8E6; --ph-line: #E2B54A; --ph-ink: #7A5A10;
  --ok: #2F6B0E; --warn: #9A5A00; --ng: #B3261E;
}
:root .deha-v2 [hidden] { display: none !important; }
:root .deha-v2.sub main a:not(.btn) { color: var(--blue); }
:root .deha-v2.sub main p { max-width: 70ch; }
:root .deha-v2.sub main h3 { font-size: 20px; line-height: 1.25; }
:root .deha-v2 mark.fill { background: var(--ph); color: var(--ph-ink); border: 1px dashed var(--ph-line); border-radius: 4px; padding: 0 5px; font-weight: 600; font-size: .92em; }
/* ---------- đầu trang ---------- */
:root .deha-v2 .page-hero { position: relative; overflow: hidden; color: #fff; background: var(--navy); padding: 132px 0 0; isolation: isolate; }
:root .deha-v2 .page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: var(--hero-img, none) center / cover no-repeat; opacity: .26;
}
:root .deha-v2 .page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 70% at 85% 10%, rgba(17, 114, 186, .5), transparent 70%),
    linear-gradient(100deg, rgba(11, 42, 69, .98) 0%, rgba(11, 42, 69, .9) 50%, rgba(11, 42, 69, .7) 100%);
}
:root .deha-v2 [data-page="deha-erp"] .page-hero { --hero-img: url("../media/img/free/kho-hang.webp"); }
:root .deha-v2 [data-page="deha-mes"] .page-hero { --hero-img: url("../media/img/free/robot-han.webp"); }
:root .deha-v2 [data-page="deha-qc"] .page-hero { --hero-img: url("../media/img/free/dien-tu.webp"); }
:root .deha-v2 [data-page="deha-iq"] .page-hero { --hero-img: url("../media/img/free/may-cat.webp"); }
:root .deha-v2 [data-page="ifs-cloud"] .page-hero { --hero-img: url("../media/img/free/o-to.webp"); }
:root .deha-v2 .crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 14px; color: rgba(255, 255, 255, .55); }
:root .deha-v2 .page-hero .crumbs a { color: #fff; text-decoration: none; opacity: .9; transition: opacity .2s; }
:root .deha-v2 .page-hero .crumbs a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
:root .deha-v2 .crumbs span { color: #7CC2F5; font-weight: 600; }
:root .deha-v2 .sy-top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; }
:root .deha-v2 .page-hero h1 { margin-top: 22px; font-size: clamp(36px, 4.2vw, 58px); line-height: 1.08; letter-spacing: -0.025em; max-width: 20ch; }
:root .deha-v2 .sy-lead { font-size: 18px; line-height: 1.65; color: var(--on-dark); }
:root .deha-v2 .sy-ifs { margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .18); font-weight: 700; color: #fff; }
:root .deha-v2 .page-hero .hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
:root .deha-v2 .page-hero .btn-line { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
:root .deha-v2 .page-hero .btn-line:hover { background: rgba(255, 255, 255, .12); border-color: #fff; color: #fff; }
/* ---------- câu chuyện theo bước (trong đầu trang) ---------- */
:root .deha-v2 .sy {
  margin-top: 64px; padding: 34px 36px 38px; border-radius: 22px 22px 0 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .025));
  border: 1px solid rgba(255, 255, 255, .12); border-bottom: 0;
  backdrop-filter: blur(6px);
}
:root .deha-v2 .sy-t { font-size: 15px; font-family: var(--f-text); font-weight: 700; color: #7CC2F5; margin-bottom: 22px; }
:root .deha-v2 .sy-rail { position: relative; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); }
:root .deha-v2 .sy-rail::before, :root .deha-v2 .sy-fill {
  content: ""; position: absolute; left: 20px; right: calc(100% / var(--n) - 20px); top: 19px; height: 2px;
  background: rgba(255, 255, 255, .16);
}
:root .deha-v2 .sy-fill { background: var(--green); transform-origin: left; transition: transform .6s var(--ease); }
:root .deha-v2 .sy-rail button { position: relative; padding: 0 10px 6px 0; background: none; border: 0; text-align: left; color: #fff; cursor: pointer; }
:root .deha-v2 .sy-dot {
  position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--navy); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .35);
  font: 700 16px/1 var(--f-display); transition: background-color .3s, box-shadow .3s, transform .3s var(--ease);
}
:root .deha-v2 .sy-rail button:hover .sy-dot { box-shadow: inset 0 0 0 2px #fff; }
:root .deha-v2 .sy-rail button.done .sy-dot { background: var(--green); color: var(--ink); box-shadow: none; }
:root .deha-v2 .sy-rail button[aria-selected="true"] .sy-dot { background: #fff; color: var(--ink); box-shadow: 0 0 0 6px rgba(142, 198, 65, .35); transform: scale(1.06); }
:root .deha-v2 .sy-lb { display: block; margin-top: 14px; font-weight: 700; font-size: 15.5px; }
:root .deha-v2 .sy-md { display: block; margin-top: 2px; font-size: 13px; color: var(--on-dark); }
:root .deha-v2 .sy-pane { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; margin-top: 38px; }
:root .deha-v2 .sy-pane:not(.on) { display: none; }
:root .deha-v2 .sy-pane.on { animation: dv2-syIn .45s var(--ease); }
@keyframes dv2-syIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
:root .deha-v2 .sy-txt h3 { font-size: clamp(24px, 2.2vw, 30px) !important; line-height: 1.15; color: #fff; }
:root .deha-v2 .sy-txt p { margin-top: 14px; color: var(--on-dark); font-size: 16.5px; line-height: 1.65; }
:root .deha-v2 .sy-who { padding: 12px 16px; border-radius: 10px; background: rgba(255, 255, 255, .06); font-size: 15px !important; }
:root .deha-v2 .sy-who b { color: #fff; }
:root .deha-v2 .sy-nav { display: flex; gap: 10px; margin-top: 22px; }
:root .deha-v2 .sy-nav button {
  min-height: 42px; padding: 0 18px; border-radius: 40px; border: 1px solid rgba(255, 255, 255, .35);
  background: none; color: #fff; font-weight: 700; font-size: 14.5px; cursor: pointer; transition: background-color .2s, border-color .2s;
}
:root .deha-v2 .sy-nav button:hover:not(:disabled) { background: rgba(255, 255, 255, .12); border-color: #fff; }
:root .deha-v2 .sy-nav button:disabled { opacity: .3; cursor: default; }
:root .deha-v2 .sy-app { background: #fff; color: var(--ink); border-radius: 14px; overflow: hidden; box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .65); font-variant-numeric: tabular-nums lining-nums; }
:root .deha-v2 .sy-h { display: flex; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 14.5px; }
:root .deha-v2 .sy-h span { color: var(--muted); font-size: 12.5px; font-weight: 600; white-space: nowrap; }
:root .deha-v2 .sy-app table { width: 100%; border-collapse: collapse; font-size: 14px; }
:root .deha-v2 .sy-app th { text-align: left; background: #F4F8FB; padding: 9px 18px; font-size: 12.5px; font-weight: 700; color: var(--muted); }
:root .deha-v2 .sy-app td { padding: 10px 18px; border-top: 1px solid #EDF2F7; }
:root .deha-v2 .sy-ok { color: var(--ok); font-weight: 700; }
:root .deha-v2 .sy-wa { color: var(--warn); font-weight: 700; }
:root .deha-v2 .sy-ng { color: var(--ng); font-weight: 700; }
:root .deha-v2 .sy-kv { padding: 10px 18px; background: #FFF6DC; border-top: 1px solid #F1E2B3; font-size: 13.5px; font-weight: 600; }
:root .deha-v2 .sy-cap { padding: 8px 18px 10px; font-size: 12px; color: var(--muted); border-top: 1px dashed var(--line); }
/* ---------- mục lục trong trang ---------- */
:root .deha-v2 .anav { position: sticky; top: 70px; z-index: 40; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
:root .deha-v2 .anav .wrap { display: flex; gap: 0 30px; overflow-x: auto; scrollbar-width: none; }
:root .deha-v2 .anav .wrap::-webkit-scrollbar { display: none; }
:root .deha-v2 .anav button {
  flex: none; position: relative; padding: 18px 0 16px; background: none; border: 0; cursor: pointer;
  font-size: 15px; font-weight: 600; color: var(--muted); transition: color .2s;
}
:root .deha-v2 .anav button::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--green); transform: scaleX(0); transition: transform .3s var(--ease); }
:root .deha-v2 .anav button:hover, :root .deha-v2 .anav button.on { color: var(--ink); }
:root .deha-v2 .anav button.on::after { transform: scaleX(1); }
/* ---------- dải cam kết ---------- */
:root .deha-v2 .trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding-top: 0; padding-bottom: 0; }
:root .deha-v2 .trust > span { display: flex; align-items: center; gap: 14px; padding: 28px 28px 28px 0; font-size: 15.5px; color: var(--muted); line-height: 1.45; }
:root .deha-v2 .trust > span + span { padding-left: 28px; border-left: 1px solid var(--line); }
:root .deha-v2 .trust b { color: var(--ink); }
:root .deha-v2 .trust svg { flex: none; width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--sky); stroke: var(--blue); fill: none; stroke-width: 2; }
:root .deha-v2 .blk:has(> div > .trust) { border-bottom: 1px solid var(--line); }
/* ---------- khung section ---------- */
:root .deha-v2 .blk { padding: clamp(72px, 7.5vw, 108px) 0; }
:root .deha-v2 .blk.alt { background: var(--surface); }
:root .deha-v2 .head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(40px, 4.5vw, 60px); }
:root .deha-v2 .head > div { max-width: 780px; }
:root .deha-v2 .head h2 { font-size: clamp(32px, 3.4vw, 48px); letter-spacing: -0.025em; color: var(--ink); }
:root .deha-v2 .head h2::before { content: ""; display: block; width: 44px; height: 4px; border-radius: 4px; background: var(--green); margin-bottom: 22px; }
:root .deha-v2 .head p { margin-top: 16px; font-size: 18px; color: var(--muted); }
:root .deha-v2 .upd { margin-top: 22px; font-size: 14px; color: var(--muted); }
/* ---------- thẻ ---------- */
:root .deha-v2 .card {
  position: relative; display: flex; flex-direction: column; gap: 10px; min-width: 0;
  padding: 30px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .25s;
}
:root .deha-v2 .blk:not(.alt) .card { background: var(--surface); border-color: transparent; }
:root .deha-v2 .card h3 { font-size: 20px; }
:root .deha-v2 .card p { color: var(--muted); font-size: 15.5px; }
:root .deha-v2 .card ul { display: grid; gap: 10px; color: var(--ink); font-size: 15.5px; }
:root .deha-v2 .card ul li { position: relative; padding-left: 28px; }
:root .deha-v2 .card ul li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
:root .deha-v2 a.card { text-decoration: none; color: inherit; }
:root .deha-v2 a.card:hover, :root .deha-v2 .grid3 > .card:has(a.more):hover { transform: translateY(-5px); box-shadow: var(--shadow); background: var(--paper); border-color: var(--line); }
:root .deha-v2 .card .k { font-size: 14px; font-weight: 600; color: var(--blue); }
:root .deha-v2 .pp-h { font-size: 21px !important; margin-bottom: 6px; }
:root .deha-v2 .pp-meta { font-size: 14px !important; font-weight: 700; color: var(--blue) !important; }
:root .deha-v2 a.more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 10px; font-weight: 700; font-size: 15px; color: var(--blue); text-decoration: none; }
:root .deha-v2 a.more:hover { text-decoration: underline; text-underline-offset: 5px; }
:root .deha-v2 .grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
:root .deha-v2 .grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
/* phân trang của trang danh sách (blog, tin tức, tài liệu) */
:root .deha-v2 .pager { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: 48px; }
:root .deha-v2 .pager .pg { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 44px; height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font-weight: 600; font-size: 15px; text-decoration: none; transition: background .2s, border-color .2s, color .2s; }
:root .deha-v2 .pager a.pg:hover { border-color: var(--blue); color: var(--blue); }
:root .deha-v2 .pager .pg[aria-current="page"] { background: var(--navy); border-color: var(--navy); color: #fff; }
:root .deha-v2 .pager .gap { border-color: transparent; background: none; min-width: 24px; padding: 0; }
:root .deha-v2 .card.ph, :root .deha-v2 .ph { background: var(--ph) !important; border: 1.5px dashed var(--ph-line) !important; color: var(--ph-ink); }
/* phù hợp / chưa phù hợp */
:root .deha-v2 .fit { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
:root .deha-v2 .fit > .card { padding: 36px; }
:root .deha-v2 [id$="-phu-hop"] .fit .card { background: var(--paper); border-color: var(--line); }
:root .deha-v2 [id$="-phu-hop"] .fit .card:first-child { box-shadow: var(--shadow); border-top: 4px solid var(--green); }
:root .deha-v2 [id$="-phu-hop"] .fit .card.no { background: transparent; border-style: dashed; }
:root .deha-v2 [id$="-phu-hop"] .fit li { padding-left: 36px; line-height: 1.5; }
:root .deha-v2 [id$="-phu-hop"] .fit li::before {
  content: "✓"; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  background: var(--green); color: var(--ink); font-size: 13px; font-weight: 700;
}
:root .deha-v2 [id$="-phu-hop"] .fit .no li::before { content: "✕"; background: var(--surface-2); color: var(--muted); }
:root .deha-v2 .fit .no li span { color: var(--blue); font-weight: 600; }
/* ---------- tab ---------- */
:root .deha-v2 .tabs {
  display: flex; gap: 4px; width: max-content; max-width: 100%; overflow-x: auto; scrollbar-width: none;
  padding: 5px; margin-bottom: 36px; border-radius: 40px; background: var(--surface-2);
}
:root .deha-v2 .blk.alt .tabs { background: var(--paper); border: 1px solid var(--line); }
:root .deha-v2 .tabs::-webkit-scrollbar { display: none; }
:root .deha-v2 .tabs button {
  flex: none; padding: 11px 20px; border: 0; border-radius: 40px; background: none; cursor: pointer;
  font-size: 15px; font-weight: 600; color: var(--muted); transition: background-color .25s, color .2s, box-shadow .25s;
}
:root .deha-v2 .tabs button:hover { color: var(--ink); }
:root .deha-v2 .tabs button[aria-selected="true"] { background: var(--navy); color: #fff; box-shadow: 0 6px 16px -8px rgba(11, 42, 69, .7); }
:root .deha-v2 .tabs + div, :root .deha-v2 .tabs ~ [id] { animation: dv2-syIn .4s var(--ease); }
/* phân hệ: chữ + màn hình */
:root .deha-v2 .sol { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
:root .deha-v2 .sol > * { min-width: 0; }
:root .deha-v2 .sol .st h3 { font-size: clamp(24px, 2.2vw, 30px); }
:root .deha-v2 .sol .st p { margin-top: 14px; color: var(--muted); font-size: 17px; }
:root .deha-v2 .sol .st ul { display: grid; gap: 10px; margin-top: 20px; }
:root .deha-v2 .sol .st li { position: relative; padding-left: 32px; }
:root .deha-v2 .sol .st li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231172BA' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
:root .deha-v2 .sol .st a.more { margin-top: 22px; }
/* ---------- màn hình minh họa ---------- */
:root .deha-v2 .mock {
  min-width: 0; overflow: hidden; border-radius: 14px; background: var(--paper); color: var(--ink);
  border: 1px solid var(--line); box-shadow: var(--shadow-lg); font-size: 14px; font-variant-numeric: tabular-nums lining-nums;
}
:root .deha-v2 .mock .bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: var(--surface); border-bottom: 1px solid var(--line); }
:root .deha-v2 .mock .bar i { width: 9px; height: 9px; border-radius: 50%; background: #F1A9A0; }
:root .deha-v2 .mock .bar i:nth-child(2) { background: #F3D27A; }
:root .deha-v2 .mock .bar i:nth-child(3) { background: #A9D37A; }
:root .deha-v2 .mock .bar b { margin-left: 10px; font-size: 13.5px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
:root .deha-v2 .mock .mb { padding: 16px; overflow-x: auto; }
:root .deha-v2 .mock .cap { padding: 9px 16px 11px; font-size: 12.5px; color: var(--muted); border-top: 1px dashed var(--line); }
:root .deha-v2 .mock table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
:root .deha-v2 .mock th { text-align: left; padding: 8px 10px; background: #F4F8FB; color: var(--muted); font-size: 12.5px; font-weight: 700; white-space: nowrap; }
:root .deha-v2 .mock td { padding: 9px 10px; border-top: 1px solid #EDF2F7; }
:root .deha-v2 .mock p { max-width: none; }
:root .deha-v2 .pill { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 12.5px; font-weight: 700; white-space: nowrap; background: var(--surface); }
:root .deha-v2 .pill.ok { background: #E7F4DA; color: var(--ok); }
:root .deha-v2 .pill.warn { background: #FFF1D6; color: var(--warn); }
:root .deha-v2 .pill.ng { background: #FBE3E1; color: var(--ng); }
:root .deha-v2 .pill.mut { background: var(--surface-2); color: var(--muted); }
/* ô đếm */
:root .deha-v2 .cnt { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; }
:root .deha-v2 .cnt > div { padding: 14px; border-radius: 10px; background: var(--surface); }
:root .deha-v2 .cnt b { display: block; font: 700 28px/1.1 var(--f-display); color: var(--blue); }
:root .deha-v2 .cnt span { font-size: 13px; color: var(--muted); }
:root .deha-v2 .cnt div.w b { color: var(--ng); }
/* cây truy xuất */
:root .deha-v2 .mtrace li { position: relative; padding: 7px 0 7px 22px; font-size: 13.5px; }
:root .deha-v2 .mtrace li::before { content: ""; position: absolute; left: 5px; top: 0; bottom: 0; border-left: 2px solid var(--line); }
:root .deha-v2 .mtrace li::after { content: ""; position: absolute; left: 0; top: 13px; width: 12px; height: 12px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 3px var(--sky); }
:root .deha-v2 .mtrace li.l2 { margin-left: 22px; }
:root .deha-v2 .mtrace li.l3 { margin-left: 44px; }
:root .deha-v2 .mtrace li small { margin-left: 6px; color: var(--muted); }
/* thanh ngang */
:root .deha-v2 .mbars { display: grid; gap: 10px; }
:root .deha-v2 .mbars .r { display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; gap: 12px; align-items: center; font-size: 13.5px; }
:root .deha-v2 .mbars .t { height: 10px; border-radius: 10px; background: var(--surface-2); overflow: hidden; }
:root .deha-v2 .mbars .t i { display: block; height: 100%; border-radius: 10px; background: linear-gradient(90deg, var(--blue), #4FA9EC); }
:root .deha-v2 .mbars b { text-align: right; }
/* bước công đoạn */
:root .deha-v2 .mstep { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
:root .deha-v2 .mstep span { padding: 5px 12px; border-radius: 20px; font-size: 12.5px; font-weight: 700; background: var(--surface-2); color: var(--muted); }
:root .deha-v2 .mstep .d { background: #E7F4DA; color: var(--ok); }
:root .deha-v2 .mstep .a { background: var(--blue); color: #fff; }
/* hỏi đáp AI */
:root .deha-v2 .qa { display: grid; gap: 10px; }
:root .deha-v2 .qa .q { justify-self: end; max-width: 85%; padding: 10px 14px; border-radius: 14px 14px 4px 14px; background: var(--blue); color: #fff; }
:root .deha-v2 .qa .a { max-width: 92%; padding: 12px 14px; border-radius: 14px 14px 14px 4px; background: var(--surface); }
:root .deha-v2 .qa small { display: block; margin-top: 6px; color: var(--muted); font-size: 12px; }
/* ---------- giao diện trên thiết bị ---------- */
:root .deha-v2 .uiw { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
:root .deha-v2 .uifig { margin: 0; }
:root .deha-v2 .uifig img { width: 100%; filter: drop-shadow(0 30px 40px rgba(8, 40, 72, .22)); }
:root .deha-v2 .uifig figcaption { margin-top: 14px; text-align: center; font-size: 13.5px; color: var(--muted); }
:root .deha-v2 .uil { display: flex; flex-direction: column; gap: 14px; }
:root .deha-v2 .uix { padding: 20px 22px; border-radius: 12px; background: var(--paper); border-left: 3px solid var(--blue); }
:root .deha-v2 .uix b { font-size: 17px; font-family: var(--f-display); }
:root .deha-v2 .uix p { margin-top: 4px; color: var(--muted); font-size: 15px; }
:root .deha-v2 .uil .btn { margin-top: 8px; }
/* ---------- theo vai trò ---------- */
:root .deha-v2 .rolebox { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }
:root .deha-v2 .rolebox .card { padding: 34px; }
:root .deha-v2 .rolebox .kpi { padding: 34px; border-radius: var(--r); background: var(--navy); color: var(--on-dark); line-height: 1.9; font-size: 16px; }
:root .deha-v2 .rolebox .kpi b { display: block; margin-bottom: 10px; font: 700 15px var(--f-text); color: var(--green); }
/* ---------- kiến trúc tích hợp ---------- */
:root .deha-v2 .arch { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1fr); gap: 22px 48px; align-items: center; }
:root .deha-v2 .arch .col { display: flex; flex-direction: column; gap: 10px; }
:root .deha-v2 .arch .col > b { font-size: 14px; color: var(--blue); margin-bottom: 4px; }
:root .deha-v2 .arch .bx { padding: 13px 16px; border-radius: 10px; background: var(--paper); border: 1px solid var(--line); font-size: 15px; box-shadow: var(--shadow-sm); }
:root .deha-v2 .arch .core { position: relative; padding: 34px 30px; border-radius: 20px; text-align: center; color: #fff; background: linear-gradient(160deg, var(--blue), var(--blue-deep)); box-shadow: 0 30px 60px -30px rgba(17, 114, 186, .8); }
:root .deha-v2 .arch .core::before, :root .deha-v2 .arch .core::after { content: "⇄"; position: absolute; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--blue); }
:root .deha-v2 .arch .core::before { left: -36px; }
:root .deha-v2 .arch .core::after { right: -36px; }
:root .deha-v2 .arch .core h3 { font-size: 28px; color: #fff; }
:root .deha-v2 .arch .core p { margin: 10px auto 0; color: #E3F0FB; font-size: 15px; }
:root .deha-v2 .arch .mods { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 20px; }
:root .deha-v2 .arch .mods span { padding: 5px 12px; border-radius: 20px; background: rgba(255, 255, 255, .16); font-size: 13px; font-weight: 600; }
:root .deha-v2 .arch .bot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding-top: 22px; border-top: 2px dashed var(--line); }
:root .deha-v2 .arch .bot .bx { background: transparent; box-shadow: none; }
/* ---------- bảng so sánh ---------- */
:root .deha-v2 .tbl-wrap { overflow-x: auto; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
:root .deha-v2 .tbl-wrap table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
:root .deha-v2 .tbl-wrap th, :root .deha-v2 .tbl-wrap td { padding: 18px 22px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
:root .deha-v2 .tbl-wrap thead th { border-top: 0; background: var(--surface); font: 700 16px var(--f-display); }
:root .deha-v2 .tbl-wrap td:first-child { font-weight: 700; }
:root .deha-v2 .cmp th.hl { background: var(--navy); color: #fff; }
:root .deha-v2 .cmp td.hl { background: var(--sky); color: var(--ink); font-weight: 600; }
:root .deha-v2 .tbl-wrap tbody tr:hover td { background: #F8FBFE; }
:root .deha-v2 .tbl-wrap tbody tr:hover td.hl { background: #E2F1FD; }
/* ---------- các bước triển khai ---------- */
:root .deha-v2 .steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; counter-reset: none; }
:root .deha-v2 .step {
  position: relative; display: flex; flex-direction: column; gap: 10px; padding: 32px 30px 30px;
  border-radius: var(--r); background: var(--paper); border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
:root .deha-v2 .step:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
:root .deha-v2 .step .n { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 10px; border-radius: 14px; background: var(--blue); color: #fff; font: 700 21px/1 var(--f-display); }
:root .deha-v2 .step h3 { font-size: 20px; }
:root .deha-v2 .step p { color: var(--muted); font-size: 15.5px; }
:root .deha-v2 .steps + .card { margin-top: 28px; }
:root .deha-v2 .prep { columns: 2; column-gap: 48px; }
:root .deha-v2 .card ul.prep { display: block; }
:root .deha-v2 .prep li { break-inside: avoid; margin-bottom: 12px; }
/* ---------- ngành, dự án ---------- */
:root .deha-v2 .inds { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
:root .deha-v2 a.ind {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 22px; border-radius: 12px;
  background: var(--paper); border: 1px solid var(--line); font-weight: 700; color: var(--ink) !important; text-decoration: none;
  transition: border-color .2s, transform .3s var(--ease), box-shadow .3s;
}
:root .deha-v2 .blk:not(.alt) a.ind { background: var(--surface); border-color: transparent; }
:root .deha-v2 a.ind .ar { color: var(--blue); transition: transform .3s var(--ease); }
:root .deha-v2 a.ind:hover { border-color: var(--blue); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
:root .deha-v2 a.ind:hover .ar { transform: translateX(4px); }
:root .deha-v2 .pjs { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
:root .deha-v2 .card.pj { padding: 26px; }
:root .deha-v2 .card.pj h3 { font-size: 19px; }
:root .deha-v2 .card.pj > p[style] { font-size: 15px !important; }
:root .deha-v2 .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
:root .deha-v2 .chip { padding: 4px 12px; border-radius: 20px; font-size: 13px; font-weight: 700; background: var(--sky); color: var(--blue); }
:root .deha-v2 .chip.time { background: #EEF6E3; color: var(--ok); }
:root .deha-v2 .kq { margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px !important; color: var(--muted); }
:root .deha-v2 .kq b { color: var(--ink); }
/* ---------- chuyên gia ---------- */
:root .deha-v2 .card.exp { flex-direction: row; align-items: flex-start; gap: 18px; padding: 26px; }
:root .deha-v2 .card.exp img { flex: none; width: 72px; height: 72px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 4px var(--paper), 0 0 0 5px var(--line); }
:root .deha-v2 .card.exp h3 { font-size: 19px; color: var(--ink); }
:root .deha-v2 .card.exp .k { display: block; margin: 4px 0 8px !important; }
:root .deha-v2 .card.exp p { font-size: 14.5px; }
/* ---------- câu hỏi thường gặp ---------- */
:root .deha-v2 .faq { display: grid; gap: 12px; max-width: 980px; }
:root .deha-v2 .faq details { border-radius: 12px; background: var(--paper); border: 1px solid var(--line); transition: box-shadow .3s, border-color .3s; }
:root .deha-v2 .blk:not(.alt) .faq details { background: var(--surface); border-color: transparent; }
:root .deha-v2 .faq details[open] { border-color: var(--blue); box-shadow: var(--shadow-sm); background: var(--paper); }
:root .deha-v2 .faq summary { position: relative; list-style: none; cursor: pointer; padding: 22px 64px 22px 26px; font-weight: 700; font-size: 17.5px; line-height: 1.45; }
:root .deha-v2 .faq summary::-webkit-details-marker { display: none; }
:root .deha-v2 .faq summary::before, :root .deha-v2 .faq summary::after { content: ""; position: absolute; right: 26px; top: 50%; width: 14px; height: 2px; border-radius: 2px; background: var(--blue); transition: transform .3s var(--ease); }
:root .deha-v2 .faq summary::after { transform: rotate(90deg); }
:root .deha-v2 .faq details[open] > summary { color: var(--blue); }
:root .deha-v2 .faq details[open] > summary::after { transform: rotate(0); }
:root .deha-v2 .faq details > p { padding: 0 26px 24px; color: var(--muted); font-size: 16px; max-width: 80ch; }
:root .deha-v2 .faq-more { background: none !important; border: 0 !important; box-shadow: none !important; }
:root .deha-v2 .faq-more > summary { display: inline-flex; padding: 10px 0; font-size: 16px; color: var(--blue); }
:root .deha-v2 .faq-more > summary::before, :root .deha-v2 .faq-more > summary::after { display: none; }
:root .deha-v2 .faq-more[open] > summary { display: none; }
:root .deha-v2 .faq-more > .faq { margin-top: 0; }
/* ---------- khối đặt lịch cuối trang (theo trang chủ) ---------- */
:root .deha-v2 .blk:has(> .wrap > .cta) { position: relative; overflow: hidden; background: var(--blue); color: #fff; }
:root .deha-v2 .blk:has(> .wrap > .cta)::after {
  content: ""; position: absolute; right: -40px; top: 80px; width: 560px; height: 404px; opacity: .1; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 68 49'%3E%3Cpath fill='%23fff' d='M26.2181 48.06H26.0981C24.3881 48.06 23.2781 46.94 22.3081 45.86L1.35815 26.49C-0.591853 24.33 -0.421856 20.88 1.73814 18.92C3.89814 16.97 7.23815 17.08 9.18815 19.24L26.4081 34.22L58.7682 1.55995C60.8181 -0.510045 64.1581 -0.530045 66.2281 1.51995C68.2981 3.56995 68.3081 6.90996 66.2581 8.97995L29.9581 46.04C28.9681 47.04 27.6181 48.06 26.2081 48.06H26.2181Z'/%3E%3C/svg%3E") no-repeat center / contain;
  animation: dv2-checkFloat 9s ease-in-out infinite;
}
:root .deha-v2 .blk:has(> .wrap > .cta) > .wrap { position: relative; z-index: 1; }
:root .deha-v2 .blk .cta { background: none; overflow: visible; }
/* bỏ nền xanh của khối .cta trang chủ (base.css) để không che dấu check */
:root .deha-v2 .cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px 56px; }
:root .deha-v2 .cta h2 { font-size: clamp(34px, 3.8vw, 52px); letter-spacing: -0.025em; color: #fff; max-width: 20ch; }
:root .deha-v2 .cta p { margin-top: 18px; font-size: 18px; color: #E3F0FB; }
:root .deha-v2 .ctab { display: flex; flex-wrap: wrap; gap: 14px; }
:root .deha-v2 .cta .btn-line { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
:root .deha-v2 .cta .btn-line:hover { background: rgba(255, 255, 255, .12); border-color: #fff; color: #fff; }
:root .deha-v2 .icta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 64px; }
:root .deha-v2 .icta > .card { background: rgba(255, 255, 255, .1) !important; border: 1px solid rgba(255, 255, 255, .16) !important; color: #fff; backdrop-filter: blur(4px); }
:root .deha-v2 .icta > .card:hover { background: rgba(255, 255, 255, .16) !important; transform: translateY(-4px); box-shadow: none; }
:root .deha-v2 .icta h3 { color: #fff; font-size: 19px; }
:root .deha-v2 .icta p { color: #E3F0FB !important; font-size: 15px; }
:root .deha-v2 .icta a.more { color: #fff !important; }
/* nút đặt lịch dính đáy trên điện thoại */
:root .deha-v2 .mcta { display: none; }
/* ---------- hiệu ứng xuất hiện cho trang con: lớp rv do pages.js gắn ---------- */
/* ---------- responsive ---------- */
@media (max-width: 1100px) {
:root .deha-v2 .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
:root .deha-v2 .arch { grid-template-columns: 1fr; }
:root .deha-v2 .arch .core::before, :root .deha-v2 .arch .core::after { display: none; }
}
@media (max-width: 1024px) {
:root .deha-v2 .page-hero { padding-top: 112px; }
:root .deha-v2 .sy-top, :root .deha-v2 .sy-pane, :root .deha-v2 .sol, :root .deha-v2 .uiw, :root .deha-v2 .rolebox { grid-template-columns: minmax(0, 1fr); gap: 28px; }
:root .deha-v2 .sy { margin-top: 48px; padding: 26px 22px 30px; }
:root .deha-v2 .sy-rail { grid-template-columns: repeat(var(--n), 120px); overflow-x: auto; padding-bottom: 8px; scrollbar-width: none; }
:root .deha-v2 .sy-rail::before, :root .deha-v2 .sy-fill { right: auto; width: calc((var(--n) - 1) * 120px); }
:root .deha-v2 .anav { top: 70px; }
:root .deha-v2 .grid3, :root .deha-v2 .icta, :root .deha-v2 .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
:root .deha-v2 .trust { grid-template-columns: 1fr; }
:root .deha-v2 .trust > span, :root .deha-v2 .trust > span + span { padding: 18px 0; border-left: 0; }
:root .deha-v2 .trust > span + span { border-top: 1px solid var(--line); }
:root .deha-v2 .fit { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
:root .deha-v2 .page-hero h1 { font-size: 34px; }
:root .deha-v2 .sy-lead { font-size: 16.5px; }
:root .deha-v2 .page-hero .hero-actions .btn, :root .deha-v2 .ctab .btn { width: 100%; }
:root .deha-v2 .sy { margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); border-radius: 18px 18px 0 0; }
:root .deha-v2 .sy-app { overflow-x: auto; }
:root .deha-v2 .sy-app th, :root .deha-v2 .sy-app td, :root .deha-v2 .mock th, :root .deha-v2 .mock td { white-space: nowrap; padding-left: 12px; padding-right: 12px; }
:root .deha-v2 .grid3, :root .deha-v2 .grid4, :root .deha-v2 .icta, :root .deha-v2 .steps { grid-template-columns: 1fr; }
:root .deha-v2 .card, :root .deha-v2 .fit > .card, :root .deha-v2 .rolebox .card, :root .deha-v2 .rolebox .kpi, :root .deha-v2 .step { padding: 24px 22px; }
:root .deha-v2 .tbl-wrap th, :root .deha-v2 .tbl-wrap td { padding: 14px 16px; font-size: 14.5px; }
:root .deha-v2 .tbl-wrap table { min-width: 620px; }
:root .deha-v2 .prep { columns: 1; }
:root .deha-v2 .faq summary { padding: 18px 54px 18px 20px; font-size: 16.5px; }
:root .deha-v2 .faq details > p { padding: 0 20px 20px; }
:root .deha-v2 .head h2 { font-size: 30px; }
:root .deha-v2 .cta h2 { font-size: 32px; }
:root .deha-v2 .card.exp { flex-direction: column; }
:root .deha-v2 .mcta {
    display: flex; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 80;
    box-shadow: 0 16px 30px -10px rgba(11, 42, 69, .5); transform: translateY(140%); transition: transform .4s var(--ease);
  }
body.deha-doc.bar-on .deha-v2 .mcta { transform: none; }
body.deha-doc.bar-on .deha-v2 .to-top { bottom: 84px; }
}
/* ================= đợt 2: trang tổng quan ================= */
/* đầu trang một cột (không có khối câu chuyện) */
:root .deha-v2 .page-hero { --hero-img: url("../media/img/free/hero-robot.webp"); }
:root .deha-v2 .page-hero .hero-bg { display: none; }
:root .deha-v2 .page-hero:not(.sy-hero) { padding-bottom: clamp(72px, 8vw, 112px); }
:root .deha-v2 .hero-body > div, :root .deha-v2 .ph-hero > * { max-width: 860px; }
:root .deha-v2 .ph-hero > .crumbs { max-width: none; }
:root .deha-v2 .hero-body > div > div[style], :root .deha-v2 .ph-hero > div[style] { display: none; }
:root .deha-v2 .hero-body p, :root .deha-v2 .ph-hero > p { margin-top: 22px; font-size: 18.5px; line-height: 1.65; color: var(--on-dark); max-width: 66ch; }
:root .deha-v2 .hchips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
:root .deha-v2 .hchips span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 40px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); font-size: 14px; font-weight: 600; }
:root .deha-v2 .hchips span.g::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
:root .deha-v2 [data-page="san-pham"] .page-hero { --hero-img: url("../media/img/free/hero-robot.webp"); }
:root .deha-v2 [data-page="giai-phap"] .page-hero { --hero-img: url("../media/img/free/may-cat.webp"); }
:root .deha-v2 [data-page="du-an"] .page-hero { --hero-img: url("../media/img/free/day-cap.webp"); }
:root .deha-v2 [data-page="nganh"] .page-hero { --hero-img: url("../media/img/free/o-to.webp"); }
:root .deha-v2 [data-page="ve-deha"] .page-hero { --hero-img: url("../media/img/free/dien-tu.webp"); }
/* thẻ sản phẩm */
:root .deha-v2 .grid4:has(> .prod) { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px; }
:root .deha-v2 .grid4 > .prod { grid-column: span 2; }
:root .deha-v2 .grid4 > .prod:nth-child(4), :root .deha-v2 .grid4 > .prod:nth-child(5) { grid-column: span 3; }
:root .deha-v2 .prod {
  position: relative; display: flex; flex-direction: column; gap: 12px; padding: 30px 26px 26px; border-radius: var(--r);
  background: var(--surface); border-top: 4px solid var(--blue); transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .25s;
}
:root .deha-v2 .prod.ifs { border-top-color: var(--navy); }
:root .deha-v2 .prod.iqp { border-top-color: #0FA3B1; }
:root .deha-v2 .prod:hover { transform: translateY(-6px); box-shadow: var(--shadow); background: var(--paper); }
:root .deha-v2 .prod .tag { align-self: flex-start; padding: 4px 12px; border-radius: 20px; background: var(--sky); color: var(--blue); font-size: 13px; font-weight: 700; }
:root .deha-v2 .prod h3 { font-size: 24px !important; }
:root .deha-v2 .prod p { color: var(--muted); font-size: 15px; }
:root .deha-v2 .prod > a { margin-top: auto; padding-top: 8px; font-weight: 700; text-decoration: none; }
:root .deha-v2 .prod > a:hover { text-decoration: underline; text-underline-offset: 5px; }
:root .deha-v2 .grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
/* bản đồ nghiệp vụ trên nền tối */
:root .deha-v2 .th-map .head h2 { color: #fff; }
:root .deha-v2 .th-map .head p { color: var(--on-dark); }
:root .deha-v2 .blk.th-map { padding: clamp(72px, 7.5vw, 108px) 0; }
/* khối bên dưới danh sách vấn đề (trang chủ không có khối này) */
:root .deha-v2 .sec.th-map .map2 .side {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 24px; padding: 22px 24px;
  border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
}
:root .deha-v2 .sec.th-map .map2 .side .ph { flex: 1 1 420px; display: grid; gap: 4px; padding: 14px 18px; border-radius: 10px; font-size: 14.5px; }
:root .deha-v2 .sec.th-map .map2 .side .ph .k { font-size: 13px; font-weight: 700; }
:root .deha-v2 .sec.th-map .map2 .side .btn { flex: none; }
:root .deha-v2 .sec.th-map .map2 .side p { flex-basis: 100%; color: var(--on-dark) !important; font-size: 13.5px !important; }
/* danh sách nhu cầu: thẻ có link */
:root .deha-v2 .card ul li a { color: var(--ink) !important; text-decoration: none; transition: color .2s; }
:root .deha-v2 .card ul li a:hover { color: var(--blue) !important; text-decoration: underline; text-underline-offset: 4px; }
/* lộ trình */
:root .deha-v2 .road { display: grid; gap: 14px; padding: 28px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); }
:root .deha-v2 .rrow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
:root .deha-v2 .rrow .lb { flex: 0 0 240px; font: 700 16px var(--f-display); color: var(--ink); }
:root .deha-v2 .rrow span:not(.lb) { position: relative; padding: 12px 20px; border-radius: 10px; background: var(--navy); color: #fff; font-weight: 700; font-size: 15px; }
:root .deha-v2 .rrow span.tr { background: var(--sky); color: var(--blue); }
:root .deha-v2 .rrow + .rrow { padding-top: 14px; border-top: 1px dashed var(--line); }
:root .deha-v2 .road > p { margin-top: 6px !important; }
/* dự án tiêu biểu */
:root .deha-v2 .feats { display: grid; gap: clamp(56px, 7vw, 96px); }
:root .deha-v2 .feat { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
:root .deha-v2 .feat.rev .feat-t { order: 2; }
:root .deha-v2 .feat:not(:has(> .pf)) { grid-template-columns: minmax(0, 1fr); }
:root .deha-v2 .feat:not(:has(> .pf)) .feat-t { order: 0; max-width: 760px; }
:root .deha-v2 .feat-m { font-size: 14.5px !important; font-weight: 700; color: var(--blue); }
:root .deha-v2 .feat h3 { margin-top: 10px; font-size: clamp(24px, 2.4vw, 32px) !important; line-height: 1.2; }
:root .deha-v2 .feat h3 a { color: var(--ink) !important; text-decoration: none; }
:root .deha-v2 .feat h3 a:hover { color: var(--blue) !important; }
:root .deha-v2 .feat-t > p:not(.feat-m) { margin-top: 14px; color: var(--muted); font-size: 16.5px; }
:root .deha-v2 .feat dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px 24px; margin: 22px 0 0; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
:root .deha-v2 .feat dt { font-size: 13px; font-weight: 700; color: var(--muted); }
:root .deha-v2 .feat dd { margin: 2px 0 0; font-weight: 600; font-size: 15px; }
:root .deha-v2 .pq { margin: 20px 0 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--green); }
:root .deha-v2 .pq p { font-size: 17px; font-style: italic; }
:root .deha-v2 .pq .pq-by { margin-top: 6px; font-size: 14px; font-style: normal; color: var(--muted); }
:root .deha-v2 .th-link { display: inline-flex; margin-top: 22px; font-weight: 700; text-decoration: none; }
:root .deha-v2 .th-link:hover { text-decoration: underline; text-underline-offset: 5px; }
:root .deha-v2 .pf { margin: 0; }
:root .deha-v2 .pf img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 18px; box-shadow: var(--shadow-lg); }
:root .deha-v2 .pf figcaption { margin-top: 12px; font-size: 13.5px; color: var(--muted); }
:root .deha-v2 .pf-wait > div { display: grid; place-items: center; aspect-ratio: 16 / 10; padding: 24px; border-radius: 18px; background: var(--ph); border: 1.5px dashed var(--ph-line); text-align: center; }
/* lọc dự án */
:root .deha-v2 .pjf { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-bottom: 28px; }
:root .deha-v2 .filters { display: flex; flex-wrap: wrap; gap: 8px; }
:root .deha-v2 .filters button {
  padding: 10px 18px; border-radius: 40px; border: 1px solid var(--line); background: var(--paper); cursor: pointer;
  font-size: 14.5px; font-weight: 600; color: var(--muted); transition: background-color .2s, color .2s, border-color .2s;
}
:root .deha-v2 .filters button:hover { border-color: var(--blue); color: var(--blue); }
:root .deha-v2 .filters button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
:root .deha-v2 .pjf-ind { display: inline-flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 600; }
:root .deha-v2 .pjf-ind select { min-height: 44px; padding: 0 40px 0 16px; border-radius: 40px; border: 1px solid var(--line); background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%230E2236' stroke-width='1.6'/%3E%3C/svg%3E") right 16px center / 10px no-repeat; font: inherit; font-weight: 600; color: var(--ink); appearance: none; cursor: pointer; }
:root .deha-v2 .pjf-n { margin-left: auto; font-size: 14.5px; color: var(--muted); }
:root .deha-v2 .pjf-reset { padding: 8px 14px; border: 0; background: none; color: var(--blue); font-weight: 700; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
:root .deha-v2 .pjrows { border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); overflow: hidden; }
:root .deha-v2 a.pjrow {
  display: grid; grid-template-columns: 190px minmax(0, 1fr) 160px; gap: 8px 32px; align-items: center; padding: 22px 28px;
  color: var(--ink) !important; text-decoration: none; transition: background-color .2s;
}
:root .deha-v2 a.pjrow + a.pjrow { border-top: 1px solid var(--line); }
:root .deha-v2 a.pjrow:hover { background: var(--sky); }
:root .deha-v2 .pr-k { font-size: 14px; font-weight: 600; color: var(--muted); }
:root .deha-v2 .pr-t b { display: block; font: 700 18px/1.35 var(--f-display); transition: color .2s; }
:root .deha-v2 .pr-t b::after { content: " →"; color: var(--blue); opacity: 0; transition: opacity .2s; }
:root .deha-v2 a.pjrow:hover .pr-t b { color: var(--blue); }
:root .deha-v2 a.pjrow:hover .pr-t b::after { opacity: 1; }
:root .deha-v2 .pr-t > span { display: block; margin-top: 4px; font-size: 15px; color: var(--muted); }
:root .deha-v2 .pr-p { justify-self: end; padding: 4px 12px; border-radius: 20px; background: var(--sky); color: var(--blue); font-size: 13px; font-weight: 700; text-align: center; }
/* ngành tập trung */
:root .deha-v2 .ixrows { border-top: 2px solid var(--ink); }
:root .deha-v2 .ixr { display: grid; grid-template-columns: 240px minmax(0, 1fr) minmax(0, 1.1fr); gap: 16px 40px; padding: 30px 0; border-bottom: 1px solid var(--line); transition: background-color .25s; }
:root .deha-v2 .ixr-n a { font: 700 24px/1.2 var(--f-display); color: var(--ink) !important; text-decoration: none; }
:root .deha-v2 .ixr-n a::after { content: " →"; color: var(--blue); }
:root .deha-v2 .ixr-n a:hover { color: var(--blue) !important; }
:root .deha-v2 .ixr-s b { display: block; font-size: 17px; }
:root .deha-v2 .ixr-s p { margin-top: 6px; color: var(--muted); font-size: 15.5px; }
:root .deha-v2 .ixr-p { display: grid; gap: 8px; }
:root .deha-v2 .ixr-p li a { display: block; padding: 10px 14px; border-radius: 10px; background: var(--surface); color: var(--ink) !important; text-decoration: none; font-weight: 600; font-size: 15px; transition: background-color .2s, color .2s; }
:root .deha-v2 .ixr-p li a:hover { background: var(--sky); color: var(--blue) !important; }
:root .deha-v2 .ixr-p li.near { display: flex; align-items: center; gap: 8px; }
:root .deha-v2 .ixr-p li.near a { flex: 1; }
:root .deha-v2 .ixr-p li.near span { flex: none; font-size: 13px; color: var(--muted); }
:root .deha-v2 .oxrows { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
:root .deha-v2 a.oxr { display: flex; justify-content: space-between; align-items: center; padding: 20px 22px; border-radius: 12px; background: var(--surface); color: var(--ink) !important; text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s, background-color .2s; }
:root .deha-v2 .blk.alt a.oxr, :root .deha-v2 .blk.alt .ixr-p li a { background: var(--paper); }
:root .deha-v2 a.oxr::after { content: "→"; color: var(--blue); font-weight: 700; }
:root .deha-v2 a.oxr:hover { transform: translateY(-3px); background: var(--paper); box-shadow: var(--shadow-sm); }
/* về DEHA */
:root .deha-v2 .card.tm { gap: 8px; padding: 30px 26px; }
:root .deha-v2 .card.tm .tmav { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; margin-bottom: 10px; box-shadow: 0 0 0 4px var(--paper), 0 0 0 5px var(--line); }
:root .deha-v2 .card.tm h3 { font-size: 20px; }
:root .deha-v2 .card.tm ul { margin-top: 10px; gap: 8px; font-size: 14.5px; color: var(--muted); }
:root .deha-v2 .offices { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
:root .deha-v2 .offices .card { border-top: 4px solid var(--blue); }
:root .deha-v2 .values { max-width: 980px !important; font-size: 18.5px; line-height: 1.9; color: var(--muted); }
:root .deha-v2 .values b { color: var(--ink); font-family: var(--f-display); font-size: 19px; }
@media (max-width: 1024px) {
:root .deha-v2 .feat, :root .deha-v2 .grid2 { grid-template-columns: minmax(0, 1fr); }
:root .deha-v2 .grid4:has(> .prod) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
:root .deha-v2 .grid4 > .prod, :root .deha-v2 .grid4 > .prod:nth-child(4) { grid-column: auto; }
:root .deha-v2 .grid4 > .prod:nth-child(5) { grid-column: 1 / -1; }
:root .deha-v2 .feat.rev .feat-t { order: 0; }
:root .deha-v2 .ixr { grid-template-columns: minmax(0, 1fr); gap: 12px; }
:root .deha-v2 .offices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
:root .deha-v2 a.pjrow { grid-template-columns: minmax(0, 1fr) auto; }
:root .deha-v2 .pr-k { grid-column: 1 / -1; }
:root .deha-v2 .rrow .lb { flex-basis: 100%; }
}
@media (max-width: 680px) {
:root .deha-v2 .hero-body p, :root .deha-v2 .ph-hero > p { font-size: 16.5px; }
:root .deha-v2 .offices { grid-template-columns: 1fr; }
:root .deha-v2 .grid4:has(> .prod) { grid-template-columns: 1fr; }
:root .deha-v2 a.pjrow { grid-template-columns: minmax(0, 1fr); padding: 18px 20px; }
:root .deha-v2 .pr-p { justify-self: start; }
:root .deha-v2 .pjf-n { margin-left: 0; width: 100%; }
:root .deha-v2 .pjf-ind { width: 100%; }
:root .deha-v2 .pjf-ind select { flex: 1; }
:root .deha-v2 .values { font-size: 16.5px; }
:root .deha-v2 .ixr-p li.near { flex-wrap: wrap; }
:root .deha-v2 .ixr-p li.near a { flex-basis: 100%; }
:root .deha-v2 .ixr-p li.near span { margin-left: 14px; }
}
/* ================= đợt 3: trang phân hệ ERP ================= */
:root .deha-v2 [data-page^="erp-"] .page-hero { --hero-img: url("../media/img/free/kho-hang.webp"); }
:root .deha-v2 [data-page="erp-san-xuat"] .page-hero { --hero-img: url("../media/img/free/robot-han.webp"); }
:root .deha-v2 [data-page="erp-tai-chinh"] .page-hero { --hero-img: url("../media/img/free/hero-robot.webp"); }
/* đầu trang hai cột: chữ + màn hình minh họa */
:root .deha-v2 .hero-body:not(.solo) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
:root .deha-v2 .hero-body:not(.solo) > div:first-child { max-width: none; }
:root .deha-v2 .hero-body:not(.solo) h1 { font-size: clamp(34px, 3.6vw, 52px); }
:root .deha-v2 .hero-vis { min-width: 0; }
:root .deha-v2 .hero-vis .mock { border: 0; box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .7); transform: perspective(1400px) rotateY(-6deg) rotateX(2deg); transition: transform .8s var(--ease); }
:root .deha-v2 .hero-vis .mock:hover { transform: none; }
/* thẻ liên quan: chữ "Xem …" là span */
:root .deha-v2 .card span.more { display: inline-flex; padding-top: 10px; }
:root .deha-v2 a.card:hover span.more { text-decoration: underline; text-underline-offset: 5px; }
/* quy trình */
:root .deha-v2 .timeline { --n: 4; position: relative; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 20px; counter-reset: tl; }
:root .deha-v2 .timeline::before { content: ""; position: absolute; left: 24px; right: calc(100% / var(--n)); top: 24px; height: 2px; background: repeating-linear-gradient(90deg, var(--blue) 0 8px, transparent 8px 14px); opacity: .5; }
:root .deha-v2 .tl { position: relative; display: flex; flex-direction: column; counter-increment: tl; padding-top: 68px; }
:root .deha-v2 .tl::before {
  content: counter(tl); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 48px; height: 48px;
  border-radius: 50%; background: var(--blue); color: #fff; font: 700 20px/1 var(--f-display); box-shadow: 0 0 0 6px var(--surface);
}
:root .deha-v2 .blk:not(.alt) .tl::before { box-shadow: 0 0 0 6px var(--paper); }
:root .deha-v2 .tl b { display: block; padding: 20px 22px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); font: 700 17px/1.4 var(--f-display); flex: 1; }
:root .deha-v2 .tl:last-child::before { background: var(--green); color: var(--ink); }
:root .deha-v2 .card.tl-side { margin-top: 32px; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
:root .deha-v2 .card.tl-side .k { font: 700 16px var(--f-display); color: var(--ink); }
:root .deha-v2 .card.tl-side ul { display: flex !important; flex-direction: row !important; flex-wrap: wrap; gap: 8px 24px !important; padding-left: 0 !important; }
@media (max-width: 1024px) {
:root .deha-v2 .hero-body:not(.solo) { grid-template-columns: minmax(0, 1fr); gap: 40px; }
:root .deha-v2 .hero-vis .mock { transform: none; }
:root .deha-v2 .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
:root .deha-v2 .timeline::before { display: none; }
}
@media (max-width: 680px) {
:root .deha-v2 .timeline { grid-template-columns: 1fr; gap: 0; }
:root .deha-v2 .tl { padding: 0 0 18px 68px; }
:root .deha-v2 .tl:not(:last-child)::after { content: ""; position: absolute; left: 23px; top: 54px; bottom: 6px; width: 2px; background: var(--line); }
:root .deha-v2 .card.tl-side ul { flex-direction: column !important; }
}
/* ================= đợt 4: chất lượng, IFS, kiến trúc, hỗ trợ ================= */
:root .deha-v2 [data-page="erp-chat-luong"] .page-hero { --hero-img: url("../media/img/free/dien-tu.webp"); }
:root .deha-v2 [data-page^="ifs-"] .page-hero { --hero-img: url("../media/img/free/o-to.webp"); }
:root .deha-v2 [data-page="kien-truc"] .page-hero { --hero-img: url("../media/img/free/day-cap.webp"); }
:root .deha-v2 [data-page="ho-tro"] .page-hero { --hero-img: url("../media/img/free/may-cat.webp"); }
/* bước có mô tả: tên bước và mô tả chung một khung */
:root .deha-v2 .tl:has(> span) b { flex: none; padding-bottom: 6px; border-bottom: 0; border-radius: 12px 12px 0 0; }
:root .deha-v2 .tl > span { flex: 1; padding: 0 22px 20px; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 12px 12px; background: var(--paper); color: var(--muted); font-size: 15px; }
/* thẻ nhu cầu */
:root .deha-v2 .card.pain { border-left: 4px solid var(--blue); }
/* biểu đồ giai đoạn (gantt) */
:root .deha-v2 .gantt { display: grid; gap: 10px; }
:root .deha-v2 .gantt .ax, :root .deha-v2 .gantt .gr { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 14px; align-items: center; }
:root .deha-v2 .gantt .ax > div:last-child { display: flex; justify-content: space-between; font-size: 12px; font-weight: 700; color: var(--muted); }
:root .deha-v2 .gantt .gr > div:first-child { font-size: 13px; font-weight: 600; }
:root .deha-v2 .gantt .tk { position: relative; height: 22px; border-radius: 6px; background: repeating-linear-gradient(90deg, var(--surface) 0 calc(var(--u) - 1px), var(--line) calc(var(--u) - 1px) var(--u)); }
:root .deha-v2 .gantt .tk i { position: absolute; top: 3px; bottom: 3px; border-radius: 5px; background: linear-gradient(90deg, var(--blue), #4FA9EC); }
:root .deha-v2 .gantt .tk i.g { background: var(--green); }
:root .deha-v2 .gantt .cap { padding: 6px 0 0 !important; border: 0 !important; }
/* hai đường nâng cấp */
:root .deha-v2 .paths { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, 1fr); gap: 28px; align-items: center; }
:root .deha-v2 .paths .nd { padding: 30px 26px; border-radius: 18px; text-align: center; }
:root .deha-v2 .paths .nd b { display: block; font: 700 24px/1.2 var(--f-display); }
:root .deha-v2 .paths .nd small { display: block; margin-top: 8px; font-size: 14.5px; }
:root .deha-v2 .paths .nd.s { background: var(--surface); border: 1px solid var(--line); }
:root .deha-v2 .paths .nd.s small { color: var(--muted); }
:root .deha-v2 .paths .nd.e { background: linear-gradient(160deg, var(--blue), var(--blue-deep)); color: #fff; box-shadow: 0 30px 60px -30px rgba(17, 114, 186, .8); }
:root .deha-v2 .paths .mid { position: relative; display: grid; gap: 14px; }
:root .deha-v2 .paths .mid::before, :root .deha-v2 .paths .mid::after { content: "→"; position: absolute; top: 50%; transform: translateY(-50%); font-size: 24px; color: var(--blue); }
:root .deha-v2 .paths .mid::before { left: -24px; }
:root .deha-v2 .paths .mid::after { right: -24px; }
:root .deha-v2 .paths .rt { padding: 20px 22px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--green); box-shadow: var(--shadow-sm); }
:root .deha-v2 .paths .rt b { font: 700 18px var(--f-display); }
:root .deha-v2 .paths .rt p { margin-top: 4px; color: var(--muted); font-size: 15px; }
/* mức hỗ trợ */
:root .deha-v2 .lv { display: flex; gap: 6px; margin: 4px 0 6px; }
:root .deha-v2 .lv i { width: 34px; height: 6px; border-radius: 6px; background: var(--surface-2); }
:root .deha-v2 .lv i.on { background: var(--blue); }
:root .deha-v2 .grid3 > .card:has(.lv):last-child { background: var(--navy); color: #fff; }
:root .deha-v2 .grid3 > .card:has(.lv):last-child h3 { color: #fff; }
:root .deha-v2 .grid3 > .card:has(.lv):last-child .k { color: var(--green); }
:root .deha-v2 .grid3 > .card:has(.lv):last-child ul { color: var(--on-dark); }
:root .deha-v2 .grid3 > .card:has(.lv):last-child ul li::before { background: var(--green); }
:root .deha-v2 .grid3 > .card:has(.lv):last-child .lv i { background: rgba(255, 255, 255, .2); }
:root .deha-v2 .grid3 > .card:has(.lv):last-child .lv i.on { background: var(--green); }
@media (max-width: 1024px) {
:root .deha-v2 .paths { grid-template-columns: minmax(0, 1fr); }
:root .deha-v2 .paths .mid::before, :root .deha-v2 .paths .mid::after { display: none; }
}
@media (max-width: 680px) {
:root .deha-v2 .gantt .ax, :root .deha-v2 .gantt .gr { grid-template-columns: 110px minmax(0, 1fr); }
}
/* ================= đợt 5: trang theo nhu cầu ================= */
:root .deha-v2 [data-page^="nc-"] .page-hero { --hero-img: url("../media/img/free/kho-hang.webp"); }
:root .deha-v2 [data-page="nc-lenh-sx"] .page-hero, :root .deha-v2 [data-page="nc-lap-lich"] .page-hero, :root .deha-v2 [data-page="nc-chong-sai"] .page-hero { --hero-img: url("../media/img/free/robot-han.webp"); }
:root .deha-v2 [data-page="nc-may"] .page-hero, :root .deha-v2 [data-page="nc-bao-tri"] .page-hero { --hero-img: url("../media/img/free/may-cat.webp"); }
:root .deha-v2 [data-page="nc-ngoai-quan"] .page-hero, :root .deha-v2 [data-page="nc-8d-4m"] .page-hero { --hero-img: url("../media/img/free/dien-tu.webp"); }
/* đoạn dẫn: chữ lớn, một cột */
:root .deha-v2 .prose { max-width: 900px; }
:root .deha-v2 .prose p { font-size: clamp(19px, 1.6vw, 23px); line-height: 1.6; color: var(--ink); max-width: none !important; }
:root .deha-v2 .prose p + p { margin-top: 18px; }
/* bản tin điều hành (màn hình minh họa) */
:root .deha-v2 .brief { display: grid; gap: 10px; }
:root .deha-v2 .brief li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 10px; background: var(--surface); font-size: 13.5px; line-height: 1.5; }
:root .deha-v2 .brief i { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--paper); color: var(--blue); font-style: normal; font-weight: 700; box-shadow: var(--shadow-sm); }
:root .deha-v2 .brief u { color: var(--blue); font-weight: 700; text-decoration: none; white-space: nowrap; }
:root .deha-v2 .brief u::after { content: " →"; }
/* chỗ chờ nội dung (dự án tương tự) */
:root .deha-v2 div.ph { display: grid; gap: 6px; align-content: start; padding: 24px 26px; border-radius: var(--r); }
:root .deha-v2 div.ph .k { font-size: 13px; font-weight: 700; }
/* khung thời gian / ghi chú cạnh quy trình */
:root .deha-v2 .card.tl-side p { flex: 1 1 360px; }
:root .deha-v2 .card.tl-side a.more { margin-top: 0; padding-top: 0; }
/* chỉ số đo kết quả */
:root .deha-v2 .kt { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; counter-reset: kt; }
:root .deha-v2 .kt > div { position: relative; counter-increment: kt; padding: 26px 24px 24px; border-radius: var(--r); background: var(--surface); border-top: 4px solid var(--blue); font: 700 17px/1.4 var(--f-display); }
:root .deha-v2 .kt > div::before { content: counter(kt, decimal-leading-zero); display: block; margin-bottom: 12px; font-size: 13px; color: var(--blue); }
:root .deha-v2 .blk.alt .kt > div { background: var(--paper); }
:root .deha-v2 .grid2:has(> .card > .kt) > .card:has(.cic) { align-items: center; padding: 24px 28px; border-left: 4px solid var(--green); }
:root .deha-v2 .cic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--sky); }
:root .deha-v2 .cic svg { width: 22px; height: 22px; stroke: var(--blue); fill: none; stroke-width: 1.8; }
/* ================= đợt 6: trang ngành ================= */
:root .deha-v2 [data-page="nc-audit"] .page-hero, :root .deha-v2 [data-page="nc-da-co-erp"] .page-hero { --hero-img: url("../media/img/free/dien-tu.webp"); }
/* đầu trang ngành: chữ + ảnh ngành */
:root .deha-v2 .ib {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center;
  padding: 140px max(var(--gutter), calc((100% - var(--wrap)) / 2)) clamp(72px, 8vw, 104px);
  background: radial-gradient(60% 80% at 90% 0%, rgba(17, 114, 186, .45), transparent 70%), var(--navy); color: #fff; overflow: hidden;
}
:root .deha-v2 .ib::after {
  content: ""; position: absolute; left: -60px; bottom: -80px; width: 420px; height: 303px; opacity: .05; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 68 49'%3E%3Cpath fill='%23fff' d='M26.2181 48.06H26.0981C24.3881 48.06 23.2781 46.94 22.3081 45.86L1.35815 26.49C-0.591853 24.33 -0.421856 20.88 1.73814 18.92C3.89814 16.97 7.23815 17.08 9.18815 19.24L26.4081 34.22L58.7682 1.55995C60.8181 -0.510045 64.1581 -0.530045 66.2281 1.51995C68.2981 3.56995 68.3081 6.90996 66.2581 8.97995L29.9581 46.04C28.9681 47.04 27.6181 48.06 26.2081 48.06H26.2181Z'/%3E%3C/svg%3E") no-repeat center / contain;
}
:root .deha-v2 .ib-txt { position: relative; z-index: 1; }
:root .deha-v2 .ib .crumbs a { color: #fff; text-decoration: none; opacity: .9; }
:root .deha-v2 .ib h1 { margin-top: 22px; font-size: clamp(34px, 3.6vw, 52px); line-height: 1.1; letter-spacing: -0.025em; }
:root .deha-v2 .ib-txt > p:not(.ib-note) { margin-top: 22px; font-size: 18.5px; line-height: 1.65; color: var(--on-dark); }
:root .deha-v2 .ib .hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
:root .deha-v2 .ib .btn-line { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
:root .deha-v2 .ib .btn-line:hover { background: rgba(255, 255, 255, .12); border-color: #fff; color: #fff; }
:root .deha-v2 .ib-note { margin-top: 26px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .16); font-size: 14px; color: var(--on-dark); }
:root .deha-v2 .ib-img { position: relative; z-index: 1; margin: 0; }
:root .deha-v2 .ib-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 22px; box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .7); }
:root .deha-v2 .ib-img::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; z-index: -1; border-radius: 22px; border: 2px solid rgba(142, 198, 65, .5); }
/* chỗ nghẽn: hôm nay và khi có hệ thống */
:root .deha-v2 .ba-head { max-width: 860px; margin-bottom: 34px; }
:root .deha-v2 .ba-head h2 { font-size: clamp(32px, 3.4vw, 48px); letter-spacing: -0.025em; }
:root .deha-v2 .ba-head h2::before { content: ""; display: block; width: 44px; height: 4px; border-radius: 4px; background: var(--green); margin-bottom: 22px; }
:root .deha-v2 .ba-head p { margin-top: 16px; font-size: 18px; color: var(--muted); }
:root .deha-v2 .ba-tabs { display: inline-flex; gap: 4px; padding: 5px; margin-bottom: 26px; border-radius: 40px; background: var(--surface-2); }
:root .deha-v2 .ba-tabs button { padding: 11px 22px; border: 0; border-radius: 40px; background: none; cursor: pointer; font-size: 15px; font-weight: 700; color: var(--muted); transition: background-color .25s, color .2s; }
:root .deha-v2 .ba-tabs button[aria-selected="true"] { background: var(--navy); color: #fff; }
:root .deha-v2 .ba-sec:has(.ba[data-s="sys"]) .ba-tabs button[aria-selected="true"] { background: var(--green); color: var(--ink); }
:root .deha-v2 .ba { border-radius: var(--r); border: 1px solid var(--line); overflow: hidden; background: var(--paper); }
:root .deha-v2 .ba-r { display: grid; grid-template-columns: 220px minmax(0, 1fr) 120px 200px; gap: 8px 28px; align-items: start; padding: 20px 26px; }
:root .deha-v2 .ba-r + .ba-r { border-top: 1px solid var(--line); }
:root .deha-v2 .ba-th { background: var(--surface); font-size: 13px; font-weight: 700; color: var(--muted); padding-top: 14px; padding-bottom: 14px; }
:root .deha-v2 .ba-r h3 { font-size: 17px !important; }
:root .deha-v2 .ba-t p { font-size: 15.5px; }
:root .deha-v2 .ba[data-s="now"] .ba-t .sys, :root .deha-v2 .ba[data-s="sys"] .ba-t .now { display: none; }
:root .deha-v2 .ba[data-s="now"] .ba-t p.now { color: var(--muted); }
:root .deha-v2 .ba[data-s="sys"] .ba-t p.sys { color: var(--ink); }
:root .deha-v2 .ba[data-s="sys"] .ba-r:not(.ba-th) { animation: dv2-syIn .4s var(--ease); }
:root .deha-v2 .ba-p { justify-self: start; padding: 4px 12px; border-radius: 20px; background: var(--surface); color: var(--muted); font-size: 13px; font-weight: 700; white-space: nowrap; transition: background-color .3s, color .3s; }
:root .deha-v2 .ba[data-s="sys"] .ba-p { background: var(--sky); color: var(--blue); }
:root .deha-v2 .ba-m { font-size: 14px; color: var(--muted); }
:root .deha-v2 .ba-foot { margin-top: 16px; font-size: 14px; color: var(--muted); }
:root .deha-v2 .more-l { margin-top: 22px; }
:root .deha-v2 .near-h { margin: 36px 0 16px; font-size: 19px !important; }
/* quy trình ngành: chọn công đoạn */
:root .deha-v2 .stages { display: grid; gap: 10px; margin-bottom: 18px; }
:root .deha-v2 .stages button {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 18px 16px; text-align: left; cursor: pointer;
  border-radius: 12px; border: 1px solid var(--line); background: var(--paper); transition: border-color .2s, background-color .2s, transform .3s var(--ease), box-shadow .3s;
}
:root .deha-v2 .blk:not(.alt) .stages button { background: var(--surface); border-color: transparent; }
:root .deha-v2 .stages button:hover { transform: translateY(-3px); border-color: var(--blue); }
:root .deha-v2 .stages .n { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--surface-2); color: var(--muted); font: 700 15px/1 var(--f-display); transition: background-color .2s, color .2s; }
:root .deha-v2 .stages .t { font-weight: 700; font-size: 15px; line-height: 1.35; }
:root .deha-v2 .stages button[aria-pressed="true"] { background: var(--navy) !important; border-color: var(--navy) !important; color: #fff; box-shadow: 0 16px 30px -16px rgba(11, 42, 69, .7); }
:root .deha-v2 .stages button[aria-pressed="true"] .n { background: var(--green); color: var(--ink); }
:root .deha-v2 .ppanel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, .6fr); gap: 16px; }
:root .deha-v2 .ppanel > div { padding: 24px 26px; border-radius: var(--r); background: var(--surface); }
:root .deha-v2 .blk.alt .ppanel > div { background: var(--paper); }
:root .deha-v2 .ppanel .k { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 700; color: var(--muted); }
:root .deha-v2 .ppanel > div:nth-child(2) { background: var(--sky); }
:root .deha-v2 .ppanel > div:nth-child(2) .k { color: var(--blue); }
:root .deha-v2 .ppanel p { font-size: 16px; }
:root .deha-v2 .ppanel .p3 { font: 700 18px var(--f-display); color: var(--blue); }
/* máy tính ước tính */
:root .deha-v2 .calc { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }
:root .deha-v2 .calc > div:first-child { display: grid; gap: 14px; padding: 30px; border-radius: var(--r); background: var(--surface); }
:root .deha-v2 .calc label { display: grid; gap: 8px; font-size: 15px; font-weight: 600; }
:root .deha-v2 .calc input {
  min-height: 52px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--line); background: var(--paper);
  font: 700 18px var(--f-display); color: var(--ink); font-variant-numeric: tabular-nums; transition: border-color .2s, box-shadow .2s;
}
:root .deha-v2 .calc input:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(17, 114, 186, .15); }
:root .deha-v2 .calc .out { display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 34px; border-radius: var(--r); background: var(--navy); color: #fff; }
:root .deha-v2 .calc .out span { font-size: 15px; color: var(--on-dark); }
:root .deha-v2 .calc .out b { font: 700 clamp(36px, 4vw, 56px)/1 var(--f-display); color: var(--green); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
:root .deha-v2 .calc .out small { font-size: 13.5px; color: var(--on-dark); line-height: 1.55; }
@media (max-width: 1024px) {
:root .deha-v2 .ib { grid-template-columns: minmax(0, 1fr); padding-top: 112px; gap: 44px; }
:root .deha-v2 .ba-r { grid-template-columns: minmax(0, 1fr); gap: 10px; }
:root .deha-v2 .ba-m { padding-left: 12px; border-left: 2px solid var(--line); }
:root .deha-v2 .ba-th { display: none; }
:root .deha-v2 .ppanel, :root .deha-v2 .calc { grid-template-columns: minmax(0, 1fr); }
:root .deha-v2 .stages { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}
@media (max-width: 680px) {
:root .deha-v2 .ib h1 { font-size: 32px; }
:root .deha-v2 .ib .hero-actions .btn { width: 100%; }
:root .deha-v2 .ib-img::before { display: none; }
:root .deha-v2 .ba-r { padding: 18px 18px; }
:root .deha-v2 .ba-tabs { display: flex; }
:root .deha-v2 .ba-tabs button { flex: 1; padding: 11px 12px; }
:root .deha-v2 .stages { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
:root .deha-v2 .calc > div:first-child, :root .deha-v2 .calc .out { padding: 24px 22px; }
}
/* ================= đợt 7: giải pháp khác, trang dự án ================= */
:root .deha-v2 [data-page="ai"] .page-hero, :root .deha-v2 [data-page="ban-ve-tu-dien"] .page-hero { --hero-img: url("../media/img/free/dien-tu.webp"); }
:root .deha-v2 [data-page="tu-dong-hoa"] .page-hero { --hero-img: url("../media/img/free/robot-han.webp"); }
:root .deha-v2 [data-page="truy-xuat-lo"] .page-hero, :root .deha-v2 [data-page="nha-cung-cap-fdi"] .page-hero { --hero-img: url("../media/img/free/kho-hang.webp"); }
:root .deha-v2 [data-page="deha-mes-duoc"] .page-hero { --hero-img: url("../media/img/free/may-cat.webp"); }
/* ảnh trong đầu trang */
:root .deha-v2 .th-fig { margin: 0; }
:root .deha-v2 .th-fig img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 22px; box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .7); }
:root .deha-v2 .th-fig figcaption { margin-top: 12px; font-size: 13.5px; opacity: .8; }
/* ghi chú trang mẫu (nội bộ) */
:root .deha-v2 .tpl { padding: 18px 0; background: var(--ph); border-top: 1.5px dashed var(--ph-line); border-bottom: 1.5px dashed var(--ph-line); color: var(--ph-ink); font-size: 14.5px; }
/* công cụ truy xuất lô (đầu trang) */
:root .deha-v2 .trace { padding: 26px 28px 24px; border-radius: 18px; background: #fff; color: var(--ink); font-size: 14.5px; box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .7); }
:root .deha-v2 .trace label { display: block; margin-bottom: 8px; font-size: 13.5px; font-weight: 700; color: var(--muted); }
:root .deha-v2 .tr-row { display: flex; gap: 10px; }
:root .deha-v2 .trace input { flex: 1; min-width: 0; min-height: 52px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--line); font: 700 20px var(--f-display); letter-spacing: .02em; color: var(--ink); }
:root .deha-v2 .trace input:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(17, 114, 186, .15); }
:root .deha-v2 .tr-go { padding: 0 20px; border: 0; border-radius: 10px; background: var(--navy); color: #fff; font-weight: 700; font-size: 15px; cursor: pointer; transition: background-color .2s; }
:root .deha-v2 .tr-go:hover { background: var(--blue); }
:root .deha-v2 .trace p { color: var(--muted) !important; max-width: none; }
:root .deha-v2 .tr-help { margin-top: 10px; font-size: 13.5px; }
:root .deha-v2 .tr-ex { margin-left: 4px; padding: 4px 10px; border: 0; border-radius: 20px; background: var(--sky); color: var(--blue); font-weight: 700; font-size: 13px; cursor: pointer; }
:root .deha-v2 .tr-ex:hover { background: var(--blue); color: #fff; }
:root .deha-v2 .tr-out { margin-top: 18px; }
:root .deha-v2 .tr-out.in { animation: dv2-syIn .45s var(--ease); }
:root .deha-v2 .tr-head { display: grid; gap: 2px; padding: 14px 16px; border-radius: 10px; background: var(--surface); }
:root .deha-v2 .tr-head b { font: 700 17px var(--f-display); }
:root .deha-v2 .tr-head span { color: var(--muted); }
:root .deha-v2 .trace .tr-h { margin: 16px 0 6px; font-size: 13px; font-weight: 700; color: var(--blue); }
:root .deha-v2 .trace table { width: 100%; border-collapse: collapse; }
:root .deha-v2 .trace td { padding: 8px 6px; border-top: 1px solid #E8EEF4; vertical-align: top; }
:root .deha-v2 .trace td:first-child { padding-left: 0; font-weight: 700; }
:root .deha-v2 .trace td.ok { color: var(--ok); font-weight: 700; }
:root .deha-v2 .tr-kv { margin-top: 12px !important; padding: 10px 14px; border-radius: 10px; background: #FFF6DA; color: #5A4300 !important; }
/* vòng làm việc của AI */
:root .deha-v2 .pipe { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: pp; }
:root .deha-v2 .pipe > div { position: relative; counter-increment: pp; display: grid; gap: 6px; align-content: start; padding: 26px 24px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); }
:root .deha-v2 .blk:not(.alt) .pipe > div { background: var(--surface); border-color: transparent; }
:root .deha-v2 .pipe > div::before { content: counter(pp, decimal-leading-zero); font: 700 13px var(--f-display); color: var(--blue); }
:root .deha-v2 .pipe > div:not(:last-child)::after { content: "→"; position: absolute; right: -16px; top: 50%; transform: translateY(-50%); z-index: 1; font-weight: 700; color: var(--blue); }
:root .deha-v2 .pipe b { font: 700 18px var(--f-display); }
:root .deha-v2 .pipe small { font-size: 14.5px; color: var(--muted); line-height: 1.5; }
:root .deha-v2 .pipe > div.hl { background: var(--navy) !important; color: #fff; }
:root .deha-v2 .pipe > div.hl::before { color: var(--green); }
:root .deha-v2 .pipe > div.hl small { color: var(--on-dark); }
/* giám sát thiết bị (màn hình minh họa) */
:root .deha-v2 .mboard { display: grid; gap: 10px; }
:root .deha-v2 .mc { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; align-items: center; padding: 12px 14px; border-radius: 10px; background: var(--surface); border-left: 4px solid var(--ok); }
:root .deha-v2 .mc.warn { border-left-color: #E0A23B; }
:root .deha-v2 .mc b { font-size: 14px; }
:root .deha-v2 .mc > span:first-of-type { grid-column: 1 / -1; grid-row: 2; font-size: 12.5px; color: var(--muted); }
:root .deha-v2 .mc > span:last-of-type { grid-column: 2; grid-row: 1; font-size: 12.5px; font-weight: 700; color: var(--ok); }
:root .deha-v2 .mc.warn > span:last-of-type { color: var(--warn); }
:root .deha-v2 .prog { grid-column: 1 / -1; height: 6px; border-radius: 6px; background: var(--surface-2); overflow: hidden; }
:root .deha-v2 .prog i { display: block; height: 100%; border-radius: 6px; background: var(--ok); }
:root .deha-v2 .mc.warn .prog i { background: #E0A23B; }
/* ba bước nhỏ trong màn hình minh họa */
:root .deha-v2 .mini3 { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
:root .deha-v2 .mini3 > div { flex: 1; padding: 10px 8px; border-radius: 8px; background: var(--surface); text-align: center; font-size: 12.5px; font-weight: 700; }
:root .deha-v2 .mini3 > div.hl { background: var(--blue); color: #fff; }
:root .deha-v2 .mini3 > span { color: var(--muted); }
/* ---------- trang dự án chi tiết ---------- */
:root .deha-v2 .pu { position: relative; min-height: min(78vh, 720px); display: flex; align-items: flex-end; overflow: hidden; background: var(--navy); color: #fff; }
:root .deha-v2 .pu > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
:root .deha-v2 .pu-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 42, 69, .75) 0%, rgba(11, 42, 69, .35) 40%, rgba(6, 24, 42, .95) 100%); }
:root .deha-v2 .pu-noimg { min-height: 520px; background: radial-gradient(60% 80% at 85% 0%, rgba(17, 114, 186, .5), transparent 70%), var(--navy); }
:root .deha-v2 .pu-in { position: relative; z-index: 1; width: 100%; padding-top: 150px; padding-bottom: clamp(56px, 7vw, 88px); }
:root .deha-v2 .pu .crumbs a { color: #fff; text-decoration: none; opacity: .9; }
:root .deha-v2 .pu-q { margin-top: 72px; max-width: 900px; }
:root .deha-v2 .pu-q p { position: relative; font: 700 clamp(28px, 3.4vw, 46px)/1.2 var(--f-display); letter-spacing: -0.02em; max-width: none; }
:root .deha-v2 .pu-q p::before { content: "“"; position: absolute; left: -.08em; top: -.55em; font-size: 2.6em; line-height: 1; color: var(--green); opacity: .9; }
:root .deha-v2 .pu-q p { padding-top: .5em; }
:root .deha-v2 .pu-by { display: block; margin-top: 18px; font-size: 15px; color: var(--on-dark); }
:root .deha-v2 .pu-slot { display: inline-block; margin-top: 10px; padding: 4px 10px; border-radius: 6px; background: var(--ph); border: 1px dashed var(--ph-line); color: var(--ph-ink); font-size: 12.5px; font-weight: 600; }
:root .deha-v2 .pu > .pu-slot { position: absolute; z-index: 1; right: var(--gutter); top: 110px; }
:root .deha-v2 .pu-cap { padding-top: 12px; font-size: 13px; color: var(--muted); }
:root .deha-v2 .pu-head { padding: clamp(48px, 6vw, 80px) 0 clamp(56px, 6vw, 88px); border-bottom: 1px solid var(--line); }
:root .deha-v2 .pu-hg { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px 72px; align-items: start; }
:root .deha-v2 .pu-head h1 { font-size: clamp(32px, 3.4vw, 50px); line-height: 1.12; letter-spacing: -0.025em; }
:root .deha-v2 .pu-head p { margin-top: 18px; font-size: 18px; color: var(--muted); }
:root .deha-v2 .pu-head .hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
:root .deha-v2 .pu-dl { margin: 0; padding: 28px 30px; border-radius: var(--r); background: var(--surface); display: grid; gap: 16px; }
:root .deha-v2 .pu-dl > div + div { padding-top: 16px; border-top: 1px solid var(--line); }
:root .deha-v2 .pu-dl dt { font-size: 13px; font-weight: 700; color: var(--muted); }
:root .deha-v2 .pu-dl dd { margin: 4px 0 0; font-weight: 700; font-size: 16px; }
:root .deha-v2 .pu-roles h2, :root .deha-v2 .pu-scope h2, :root .deha-v2 .pu-prop h2 { margin-bottom: 36px; font-size: clamp(32px, 3.4vw, 48px); letter-spacing: -0.025em; }
:root .deha-v2 .pu-roles h2::before, :root .deha-v2 .pu-scope h2::before, :root .deha-v2 .pu-prop h2::before { content: ""; display: block; width: 44px; height: 4px; border-radius: 4px; background: var(--green); margin-bottom: 22px; }
:root .deha-v2 .pu-t { border-radius: var(--r); border: 1px solid var(--line); overflow: hidden; }
:root .deha-v2 .pu-r { display: grid; grid-template-columns: 170px minmax(0, 1fr) minmax(0, 1.2fr) 200px; gap: 12px 28px; align-items: start; padding: 22px 26px; }
:root .deha-v2 .pu-r + .pu-r { border-top: 1px solid var(--line); }
:root .deha-v2 .pu-noscr .pu-r { grid-template-columns: 170px minmax(0, 1fr) minmax(0, 1.2fr); }
:root .deha-v2 .pu-th { background: var(--surface); font-size: 13px; font-weight: 700; color: var(--muted); padding-top: 14px; padding-bottom: 14px; }
:root .deha-v2 .pu-r h3 { font-size: 18px !important; }
:root .deha-v2 .pu-b { color: var(--muted); font-size: 15.5px; }
:root .deha-v2 .pu-a { position: relative; padding-left: 28px; font-size: 15.5px; }
:root .deha-v2 .pu-a::before { content: "→"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
:root .deha-v2 .pu-scr-e { display: grid; place-items: center; min-height: 90px; padding: 10px; border-radius: 10px; background: var(--surface); text-align: center; }
:root .deha-v2 .pu-scr-e .pu-slot { margin: 0; }
:root .deha-v2 .pu-scope { background: var(--surface); }
:root .deha-v2 .pu-scope ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
:root .deha-v2 .pu-scope li { display: grid; gap: 8px; align-content: start; padding: 26px 24px; border-radius: var(--r); background: var(--paper); border-top: 4px solid var(--blue); }
:root .deha-v2 .pu-scope li b { font: 700 19px var(--f-display); }
:root .deha-v2 .pu-scope li span { color: var(--muted); font-size: 15.5px; }
:root .deha-v2 .nowdl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 0; }
:root .deha-v2 .nowdl > div { padding: 24px 26px; border-radius: var(--r); background: var(--surface); }
:root .deha-v2 .nowdl dt { font-size: 13px; font-weight: 700; color: var(--muted); }
:root .deha-v2 .nowdl dd { margin: 6px 0 0; font-size: 16px; font-weight: 600; }
:root .deha-v2 .also { margin-top: 22px; font-size: 15.5px; color: var(--muted); }
:root .deha-v2 .also a { font-weight: 700; }
@media (max-width: 1024px) {
:root .deha-v2 .pipe { grid-template-columns: repeat(2, minmax(0, 1fr)); }
:root .deha-v2 .pipe > div::after { display: none; }
:root .deha-v2 .pu-hg { grid-template-columns: minmax(0, 1fr); }
:root .deha-v2 .pu-r, :root .deha-v2 .pu-noscr .pu-r { grid-template-columns: minmax(0, 1fr); gap: 10px; }
:root .deha-v2 .pu-th { display: none; }
:root .deha-v2 .pu-scope ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
:root .deha-v2 .pipe, :root .deha-v2 .pu-scope ul, :root .deha-v2 .nowdl { grid-template-columns: 1fr; }
:root .deha-v2 .tr-row { flex-direction: column; }
:root .deha-v2 .tr-go { min-height: 48px; }
:root .deha-v2 .trace { padding: 20px 18px; }
:root .deha-v2 .pu { min-height: 560px; }
:root .deha-v2 .pu-in { padding-top: 120px; }
:root .deha-v2 .pu > .pu-slot { display: none; }
:root .deha-v2 .pu-head .hero-actions .btn { width: 100%; }
:root .deha-v2 .mini3 { flex-wrap: wrap; }
}
/* ================= đợt 8: trang dự án (khuôn thứ hai) ================= */
:root .deha-v2 .pj-hero > .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); column-gap: 64px; align-items: start; }
:root .deha-v2 .pj-hero > .wrap > * { grid-column: 1; }
:root .deha-v2 .pj-hero .crumbs { grid-column: 1 / -1; }
:root .deha-v2 .pj-hero .pf.wide { grid-column: 2; grid-row: 2 / span 4; align-self: center; margin-top: 22px; }
:root .deha-v2 .pj-hero .pf-wait > div { color: var(--ph-ink); }
:root .deha-v2 .pj-hero > .wrap > p { margin-top: 20px; font-size: 18px; line-height: 1.65; color: var(--on-dark); }
:root .deha-v2 .pjh-dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px 24px; margin: 26px 0 0; padding: 20px 0; border-top: 1px solid rgba(255, 255, 255, .16); border-bottom: 1px solid rgba(255, 255, 255, .16); }
:root .deha-v2 .pjh-dl dt { font-size: 13px; font-weight: 700; color: #7CC2F5; }
:root .deha-v2 .pjh-dl dd { margin: 4px 0 0; font-weight: 600; font-size: 15px; }
:root .deha-v2 .pj-hero .hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
/* trước dự án: bốn tình huống đánh số */
:root .deha-v2 .sit3 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; counter-reset: st; }
:root .deha-v2 .sit3 li { counter-increment: st; position: relative; padding: 28px 24px 26px; border-radius: var(--r); background: var(--surface); border-top: 4px solid #E0A23B; }
:root .deha-v2 .sit3 li::before { content: counter(st, decimal-leading-zero); display: block; margin-bottom: 12px; font: 700 13px var(--f-display); color: var(--warn); }
:root .deha-v2 .sit3 h3 { font-size: 18px !important; }
:root .deha-v2 .sit3 p { margin-top: 8px; color: var(--muted); font-size: 15px; }
:root .deha-v2 .blk.alt .sit3 li { background: var(--paper); }
/* phạm vi giải pháp */
:root .deha-v2 .did { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
:root .deha-v2 .did li { display: grid; gap: 8px; align-content: start; padding: 26px 24px; border-radius: var(--r); background: var(--surface); border-top: 4px solid var(--blue); }
:root .deha-v2 .did b { font: 700 19px var(--f-display); }
:root .deha-v2 .did span { color: var(--muted); font-size: 15.5px; }
:root .deha-v2 .blk.alt .did li { background: var(--paper); }
@media (max-width: 1024px) {
:root .deha-v2 .pj-hero > .wrap { grid-template-columns: minmax(0, 1fr); }
:root .deha-v2 .pj-hero .pf.wide { grid-column: 1; grid-row: auto; margin: 28px 0 8px; }
}
/* ================= đợt 9: tài nguyên, biểu mẫu, trang phụ ================= */
:root .deha-v2 [data-page="tai-nguyen"] .page-hero, :root .deha-v2 [data-page="bai-viet"] .page-hero, :root .deha-v2 [data-page="bai-viet-mau"] .page-hero, :root .deha-v2 [data-page="tai-lieu-mau"] .page-hero { --hero-img: url("../media/img/free/dien-tu.webp"); }
:root .deha-v2 [data-page="hoi-thao"] .page-hero, :root .deha-v2 [data-page="lien-he"] .page-hero { --hero-img: url("../media/img/free/hero-robot.webp"); }
:root .deha-v2 [data-page="danh-gia"] .page-hero, :root .deha-v2 [data-page="cam-on"] .page-hero { --hero-img: url("../media/img/free/may-cat.webp"); }
:root .deha-v2 .tpl-note { padding: 12px var(--gutter); background: var(--ph); color: var(--ph-ink); font-size: 14px; text-align: center; border-bottom: 1.5px dashed var(--ph-line); max-width: none; }
:root .deha-v2 .tabp { animation: dv2-syIn .4s var(--ease); }
/* hai cột: chữ + biểu mẫu, hoặc nội dung + cột phụ */
:root .deha-v2 .split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
:root .deha-v2 .split .prose p { font-size: 18px; }
:root .deha-v2 .prose ul, :root .deha-v2 .prose ol { display: grid; gap: 10px; margin: 18px 0; padding: 0; list-style: none; }
:root .deha-v2 .prose ul li { position: relative; padding-left: 30px; font-size: 17px; }
:root .deha-v2 .prose ul li::before {
  content: ""; position: absolute; left: 0; top: .25em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231172BA' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
:root .deha-v2 .prose ol { counter-reset: po; }
:root .deha-v2 .prose ol li { position: relative; counter-increment: po; padding-left: 40px; font-size: 17px; }
:root .deha-v2 .prose ol li::before { content: counter(po); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--blue); color: #fff; font: 700 14px/1 var(--f-display); }
:root .deha-v2 .prose h2 { margin: 44px 0 14px; font-size: clamp(26px, 2.4vw, 32px); }
:root .deha-v2 .prose h3 { margin: 30px 0 10px; font-size: 22px !important; }
:root .deha-v2 .split > aside { position: sticky; top: 100px; }
/* biểu mẫu */
:root .deha-v2 .form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; padding: clamp(26px, 3vw, 40px); border-radius: 20px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); }
:root .deha-v2 .blk:not(.alt) .form { background: var(--surface); border-color: transparent; box-shadow: none; }
:root .deha-v2 .form label { display: grid; gap: 8px; font-size: 14.5px; font-weight: 700; color: var(--ink); }
:root .deha-v2 .form input:not([type="checkbox"]), :root .deha-v2 .form select, :root .deha-v2 .form textarea {
  width: 100%; min-height: 50px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--line); background: var(--paper);
  font: 500 16px var(--f-text); color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
:root .deha-v2 .form textarea { min-height: 120px; padding: 12px 16px; resize: vertical; }
:root .deha-v2 .form select { appearance: none; padding-right: 40px; cursor: pointer; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%230E2236' stroke-width='1.6'/%3E%3C/svg%3E") right 16px center / 10px no-repeat; }
:root .deha-v2 .form input:focus, :root .deha-v2 .form select:focus, :root .deha-v2 .form textarea:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(17, 114, 186, .15); }
:root .deha-v2 .form .full { grid-column: 1 / -1; }
:root .deha-v2 .form .consent { display: block; position: relative; padding-left: 30px; font-weight: 500; font-size: 14px; color: var(--muted); line-height: 1.5; }
:root .deha-v2 .form .consent input { position: absolute; left: 0; top: 1px; width: 18px; height: 18px; margin: 0; accent-color: var(--blue); }
:root .deha-v2 .form .btn { min-width: 220px; }
:root .deha-v2 .form .ok { grid-column: 1 / -1; padding: 14px 18px; border-radius: 10px; background: #E7F4DA; color: var(--ok); font-weight: 700; max-width: none; }
:root .deha-v2 .form.f4 { grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: end; }
:root .deha-v2 .f2h { padding: 12px 16px; border-radius: 10px; background: var(--sky); font-size: 14.5px; color: var(--ink) !important; max-width: none !important; }
:root .deha-v2 .extras { margin: 0; padding: 18px 20px; border: 1px solid var(--line); border-radius: 12px; display: flex; flex-wrap: wrap; gap: 10px 24px; }
:root .deha-v2 .extras legend { padding: 0 6px; font-size: 14px; font-weight: 700; }
:root .deha-v2 .extras label { display: flex; align-items: center; gap: 8px; font-weight: 500; }
:root .deha-v2 .extras input { width: 18px; height: 18px; accent-color: var(--blue); }
:root .deha-v2 .ferr { font-size: 13px; font-weight: 600; color: var(--ng); }
:root .deha-v2 .form [aria-invalid="true"] { border-color: var(--ng) !important; box-shadow: 0 0 0 4px rgba(179, 38, 30, .12) !important; }
:root .deha-v2 .f2skip { background: none; border: 0; color: var(--blue); font-weight: 700; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
:root .deha-v2 .f2ok { padding: 24px 26px; border-radius: var(--r); background: #E7F4DA; color: var(--ok); font-weight: 700; }
/* bài viết */
:root .deha-v2 .artgrid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 5vw, 72px); align-items: start; }
:root .deha-v2 .art { max-width: 760px; }
:root .deha-v2 .art p { font-size: 18px; line-height: 1.75; color: var(--ink); max-width: none !important; }
:root .deha-v2 .art p + p { margin-top: 16px; }
:root .deha-v2 .lead2 { font-size: clamp(20px, 1.8vw, 23px) !important; line-height: 1.6 !important; color: var(--muted) !important; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
:root .deha-v2 .artfig { margin: 32px 0; }
:root .deha-v2 .artimg { display: grid; place-items: center; aspect-ratio: 16 / 9; border-radius: 16px; background: var(--ph); border: 1.5px dashed var(--ph-line); color: var(--ph-ink); font-weight: 600; }
:root .deha-v2 .artfig figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); }
/* nội dung bài thật trên WordPress: ảnh, bảng trong bài; ảnh bìa tài liệu */
:root .deha-v2 .art img, :root .deha-v2 .artfig img, :root .deha-v2 .cover img { display: block; max-width: 100%; height: auto; border-radius: 16px; }
:root .deha-v2 .art figure { margin: 32px 0; }
:root .deha-v2 .art figure figcaption, :root .deha-v2 .art .wp-caption-text { margin-top: 10px; font-size: 14px; color: var(--muted); }
:root .deha-v2 .art table { width: 100%; margin: 24px 0; border-collapse: collapse; font-size: 16px; }
:root .deha-v2 .art th, :root .deha-v2 .art td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
:root .deha-v2 .art th { background: var(--surface); }
:root .deha-v2 .cover img { border-radius: 6px 18px 18px 6px; box-shadow: 0 40px 70px -30px rgba(8, 40, 72, .7); }
:root .deha-v2 .callout { margin: 32px 0; padding: 22px 26px; border-radius: 14px; background: var(--sky); border-left: 4px solid var(--blue); }
:root .deha-v2 .callout b { font: 700 17px var(--f-display); }
:root .deha-v2 .callout p { margin-top: 6px !important; font-size: 16.5px !important; }
:root .deha-v2 .author { display: flex; gap: 16px; align-items: center; margin-top: 44px; padding: 22px 24px; border-radius: 14px; background: var(--surface); }
:root .deha-v2 .ava2 { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--paper); }
:root .deha-v2 .ava2 svg { width: 26px; height: 26px; stroke: var(--muted); fill: none; stroke-width: 1.6; }
:root .deha-v2 .author p { margin-top: 2px !important; font-size: 15px !important; color: var(--muted) !important; }
:root .deha-v2 .artside { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 16px; }
:root .deha-v2 .toc { display: grid; gap: 4px; margin: 8px 0 0; padding: 0; list-style: none; counter-reset: toc; }
:root .deha-v2 .toc li { counter-increment: toc; }
:root .deha-v2 .toc a { display: flex; gap: 10px; padding: 8px 10px; border-radius: 8px; color: var(--ink) !important; text-decoration: none; font-size: 15px; font-weight: 600; transition: background-color .2s; }
:root .deha-v2 .toc a::before { content: counter(toc, decimal-leading-zero); color: var(--blue); font-size: 13px; padding-top: 2px; }
:root .deha-v2 .toc a:hover { background: var(--sky); }
/* trang tài liệu tải về */
:root .deha-v2 .doclp { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
:root .deha-v2 .cover { position: sticky; top: 100px; perspective: 1200px; }
:root .deha-v2 .cv {
  display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; aspect-ratio: 3 / 4; padding: 34px 30px; border-radius: 6px 18px 18px 6px;
  background: linear-gradient(160deg, var(--blue), var(--navy) 75%); color: #fff; box-shadow: 0 40px 70px -30px rgba(8, 40, 72, .7), inset 6px 0 0 rgba(255, 255, 255, .12);
  transform: rotateY(-8deg); transition: transform .6s var(--ease);
}
:root .deha-v2 .cover:hover .cv { transform: none; }
:root .deha-v2 .cv span { font-size: 13px; font-weight: 700; color: var(--green); }
:root .deha-v2 .cv b { font: 700 30px/1.15 var(--f-display); }
:root .deha-v2 .cv small { font-size: 14px; color: var(--on-dark); }
:root .deha-v2 .docl { counter-reset: dl; display: grid; gap: 10px; margin: 18px 0 20px; padding: 0; list-style: none; }
:root .deha-v2 .docl li { counter-increment: dl; display: flex; gap: 14px; align-items: center; padding: 14px 18px; border-radius: 12px; background: var(--surface); font-weight: 600; }
:root .deha-v2 .docl li::before { content: counter(dl); flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--blue); color: #fff; font: 700 14px/1 var(--f-display); }
:root .deha-v2 .doclp .form { margin-top: 24px; }
/* sự kiện */
:root .deha-v2 .card.ev { flex-direction: row; gap: 22px; align-items: flex-start; }
:root .deha-v2 .evd { flex: none; display: grid; place-items: center; align-content: center; width: 86px; height: 92px; border-radius: 14px; background: var(--navy); color: #fff; text-align: center; }
:root .deha-v2 .evd b { font: 700 32px/1 var(--f-display); }
:root .deha-v2 .evd span { margin-top: 4px; font-size: 13px; font-weight: 700; color: var(--green); }
/* nút viền phụ */
:root .deha-v2 .btn-line2 { border-color: var(--blue); color: var(--blue); background: transparent; }
:root .deha-v2 .btn-line2:hover { background: var(--blue); color: #fff; }
@media (max-width: 1024px) {
:root .deha-v2 .split, :root .deha-v2 .artgrid, :root .deha-v2 .doclp { grid-template-columns: minmax(0, 1fr); }
:root .deha-v2 .split > aside, :root .deha-v2 .artside, :root .deha-v2 .cover { position: static; }
:root .deha-v2 .cover { max-width: 320px; }
:root .deha-v2 .form.f4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
:root .deha-v2 .form, :root .deha-v2 .form.f4 { grid-template-columns: minmax(0, 1fr); padding: 22px 18px; }
:root .deha-v2 .form .btn { width: 100%; min-width: 0; }
:root .deha-v2 .card.ev { flex-direction: column; }
}
/* tin tức: thông tin sự kiện và bộ ảnh */
:root .deha-v2 [data-page="tin-tuc-mau"] .page-hero, :root .deha-v2 [data-page="dieu-khoan"] .page-hero, :root .deha-v2 [data-page="chinh-sach-bao-mat"] .page-hero { --hero-img: url("../media/img/free/hero-robot.webp"); }
:root .deha-v2 .newsmeta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 28px; }
:root .deha-v2 .newsmeta > div { display: grid; gap: 4px; padding: 16px 18px; border-radius: 12px; background: var(--surface); border-top: 3px solid var(--blue); }
:root .deha-v2 .newsmeta b { font-size: 13px; color: var(--muted); }
:root .deha-v2 .newsmeta span { font-weight: 700; }
:root .deha-v2 .gal { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 32px 0; }
:root .deha-v2 .gal .artimg { aspect-ratio: auto; min-height: 140px; }
:root .deha-v2 .gal .artimg:first-child { grid-row: 1 / -1; min-height: 300px; }
@media (max-width: 680px) {
:root .deha-v2 .newsmeta { grid-template-columns: 1fr; }
:root .deha-v2 .gal { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
:root .deha-v2 .gal .artimg:first-child { grid-column: 1 / -1; grid-row: auto; min-height: 200px; }
}
/* đường dẫn trên nền tối: thắng màu link xanh chung của nội dung */
:root .deha-v2.sub main .crumbs a { color: #fff; }
:root .deha-v2 .pu-shade { background: linear-gradient(180deg, rgba(11, 42, 69, .85) 0%, rgba(11, 42, 69, .45) 40%, rgba(6, 24, 42, .95) 100%); }
/* nhảy tới mục: chừa chỗ cho header và mục lục dính trên đầu */
:root .deha-v2.sub [id] { scroll-margin-top: 140px; }
/* menu ngành A: link tới từng chỗ nghẽn trong trang ngành */
:root .deha-v2 .ba-r[id] {scroll-margin-top:140px}
:root .deha-v2 .ba-r:target {background:var(--surface,#F2F6FA);box-shadow:inset 3px 0 0 var(--brand,#0B5CAD)}
@media (prefers-reduced-motion:no-preference) {
:root .deha-v2 .ba-r:target {animation:dv2-baHi 1.6s ease-out}
}
@keyframes dv2-baHi {from{background:#DCEBF8}}
/* Form Elementor trên WordPress, chèn vào .eform: form tải tài liệu (.docform), Nhận tài liệu qua email, Đăng ký nhận bản tin.
   Trông như .form của bản HTML (.f4: 4 cột). Elementor đặt style theo ID widget (độ ưu tiên cao, ID đổi theo từng site) nên cần !important. */
:root .deha-v2 .eform { padding: clamp(26px, 3vw, 40px); border-radius: 20px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); }
:root .deha-v2 .blk:not(.alt) .eform { background: var(--surface); border-color: transparent; box-shadow: none; }
:root .deha-v2 .docform { margin-top: 24px; }
:root .deha-v2 .eform .e-con { --padding-top: 0px; --padding-bottom: 0px; --padding-left: 0px; --padding-right: 0px; background: none !important; }
:root .deha-v2 .eform .e-con-inner { max-width: none; padding: 0; }
:root .deha-v2 .eform .elementor-widget:not(:last-child) { margin-bottom: 0; }
:root .deha-v2 .eform .elementor-heading-title { margin: 0 0 22px !important; text-align: left; font: 700 20px/1.3 var(--f-display) !important; color: var(--ink) !important; text-wrap: balance; }
:root .deha-v2 .eform .elementor-widget-heading { text-align: left !important; }
:root .deha-v2 .eform .elementor-form-fields-wrapper { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; margin: 0 !important; }
:root .deha-v2 .eform.f4 .elementor-form-fields-wrapper { grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: end; }
:root .deha-v2 .eform .elementor-field-group { display: flex; flex-direction: column; flex-wrap: nowrap !important; align-items: stretch; justify-content: flex-start; gap: 8px; width: auto !important; max-width: none !important; margin: 0 !important; padding: 0 !important; }
:root .deha-v2 .eform .elementor-col-100, :root .deha-v2 .eform .elementor-field-type-acceptance, :root .deha-v2 .eform .elementor-field-type-textarea { grid-column: 1 / -1; }
:root .deha-v2 .eform .elementor-field-group > label { position: static !important; width: auto !important; height: auto !important; margin: 0 !important; padding: 0 !important; overflow: visible !important; clip: auto !important; clip-path: none !important; white-space: normal !important; font: 700 14.5px/1.3 var(--f-text) !important; color: var(--ink) !important; }
:root .deha-v2 .eform .elementor-mark-required .elementor-field-label::after { display: none; }
:root .deha-v2 .eform .elementor-field-type-acceptance > label:empty, :root .deha-v2 .eform .elementor-field-type-acceptance > label.elementor-screen-only { display: none; }
:root .deha-v2 .eform .elementor-field-textual { width: 100% !important; min-height: 50px; padding: 0 16px !important; border: 1px solid var(--line) !important; border-radius: 10px !important; background-color: var(--paper) !important; font: 500 16px var(--f-text) !important; color: var(--ink) !important; }
:root .deha-v2 .eform .elementor-field-textual::placeholder { color: transparent; }
:root .deha-v2 .eform textarea.elementor-field-textual { min-height: 120px; padding: 12px 16px !important; resize: vertical; }
:root .deha-v2 .eform .elementor-field-textual:focus { outline: 0; border-color: var(--blue) !important; box-shadow: 0 0 0 4px rgba(17, 114, 186, .15); }
:root .deha-v2 .eform .elementor-field-textual[aria-invalid="true"] { border-color: var(--ng) !important; box-shadow: 0 0 0 4px rgba(179, 38, 30, .12); }
:root .deha-v2 .eform .elementor-select-wrapper { width: 100%; padding: 0 !important; border: 0 !important; background: none !important; }
:root .deha-v2 .eform .elementor-select-wrapper::before, :root .deha-v2 .eform .select-caret-down-wrapper { display: none !important; }
:root .deha-v2 .eform select.elementor-field-textual { appearance: none; padding-right: 40px !important; cursor: pointer; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%230E2236' stroke-width='1.6'/%3E%3C/svg%3E") right 16px center / 10px no-repeat !important; }
:root .deha-v2 .eform .elementor-field-subgroup { display: block; }
:root .deha-v2 .eform .elementor-field-option { display: block; position: relative; padding-left: 30px; }
:root .deha-v2 .eform .elementor-field-option input[type="checkbox"] { position: absolute; left: 0; top: 1px; width: 18px; height: 18px; margin: 0; accent-color: var(--blue); }
:root .deha-v2 .eform .elementor-field-option label { display: inline !important; padding: 0 !important; font: 500 14px/1.5 var(--f-text) !important; color: var(--muted) !important; }
/* Elementor kit đặt cỡ chữ riêng cho thẻ a (18px), làm dòng đồng ý giãn ra */
:root .deha-v2 .eform .elementor-field-option label a { font: inherit !important; color: var(--link) !important; text-decoration: underline; }
:root .deha-v2 .eform .elementor-field-type-recaptcha_v3 { position: absolute; }
:root .deha-v2 .eform .elementor-field-type-html { display: block; font: 500 14px/1.5 var(--f-text) !important; color: var(--muted) !important; }
:root .deha-v2 .eform .elementor-field-type-html span { color: var(--ng); }
:root .deha-v2 .eform .e-form__buttons { flex-direction: row; justify-content: flex-start !important; }
:root .deha-v2 .eform .elementor-button[type="submit"] { flex: none !important; width: auto !important; min-width: 220px; min-height: 50px; padding: 13px 26px !important; border: 0 !important; border-radius: 45px !important; background: var(--green) !important; color: var(--ink) !important; font: 700 15.5px/1.2 var(--f-text) !important; transition: background-color .2s, box-shadow .2s; }
:root .deha-v2 .eform .elementor-button[type="submit"]:hover { background: var(--green-hover) !important; box-shadow: 0 10px 24px -10px rgba(142, 198, 65, .8); }
:root .deha-v2 .eform .elementor-button[type="submit"] svg, :root .deha-v2 .eform .elementor-button[type="submit"] svg * { fill: var(--ink) !important; }
/* form nhiều bước (Đánh giá nhà máy): mỗi bước là một lưới 2 cột; bước ẩn dùng .elementor-hidden của Elementor */
:root .deha-v2 .eform .e-form__step, :root .deha-v2 .eform .e-field-step { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
:root .deha-v2 .eform .e-form__step.elementor-hidden, :root .deha-v2 .eform .e-field-step.elementor-hidden, :root .deha-v2 .eform .elementor-field-group.elementor-hidden { display: none !important; }
:root .deha-v2 .eform .e-form__indicators { display: none; }
:root .deha-v2 .eform .elementor-field-type-html .f2h { margin: 0; }
:root .deha-v2 .eform .elementor-field-type-checkbox { grid-column: 1 / -1; }
:root .deha-v2 .eform .elementor-field-type-checkbox .elementor-field-subgroup { display: flex; flex-wrap: wrap; gap: 10px 24px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
:root .deha-v2 .eform .elementor-field-type-checkbox .elementor-field-option label { color: var(--ink) !important; }
:root .deha-v2 .eform .e-form__buttons { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; margin: 0 !important; padding: 0 !important; }
:root .deha-v2 .eform .e-form__buttons__wrapper { flex: none !important; width: auto !important; margin: 0 !important; padding: 0 !important; }
:root .deha-v2 .eform .e-form__buttons .elementor-button { flex: none !important; width: auto !important; min-width: 160px; min-height: 50px; padding: 13px 26px !important; border: 0 !important; border-radius: 45px !important; background: var(--green) !important; color: var(--ink) !important; font: 700 15.5px/1.2 var(--f-text) !important; }
:root .deha-v2 .eform .e-form__buttons .e-form__buttons__wrapper__button-previous { background: transparent !important; border: 1.5px solid var(--line) !important; color: var(--ink) !important; }
:root .deha-v2 .eform .e-form__buttons .e-form__buttons__wrapper__button-previous:hover { border-color: var(--ink) !important; }
:root .deha-v2 .eform .elementor-message { margin: 18px 0 0; padding: 14px 18px; border-radius: 10px; font: 700 15px/1.5 var(--f-text) !important; }
:root .deha-v2 .eform .elementor-message::before { display: none; }
:root .deha-v2 .eform .elementor-message-success { background: #E7F4DA; color: var(--ok) !important; }
:root .deha-v2 .eform .elementor-message-danger, :root .deha-v2 .eform .elementor-error .elementor-message { background: #FBE9E7; color: var(--ng) !important; }
@media (max-width: 1024px) {
:root .deha-v2 .eform.f4 .elementor-form-fields-wrapper { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
:root .deha-v2 .eform { padding: 22px 18px; }
:root .deha-v2 .eform .elementor-form-fields-wrapper, :root .deha-v2 .eform.f4 .elementor-form-fields-wrapper, :root .deha-v2 .eform .e-form__step, :root .deha-v2 .eform .e-field-step { grid-template-columns: minmax(0, 1fr); }
:root .deha-v2 .eform .e-form__buttons .elementor-button { flex: 1 1 auto !important; }
:root .deha-v2 .eform .elementor-button[type="submit"] { width: 100% !important; min-width: 0; }
}
