/*
 * P07 — Trung tâm tra cứu đấu thầu. Chỉ nạp trên route P07; mọi quy tắc dưới .vdt-procurement (trong main.vdt-tools).
 * Theme có body.vdt-page p/li/h* (0,1,2) → thẻ chữ dùng dạng `.vdt-procurement p.p7-x` (0,2,1). Không đổi header/footer/font.
 * Font: var(--vdt-font-main) của theme (system-ui…); chỉ dùng weight 400/500/600/700.
 */
.vdt-procurement {
	--p7-navy: #0b1f3a;
	--p7-navy-2: #12305a;
	--p7-blue: #174ea6;
	--p7-action: #1d4ed8;
	--p7-action-h: #1e40af;
	--p7-bg: #f4f7fb;
	--p7-surface: #fff;
	--p7-text: #172033;
	--p7-muted: #52647b;
	--p7-line: #dce4ee;
	--p7-line-2: #c6d2e0;
	--p7-soft: #eef3fa;
	--p7-gold: #c9a45c;
	--p7-success: #15803d;
	--p7-success-bg: #e8f5ec;
	--p7-warning: #9a4a07;
	--p7-warning-bg: #fff4e5;
	--p7-danger: #b91c1c;
	--p7-danger-bg: #fdecec;
	--p7-radius: 10px;
	--p7-radius-s: 6px;
	--p7-shadow: 0 1px 2px rgb(11 31 58 / .05), 0 4px 16px rgb(11 31 58 / .06);
	--p7-focus: 0 0 0 2px #fff, 0 0 0 4px var(--p7-action);
	--p7-t: 180ms;
	color: var(--p7-text);
	font-size: 15px;
	line-height: 1.55;
}
.vdt-procurement *, .vdt-procurement *::before, .vdt-procurement *::after { box-sizing: border-box; }
.vdt-procurement [hidden] { display: none !important; }
.vdt-procurement .p7-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.vdt-procurement .vdtt-wrap { max-width: 1520px; padding-inline: clamp(16px, 2.4vw, 40px); }
.vdt-procurement a { color: var(--p7-action); text-underline-offset: 2px; }
.vdt-procurement a:hover { color: var(--p7-action-h); }
.vdt-procurement :where(a, button, input, select, textarea, summary, [tabindex]):focus-visible { outline: none; box-shadow: var(--p7-focus); border-radius: var(--p7-radius-s); }
.vdt-procurement .vdtt-icon { width: 18px; height: 18px; }
.vdt-procurement .p7-code { font-family: inherit; font-variant-numeric: tabular-nums; letter-spacing: .01em; background: var(--p7-soft); color: var(--p7-navy); padding: 1px 6px; border-radius: 4px; font-size: .92em; white-space: nowrap; }

/* ---------- Đầu trang ---------- */
.vdt-procurement .p7-head { background: var(--p7-navy); color: #e6edf7; }
.vdt-procurement .p7-head__in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: end; padding-top: 26px; padding-bottom: 18px; }
.vdt-procurement h1.p7-title { color: #fff; font-size: clamp(24px, 2.3vw, 32px); line-height: 1.2; font-weight: 700; margin: 0 0 6px; letter-spacing: -.01em; }
.vdt-procurement p.p7-lead { color: #c8d4e5; margin: 0; max-width: 72ch; font-size: 15px; }
.vdt-procurement .p7-meta { display: grid; gap: 4px; margin: 0; font-size: 13px; text-align: right; }
.vdt-procurement .p7-meta div { display: flex; gap: 8px; justify-content: flex-end; }
.vdt-procurement .p7-meta dt { color: #8ea3bf; }
.vdt-procurement .p7-meta dd { margin: 0; color: #e6edf7; }
.vdt-procurement .p7-flag { display: inline-block; padding: 1px 8px; border-radius: 999px; font-weight: 600; font-size: 12px; }
.vdt-procurement .p7-flag--demo { background: #fdf1d8; color: #6b4a07; }
.vdt-procurement .p7-tabs { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: thin; }
.vdt-procurement .p7-tab { display: inline-flex; align-items: center; gap: 8px; padding: 12px 16px; min-height: 44px; color: #b9c7da; text-decoration: none; font-weight: 600; font-size: 14px; border-radius: 8px 8px 0 0; white-space: nowrap; transition: background var(--p7-t), color var(--p7-t); }
.vdt-procurement .p7-tab:hover { color: #fff; background: rgb(255 255 255 / .06); }
.vdt-procurement .p7-tab[aria-current="page"] { background: var(--p7-bg); color: var(--p7-navy); }
.vdt-procurement .p7-tab--end { margin-left: auto; }

/* ---------- Thân ---------- */
.vdt-procurement .p7-body { padding-top: 22px; }
.vdt-procurement h2.p7-h2 { font-size: 20px; line-height: 1.3; margin: 0 0 10px; color: var(--p7-navy); font-weight: 700; }
.vdt-procurement h3.p7-h3, .vdt-procurement h2.p7-h3 { font-size: 16px; line-height: 1.35; margin: 0 0 8px; color: var(--p7-navy); font-weight: 600; }
.vdt-procurement p.p7-text { margin: 0 0 10px; color: var(--p7-text); font-size: 15px; }
.vdt-procurement p.p7-hint, .vdt-procurement .p7-hint { color: var(--p7-muted); font-size: 13px; margin: 6px 0 0; line-height: 1.5; }
.vdt-procurement p.p7-note, .vdt-procurement .p7-note { background: var(--p7-soft); border-radius: var(--p7-radius-s); padding: 10px 12px; font-size: 14px; color: var(--p7-text); margin: 12px 0 0; }
.vdt-procurement .p7-note--warn { background: var(--p7-warning-bg); color: var(--p7-warning); }
.vdt-procurement .p7-panel { background: var(--p7-surface); border: 1px solid var(--p7-line); border-radius: var(--p7-radius); padding: 18px 20px; }
.vdt-procurement .p7-panel--navy { background: var(--p7-navy-2); border-color: var(--p7-navy-2); color: #dfe8f5; }
.vdt-procurement .p7-panel--navy h2.p7-h3, .vdt-procurement .p7-panel--navy a { color: #fff; }
.vdt-procurement .p7-panel--navy p.p7-contact { color: #dfe8f5; font-size: 14px; margin: 12px 0 0; }

/* ---------- Nút & ô nhập ---------- */
.vdt-procurement .p7-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 8px; border: 1px solid transparent; font: inherit; font-weight: 600; font-size: 15px; cursor: pointer; text-decoration: none; transition: background var(--p7-t), border-color var(--p7-t), color var(--p7-t); }
.vdt-procurement .p7-btn--primary { background: var(--p7-action); color: #fff; }
.vdt-procurement .p7-btn--primary:hover { background: var(--p7-action-h); color: #fff; }
.vdt-procurement .p7-btn--ghost { background: var(--p7-surface); color: var(--p7-navy); border-color: var(--p7-line-2); }
.vdt-procurement .p7-btn--ghost:hover { border-color: var(--p7-action); color: var(--p7-action); }
.vdt-procurement .p7-btn--danger { background: var(--p7-surface); color: var(--p7-danger); border-color: #efb4b4; }
.vdt-procurement .p7-btn--s { min-height: 36px; padding: 0 12px; font-size: 14px; }
.vdt-procurement .p7-btn[disabled] { opacity: .55; cursor: not-allowed; }
.vdt-procurement .p7-iconbtn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 8px; border: 1px solid transparent; background: transparent; color: var(--p7-muted); cursor: pointer; }
.vdt-procurement .p7-iconbtn:hover { background: var(--p7-soft); color: var(--p7-navy); }
.vdt-procurement .p7-linkbtn { background: none; border: 0; padding: 4px 2px; font: inherit; font-size: 14px; font-weight: 600; color: var(--p7-action); cursor: pointer; min-height: 32px; }
.vdt-procurement .p7-linkbtn:hover { text-decoration: underline; }
.vdt-procurement .p7-field { display: grid; gap: 6px; margin: 0 0 14px; border: 0; padding: 0; min-width: 0; }
.vdt-procurement .p7-field label, .vdt-procurement .p7-field legend { font-size: 13px; font-weight: 600; color: var(--p7-navy); padding: 0; }
.vdt-procurement .p7-field input, .vdt-procurement .p7-field select, .vdt-procurement .p7-field textarea, .vdt-procurement .p7-search__mode, .vdt-procurement .p7-inline input {
	width: 100%; min-height: 42px; border: 1px solid var(--p7-line-2); border-radius: 8px; padding: 8px 12px; font: inherit; font-size: 15px; color: var(--p7-text); background: #fff; }
.vdt-procurement .p7-field textarea { min-height: 64px; resize: vertical; }
.vdt-procurement [aria-invalid="true"] { border-color: var(--p7-danger) !important; background: #fffafa; }
.vdt-procurement .p7-ferr { color: var(--p7-danger); font-size: 13px; margin: 0; }
.vdt-procurement .p7-range { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; column-gap: 6px; }
.vdt-procurement .p7-range legend { grid-column: 1 / -1; margin-bottom: 6px; }
.vdt-procurement .p7-range input { padding-inline: 8px; font-size: 14px; }
.vdt-procurement .p7-check { display: flex; gap: 8px; align-items: center; font-size: 14px; }

/* ---------- Thanh tìm kiếm ---------- */
.vdt-procurement .p7-search__bar { display: grid; grid-template-columns: 190px minmax(0, 1fr) auto; gap: 0; background: var(--p7-surface); border: 1px solid var(--p7-line-2); border-radius: 12px; padding: 6px; box-shadow: var(--p7-shadow); }
.vdt-procurement .p7-search__mode { border: 0; border-right: 1px solid var(--p7-line); border-radius: 8px 0 0 8px; min-height: 48px; font-weight: 600; color: var(--p7-navy); background: var(--p7-soft); }
.vdt-procurement .p7-search__q { border: 0; min-height: 48px; padding: 0 16px; font: inherit; font-size: 16px; color: var(--p7-text); background: transparent; min-width: 0; }
.vdt-procurement .p7-search__q:focus-visible { box-shadow: inset 0 0 0 2px var(--p7-action); }
.vdt-procurement .p7-search__go { min-height: 48px; padding: 0 24px; }
.vdt-procurement .p7-filters-open { display: none; }
.vdt-procurement .p7-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--p7-action); color: #fff; font-size: 12px; }
.vdt-procurement .p7-errsum { margin-top: 10px; padding: 10px 14px; border-radius: 8px; background: var(--p7-danger-bg); color: var(--p7-danger); font-size: 14px; }

/* ---------- Bố cục 2 cột ---------- */
.vdt-procurement .p7-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 24px; margin-top: 18px; align-items: start; }
.vdt-procurement .p7-filters { position: sticky; top: calc(var(--vdt-header-h, 96px) + 12px); background: var(--p7-surface); border: 1px solid var(--p7-line); border-radius: var(--p7-radius); max-height: calc(100vh - var(--vdt-header-h, 96px) - 24px); display: flex; flex-direction: column; }
.vdt-procurement .p7-filters__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 6px; }
.vdt-procurement h2.p7-filters__title { margin: 0; font-size: 15px; font-weight: 700; color: var(--p7-navy); }
.vdt-procurement .p7-filters-close { display: none; }
.vdt-procurement .p7-filters__body { padding: 6px 16px 4px; overflow-y: auto; }
.vdt-procurement .p7-filters__foot { display: flex; gap: 8px; padding: 12px 16px 16px; border-top: 1px solid var(--p7-line); }
.vdt-procurement .p7-filters__foot .p7-btn { flex: 1; min-height: 40px; padding: 0 10px; font-size: 14px; }
.vdt-procurement p.p7-role { margin: 0 0 14px; font-size: 14px; display: grid; gap: 2px; }
.vdt-procurement .p7-entity-filter { font-size: 13px; background: var(--p7-soft); padding: 8px 10px; border-radius: 6px; margin: 0 0 12px; }

/* ---------- Kết quả ---------- */
.vdt-procurement .p7-results { min-width: 0; }
.vdt-procurement .p7-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 0 0 12px; }
.vdt-procurement p.p7-toolbar__count { margin: 0; font-size: 14px; color: var(--p7-muted); }
.vdt-procurement .p7-toolbar__count strong { color: var(--p7-navy); }
.vdt-procurement .p7-toolbar__end { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.vdt-procurement .p7-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.vdt-procurement .p7-chip { display: inline-flex; align-items: center; gap: 4px; padding: 3px 4px 3px 10px; border-radius: 999px; background: var(--p7-soft); border: 1px solid var(--p7-line); font-size: 13px; color: var(--p7-navy); max-width: 100%; }
.vdt-procurement .p7-chip button { border: 0; background: transparent; width: 24px; height: 24px; border-radius: 999px; cursor: pointer; color: var(--p7-muted); display: grid; place-items: center; }
.vdt-procurement .p7-chip button:hover { background: #fff; color: var(--p7-danger); }
.vdt-procurement .p7-chip .vdtt-icon { width: 14px; height: 14px; }
.vdt-procurement .p7-seg { display: inline-flex; border: 1px solid var(--p7-line-2); border-radius: 8px; overflow: hidden; }
.vdt-procurement .p7-seg button { display: inline-flex; align-items: center; gap: 6px; border: 0; background: #fff; padding: 0 12px; min-height: 36px; font: inherit; font-size: 14px; color: var(--p7-muted); cursor: pointer; }
.vdt-procurement .p7-seg button[aria-pressed="true"] { background: var(--p7-navy); color: #fff; }
.vdt-procurement .p7-status:empty { display: none; }
.vdt-procurement .p7-out { min-height: 200px; }

.vdt-procurement .p7-tablewrap { background: var(--p7-surface); border: 1px solid var(--p7-line); border-radius: var(--p7-radius); overflow: hidden; }
.vdt-procurement .p7-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.vdt-procurement .p7-table th { text-align: left; font-size: 12.5px; font-weight: 600; color: var(--p7-muted); background: #f8fafd; padding: 10px 14px; border-bottom: 1px solid var(--p7-line); white-space: nowrap; }
.vdt-procurement .p7-table td { padding: 14px; border-bottom: 1px solid #edf1f6; vertical-align: top; }
.vdt-procurement .p7-table tbody tr:last-child td { border-bottom: 0; }
.vdt-procurement .p7-table tbody tr { transition: background var(--p7-t); }
.vdt-procurement .p7-table tbody tr:hover { background: #f8fbff; }
.vdt-procurement .p7-table .p7-num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.vdt-procurement .p7-table th.p7-num { text-align: right; }
.vdt-procurement .p7-cell-name { min-width: 280px; }
.vdt-procurement .p7-rowcode { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 0 0 4px; }
.vdt-procurement .p7-rowtitle { color: var(--p7-text); font-weight: 600; line-height: 1.45; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.vdt-procurement .p7-sub { color: var(--p7-muted); font-size: 13px; display: block; }
.vdt-procurement .p7-tag { display: inline-block; font-size: 12px; padding: 1px 7px; border-radius: 4px; background: #eef2f7; color: #334155; white-space: nowrap; }
.vdt-procurement .p7-tag--unknown { background: #fff4e5; color: var(--p7-warning); }
.vdt-procurement .p7-money { font-weight: 600; color: var(--p7-navy); }
.vdt-procurement .p7-na { color: var(--p7-muted); font-style: normal; font-size: 13px; }
.vdt-procurement .p7-locked { display: inline-flex; gap: 4px; align-items: center; color: #6b5a1e; font-size: 13px; }
.vdt-procurement .p7-locked .vdtt-icon { width: 14px; height: 14px; }
.vdt-procurement .p7-close { display: grid; gap: 4px; white-space: nowrap; }
.vdt-procurement .p7-badge { display: inline-flex; align-items: center; gap: 4px; width: max-content; padding: 2px 8px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.vdt-procurement .p7-badge--open { background: var(--p7-success-bg); color: var(--p7-success); }
.vdt-procurement .p7-badge--soon { background: var(--p7-warning-bg); color: var(--p7-warning); }
.vdt-procurement .p7-badge--passed { background: #eef1f5; color: #475569; }
.vdt-procurement .p7-badge--tz { background: #fff4e5; color: var(--p7-warning); }
.vdt-procurement .p7-rowact { display: flex; gap: 4px; justify-content: flex-end; white-space: nowrap; }
.vdt-procurement .p7-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.vdt-procurement .p7-card { background: var(--p7-surface); border: 1px solid var(--p7-line); border-radius: var(--p7-radius); padding: 16px; display: grid; gap: 10px; align-content: start; }
.vdt-procurement .p7-card__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; margin: 0; font-size: 14px; }
.vdt-procurement .p7-card__facts dt { color: var(--p7-muted); font-size: 12px; }
.vdt-procurement .p7-card__facts dd { margin: 0; }
.vdt-procurement .p7-card__act { display: flex; gap: 8px; justify-content: space-between; align-items: center; border-top: 1px solid #edf1f6; padding-top: 10px; }

/* Khung chờ (skeleton) đúng kích thước dòng */
.vdt-procurement .p7-skel { display: grid; gap: 10px; }
.vdt-procurement .p7-skel i { display: block; height: 58px; border-radius: 8px; background: linear-gradient(90deg, #eef2f7 0, #f6f8fb 40%, #eef2f7 80%); background-size: 200% 100%; animation: p7-shimmer 1.2s linear infinite; }
@keyframes p7-shimmer { to { background-position: -200% 0; } }

/* Trạng thái */
.vdt-procurement .p7-empty { background: var(--p7-surface); border: 1px dashed var(--p7-line-2); border-radius: var(--p7-radius); padding: 26px 24px; }
.vdt-procurement .p7-empty--auth { max-width: 720px; }
.vdt-procurement ul.p7-tips { margin: 6px 0 0; padding-left: 20px; color: var(--p7-text); }
.vdt-procurement ul.p7-tips li { font-size: 14px; margin: 4px 0; }
.vdt-procurement .p7-state { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; align-items: start; background: var(--p7-surface); border: 1px solid var(--p7-line); border-left: 4px solid var(--p7-muted); border-radius: var(--p7-radius); padding: 16px 18px; }
.vdt-procurement .p7-state--warn { border-left-color: #d97706; }
.vdt-procurement .p7-state--err { border-left-color: var(--p7-danger); }
.vdt-procurement .p7-state--lock { border-left-color: var(--p7-gold); }
.vdt-procurement .p7-state .vdtt-icon { width: 22px; height: 22px; color: var(--p7-muted); grid-row: span 3; margin-top: 2px; }
.vdt-procurement p.p7-state__t { margin: 0; font-weight: 600; color: var(--p7-navy); }
.vdt-procurement p.p7-state__d { margin: 0; color: var(--p7-muted); font-size: 14px; }
.vdt-procurement .p7-state .p7-actions { margin: 8px 0 0; }
.vdt-procurement .p7-pager { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 14px 0 0; font-size: 14px; color: var(--p7-muted); }
.vdt-procurement p.p7-attrib { font-size: 12.5px; color: var(--p7-muted); margin: 10px 0 0; }

/* ---------- Ngăn kéo xem nhanh ---------- */
.vdt-procurement .p7-drawer { position: fixed; inset: 0; z-index: 100000; }
.vdt-procurement .p7-drawer__scrim { position: absolute; inset: 0; background: rgb(11 31 58 / .38); }
.vdt-procurement .p7-drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(600px, 100%); background: var(--p7-bg); box-shadow: -12px 0 40px rgb(11 31 58 / .2); display: flex; flex-direction: column; animation: p7-in var(--p7-t) ease-out; }
@keyframes p7-in { from { transform: translateX(24px); opacity: .6; } }
.vdt-procurement .p7-drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px 0 24px; }
.vdt-procurement p.p7-drawer__kicker { margin: 0; font-size: 13px; color: var(--p7-muted); font-weight: 600; }
.vdt-procurement h2.p7-drawer__title { margin: 2px 24px 12px; font-size: 19px; line-height: 1.35; color: var(--p7-navy); overflow-wrap: anywhere; }
.vdt-procurement .p7-drawer__body { overflow-y: auto; padding: 0 24px 28px; flex: 1; }

/* ---------- Chi tiết ---------- */
.vdt-procurement .p7-back { margin: 0 0 12px; }
.vdt-procurement .p7-back a { display: inline-flex; gap: 4px; align-items: center; font-weight: 600; font-size: 14px; text-decoration: none; }
.vdt-procurement .p7-detail__gate { background: var(--p7-surface); border: 1px solid var(--p7-line); border-radius: var(--p7-radius); padding: 28px; max-width: 760px; }
.vdt-procurement p.p7-gate__t { font-weight: 700; color: var(--p7-navy); font-size: 17px; margin: 0 0 4px; }
.vdt-procurement p.p7-gate__d { color: var(--p7-muted); margin: 0 0 14px; font-size: 14px; }
.vdt-procurement .p7-dhead { display: grid; gap: 8px; margin: 0 0 16px; }
.vdt-procurement h3.p7-dtitle { font-size: clamp(20px, 2vw, 26px); line-height: 1.35; color: var(--p7-navy); margin: 0; overflow-wrap: anywhere; font-weight: 700; }
.vdt-procurement .p7-dgrid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); gap: 20px; align-items: start; }
.vdt-procurement .p7-keyfacts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; background: var(--p7-surface); border: 1px solid var(--p7-line); border-radius: var(--p7-radius); margin: 0 0 16px; }
.vdt-procurement .p7-keyfacts > div { padding: 14px 16px; border-right: 1px solid var(--p7-line); min-width: 0; }
.vdt-procurement .p7-keyfacts > div:last-child { border-right: 0; }
.vdt-procurement .p7-keyfacts dt { font-size: 12.5px; color: var(--p7-muted); margin: 0 0 4px; }
.vdt-procurement .p7-keyfacts dd { margin: 0; font-size: 17px; font-weight: 600; color: var(--p7-navy); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.vdt-procurement .p7-sect { background: var(--p7-surface); border: 1px solid var(--p7-line); border-radius: var(--p7-radius); padding: 16px 18px; margin: 0 0 14px; }
.vdt-procurement .p7-dl { display: grid; grid-template-columns: minmax(150px, 220px) minmax(0, 1fr); gap: 0; margin: 0; font-size: 14px; }
.vdt-procurement .p7-dl dt { color: var(--p7-muted); padding: 8px 12px 8px 0; border-top: 1px solid #edf1f6; }
.vdt-procurement .p7-dl dd { margin: 0; padding: 8px 0; border-top: 1px solid #edf1f6; overflow-wrap: anywhere; }
.vdt-procurement .p7-dl dt:first-of-type, .vdt-procurement .p7-dl dd:first-of-type { border-top: 0; }
.vdt-procurement .p7-timeline { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); position: relative; }
.vdt-procurement .p7-timeline::before { content: ""; position: absolute; left: 8px; right: 8px; top: 7px; height: 2px; background: var(--p7-line-2); }
.vdt-procurement .p7-timeline li { position: relative; padding-top: 22px; font-size: 13px; color: var(--p7-muted); }
.vdt-procurement .p7-timeline li::before { content: ""; position: absolute; top: 2px; left: 2px; width: 12px; height: 12px; border-radius: 999px; background: #fff; border: 2px solid var(--p7-blue); }
.vdt-procurement .p7-timeline li strong { display: block; color: var(--p7-navy); font-size: 14px; font-variant-numeric: tabular-nums; }
.vdt-procurement .p7-aside { display: grid; gap: 14px; position: sticky; top: calc(var(--vdt-header-h, 96px) + 12px); }
.vdt-procurement .p7-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.vdt-procurement ul.p7-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.vdt-procurement ul.p7-links li { font-size: 14px; margin: 0; }
.vdt-procurement .p7-warnlist { margin: 0 0 12px; padding: 10px 12px 10px 30px; background: var(--p7-warning-bg); color: var(--p7-warning); border-radius: 8px; font-size: 13.5px; }

/* ---------- Mã, không gian cá nhân, hướng dẫn ---------- */
.vdt-procurement .p7-codegrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); gap: 16px; margin: 14px 0 0; }
.vdt-procurement .p7-ws { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.vdt-procurement .p7-ws__rem { grid-row: span 3; }
.vdt-procurement .p7-remform { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; margin: 0 0 14px; padding: 0 0 14px; border-bottom: 1px solid var(--p7-line); }
.vdt-procurement .p7-field--wide { grid-column: 1 / -1; }
.vdt-procurement .p7-offsets { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.vdt-procurement .p7-offsets legend { width: 100%; }
.vdt-procurement .p7-offsets label { font-weight: 400; color: var(--p7-text); display: inline-flex; gap: 6px; align-items: center; font-size: 14px; }
.vdt-procurement .p7-remform .p7-actions { grid-column: 1 / -1; margin-top: 4px; }
.vdt-procurement ul.p7-list { list-style: none; margin: 0; padding: 0; }
.vdt-procurement ul.p7-list li { display: flex; gap: 12px; justify-content: space-between; align-items: flex-start; padding: 10px 0; border-top: 1px solid #edf1f6; font-size: 14px; }
.vdt-procurement ul.p7-list li:first-child { border-top: 0; }
.vdt-procurement .p7-list__main { min-width: 0; overflow-wrap: anywhere; }
.vdt-procurement .p7-list__act { display: flex; gap: 2px; flex: none; }
.vdt-procurement .p7-inline { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.vdt-procurement .p7-inline label { flex-basis: 100%; font-size: 14px; }
.vdt-procurement .p7-inline input { width: 120px; }
.vdt-procurement .p7-savebox { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; background: var(--p7-surface); border: 1px solid var(--p7-line); border-radius: 8px; padding: 8px; margin: 0 0 12px; }
.vdt-procurement .p7-savebox input { min-height: 36px; border: 1px solid var(--p7-line-2); border-radius: 6px; padding: 0 10px; font: inherit; min-width: 220px; }
.vdt-procurement .p7-guide { display: grid; grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); gap: 24px; margin: 40px 0 0; padding: 28px 0 0; border-top: 1px solid var(--p7-line); }
.vdt-procurement .p7-guide__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 28px; }
.vdt-procurement .p7-guide__aside { display: grid; gap: 14px; align-content: start; }
.vdt-procurement .p7-course { margin: 24px 0 0; }
.vdt-procurement p.p7-disclaimer { font-size: 12.5px; color: var(--p7-muted); margin: 24px 0 0; max-width: 110ch; }
.vdt-procurement .p7-toasts { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 100001; display: grid; gap: 8px; pointer-events: none; }
.vdt-procurement .p7-toast { background: var(--p7-navy); color: #fff; padding: 10px 16px; border-radius: 8px; font-size: 14px; box-shadow: var(--p7-shadow); }

/* ---------- Bảng đơn vị: cột hiển thị theo bề ngang ---------- */
@media (max-width: 1279px) {
	.vdt-procurement .p7-hide-lg { display: none; }
}
@media (max-width: 1100px) {
	.vdt-procurement .p7-layout { grid-template-columns: 250px minmax(0, 1fr); gap: 18px; }
	.vdt-procurement .p7-dgrid { grid-template-columns: minmax(0, 1fr); }
	.vdt-procurement .p7-aside { position: static; }
	.vdt-procurement .p7-hide-md { display: none; }
}

/* ---------- Máy tính bảng & di động ---------- */
@media (max-width: 899px) {
	.vdt-procurement .p7-head__in { grid-template-columns: 1fr; gap: 10px; padding-top: 18px; padding-bottom: 12px; }
	.vdt-procurement .p7-meta { text-align: left; }
	.vdt-procurement .p7-meta div { justify-content: flex-start; }
	.vdt-procurement .p7-tab { padding: 10px 12px; }
	.vdt-procurement .p7-tab--end { margin-left: 0; }
	.vdt-procurement .p7-layout { grid-template-columns: 1fr; }
	.vdt-procurement .p7-filters-open { display: inline-flex; }
	.vdt-procurement .p7-search__bar { grid-template-columns: 1fr auto; gap: 6px; }
	.vdt-procurement .p7-search__mode { grid-column: 1 / -1; border-right: 0; border-radius: 8px; }
	.vdt-procurement .p7-search__q { grid-column: 1 / -1; border: 1px solid var(--p7-line); border-radius: 8px; }
	.vdt-procurement .p7-search__go { justify-self: stretch; }
	/* Bộ lọc → bảng trượt từ đáy (không bê nguyên cột trái) */
	.vdt-procurement .p7-filters { position: fixed; z-index: 100000; left: 0; right: 0; bottom: 0; top: auto; max-height: 86vh; border-radius: 16px 16px 0 0; box-shadow: 0 -12px 40px rgb(11 31 58 / .25); transform: translateY(105%); transition: transform 220ms ease-out; visibility: hidden; padding-bottom: env(safe-area-inset-bottom); }
	.vdt-procurement .p7-filters.is-open { transform: none; visibility: visible; }
	.vdt-procurement .p7-filters-close { display: inline-grid; }
	.vdt-procurement .p7-sheet-scrim { position: fixed; inset: 0; background: rgb(11 31 58 / .38); z-index: 99999; }
	.vdt-procurement .p7-guide, .vdt-procurement .p7-ws { grid-template-columns: 1fr; }
	.vdt-procurement .p7-ws__rem { grid-row: auto; }
	.vdt-procurement .p7-keyfacts { grid-template-columns: 1fr; }
	.vdt-procurement .p7-keyfacts > div { border-right: 0; border-bottom: 1px solid var(--p7-line); }
	.vdt-procurement .p7-keyfacts > div:last-child { border-bottom: 0; }
}
@media (max-width: 639px) {
	.vdt-procurement { font-size: 15px; }
	.vdt-procurement .p7-guide__grid { grid-template-columns: 1fr; }
	.vdt-procurement .p7-remform { grid-template-columns: 1fr; }
	.vdt-procurement .p7-dl { grid-template-columns: 1fr; }
	.vdt-procurement .p7-dl dt { padding-bottom: 0; }
	.vdt-procurement .p7-dl dd { border-top: 0; padding-top: 2px; }
	.vdt-procurement .p7-cards { grid-template-columns: 1fr; }
	.vdt-procurement .p7-codegrid { grid-template-columns: 1fr; }
	.vdt-procurement .p7-timeline { grid-template-columns: 1fr; gap: 10px; }
	.vdt-procurement .p7-timeline::before { left: 7px; right: auto; top: 8px; bottom: 8px; width: 2px; height: auto; }
	.vdt-procurement .p7-timeline li { padding: 0 0 0 26px; }
	.vdt-procurement .p7-timeline li::before { top: 3px; }
	.vdt-procurement .p7-drawer__panel { width: 100%; }
	.vdt-procurement .p7-toolbar__end { margin-left: 0; width: 100%; justify-content: space-between; }
	.vdt-procurement .p7-pager { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
	.vdt-procurement *, .vdt-procurement *::before, .vdt-procurement *::after { animation: none !important; transition: none !important; }
}
@media (forced-colors: active) {
	.vdt-procurement .p7-badge, .vdt-procurement .p7-chip, .vdt-procurement .p7-tab[aria-current="page"] { border: 1px solid CanvasText; }
}

/* Ngăn kéo: chi tiết một cột */
.vdt-procurement .p7-drawer .p7-dgrid { grid-template-columns: minmax(0, 1fr); }
.vdt-procurement .p7-drawer .p7-aside { position: static; }
.vdt-procurement .p7-drawer .p7-keyfacts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.vdt-procurement .p7-drawer .p7-keyfacts > div:nth-child(2) { border-right: 0; }
.vdt-procurement .p7-drawer .p7-keyfacts > div:nth-child(3) { grid-column: 1 / -1; border-top: 1px solid var(--p7-line); }
.vdt-procurement .p7-drawer .p7-dl { grid-template-columns: minmax(130px, 170px) minmax(0, 1fr); }
.vdt-procurement .p7-remform--inline { grid-template-columns: 1fr; border-bottom: 0; margin: 10px 0 0; padding: 0; }
.vdt-procurement details.p7-remind > summary { list-style: none; cursor: pointer; }
.vdt-procurement details.p7-remind > summary::-webkit-details-marker { display: none; }
.vdt-procurement .p7-field label input { margin-top: 6px; }

/* Vùng nổi của site: chip liên hệ .bcnt (mép phải) và nút sáng/tối của theme (mép trái) cố định trên màn hình →
   chừa lề để nút "Xem nhanh"/nhãn bộ lọc không bị che (đo bằng elementFromPoint trong QA P07). */
@media (min-width: 900px) {
	.vdt-procurement .vdtt-wrap { padding-left: max(clamp(16px, 2.4vw, 40px), 76px); padding-right: max(clamp(16px, 2.4vw, 40px), 88px); }
}
@media (max-width: 1100px) {
	.vdt-procurement .p7-body { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); } /* thanh liên hệ .bcnt-dock ở đáy */
	.vdt-procurement { scroll-padding-bottom: 110px; }
}
/* Cột trong suốt .bcnt-actions (141×220 px) nhận click và che nút "Xem" ở cột phải — chỉ cho chip thật nhận click.
   Chỉ nạp trên route P07 (không đổi P01–P06, không sửa plugin button-contact-nt). */
body.vdt-tools-body .bcnt-fab-wrap > .bcnt-actions { pointer-events: none; }
body.vdt-tools-body .bcnt-fab-wrap > .bcnt-actions > * { pointer-events: auto; }
/* Mobile: đầu trang gọn để ô tìm kiếm nằm trong màn hình đầu, không lọt dưới thanh liên hệ ở đáy. */
@media (max-width: 639px) {
	.vdt-procurement .p7-head__in { padding-top: 14px; padding-bottom: 8px; gap: 6px; }
	.vdt-procurement h1.p7-title { font-size: 23px; margin-bottom: 4px; }
	.vdt-procurement p.p7-lead { font-size: 14px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
	.vdt-procurement .p7-meta div + div { display: none; }
	.vdt-procurement .p7-tab { padding: 10px 12px; font-size: 13.5px; }
	.vdt-procurement .p7-tab .vdtt-icon { display: none; }
	.vdt-procurement .p7-body { padding-top: 14px; }
	.vdt-procurement .p7-search__bar { padding: 6px; }
	.vdt-procurement .p7-search__mode, .vdt-procurement .p7-search__q, .vdt-procurement .p7-search__go { min-height: 46px; }
}
/* Polish vòng 2 (sau ảnh chụp vòng 1) */
.vdt-procurement .p7-money { white-space: nowrap; }
@media (max-width: 899px) {
	.vdt-procurement .p7-seg { display: none; } /* mobile luôn hiển thị dạng thẻ → không để nút chuyển chế độ vô tác dụng */
}
@media (max-width: 639px) {
	.vdt-procurement .p7-drawer .p7-keyfacts { grid-template-columns: 1fr; }
	.vdt-procurement .p7-drawer .p7-keyfacts > div { border-right: 0; border-bottom: 1px solid var(--p7-line); }
	.vdt-procurement .p7-drawer .p7-keyfacts > div:nth-child(3) { border-top: 0; border-bottom: 0; }
	.vdt-procurement .p7-drawer .p7-dl { grid-template-columns: 1fr; }
	.vdt-procurement .p7-drawer__body { padding: 0 16px 24px; }
	.vdt-procurement h2.p7-drawer__title { margin-inline: 16px; font-size: 17px; }
}
.vdt-procurement .p7-tablewrap { overflow-x: auto; }
@media (max-width: 1199px) {
	.vdt-procurement .p7-seg { display: none; }
}
.vdt-procurement .p7-offsets label { white-space: nowrap; min-height: 32px; }

/* axe vòng 1: tương phản nhãn trạng thái ≥ 4.5:1 ở cỡ 12px */
.vdt-procurement .p7-badge--open { color: #14532d; }
.vdt-procurement .p7-badge--soon { color: #7c2d12; }
.vdt-procurement .p7-badge--tz { color: #7c2d12; }
/* Dữ liệu thật (02/12): tên tỉnh/nhãn trạng thái dài hơn minh họa → bảng không được đẩy cột thao tác ra ngoài */
.vdt-procurement .p7-table .p7-close { white-space: normal; min-width: 120px; }
.vdt-procurement .p7-table .p7-badge { white-space: normal; max-width: 150px; line-height: 1.35; }
.vdt-procurement .p7-table td:nth-child(3) { min-width: 96px; }
@media (max-width: 1599px) {
	.vdt-procurement .p7-rowact .p7-btn { padding: 0 10px; }
	.vdt-procurement .p7-rowact .p7-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (max-width: 1439px) {
	.vdt-procurement .p7-seg { display: none; } /* < 1440px: kết quả dạng thẻ (đo với dữ liệu thật: bảng tràn 104px ở 1280, 18px ở 1366) */
}

/* ================= Săn thầu thông minh ================= */
.vdt-procurement .p7-hunt__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin: 0 0 14px; }
.vdt-procurement .p7-hunt__head p.p7-text { max-width: 70ch; color: var(--p7-muted); }
.vdt-procurement .p7-hunt__grid { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 20px; align-items: start; }
.vdt-procurement ul.p7-hlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.vdt-procurement ul.p7-hlist li { margin: 0; }
.vdt-procurement .p7-hlist__item { width: 100%; text-align: left; display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; align-items: center; background: var(--p7-surface); border: 1px solid var(--p7-line); border-radius: var(--p7-radius); padding: 12px 14px; font: inherit; color: var(--p7-text); cursor: pointer; min-height: 44px; }
.vdt-procurement .p7-hlist__item:hover { border-color: var(--p7-line-2); }
.vdt-procurement .p7-hlist__item[aria-current="true"] { border-color: var(--p7-action); box-shadow: inset 3px 0 0 var(--p7-action); }
.vdt-procurement .p7-hlist__name { font-weight: 600; color: var(--p7-navy); overflow-wrap: anywhere; }
.vdt-procurement .p7-hlist__item .p7-sub { grid-column: 1; }
.vdt-procurement .p7-hlist__item .p7-count { grid-column: 2; grid-row: 1 / span 2; }
.vdt-procurement .p7-hsum { background: var(--p7-surface); border: 1px solid var(--p7-line); border-radius: var(--p7-radius); padding: 16px 18px; margin: 0 0 12px; }
.vdt-procurement .p7-hsum__top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.vdt-procurement h3.p7-hsum__name { margin: 0 0 2px; font-size: 18px; }
.vdt-procurement .p7-hsum__chips { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.vdt-procurement .p7-hsum__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 16px; margin: 12px 0; font-size: 14px; }
.vdt-procurement .p7-hsum__facts dt { color: var(--p7-muted); font-size: 12.5px; }
.vdt-procurement .p7-hsum__facts dd { margin: 0; overflow-wrap: anywhere; }
.vdt-procurement .p7-hprog { background: var(--p7-soft); border-radius: 8px; padding: 10px 12px; margin: 10px 0 0; font-size: 14px; }
.vdt-procurement .p7-hprog p { margin: 0 0 6px; }
.vdt-procurement .p7-hprog progress { width: 100%; height: 8px; accent-color: var(--p7-action); }
.vdt-procurement .p7-htabs { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; border-bottom: 1px solid var(--p7-line); margin: 6px 0 12px; }
.vdt-procurement .p7-htabs__list { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.vdt-procurement .p7-htabs button { background: none; border: 0; border-bottom: 2px solid transparent; padding: 10px 12px; min-height: 44px; font: inherit; font-weight: 600; color: var(--p7-muted); cursor: pointer; }
.vdt-procurement .p7-htabs button[aria-selected="true"] { color: var(--p7-navy); border-bottom-color: var(--p7-action); }
.vdt-procurement .p7-htabs__link { margin-left: auto; font-size: 14px; font-weight: 600; padding: 10px 4px; }
.vdt-procurement ul.p7-hcards { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.vdt-procurement ul.p7-hcards > li { margin: 0; }
.vdt-procurement .p7-hcard { background: var(--p7-surface); border: 1px solid var(--p7-line); border-left: 4px solid var(--p7-action); border-radius: var(--p7-radius); padding: 14px 16px; }
.vdt-procurement .p7-hcard--check { border-left-color: #d6a64a; }
.vdt-procurement .p7-hcard__top { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin: 0 0 6px; }
.vdt-procurement .p7-tier { font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 4px; background: #e8efff; color: #1e3a8a; }
.vdt-procurement .p7-tier--related, .vdt-procurement .p7-tier--loose { background: #fff4e5; color: #7c2d12; }
.vdt-procurement .p7-badge--new { background: #e0edff; color: #1e3a8a; }
.vdt-procurement h4.p7-hcard__title { margin: 0 0 8px; font-size: 16px; line-height: 1.45; }
.vdt-procurement .p7-hcard__open { background: none; border: 0; padding: 0; font: inherit; font-weight: 600; color: var(--p7-navy); text-align: left; cursor: pointer; overflow-wrap: anywhere; }
.vdt-procurement .p7-hcard__open:hover { color: var(--p7-action); text-decoration: underline; }
.vdt-procurement .p7-hcard__facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 14px; margin: 0 0 8px; font-size: 14px; }
.vdt-procurement .p7-hcard__facts dt { color: var(--p7-muted); font-size: 12px; }
.vdt-procurement .p7-hcard__facts dd { margin: 0; overflow-wrap: anywhere; }
.vdt-procurement details.p7-hwhy { margin: 6px 0; font-size: 14px; }
.vdt-procurement details.p7-hwhy > summary { cursor: pointer; font-weight: 600; color: var(--p7-action); min-height: 32px; display: inline-flex; align-items: center; }
.vdt-procurement details.p7-hwhy ul { list-style: none; margin: 6px 0; padding: 0; display: grid; gap: 4px; }
.vdt-procurement details.p7-hwhy li { display: flex; gap: 6px; align-items: flex-start; margin: 0; }
.vdt-procurement details.p7-hwhy li .vdtt-icon { width: 16px; height: 16px; margin-top: 2px; flex: none; }
.vdt-procurement .p7-hwhy__fail .vdtt-icon { color: var(--p7-danger); }
.vdt-procurement .p7-hwhy__unknown .vdtt-icon, .vdt-procurement .p7-hwhy__related .vdtt-icon, .vdt-procurement .p7-hwhy__loose .vdtt-icon { color: #9a4a07; }
.vdt-procurement .p7-hwhy__direct .vdtt-icon, .vdt-procurement .p7-hwhy__synonym .vdtt-icon, .vdt-procurement .p7-hwhy__pass .vdtt-icon { color: var(--p7-success); }
.vdt-procurement .p7-hcard__act { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 4px 0 0; }
/* Form hồ sơ (dạng ngăn kéo rộng) */
.vdt-procurement .p7-drawer--editor .p7-drawer__panel { width: min(720px, 100%); }
.vdt-procurement .p7-hform fieldset.p7-hstep { border: 1px solid var(--p7-line); border-radius: var(--p7-radius); background: var(--p7-surface); padding: 12px 16px 6px; margin: 0 0 12px; min-width: 0; }
.vdt-procurement .p7-hform fieldset.p7-hstep > legend { font-weight: 700; color: var(--p7-navy); padding: 0 6px; }
.vdt-procurement .p7-hrow { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 0 12px; }
.vdt-procurement .p7-opt { font-weight: 400; color: var(--p7-muted); }
.vdt-procurement .p7-radios { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.vdt-procurement .p7-radios legend { width: 100%; }
.vdt-procurement .p7-radios label { font-weight: 400; color: var(--p7-text); display: inline-flex; gap: 6px; align-items: center; min-height: 32px; }
.vdt-procurement .p7-radios--stack { flex-direction: column; }
.vdt-procurement .p7-chips-in { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.vdt-procurement .p7-chips-in legend { width: 100%; }
.vdt-procurement .p7-chips-in label { font-weight: 400; color: var(--p7-text); display: inline-flex; gap: 6px; align-items: center; min-height: 32px; }
.vdt-procurement .p7-hplan { background: var(--p7-soft); border-radius: 8px; padding: 12px 14px; margin: 0 0 12px; font-size: 14px; }
.vdt-procurement .p7-hplan ol { margin: 6px 0; padding-left: 22px; }
.vdt-procurement .p7-hform__foot { position: sticky; bottom: -28px; display: flex; gap: 8px; justify-content: flex-end; background: var(--p7-bg); padding: 12px 0; border-top: 1px solid var(--p7-line); }
@media (max-width: 1100px) {
	.vdt-procurement .p7-hunt__grid { grid-template-columns: 1fr; }
	.vdt-procurement ul.p7-hlist { grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); overflow-x: auto; padding-bottom: 4px; }
	.vdt-procurement .p7-hcard__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 639px) {
	.vdt-procurement .p7-hunt__head { flex-direction: column; }
	.vdt-procurement .p7-hsum__facts { grid-template-columns: 1fr; }
	.vdt-procurement .p7-hsum__top { flex-direction: column; }
	.vdt-procurement .p7-hform__foot { flex-direction: column-reverse; }
	.vdt-procurement .p7-hform__foot .p7-btn { width: 100%; }
}
/* Polish vòng 1 Săn thầu: radio/checkbox không kế thừa kiểu ô nhập rộng 100%; tab không xuống dòng. */
.vdt-procurement .p7-field input[type="radio"], .vdt-procurement .p7-field input[type="checkbox"], .vdt-procurement .p7-check input, .vdt-procurement .p7-chips-in input {
	width: 18px; height: 18px; min-height: 0; padding: 0; margin: 0; flex: none; accent-color: var(--p7-action); }
.vdt-procurement .p7-radios label, .vdt-procurement .p7-chips-in label, .vdt-procurement .p7-check { align-items: flex-start; line-height: 1.45; }
.vdt-procurement .p7-radios label input, .vdt-procurement .p7-chips-in label input, .vdt-procurement .p7-check input { margin-top: 2px; }
.vdt-procurement .p7-htabs button { white-space: nowrap; }
.vdt-procurement .p7-radios label, .vdt-procurement .p7-check { flex-wrap: wrap; }
.vdt-procurement .p7-radios label .p7-hint, .vdt-procurement .p7-check .p7-hint { flex-basis: 100%; margin: 2px 0 0 26px; }
.vdt-procurement .p7-radios label .p7-hint:empty, .vdt-procurement .p7-check .p7-hint:empty { display: none; }
/* Săn thầu — khách tìm một lần (biểu mẫu trên trang + khung mời đăng nhập; kết quả ngay bên dưới). */
.vdt-procurement .p7-hguest { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; }
.vdt-procurement .p7-hguest__form { padding: 16px 18px 4px; }
.vdt-procurement .p7-hguest__form .p7-hform--inline fieldset.p7-hstep { background: var(--p7-bg); }
.vdt-procurement .p7-hguest__form .p7-hform__foot { position: static; background: transparent; margin: 0 -18px; padding: 12px 18px 14px; }
.vdt-procurement .p7-hguest__aside { position: sticky; top: 96px; background: var(--p7-soft); border: 1px solid var(--p7-line); border-radius: var(--p7-radius); padding: 18px 20px; }
.vdt-procurement .p7-hguest__aside .p7-h3 { margin: 0 0 6px; }
.vdt-procurement .p7-hguest__aside .p7-tips { margin: 8px 0 14px; }
.vdt-procurement .p7-hguest__aside .p7-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.vdt-procurement .p7-hguest__results { margin-top: 20px; scroll-margin-top: 96px; }
.vdt-procurement .p7-hguest__results:focus { outline: none; }
.vdt-procurement .p7-hguest__results .p7-hsum__name:focus, .vdt-procurement .p7-hguest__results .p7-hsum__name:focus-visible { outline: none; box-shadow: none; border: 0; }
@media (max-width: 1100px) {
	.vdt-procurement .p7-hguest { grid-template-columns: 1fr; }
	.vdt-procurement .p7-hguest__aside { position: static; order: 2; }
}
@media (max-width: 639px) {
	.vdt-procurement .p7-hguest__form { padding: 12px 12px 2px; }
	.vdt-procurement .p7-hguest__form .p7-hform__foot { margin: 0 -12px; padding: 12px; }
}
/* Đăng nhập Google (plugin vdtglc) trong khung đăng nhập của P07. */
.vdt-procurement .vdtt-glogin { margin: 10px 0 0; padding: 0; border: 0; background: none; box-shadow: none; }
.vdt-procurement .vdtt-glogin .vdtglc-auth__actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; min-height: 44px; }
.vdt-procurement .vdtt-glogin .vdtglc-auth__privacy { font-size: 13px; color: var(--p7-muted); margin: 8px 0 0; }
.vdt-procurement .vdtt-glogin .vdtglc-auth__status:empty { display: none; }
.vdt-procurement .vdtt-glogin__alt { margin: 8px 0 0; font-size: 14px; }
.vdt-procurement .p7-authg { max-width: 420px; margin: 8px auto 0; text-align: left; }
