/* ==========================================================================
   Lolool — GIAO DIỆN MỚI (đợt cải tiến lặp 2, từ vòng 006 — 30/10/2026)
   Lệnh anh Tú: "mỗi vòng thay đổi to lớn toàn bộ giao diện cho đẹp và xuất
   sắc, vượt qua những khuôn khổ thông thường". Nạp SAU CÙNG để làm lớp hệ
   thống phủ lên style.css / nen-toi.css / CSS chèn từ JS.
   Bản chốt hướng: docs/cai-tien-100-vong-dot-2/THIET_KE.md
   ========================================================================== */

/* ── Đợt 3 · Vòng 001: HỆ CHỮ ALMANAC — bộ chữ Lolool ───────────────────────
   Anh Tú giữ bộ chữ cũ (30/10/2026): Libre Caslon Text cho chữ HIỂN THỊ (h1/h2,
   con số lớn), Archivo Narrow cho GIAO DIỆN (h3, nút, nhãn, tab, ô nhập), EB
   Garamond cho THÂN BÀI (gốc 19,5px đã chốt). Theo Refero Luffu + Mode: serif
   hiển thị MỘT độ đậm (400) với tracking âm ở cỡ lớn — phân cấp bằng cỡ chữ và
   đổi họ chữ, không bằng độ đậm. (Thay hệ Be Vietnam Pro của đợt 2 vòng 006.) */
html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body { line-height: 1.55; font-weight: 500; font-kerning: normal; }

h1, h2 {
  font-family: var(--font-display);
  font-weight: 400; font-style: normal;
  letter-spacing: -0.022em; line-height: 1.1;
  text-wrap: balance;
}
h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700; font-style: normal;
  letter-spacing: .004em; line-height: 1.22;
  text-wrap: balance;
}

p, li { text-wrap: pretty; }

/* Nhãn VIẾT HOA nhỏ: Archivo Narrow giãn chữ — giọng "chú thích" của niên lịch */
.ld-ob-eyebrow, .kb-eyebrow, [class*="eyebrow"] {
  font-family: var(--font-heading);
  letter-spacing: .12em;
  font-weight: 600;
}

/* Số liệu: chữ số đều bề ngang, thẳng hàng (không kiểu chữ số cổ) */
.efw-output, .cs-so, .ld-so, [class*="-count"], [class*="-so-lon"], time {
  font-variant-numeric: lining-nums tabular-nums;
}

/* Nút, ô nhập, nhãn điều hướng: Archivo Narrow */
button, .btn, input, select, textarea, .nav-link { font-family: var(--font-heading); }
button, .btn { letter-spacing: .012em; }

/* ── Vòng 007: MẶT NỀN · BỀ MẶT · NGÔN NGỮ NÚT ────────────────────────────
   Đêm theo Refero "Hyper Foundation" (nền ngọc lục sâu, bề mặt kính viền mảnh,
   nút chính viên thuốc màu bạc hà sáng + quầng sáng). Ngày theo "Superpower"
   (nền trắng, chữ than, thẻ bo 16px bóng 0 2px 2px rất nhẹ, nút viên thuốc).
   Chữ nhấn VÀNG trên nền tối giữ nguyên (lệnh anh Tú 26/08).
   Tách hai vai đang dùng chung nền xanh đặc: NÚT HÀNH ĐỘNG (bấm để làm) và
   TRẠNG THÁI ĐANG CHỌN (tab/chip) — đo ở bản 006: 24 lớp nút + 13 lớp chọn. */
:root {
  --gd-cta-dem: #8FE39B;            /* bạc hà Lolool (đã là --primary-dark đêm) */
  --gd-cta-dem-chu: #062A1E;
  --gd-cta-dem-sang: rgba(143, 227, 155, .38);
  --gd-chon-dem-nen: rgba(143, 227, 155, .13);
  --gd-chon-dem-vien: rgba(143, 227, 155, .6);
  --gd-chon-dem-chu: #D3F6DA;
  --gd-chon-ngay-nen: #E9E1CF;
  --gd-chon-ngay-chu: #173B2F;
}

/* Mặt nền Đêm: ngọc lục sâu, ánh sáng ấm từ trên (vai trò: không khí, không phải bề mặt) */
html:not([data-che-do="ngay"]) {
  --bg-main: #04201A;
  --surface: #0A2C24;
  --surface-warm: #09291F;
  --border: rgba(143, 227, 155, .2);
  --border-light: rgba(143, 227, 155, .12);
  --radius-lg: 24px;
  --radius-md: 18px;
}
html:not([data-che-do="ngay"]) body {
  background:
    radial-gradient(120% 55% at 50% -12%, rgba(217, 190, 134, .085), transparent 62%),
    radial-gradient(90% 50% at 100% 40%, rgba(143, 227, 155, .05), transparent 70%),
    linear-gradient(180deg, #05271F 0%, #04201A 40%, #031812 100%);
  background-color: #04201A;   /* shorthand ở trên đặt lại background-color về trong suốt — đặt lại (vùng kéo quá đà + công cụ đo tương phản) */
  background-attachment: fixed;
}

/* Mặt nền Ngày: trắng sạch thay kem giấy */
html[data-che-do="ngay"] {
  --bg-main: #F6F7F5;
  --bg-soft: #EEF1EE;
  --surface: #FFFFFF;
  --surface-warm: #FAFBFA;
  --border: #DCE1DC;
  --border-light: #E6EAE6;
  /* chữ phụ trên nền #F6F7F5 mới: #52626F chỉ 4,48:1 → đậm hơn một chút (đo vòng 026) */
  --text-secondary: #46535E;
  --text-light: #4F5C67;
  --shadow-sm: 0 2px 2px rgba(0, 0, 0, .05);
  --shadow: 0 2px 2px rgba(0, 0, 0, .05), 0 8px 24px rgba(20, 40, 28, .05);
  --radius-lg: 24px;
  --radius-md: 18px;
}

/* NÚT HÀNH ĐỘNG CHÍNH: viên thuốc, cao ≥ 52px, đậm 700 */
:is(.btn-primary, .ag-btn, .tth-btn, .ck-btn, .vc-btn, .tt-btn, .tc-btn, .sn-nut, .sk-trong-nut,
    .sk-moc-them, .sk-bac-si, .kt-btn:not(.kt-btn-out), .hp-nut, .ha-btn, .gd-cham, .congo-btn, .cd-btn,
    .bk-nut, .bep-nut.nc-xong, .tdcm-nut-chinh, .lk-btn, .tdh-btn-add, .ld-ob-submit, .dd-nut-chinh, .pk-hoi-zalo,
    .lk-gcal-all, #bloodref-section button.btn, .st-btn, .cm-btn, .nt-addbtn, .kg-btn-go, .ab-file-btn, .cb-btn, .sk-btn, .ng-btn, .hs-btn, .gt-btn, .bd-nut, .ht-cta) {
  border-radius: var(--gd-nut-bo, 999px) !important;
  min-height: 52px;
  font-weight: 700 !important;
  letter-spacing: .01em;
  border: 0 !important;
  transition: transform .15s ease, box-shadow .2s ease, filter .2s ease;
}
html:not([data-che-do="ngay"]) :is(.btn-primary, .ag-btn, .tth-btn, .ck-btn, .vc-btn, .tt-btn, .tc-btn, .sn-nut, .sk-trong-nut,
    .sk-moc-them, .sk-bac-si, .kt-btn:not(.kt-btn-out), .hp-nut, .ha-btn, .gd-cham, .congo-btn, .cd-btn,
    .bk-nut, .bep-nut.nc-xong, .tdcm-nut-chinh, .lk-btn, .tdh-btn-add, .ld-ob-submit, .dd-nut-chinh, .pk-hoi-zalo,
    .lk-gcal-all, #bloodref-section button.btn, .st-btn, .cm-btn, .nt-addbtn, .kg-btn-go, .ab-file-btn, .cb-btn, .sk-btn, .ng-btn, .hs-btn, .gt-btn, .bd-nut, .ht-cta) {
  background: var(--gd-cta-dem) !important;
  color: var(--gd-cta-dem-chu) !important;
  box-shadow: var(--gd-cta-dem-bong, 0 0 0 1px rgba(143, 227, 155, .5), 0 8px 26px -6px var(--gd-cta-dem-sang)) !important;
}
html[data-che-do="ngay"] :is(.btn-primary, .ag-btn, .tth-btn, .ck-btn, .vc-btn, .tt-btn, .tc-btn, .sn-nut, .sk-trong-nut,
    .sk-moc-them, .sk-bac-si, .kt-btn:not(.kt-btn-out), .hp-nut, .ha-btn, .gd-cham, .congo-btn, .cd-btn,
    .bk-nut, .bep-nut.nc-xong, .tdcm-nut-chinh, .lk-btn, .tdh-btn-add, .ld-ob-submit, .dd-nut-chinh, .pk-hoi-zalo,
    .lk-gcal-all, #bloodref-section button.btn, .st-btn, .cm-btn, .nt-addbtn, .kg-btn-go, .ab-file-btn, .cb-btn, .sk-btn, .ng-btn, .hs-btn, .gt-btn, .bd-nut, .ht-cta) {
  background: #173B2F !important;
  color: #FFFFFF !important;
  box-shadow: var(--gd-cta-ngay-bong, 0 8px 20px -8px rgba(55, 129, 60, .55)) !important;
}
:is(.btn-primary, .ag-btn, .tth-btn, .ck-btn, .vc-btn, .tt-btn, .tc-btn, .sn-nut, .sk-trong-nut,
    .sk-moc-them, .sk-bac-si, .kt-btn:not(.kt-btn-out), .hp-nut, .ha-btn, .gd-cham, .congo-btn, .cd-btn,
    .bk-nut, .bep-nut.nc-xong, .tdcm-nut-chinh, .lk-btn, .tdh-btn-add, .ld-ob-submit, .dd-nut-chinh, .pk-hoi-zalo,
    .lk-gcal-all, #bloodref-section button.btn, .st-btn, .cm-btn, .nt-addbtn, .kg-btn-go, .ab-file-btn, .cb-btn, .sk-btn, .ng-btn, .hs-btn, .gt-btn, .bd-nut, .ht-cta):hover { filter: brightness(1.06); }
:is(.btn-primary, .ag-btn, .tth-btn, .ck-btn, .vc-btn, .tt-btn, .tc-btn, .sn-nut, .sk-trong-nut,
    .sk-moc-them, .sk-bac-si, .kt-btn:not(.kt-btn-out), .hp-nut, .ha-btn, .gd-cham, .congo-btn, .cd-btn,
    .bk-nut, .bep-nut.nc-xong, .tdcm-nut-chinh, .lk-btn, .tdh-btn-add, .ld-ob-submit, .dd-nut-chinh, .pk-hoi-zalo,
    .lk-gcal-all, #bloodref-section button.btn, .st-btn, .cm-btn, .nt-addbtn, .kg-btn-go, .ab-file-btn, .cb-btn, .sk-btn, .ng-btn, .hs-btn, .gt-btn, .bd-nut, .ht-cta):active { transform: scale(.98); }

/* TRẠNG THÁI ĐANG CHỌN: nền nhạt + viền + chữ đậm (không còn trùng nút chính) */
:is(.ag-tab.on, .hub-gd-nut.on, .hub-chip.on, .tt-mode.tt-active, .tips-tab.on, .tc-fetus-btn.on, .nt-tab.nt-on,
    .kt-filter-btn.active, .filter-btn.active, .efw-seg-nut.on, .cs-tab.on, .cn-gd-nut.on, .at-gbtn.active,
    .day-tab-btn.active, .bio-ga-o.on, .syl-nut.on, .a2hs-tab.on, .ld-para.on,
    .yg-chip.is-on, .tc-dur.tc-on, .kg-on, .tb-tab.on, .tb-chip.on, .nb-opt.nb-on, .tt-tgl.on, .ng-qual.ng-on, .hs-side.hs-on) {
  font-weight: 700 !important;
  box-shadow: none !important;
}
html:not([data-che-do="ngay"]) :is(.ag-tab.on, .hub-gd-nut.on, .hub-chip.on, .tt-mode.tt-active, .tips-tab.on, .tc-fetus-btn.on, .nt-tab.nt-on,
    .kt-filter-btn.active, .filter-btn.active, .efw-seg-nut.on, .cs-tab.on, .cn-gd-nut.on, .at-gbtn.active,
    .day-tab-btn.active, .bio-ga-o.on, .syl-nut.on, .a2hs-tab.on, .ld-para.on,
    .yg-chip.is-on, .tc-dur.tc-on, .kg-on, .tb-tab.on, .tb-chip.on, .nb-opt.nb-on, .tt-tgl.on, .ng-qual.ng-on, .hs-side.hs-on) {
  background: var(--gd-chon-dem-nen) !important;
  color: var(--gd-chon-dem-chu) !important;
  border: 1.5px solid var(--gd-chon-dem-vien) !important;
}
html[data-che-do="ngay"] :is(.ag-tab.on, .hub-gd-nut.on, .hub-chip.on, .tt-mode.tt-active, .tips-tab.on, .tc-fetus-btn.on, .nt-tab.nt-on,
    .kt-filter-btn.active, .filter-btn.active, .efw-seg-nut.on, .cs-tab.on, .cn-gd-nut.on, .at-gbtn.active,
    .day-tab-btn.active, .bio-ga-o.on, .syl-nut.on, .a2hs-tab.on, .ld-para.on,
    .yg-chip.is-on, .tc-dur.tc-on, .kg-on, .tb-tab.on, .tb-chip.on, .nb-opt.nb-on, .tt-tgl.on, .ng-qual.ng-on, .hs-side.hs-on) {
  background: var(--gd-chon-ngay-nen) !important;
  color: var(--gd-chon-ngay-chu) !important;
  border: 1.5px solid #173B2F !important;
}

/* ── Vòng 008: HEADER KÍNH MỜ + THANH 5 Ô THÀNH DOCK NỔI ─────────────────
   Refero (iOS, Health & Wellness): Longevity Deck, The Outsiders — thanh tab
   dạng viên thuốc nổi, kính mờ, ô đang mở là một viên sáng. Giữ nguyên 5 ô,
   thứ tự, chữ, đích đến (đã chốt 20/10) — chỉ đổi hình.
   Header Đêm trước đây trong suốt hoàn toàn → chữ nội dung lộ qua giữa logo
   và nút Hỏi khi cuộn (hàng chờ #29). */
html:not([data-che-do="ngay"]) .app-header {
  background: linear-gradient(180deg, rgba(4, 32, 26, .97) 0%, rgba(4, 32, 26, .9) 100%);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid rgba(143, 227, 155, .08);
}
html[data-che-do="ngay"] .app-header {
  background: rgba(246, 247, 245, .94);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid rgba(20, 40, 28, .06);
  box-shadow: none;
}

@media (max-width: 768px) {
  :root {
    --lolo-thanh-cao: 64px;
    --gd-dock-ho: 10px;   /* khoảng hở giữa dock và mép đáy */
    --lolo-day: calc(var(--lolo-thanh-cao) + var(--gd-dock-ho) + env(safe-area-inset-bottom, 0px));
  }
  .thanh-day {
    left: 12px; right: 12px;
    bottom: calc(var(--gd-dock-ho) + env(safe-area-inset-bottom, 0px));
    height: var(--lolo-thanh-cao);
    padding: 0 6px;
    border-radius: 32px;
    backdrop-filter: blur(20px) saturate(1.5);
    -webkit-backdrop-filter: blur(20px) saturate(1.5);
  }
  html:not([data-che-do="ngay"]) .thanh-day {
    background: rgba(9, 44, 36, .92);
    border: 1px solid rgba(143, 227, 155, .16);
    box-shadow: 0 14px 34px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .06);
  }
  html[data-che-do="ngay"] .thanh-day {
    background: rgba(255, 255, 255, .95);
    border: 1px solid rgba(20, 40, 28, .08);
    box-shadow: 0 12px 30px rgba(20, 40, 28, .14);
  }
  .thanh-day a { gap: 3px; padding: 6px 1px 5px; }
  .thanh-chu { font-size: clamp(11px, 3.2vw, 12.5px); letter-spacing: -0.01em; }
  .thanh-ic { width: 54px; height: 30px; border-radius: 999px; transition: background-color .2s ease, transform .2s ease; }
  .thanh-day a[aria-current="page"] .thanh-ic { transform: translateY(-1px); }
  html:not([data-che-do="ngay"]) .thanh-day a[aria-current="page"] .thanh-ic {
    background: rgba(217, 190, 134, .16);
    box-shadow: 0 0 18px rgba(217, 190, 134, .22);
  }
  html[data-che-do="ngay"] .thanh-day a[aria-current="page"] .thanh-ic { background: #E9E1CF; }
}

/* ── Vòng 009: ẢNH BÌA TRANG CHỦ THÀNH POSTER TRÀN KHUNG (điện thoại) ────
   Refero "Superpower": ảnh tràn khung, tiêu đề trắng cực lớn đặt trên ảnh, một
   tiêu điểm duy nhất. Ảnh "mẹ bầu bụng phát sáng" là tài sản nhận diện riêng của
   Lolool nhưng trước đây chỉ rộng 165px giữa một khoảng tối. Không thêm nút
   (anh Tú 13/10: "bỏ 3 nút màu xanh trên trang chủ"). */
@media (max-width: 768px) {
  .kb-hero-cell .hero-anat {
    position: relative;
    display: flex; flex-direction: column; justify-content: flex-end;
    /* vừa một màn: trừ header + khoảng đầu trang (~106px) + dock */
    min-height: clamp(520px, calc(100svh - 106px - var(--lolo-day) - 10px), 700px);
    padding: 84px 22px 30px;
    overflow: hidden;
    isolation: isolate;
  }
  .kb-hero-cell .hero-anat .ha-visual {
    position: absolute; z-index: 1;
    top: -4px; left: 0; right: 0;
    display: flex; justify-content: center;
    transform: none;
  }
  .kb-hero-cell .hero-anat .ha-orb { width: 72%; max-width: 300px; }
  /* Lớp chuyển tối từ đáy để chữ trắng đọc được trên ảnh (vai trò: nền chữ, không trang trí) */
  .kb-hero-cell .hero-anat::after {
    content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
    background:
      radial-gradient(60% 34% at 50% 44%, rgba(217, 190, 134, .12), transparent 70%),
      linear-gradient(0deg, #04201A 6%, rgba(4, 32, 26, .9) 30%, rgba(4, 32, 26, .35) 52%, transparent 70%);
  }
  .kb-hero-cell .hero-anat .ha-content { position: relative; z-index: 3; flex: 0 0 auto; }
  .hero-anat .ha-badge { font-size: .74rem; letter-spacing: .18em; margin-bottom: 14px; opacity: .9; }
  .hero-anat .ha-title {
    font-size: clamp(2.45rem, 12.2vw, 3.4rem);
    font-weight: 700; letter-spacing: -0.02em; line-height: 1.02;
    margin: 0 0 14px;
    text-shadow: 0 4px 30px rgba(0, 0, 0, .45);
  }
  .hero-anat .ha-slogan {
    font-style: normal; font-weight: 500;
    font-size: 1.02rem; line-height: 1.45; margin: 0; opacity: .86;
  }
  /* Mẹ đã có hồ sơ: không có ảnh (quyết định 05/09) → poster chữ với quầng sáng ấm */
  html.lolo-co-ho-so .kb-hero-cell .hero-anat { min-height: 330px; }
  html.lolo-co-ho-so .kb-hero-cell .hero-anat .ha-visual { display: none; }
  html.lolo-co-ho-so .kb-hero-cell .hero-anat::after {
    background: radial-gradient(80% 60% at 18% 30%, rgba(217, 190, 134, .16), transparent 65%),
                radial-gradient(70% 60% at 100% 100%, rgba(143, 227, 155, .1), transparent 70%);
  }
}

/* ── Vòng 010: ĐẦU TRANG CÔNG CỤ GỌN (~70 màn dùng .section-header) ──────
   Hàng chờ #5: nút quay lại 44px + gạch trang trí + tiêu đề 38px gãy 2 dòng +
   đoạn giới thiệu 21px/lh 1,7 + lề 40px ≈ 400px → nút chính của Đếm cơn gò,
   Đếm cử động, Hiểu phiếu… rơi xuống dưới dock. Mẫu Refero màn sức khoẻ iOS
   (Longevity Deck "Sleep"): tiêu đề trái cỡ lớn đậm, mô tả ngắn, nội dung lên ngay. */
@media (max-width: 768px) {
  #loloBackBar { margin: 0 0 10px; }
  #loloBackBar .lolo-back {
    font-size: .82rem; font-weight: 600; padding: 8px 16px 8px 12px;
    border-color: transparent;
  }
  html:not([data-che-do="ngay"]) #loloBackBar .lolo-back { background: rgba(143, 227, 155, .1); color: #D3F6DA; }
  html[data-che-do="ngay"] #loloBackBar .lolo-back { background: #EAE4D6; color: #173B2F; }
  .section-header { margin-bottom: 22px; }
  .section-header h2 { font-size: 1.78rem; line-height: 1.08; letter-spacing: -0.02em; margin-bottom: 10px; }
  .section-header h2::before { width: 28px; height: 4px; margin-bottom: 10px; }
  .section-header p { font-size: 1rem; line-height: 1.5; }
}

/* ── Vòng 011: Ô NHẬP + Ô CHỌN MỘT NGÔN NGỮ ────────────────────────────────
   Hàng chờ #1: <select> để appearance mặc định → trình duyệt bỏ qua padding,
   cao 27–30px ở 10 chỗ (Cân nặng, Số đo, Đường huyết, Sổ khám, Nước thuốc,
   Giải mã máu, Tăng trưởng bé, hộp đăng ký) ngay cạnh ô nhập 47–55px.
   Hàng chờ #2: ô "Chỉ số (mmol/L)" Đường huyết là input[type=text] (vòng 017
   đợt 1, để nhận dấu phẩy) nên rơi khỏi luật CSS cũ → viền inset, góc vuông.
   Mẫu: Refero Hyper Foundation — trường nhập bo lớn, viền mảnh cùng tông nền,
   tiêu điểm bằng quầng sáng bạc hà thay viền đậm. */
:root {
  --gd-o-cao: 52px;
  --gd-o-bo: 16px;
  --gd-mui-ten: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1.5 1.5 7 7l5.5-5.5' fill='none' stroke='%238FE39B' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
html[data-che-do="ngay"] {
  --gd-mui-ten: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1.5 1.5 7 7l5.5-5.5' fill='none' stroke='%2337813C' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
select {
  -webkit-appearance: none !important;
  appearance: none !important;
  min-height: var(--gd-o-cao) !important;
  padding-right: 42px !important;
  border-radius: var(--gd-o-bo) !important;
  background-image: var(--gd-mui-ten) !important;
  background-repeat: no-repeat !important;
  background-position: right 16px center !important;
  background-size: 14px 9px !important;
  cursor: pointer;
}
select::-ms-expand { display: none; }
:is(input[type="text"], input[type="number"], input[type="date"], input[type="email"], input[type="tel"],
    input[type="password"], input[type="search"], input[type="time"], input:not([type]), textarea, select):not([hidden]) {
  border-radius: var(--gd-o-bo);
}
:is(input[type="text"], input[type="number"], input[type="date"], input[type="email"], input[type="tel"],
    input[type="password"], input[type="search"], input[type="time"], input:not([type])) { min-height: 48px; }
html:not([data-che-do="ngay"]) :is(input[type="text"], input[type="number"], input[type="date"], input[type="email"],
    input[type="tel"], input[type="password"], input[type="search"], input[type="time"], input:not([type]), textarea, select):focus {
  outline: none;
  border-color: rgba(143, 227, 155, .75) !important;
  box-shadow: 0 0 0 4px rgba(143, 227, 155, .16) !important;
}
html[data-che-do="ngay"] :is(input[type="text"], input[type="number"], input[type="date"], input[type="email"],
    input[type="tel"], input[type="password"], input[type="search"], input[type="time"], input:not([type]), textarea, select):focus {
  outline: none;
  border-color: #173B2F !important;
  box-shadow: 0 0 0 4px rgba(55, 129, 60, .14) !important;
}
/* Đường huyết: ô "Chỉ số" (type=text) cùng luật với hai ô bên cạnh; nhãn bỏ VIẾT HOA */
.tdh-field input[type="text"] {
  width: 100%; padding: 9px 14px; border: 1px solid var(--border, #e5ddcd); font-size: 17px;
  color: var(--text-primary, #33414E); background: var(--surface-warm, #fdfbf6);
}
.tdh-field label { text-transform: none; letter-spacing: 0; }
html:not([data-che-do="ngay"]) .tdh-field :is(select, input) {
  background-color: var(--surface-warm); color: var(--text-primary); border-color: var(--border);
}

/* ── Vòng 012: CHỈ SỐ CỦA CON — thanh tab phân đoạn + nút xoá hạ cấp ──────
   Màn trọng tâm của app (định vị "Trung tâm quản lý thai nhi"). Ở bản 11:
   4 tab chia đều ép "Số đo trên phiếu" gãy 3 dòng, "Dành cho chuyên gia" 3 dòng;
   nút "🗑️ Xoá lịch sử" to viền xanh ngang hàng nút chính (hàng chờ #11) và khung
   kết quả rỗng giữ 100px trống. Giữ đúng ý anh Tú 21/10: 4 tab MỘT HÀNG NGANG.
   Mẫu Refero (Longevity Deck — tab phân đoạn Data/Insights/Cards): một rãnh, ô
   rộng theo chữ, ô đang chọn nổi lên. */
@media (max-width: 640px) {
  #csTabs { display: grid; grid-template-columns: 1.12fr 1.12fr .82fr 1.2fr; gap: 3px; padding: 4px; border-radius: 20px; }
  html:not([data-che-do="ngay"]) #csTabs { background: rgba(143, 227, 155, .07); border: 1px solid rgba(143, 227, 155, .12); }
  html[data-che-do="ngay"] #csTabs { background: #EAE4D6; border: 1px solid #E1E7E1; }
  #csTabs .cs-tab {
    min-width: 0; min-height: 52px; padding: 6px 5px; border-radius: 16px;
    font-size: .76rem; line-height: 1.18; letter-spacing: -0.015em; overflow-wrap: normal;
  }
  #csTabs .cs-tab:not(.on) { border: 1.5px solid transparent; }
}
/* Nút xoá: hành động phá huỷ, ít dùng → chữ nhỏ, không viền, không ngang hàng nút chính */
#efwClearBtn.efw-btn-ghost {
  background: transparent !important; border: 0 !important; box-shadow: none !important;
  min-height: 44px; margin-top: 4px; font-size: .86rem; font-weight: 600;
  color: var(--text-light) !important; text-decoration: underline; text-underline-offset: 3px;
}
.efw-output:not(:has(.efw-result:not(:empty))) { min-height: 0; }
@media (max-width: 374px) { #csTabs .cs-tab { font-size: .7rem; padding: 6px 3px; } }

/* ── Vòng 013: KẾT QUẢ CÂN NẶNG THÀNH THẺ DỮ LIỆU ─────────────────────────
   Giữ nguyên khối 4 câu ĐỨNG TRƯỚC con số (Task 6, 05/09 — test efw-4cau khoá).
   Ở bản 12 hai con số mẹ cần nhất (EFW, bách phân vị) chỉ là ô 94px chữ 21px
   ngang hàng Z-score. Refero Superpower/Hyper: số lớn, chữ số đều, một tiêu
   điểm. Thêm thanh bách phân vị (hình hoá con số đã có, code-native). */
.efw-res-grid:not(.efw-res-grid-song) { grid-template-columns: 1fr 1fr; gap: 14px 16px; align-items: end; }
.efw-res-grid:not(.efw-res-grid-song) > div:nth-child(2) { order: 1; }
.efw-res-grid:not(.efw-res-grid-song) > div:nth-child(4) { order: 2; }
.efw-res-grid:not(.efw-res-grid-song) > div:nth-child(1) { order: 3; }
.efw-res-grid:not(.efw-res-grid-song) > div:nth-child(3) { order: 4; }
.efw-res-grid:not(.efw-res-grid-song) > div:is(:nth-child(2), :nth-child(4)) .efw-res-v {
  display: block; font-size: clamp(1.7rem, 9.4vw, 2.35rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.02; white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.efw-res-grid:not(.efw-res-grid-song) > div:is(:nth-child(1), :nth-child(3)) .efw-res-v { font-size: 1.02rem; font-weight: 700; }
.efw-res-k { font-size: .72rem !important; letter-spacing: .07em !important; font-weight: 700; white-space: nowrap; }
html:not([data-che-do="ngay"]) .efw-res-grid > div:nth-child(4) .efw-res-v { color: #D9BE86; }
html[data-che-do="ngay"] .efw-res-grid > div:nth-child(4) .efw-res-v { color: #2F6F35; }

.efw-pv { margin: 16px 0 6px; padding: 0 9px; }
.efw-pv-ray { position: relative; height: 12px; border-radius: 999px; }
.efw-pv-dai { position: absolute; left: 10%; right: 10%; top: 0; bottom: 0; border-radius: 999px; }
.efw-pv-cham {
  position: absolute; top: 50%; width: 22px; height: 22px; border-radius: 50%;
  transform: translate(-50%, -50%);
}
.efw-pv-nhan { position: relative; height: 22px; margin-top: 6px; font-size: .7rem; font-weight: 700; letter-spacing: .04em; }
.efw-pv-nhan span { position: absolute; transform: translateX(-50%); color: var(--text-light); }
html:not([data-che-do="ngay"]) .efw-pv-ray { background: rgba(255, 255, 255, .08); }
html:not([data-che-do="ngay"]) .efw-pv-dai { background: rgba(143, 227, 155, .32); }
html:not([data-che-do="ngay"]) .efw-pv-cham { background: #D9BE86; box-shadow: 0 0 0 4px rgba(4, 32, 26, .9), 0 0 18px rgba(217, 190, 134, .6); }
html[data-che-do="ngay"] .efw-pv-ray { background: #E9EDE9; }
html[data-che-do="ngay"] .efw-pv-dai { background: rgba(55, 129, 60, .28); }
html[data-che-do="ngay"] .efw-pv-cham { background: #2F6F35; box-shadow: 0 0 0 4px #fff, 0 2px 8px rgba(0, 0, 0, .2); }

/* ── Vòng 014: TRANG CHỦ — THẺ "KHUYẾN CÁO CHO MẸ" + gỡ chỗ chừa 62–78px ────
   Bản 13: thẻ rộng 260/354px vì chừa cột nút nổi đã gỡ (hàng chờ #3), chữ mô tả
   gãy 4 dòng, cao 816px (#25). Gỡ chỗ chừa ở nguồn (thuc-don-cua-me, do-vui,
   vong-quay, game-qua). Thẻ: bề mặt chuyển sắc, mỗi mục một số thứ tự lớn làm
   nhịp đọc (Refero Superpower — khối thống kê đánh số), nút viên thuốc gọn. */
#lolo-khuyen-cao .tdcm-kc { counter-reset: kc; border-radius: 24px; padding: 20px 18px 12px; }
html:not([data-che-do="ngay"]) #lolo-khuyen-cao .tdcm-kc {
  background: linear-gradient(165deg, rgba(143, 227, 155, .09) 0%, rgba(10, 44, 36, .85) 45%, rgba(6, 34, 28, .9) 100%);
  border-color: rgba(143, 227, 155, .16);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .55);
}
html[data-che-do="ngay"] #lolo-khuyen-cao .tdcm-kc { box-shadow: 0 2px 2px rgba(0,0,0,.04), 0 12px 32px -14px rgba(20, 40, 28, .16); border-color: #E3E8E3; }
#lolo-khuyen-cao .tdcm-kc h2 { font-size: 1.55rem; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 6px; }
#lolo-khuyen-cao .tdcm-dong { counter-increment: kc; padding: 14px 0; }
#lolo-khuyen-cao .tdcm-dong-h::before {
  content: counter(kc, decimal-leading-zero);
  display: inline-block; min-width: 1.9em; margin-right: 4px;
  font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; opacity: .45;
}
#lolo-khuyen-cao .tdcm-dong-h { font-size: 1.02rem; letter-spacing: -0.01em; }
#lolo-khuyen-cao .tdcm-dong p:not(.tdcm-dong-h) { font-size: .95rem; line-height: 1.5; }
#lolo-khuyen-cao .tdcm-nut:not(.tdcm-nut-chinh) { min-height: 44px; padding: 9px 18px; font-size: .92rem; margin-top: 8px; }
#lolo-khuyen-cao .tdcm-nut-chinh { min-height: 48px !important; padding: 10px 20px; margin-top: 8px; }

/* ── Vòng 015: TIỆN ÍCH — thẻ gợi ý căn trái + danh sách hàng kiểu iOS ─────
   Bản 14: mọi tầng là ô lưới căn giữa, chỉ 2/6 ô có mô tả nên ô cao 150–201px
   lẫn lộn (hàng chờ #23), biểu tượng emoji nằm giữa ô vuông trắng chói trên nền
   tối. Refero (iOS Health & Wellness — danh sách chỉ số, Longevity Deck): tầng
   chính là thẻ căn trái cao đều; phần còn lại là hàng danh sách (biểu tượng ·
   tên · ›) — quét dọc nhanh, cao đều 60px, không còn lệch. */
.tienich-hub .hub-grid-1 { grid-template-columns: 1fr 1fr; gap: 10px; align-items: stretch; }
.tienich-hub .hub-grid-1 .hub-tile {
  align-items: flex-start; text-align: left; justify-content: flex-start;
  padding: 16px 14px 14px; gap: 8px; border-radius: 22px; min-height: 148px;
}
.tienich-hub .hub-grid-1 .hub-tile-ic { width: 46px; height: 46px; font-size: 25px; border-radius: 15px; }
.tienich-hub .hub-grid-1 .hub-tile-ten { font-size: 1rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.tienich-hub .hub-tile-mo {
  font-size: .82rem; line-height: 1.38;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.tienich-hub :is(.hub-grid, .hub-grid-3) {
  grid-template-columns: 1fr !important; gap: 0; border-radius: 20px; overflow: hidden;
}
html:not([data-che-do="ngay"]) .tienich-hub :is(.hub-grid, .hub-grid-3) { background: rgba(10, 44, 36, .7); border: 1px solid rgba(143, 227, 155, .12); }
html[data-che-do="ngay"] .tienich-hub :is(.hub-grid, .hub-grid-3) { background: #fff; border: 1px solid #E3E8E3; }
.tienich-hub :is(.hub-grid, .hub-grid-3) .hub-tile {
  flex-direction: row; align-items: center; text-align: left; gap: 14px;
  min-height: 60px; padding: 10px 40px 10px 14px; border: 0 !important; border-radius: 0 !important;
  box-shadow: none !important; background: transparent !important; transform: none !important;
}
.tienich-hub :is(.hub-grid, .hub-grid-3) .hub-tile + .hub-tile { box-shadow: inset 0 1px 0 var(--border-light) !important; }
.tienich-hub :is(.hub-grid, .hub-grid-3) .hub-tile::after {
  content: "›"; position: absolute; right: 16px; top: 50%; transform: translateY(-52%);
  font-size: 1.5rem; line-height: 1; opacity: .45;
}
.tienich-hub :is(.hub-grid, .hub-grid-3) .hub-tile-ic { width: 38px; height: 38px; font-size: 21px; border-radius: 12px; }
.tienich-hub :is(.hub-grid, .hub-grid-3) .hub-tile-ten { font-size: .95rem; font-weight: 650; }
.tienich-hub :is(.hub-grid, .hub-grid-3) .hub-tile-mo { display: none; }
.tienich-hub :is(.hub-grid, .hub-grid-3) :is(.hub-tile-pro, .hub-tile-ncc) { position: static; order: 3; margin-left: auto; font-size: .66rem; }
/* Ô biểu tượng: bớt chói trên nền tối */
html:not([data-che-do="ngay"]) .tienich-hub .hub-tile-ic { background: rgba(143, 227, 155, .1) !important; border-color: rgba(143, 227, 155, .18) !important; }
.tienich-hub .hub-tang-h b { font-size: 1.05rem; font-weight: 700; letter-spacing: -0.02em; }

/* ── Vòng 016: MENU ☰ THÀNH BẢNG KÍNH MỜ ───────────────────────────────────
   Bản 15: khung min(52vw,230px)=203px nhưng mục rộng 226px → "Dành cho các mẹ
   tại ph…", "Ghim Lolool ra màn hình" bị cắt; mục cao 35px (hàng chờ #9); ở Đêm
   khung là tấm trắng kem chói giữa giao diện tối. Refero (iOS — menu/sheet kính
   mờ): bảng rộng, mục 48px, ô đang ở sáng nhẹ, ô tìm kiếm trông như ô nhập,
   cụm cuối (Đăng nhập · Ngày/Đêm) tách riêng. :root:root để thắng luật Đêm
   html:not([data-che-do]) .nav-menu của nen-toi.css mà không cần !important. */
@media (max-width: 600px) {
  :root:root .nav-menu {
    right: 12px; width: min(88vw, 340px);
    padding: 10px; border-radius: 24px; gap: 2px;
    backdrop-filter: blur(22px) saturate(1.4); -webkit-backdrop-filter: blur(22px) saturate(1.4);
  }
  :root:root .nav-menu .nav-link {
    display: flex; align-items: center; gap: 10px;
    min-height: 48px; padding: 11px 16px; border-radius: 14px;
    white-space: normal; font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.25;
  }
  :root:root .nav-menu .nav-link.active { font-weight: 700; }
  /* giữ quyết định 20/10: hai mục đã có ô ở dock thì không lặp trong menu điện thoại */
  :root:root .nav-menu .nav-link:is([data-target="hieuphieu"], [data-target="bep"]) { display: none; }
  :root:root .nav-menu #navTimKiem { margin-bottom: 6px; font-weight: 500; }
  :root:root .nav-menu #navGopY { margin-top: 6px; }
  :root:root .nav-menu .nav-acc { margin-top: 4px; justify-content: center; border-radius: 999px; font-weight: 700; }
  :root:root .nav-menu .cheDo-btn { min-height: 44px; border-radius: 999px; justify-content: center; margin-top: 4px; }

  html:not([data-che-do="ngay"]) .nav-menu {
    background: rgba(8, 40, 33, .94) !important;
    border: 1px solid rgba(143, 227, 155, .16);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .55) !important;
  }
  html:not([data-che-do="ngay"]) .nav-menu .nav-link { color: #E3F3E7; }
  html:not([data-che-do="ngay"]) .nav-menu .nav-link:hover { background: rgba(143, 227, 155, .07); color: #fff; }
  html:not([data-che-do="ngay"]) .nav-menu .nav-link.active { background: rgba(143, 227, 155, .14); color: #D3F6DA; box-shadow: inset 0 0 0 1.5px rgba(143, 227, 155, .5); }
  html:not([data-che-do="ngay"]) .nav-menu #navTimKiem { background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(143, 227, 155, .2); color: #B9D3C2; }
  html:not([data-che-do="ngay"]) .nav-menu .nav-acc { background: #8FE39B !important; color: #062A1E !important; box-shadow: none; }
  html:not([data-che-do="ngay"]) .nav-menu .cheDo-btn { background: rgba(255, 255, 255, .06) !important; color: #E3F3E7 !important; border: 1px solid rgba(143, 227, 155, .18); }

  html[data-che-do="ngay"] .nav-menu {
    background: rgba(255, 255, 255, .96) !important;
    border: 1px solid #E3E8E3;
    box-shadow: 0 24px 60px rgba(20, 40, 28, .2) !important;
  }
  html[data-che-do="ngay"] .nav-menu .nav-link.active { background: #E9E1CF; color: #173B2F; box-shadow: inset 0 0 0 1.5px #173B2F; }
  html[data-che-do="ngay"] .nav-menu #navTimKiem { background: #F3F5F3; box-shadow: inset 0 0 0 1px #E1E7E1; }
  html[data-che-do="ngay"] .nav-menu .nav-acc { background: #173B2F; color: #fff; }
}

/* ── Vòng 017: AI PHÂN TÍCH — khung ngắm quét phiếu + danh sách hàng ──────
   Bản 16: khối "Chụp phiếu cho AI đọc" chỉ là đoạn chữ + nút, không gợi động
   tác chụp; "Tự gõ số" là 5 hộp viền lồng trong hộp viền. Điểm nhớ: khung ngắm
   4 góc + vạch quét (code-native, đúng vai trò "máy đọc phiếu", Refero Hyper —
   quầng sáng bạc hà làm nhấn). Danh sách gõ tay cùng kiểu hàng iOS vòng 015. */
#hieuphieu-section .hp-khoi[data-dcs-khoi] {
  position: relative; padding: 20px; gap: 10px; border-radius: 26px; overflow: hidden;
}
#hieuphieu-section .hp-khoi[data-dcs-khoi]::before {
  content: ""; position: absolute; right: 18px; top: 18px; width: 64px; height: 64px; border-radius: 12px;
  --g: var(--gd-cta-dem);
  background:
    linear-gradient(var(--g), var(--g)) top left / 16px 3px no-repeat,
    linear-gradient(var(--g), var(--g)) top left / 3px 16px no-repeat,
    linear-gradient(var(--g), var(--g)) top right / 16px 3px no-repeat,
    linear-gradient(var(--g), var(--g)) top right / 3px 16px no-repeat,
    linear-gradient(var(--g), var(--g)) bottom left / 16px 3px no-repeat,
    linear-gradient(var(--g), var(--g)) bottom left / 3px 16px no-repeat,
    linear-gradient(var(--g), var(--g)) bottom right / 16px 3px no-repeat,
    linear-gradient(var(--g), var(--g)) bottom right / 3px 16px no-repeat,
    repeating-linear-gradient(0deg, transparent 0 13px, rgba(143, 227, 155, .07) 13px 14px);
}
#hieuphieu-section .hp-khoi[data-dcs-khoi]::after {
  content: ""; position: absolute; right: 24px; width: 52px; top: 26px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--gd-cta-dem), transparent);
  box-shadow: 0 0 14px 2px rgba(143, 227, 155, .55);
  animation: gd-quet 2.6s ease-in-out infinite alternate;
}
@keyframes gd-quet { from { transform: translateY(0); } to { transform: translateY(48px); } }
@media (prefers-reduced-motion: reduce) { #hieuphieu-section .hp-khoi[data-dcs-khoi]::after { animation: none; transform: translateY(24px); } }
html:not([data-che-do="ngay"]) #hieuphieu-section .hp-khoi[data-dcs-khoi] {
  background: radial-gradient(90% 55% at 50% 0%, rgba(143, 227, 155, .12), transparent 70%), var(--surface);
  border-color: rgba(143, 227, 155, .2);
}
html[data-che-do="ngay"] #hieuphieu-section .hp-khoi[data-dcs-khoi]::before { --g: #173B2F; }
html[data-che-do="ngay"] #hieuphieu-section .hp-khoi[data-dcs-khoi]::after { background: linear-gradient(90deg, transparent, #173B2F, transparent); box-shadow: 0 0 12px rgba(55, 129, 60, .4); }
#hieuphieu-section .hp-khoi h3 { font-size: 1.3rem; font-weight: 700; letter-spacing: -0.015em; }
#hieuphieu-section .hp-khoi[data-dcs-khoi] h3 { padding-right: 80px; min-height: 64px; display: flex; align-items: center; }
#hieuphieu-section .hp-khoi[data-dcs-khoi] .hp-nut { justify-self: stretch; }
#hieuphieu-section .hp-khoi[data-dcs-khoi] .hp-phu { text-align: center; }

#hieuphieu-section .hp-ds { gap: 0; border-radius: 18px; overflow: hidden; }
html:not([data-che-do="ngay"]) #hieuphieu-section .hp-ds { background: rgba(255, 255, 255, .03); border: 1px solid rgba(143, 227, 155, .12); }
html[data-che-do="ngay"] #hieuphieu-section .hp-ds { background: #fff; border: 1px solid #E3E8E3; }
#hieuphieu-section .hp-ds a {
  position: relative; border: 0; border-radius: 0; background: transparent; padding: 13px 44px 13px 16px; min-height: 60px;
}
#hieuphieu-section .hp-ds li + li a { box-shadow: inset 0 1px 0 var(--border-light); }
#hieuphieu-section .hp-ds a::after {
  content: "›"; position: absolute; right: 16px; top: 50%; transform: translateY(-52%); font-size: 1.5rem; opacity: .45;
}
#hieuphieu-section .hp-ds a { font-weight: 700; }

/* ── Vòng 018: THỰC ĐƠN CỦA MẸ — tiến độ bữa bằng hạt, nút "Đã ăn" theo ngôn ngữ chọn ──
   Bản 17: tiến độ ngày là dòng chữ đậm nhỏ + vạch mảnh 10px; nhãn "Game" khó
   hiểu (hàng chờ #28); nút "Đã ăn" bật lên thành khối xanh đặc giống nút chính.
   Mỗi bữa một hạt (giữ đúng spec: không vòng calo, không màu đỏ), "0/5" to;
   "Đã ăn" bật = trạng thái chọn (vòng 007); nhãn "Nấu thử". */
.bep-td-dem { font-size: 1.35rem !important; font-weight: 700 !important; letter-spacing: -0.02em; margin: 4px 0 10px !important; }
.bep-td-tien { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bep-td-hat { display: flex; gap: 6px; margin: 0 0 14px; }
.bep-td-hat i { flex: 1 1 0; height: 12px; border-radius: 999px; transition: background-color .25s ease, box-shadow .25s ease; }
html:not([data-che-do="ngay"]) .bep-td-hat i { background: rgba(255, 255, 255, .09); }
html:not([data-che-do="ngay"]) .bep-td-hat i.on { background: var(--gd-cta-dem); box-shadow: 0 0 12px rgba(143, 227, 155, .5); }
html[data-che-do="ngay"] .bep-td-hat i { background: #E6EBE6; }
html[data-che-do="ngay"] .bep-td-hat i.on { background: #173B2F; }
.bep-td-game { border-radius: 999px !important; padding: 4px 10px !important; font-size: .74rem !important; letter-spacing: .01em; }
html:not([data-che-do="ngay"]) .bep-td-game { background: rgba(143, 227, 155, .14) !important; color: #D3F6DA !important; box-shadow: inset 0 0 0 1px rgba(143, 227, 155, .4); }
.bep-td-an { font-weight: 700; }
html:not([data-che-do="ngay"]) .bep-td-an[aria-pressed="true"] { background: var(--gd-chon-dem-nen) !important; border: 1.5px solid var(--gd-chon-dem-vien) !important; color: var(--gd-chon-dem-chu) !important; }
html[data-che-do="ngay"] .bep-td-an[aria-pressed="true"] { background: var(--gd-chon-ngay-nen) !important; border: 1.5px solid #173B2F !important; color: var(--gd-chon-ngay-chu) !important; }
.bep-td-b { border-radius: 22px !important; }

/* ── Vòng 019: TRÒ CHƠI — thẻ game thành poster, thanh tab phân đoạn ──────
   Giữ quyết định thẻ game NỀN SÁNG kiểu Pixar (vong-quay.css 15/10). Bản 18: ảnh
   104px kẹp bên trái, chữ mô tả bị ép hẹp 5–6 dòng, nút hồng/xanh ngắn; nhãn đợt
   13,7px; thanh tab Kết quả · Album · Trò chơi chọn = khối xanh đặc. Poster: ảnh
   trên, tiêu đề lớn, nút rộng trọn; tab theo thanh phân đoạn vòng 012. */
:is(.vq-the, .dv-the) {
  display: grid !important; grid-template-columns: 96px 1fr; column-gap: 14px; row-gap: 10px;
  align-items: center; padding: 16px !important; border-radius: 24px !important;
  box-shadow: 0 14px 34px -14px rgba(0, 0, 0, .45);
}
:is(.vq-the, .dv-the) > img { width: 96px !important; height: auto; grid-row: 1 / span 2; grid-column: 1; }
:is(.vq-the-chu, .dv-the-chu) { display: contents; }
:is(.vq-the-chu, .dv-the-chu) > :is(.vq-nhan-dot, .dv-nhan) { grid-row: 1; grid-column: 2; justify-self: start; align-self: end; font-size: .74rem !important; }
:is(.vq-the-chu, .dv-the-chu) > h3 { grid-row: 2; grid-column: 2; align-self: start; margin: 0 !important; font-size: 1.32rem !important; font-weight: 700; letter-spacing: -0.02em; line-height: 1.12; }
:is(.vq-the-chu, .dv-the-chu) > :not(h3):not(.vq-nhan-dot):not(.dv-nhan) { grid-column: 1 / -1; margin: 0 !important; }
:is(.vq-the-chu, .dv-the-chu) :is(.vq-nut-the, .dv-nut-the) { width: 100%; min-height: 50px; font-size: 1rem; }
:is(.vq-the-chu, .dv-the-chu) p:has(:is(.vq-nut-the, .dv-nut-the)) { display: grid; gap: 8px; }

.kpk-tabs { padding: 4px !important; border-radius: 20px !important; gap: 3px !important; }
.kpk-tabs button { min-height: 48px; border-radius: 16px !important; border: 1.5px solid transparent !important; font-weight: 600; line-height: 1.18; }
html:not([data-che-do="ngay"]) .kpk-tabs { background: rgba(143, 227, 155, .07) !important; border-color: rgba(143, 227, 155, .12) !important; }
html:not([data-che-do="ngay"]) .kpk-tabs button[aria-selected="true"] { background: var(--gd-chon-dem-nen) !important; color: var(--gd-chon-dem-chu) !important; border-color: var(--gd-chon-dem-vien) !important; font-weight: 700; }
html[data-che-do="ngay"] .kpk-tabs { background: #EAE4D6 !important; border-color: #E1E7E1 !important; }
html[data-che-do="ngay"] .kpk-tabs button[aria-selected="true"] { background: var(--gd-chon-ngay-nen) !important; color: var(--gd-chon-ngay-chu) !important; border-color: #173B2F !important; font-weight: 700; }

/* ── Vòng 020: LỊCH KHÁM THÀNH DÒNG THỜI GIAN ──────────────────────────────
   Bản 19 (mẹ tuần 24): 5 mốc "✓ Đã qua" mở hết chi tiết ở y=1286…5431, mốc
   "● Hôm nay" ở y=6405 (hàng chờ #4). Mốc đã qua gập 1 dòng (js/lichkham.js gắn
   role=button, bấm mở); đường dọc nối mốc, mốc hiện tại chấm phát sáng — mẫu
   dòng thời gian của Refero (Timeline & History). Không đổi chữ y khoa. */
#lckt .lk-ms { position: relative; margin-left: 18px !important; scroll-margin-top: 86px; }
#lckt .lk-ms::before {
  content: ""; position: absolute; left: -15px; top: -14px; bottom: -14px; width: 2px; border-radius: 2px;
  background: var(--lk-border, rgba(143, 227, 155, .18));
}
#lckt .lk-ms::after {
  content: ""; position: absolute; left: -21px; top: 18px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--lk-surface, #0A2C24); box-shadow: inset 0 0 0 2px rgba(143, 227, 155, .45);
}
#lckt .lk-ms.past::after { background: rgba(143, 227, 155, .45); box-shadow: none; }
#lckt .lk-ms.now::after, #lckt .lk-ms.soon::after { background: #D9BE86; box-shadow: 0 0 0 4px rgba(217, 190, 134, .18), 0 0 16px rgba(217, 190, 134, .6); }
html[data-che-do="ngay"] #lckt .lk-ms.now::after, html[data-che-do="ngay"] #lckt .lk-ms.soon::after { background: #173B2F; box-shadow: 0 0 0 4px rgba(55, 129, 60, .18); }
#lckt .lk-ms.past:not(.mo) > :not(.ms-hd):not(.ms-nm) { display: none !important; }
#lckt .lk-ms.past:not(.mo) { padding-top: 12px !important; padding-bottom: 12px !important; }
#lckt .lk-ms.past .ms-hd { cursor: pointer; }
#lckt .lk-ms.past .ms-hd::after { content: "Xem ▾"; margin-left: auto; font-size: .78rem; font-weight: 700; color: var(--text-light); order: 9; }
#lckt .lk-ms.past.mo .ms-hd::after { content: "Gập ▴"; }
#lckt .lk-ms.now { box-shadow: 0 0 0 1.5px rgba(217, 190, 134, .55), 0 18px 40px -18px rgba(217, 190, 134, .35) !important; }

/* ── Vòng 021: TRA CỨU AN TOÀN — mục gập, câu tóm tắt là câu trả lời ─────
   Bản 20: 42 mục mở hết (chi tiết + khi nào đi khám + trấn an + nguồn), trang
   26.556px, mẹ phải cuộn qua 41 mục không liên quan (hàng chờ #12). Mục gập còn
   đèn · tên · nhãn · câu tóm tắt (chính là câu trả lời ngắn); bấm để đọc chi tiết.
   Tìm ra ≤ 2 mục thì mở sẵn. Mẫu Refero: danh sách thu gọn có tóm tắt. */
.antoan .at-item:not(.mo) > :is(.at-detail, .at-kham, .at-tranan, .at-nguon) { display: none !important; }
.antoan .at-item-head { cursor: pointer; position: relative; padding-right: 30px; }
.antoan .at-item-head::after {
  content: "▾"; position: absolute; right: 2px; top: 4px; font-size: 1.1rem; opacity: .55; transition: transform .2s ease;
}
.antoan .at-item.mo .at-item-head::after { transform: rotate(180deg); }
.antoan .at-item { border-radius: 20px !important; transition: box-shadow .2s ease; }
.antoan .at-item:not(.mo) .at-summary { margin-bottom: 0; }
html:not([data-che-do="ngay"]) .antoan .at-item.mo { box-shadow: 0 0 0 1.5px rgba(143, 227, 155, .35); }

/* ── Vòng 022: MẸO — thẻ gập 3 dòng + "Đọc tiếp" ──────────────────────────
   Bản 21: 18 thẻ mỗi nhóm hiện toàn văn, trang ~16.000px (hàng chờ #13). Cùng
   cơ chế hiển thị dần với vòng 020–021. Tìm kiếm cuộn tới mẹo nào thì mẹo đó tự mở. */
.tip-card:not(.mo) .tip-content {
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.tip-card { border-radius: 22px !important; }
.tip-card .tip-header h3 { font-weight: 700; letter-spacing: -0.02em; }
.tip-doc {
  appearance: none; border: 0; background: none; padding: 10px 0 0; min-height: 44px;
  font: inherit; font-size: .9rem; font-weight: 700; cursor: pointer; color: var(--chu-nhan, #7A5B22);
}
.tip-doc::after { content: " ▾"; }
.tip-card.mo .tip-doc::after { content: " ▴"; }

/* ── Vòng 023: HỘP ĐĂNG KÝ THÀNH TẤM TRƯỢT ĐÁY, NÚT GỬI LUÔN THẤY ─────────
   Bản 22: hộp giữa màn, thân cao 471px mà nội dung 651px → nút "Tạo tài khoản
   miễn phí" chỉ thấy khi cuộn TRONG hộp; ghi chú email 4 dòng; ô tuần thai trống
   dù hồ sơ có tuần (hàng chờ #7). Refero (iOS bottom sheet đăng ký): tấm trượt
   từ đáy, bo trên 28px, nút chính dính đáy tấm. js/auth-gate.js tự điền tuần. */
@media (max-width: 600px) {
  .ag-wrap { align-items: flex-end !important; padding: 0 !important; }
  .ag-wrap > .ag-card {
    width: 100% !important; max-width: none !important; margin: 0 !important;
    border-radius: 28px 28px 0 0 !important;
    max-height: calc(100svh - 56px) !important;
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .ag-wrap > .ag-card::before {
    content: ""; display: block; width: 44px; height: 5px; border-radius: 999px; margin: 10px auto 0;
    background: currentColor; opacity: .22;
  }
}
.ag-form .ag-btn[type="submit"] {
  position: sticky; bottom: 10px; z-index: 2;
}
html:not([data-che-do="ngay"]) .ag-form .ag-btn[type="submit"] { box-shadow: 0 -14px 24px 8px rgba(7, 38, 31, .85), 0 8px 26px -6px var(--gd-cta-dem-sang) !important; }
html[data-che-do="ngay"] .ag-form .ag-btn[type="submit"] { box-shadow: 0 -14px 24px 8px rgba(255, 255, 255, .9), 0 8px 20px -8px rgba(55, 129, 60, .55) !important; }
.ag-form .ag-hint { font-size: .8rem !important; line-height: 1.45 !important; margin-top: -4px !important; }
.ag-title { font-weight: 700 !important; letter-spacing: -0.015em; }

/* ── Vòng 024: CÁ NHÂN HOÁ CHO MẸ — thanh bước phân đoạn, lối "không nhớ" thành liên kết ──
   Bản 23: chỉ báo bước là 5 chấm 8px (chỉ chấm hiện tại sáng); "Mẹ không nhớ ngày
   dự sinh? Chọn cách khác" là hộp viền trông như ô nhập; câu lỗi nói "các thẻ
   phía trên" mà mẹ không thấy thẻ nào (hàng chờ #17); nhãn nhỏ 3,88:1 ở Ngày (#27).
   Thanh bước cùng ngôn ngữ hạt của vòng 018: bước đã qua + bước hiện tại sáng. */
.ld-onboard .ld-ob-steps { gap: 5px; margin: 6px 0 10px; width: 100%; }
.ld-onboard .ld-step-lbl { flex: none; margin-right: 8px; font-weight: 700; letter-spacing: -0.01em; }
.ld-onboard .ld-dot { flex: 1 1 0; width: auto !important; height: 6px; border-radius: 999px !important; }
html:not([data-che-do="ngay"]) .ld-onboard .ld-dot { background: rgba(255, 255, 255, .1); }
html:not([data-che-do="ngay"]) .ld-onboard .ld-dot:is(.on, .xong) { background: var(--gd-cta-dem); }
html:not([data-che-do="ngay"]) .ld-onboard .ld-dot.on { box-shadow: 0 0 10px rgba(143, 227, 155, .55); }
html[data-che-do="ngay"] .ld-onboard .ld-dot { background: #E6EBE6; }
html[data-che-do="ngay"] .ld-onboard .ld-dot:is(.on, .xong) { background: #173B2F; }
.ld-onboard .ld-ob-title { font-size: 1.6rem !important; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.ld-onboard .ld-cach-khac {
  background: none !important; border: 0 !important; box-shadow: none !important;
  padding: 6px 0 !important; min-height: 44px; text-align: left; width: auto !important;
  font-weight: 700; text-decoration: underline; text-underline-offset: 3px;
}
html[data-che-do="ngay"] .ld-onboard .ld-ob-eyebrow { color: #7A5A2B !important; }
html:not([data-che-do="ngay"]) .ld-onboard {
  background: linear-gradient(165deg, rgba(143, 227, 155, .09) 0%, rgba(10, 44, 36, .85) 45%, rgba(6, 34, 28, .9) 100%) !important;
  border-color: rgba(143, 227, 155, .16) !important; border-radius: 26px !important;
}
#lolo-onboard { scroll-margin-top: 82px; }

/* ── Vòng 025: CHUYỂN ĐỘNG CÓ CHỦ ĐÍCH ─────────────────────────────────────
   refero-design/motion: phản hồi (bấm), liên tục (mở/gập, tấm trượt), thứ bậc
   (vào màn). Ngắn, êm, có ease-out; tắt hết khi máy bật giảm chuyển động.
   Bản 24: mở/gập (vòng 020–022) "dịch chuyển tức thời"; hộp đăng ký hiện bụp;
   vào màn chỉ cả khối trượt 12px; chip/ô chọn không phản hồi khi chạm. */
:root { --gd-em: cubic-bezier(.2, .8, .2, 1); }
@media (prefers-reduced-motion: no-preference) {
  /* Thứ bậc: khi vào màn, 6 khối đầu lần lượt hiện (40ms/khối) thay vì cả màn trượt một lúc */
  .app-section.active:not(#home-section) > :nth-child(-n+6) { animation: gd-len .5s var(--gd-em) both; }
  .app-section.active:not(#home-section) > :nth-child(2) { animation-delay: .04s; }
  .app-section.active:not(#home-section) > :nth-child(3) { animation-delay: .08s; }
  .app-section.active:not(#home-section) > :nth-child(4) { animation-delay: .12s; }
  .app-section.active:not(#home-section) > :nth-child(5) { animation-delay: .16s; }
  .app-section.active:not(#home-section) > :nth-child(6) { animation-delay: .2s; }
  @keyframes gd-len { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

  /* Liên tục: phần vừa mở hiện mềm */
  :is(#lckt .lk-ms.past.mo, .antoan .at-item.mo) > :not(.ms-hd):not(.ms-nm):not(.at-item-head):not(.at-summary),
  .tip-card.mo .tip-content { animation: gd-mo .28s var(--gd-em) both; }
  @keyframes gd-mo { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

  /* Tấm trượt đăng ký (≤600px) trượt lên từ đáy */
  @media (max-width: 600px) { .ag-wrap > .ag-card { animation: gd-tam .38s var(--gd-em) both; } }
  @keyframes gd-tam { from { transform: translateY(40px); opacity: .4; } to { transform: none; opacity: 1; } }

  /* Phản hồi chạm: ô chọn, chip, hàng danh sách lún nhẹ */
  :is(.cs-tab, .kpk-tabs button, .hub-chip, .hub-gd-nut, .ld-para, .tc-fetus-btn, .tt-mode, .efw-seg-nut,
      .tienich-hub .hub-tile, #hieuphieu-section .hp-ds a, .bep-td-an, .tip-doc, .at-item-head) {
    transition: transform .12s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
  }
  :is(.cs-tab, .kpk-tabs button, .hub-chip, .hub-gd-nut, .ld-para, .tc-fetus-btn, .tt-mode, .efw-seg-nut,
      .tienich-hub .hub-tile, #hieuphieu-section .hp-ds a, .bep-td-an):active { transform: scale(.97); }
  /* Chấm vị trí bách phân vị trượt vào chỗ */
  .efw-pv-cham { animation: gd-cham .7s var(--gd-em) .15s both; }
  @keyframes gd-cham { from { left: 0; opacity: 0; } }
}

/* ── Vòng 026: SOÁT TƯƠNG PHẢN SAU 20 VÒNG (đã sửa ở các khối trên) + tiêu đề tầng Tiện ích ──
   Đo bằng _e2e/quet_tuong_phan.py (giảm chuyển động): bản 25 có 396 lỗi Đêm / 67 Ngày —
   body thiếu background-color, chữ nhạt bằng opacity, chữ phụ 4,48:1 trên nền Ngày mới.
   Đã sửa tại chỗ. Tiêu đề tầng "Gợi ý cho tuần N" bị ép cạnh dòng phụ thành 2 cột chật. */
.tienich-hub .hub-tang-h { flex-direction: column; align-items: flex-start; gap: 2px; }

/* ── Vòng 027: ĐỢT 2 NGÔN NGỮ NÚT (quét lại ở trạng thái Pro + mẹ mới + tuần 24) ──
   Vòng 007 đo một trạng thái nên sót 15 lớp nút hành động + 9 lớp trạng thái chọn
   (đã thêm vào hai danh sách ở khối vòng 007). Cố ý giữ: nút nhanh "+500 ml"
   (.nt-quick) và nút ghi lớn của Nhật ký bé (.nb-big), nút game (màu riêng).
   Chip gợi ý "đã thêm" ở Sổ câu hỏi bác sĩ: opacity .4 → 1,41–2,05:1 (lỗi từ bản 0);
   nay đọc được + dấu ✓ để mẹ biết vì sao không bấm được. */
.cauhoibs .cb-chip:disabled { opacity: 1 !important; color: var(--text-light) !important; border-style: solid !important; }
.cauhoibs .cb-chip:disabled::before { content: "✓ "; font-weight: 700; }

/* ── Vòng 028: CẨM NANG — không tự cuộn ở màn chính, đánh dấu "Mẹ đang ở đây" ──
   Bản 27: mở Cẩm nang là trang tự cuộn tới scrollY≈237, tiêu đề và tab Trước/Sau
   sinh khuất dưới header; thẻ "Quý 2" của mẹ tuần 24 giống hệt các thẻ khác
   (hàng chờ #10). Thẻ quý hiện tại: viền + quầng + nhãn (6 nguyên lý UX — mặc định
   thông minh). */
#camnangTool .cn-home-card.cn-dang-o { position: relative; }
html:not([data-che-do="ngay"]) #camnangTool .cn-home-card.cn-dang-o {
  box-shadow: 0 0 0 1.5px rgba(217, 190, 134, .7), 0 16px 36px -16px rgba(217, 190, 134, .45) !important;
}
html[data-che-do="ngay"] #camnangTool .cn-home-card.cn-dang-o { box-shadow: 0 0 0 2px #173B2F, 0 12px 28px -14px rgba(55, 129, 60, .45) !important; }
#camnangTool .cn-dang-o-nhan {
  position: absolute; top: -11px; right: 14px; z-index: 1;
  padding: 3px 10px; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .02em;
}
html:not([data-che-do="ngay"]) #camnangTool .cn-dang-o-nhan { background: #D9BE86; color: #2A1E00; }
html[data-che-do="ngay"] #camnangTool .cn-dang-o-nhan { background: #173B2F; color: #fff; }
#camnangTool, #camnangTool .cn-home { scroll-margin-top: 82px; }

/* ── Vòng 029: ĐẾM CỬ ĐỘNG — bộ đếm lên trước, ghi chú cách đếm xuống sau ──
   Bản 28: hộp "Cách đếm" (index.html) đứng TRƯỚC bộ đếm (js/cudong.js gắn
   #cudong-app vào cuối .cudong) → nút "Con vừa máy" ở y≈800, dưới dock (hàng chờ #6).
   Đổi thứ tự hiển thị bằng flex order; hộp ghi chú giữ nguyên chữ (có câu an toàn
   "báo bác sĩ") nên không gập đi. */
#cudong-section .cudong { display: flex; flex-direction: column; }
#cudong-section #cudong-app { order: 1; }
#cudong-section .cd-note { order: 2; margin-top: 14px; }

/* ── Vòng 030: BỎ VẠCH MÀU TRANG TRÍ BÊN TRÁI ─────────────────────────────
   Bộ chống-slop của refero-design (dấu hiệu #6): vạch trái chỉ dùng khi MANG
   NGHĨA (trạng thái, nhóm). Đo bản 29: 39 khối / 19 lớp có vạch ≥3px. Giữ vạch
   có nghĩa: nhóm vắc-xin trước/trong thai (.vc-shot), thực phẩm ăn được
   (.food-detail-box). Bỏ: thẻ Cẩm nang (màu theo mục), hộp đầu Tra cứu an toàn,
   mốc Lịch khám (dòng thời gian vòng 020 đã chỉ trạng thái bằng chấm), lời khen
   Đếm ngược, miễn trừ Sinh non, mốc Hành trình. Thay bằng viền đều 1px. */
#camnangTool .cn-home-card, .antoan .at-hero, #lckt .lk-ms, .cd-cheer, .sn-mientru, .ht-moc {
  border-left-width: 1px !important;
}
#lckt .lk-ms { border-left-color: var(--lk-border, rgba(143, 227, 155, .18)) !important; border-radius: 16px !important; }
#lckt .lk-ms.imp .ms-nm { font-weight: 700; }
#camnangTool .cn-home-card { border-radius: 22px !important; }

/* ── Vòng 031: DINH DƯỠNG — 5 thẻ thành một danh sách liền khối ─────────────
   Bản 30: 5 thẻ rời, mỗi thẻ một nút giả "Xem →"/"Mở →"/"Học →" (cả thẻ đã là
   liên kết) — sau vòng 007 thành 5 viên bạc hà phát sáng cùng lúc, không còn
   phân cấp (hàng chờ #22). .htc-btn rút khỏi danh sách nút chính; thẻ thành hàng
   trong một khối như Tiện ích/AI phân tích. */
#premium-section .home-tool-cta {
  display: grid !important; grid-template-columns: 44px 1fr 18px; align-items: center; gap: 14px;
  margin: 0 !important; padding: 16px 16px !important; border-radius: 0 !important; text-align: left !important;
  box-shadow: none !important; transform: none !important;
  border: 1px solid var(--border-light) !important; border-top-width: 0 !important;
  background: var(--surface) !important;
}
#premium-section .section-header + .home-tool-cta { border-top-width: 1px !important; border-radius: 22px 22px 0 0 !important; }
#premium-section .home-tool-cta:last-of-type { border-radius: 0 0 22px 22px !important; }
#premium-section .htc-icon { width: 44px; height: 44px; display: grid; place-items: center; font-size: 22px; border-radius: 14px; }
html:not([data-che-do="ngay"]) #premium-section .htc-icon { background: rgba(143, 227, 155, .1); }
html[data-che-do="ngay"] #premium-section .htc-icon { background: #EAE4D6; }
#premium-section .htc-body strong { display: block; font-size: 1rem; font-weight: 700; letter-spacing: -0.015em; margin-bottom: 2px; }
#premium-section .htc-body > span {
  font-size: .86rem; line-height: 1.4; color: var(--text-secondary);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
#premium-section .htc-btn {
  font-size: 0 !important; background: none !important; box-shadow: none !important; padding: 0 !important;
  min-height: 0 !important; color: var(--text-light) !important;
}
#premium-section .htc-btn::after { content: "›"; font-size: 1.5rem; font-weight: 400; }

/* ── Vòng 032: TUỔI THAI — kết quả theo hồ sơ hiện ngay đầu màn ─────────── */
.tt-ho-so { display: grid; gap: 4px; margin: 0 0 18px; padding: 18px 18px 16px; border-radius: 24px; }
html:not([data-che-do="ngay"]) .tt-ho-so {
  background: radial-gradient(90% 80% at 0% 0%, rgba(217, 190, 134, .14), transparent 60%), var(--surface);
  border: 1px solid rgba(217, 190, 134, .35);
}
html[data-che-do="ngay"] .tt-ho-so { background: #fff; border: 1px solid #E3E8E3; box-shadow: 0 12px 30px -16px rgba(20, 40, 28, .25); }
.tt-hs-nhan { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-light); }
.tt-hs-so { font-size: clamp(2rem, 10vw, 2.6rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.05; font-variant-numeric: tabular-nums; }
html:not([data-che-do="ngay"]) .tt-hs-so { color: #D9BE86; }
html[data-che-do="ngay"] .tt-hs-so { color: #2F6F35; }
.tt-hs-phu { font-size: .92rem; line-height: 1.45; color: var(--text-secondary); }

/* ── Vòng 033: TĂNG CÂN — chiều cao tự điền + thẻ kết quả số lớn + thanh BMI 4 vùng ── */
.tangcan .tc-reco-val { font-size: clamp(1.9rem, 9vw, 2.4rem) !important; font-weight: 700 !important; letter-spacing: -0.02em; line-height: 1.05; font-variant-numeric: tabular-nums; }
html:not([data-che-do="ngay"]) .tangcan .tc-reco-val { color: #D9BE86 !important; }
html[data-che-do="ngay"] .tangcan .tc-reco-val { color: #2F6F35 !important; }
.tangcan .tc-reco-lbl { font-size: .74rem !important; font-weight: 700; letter-spacing: .08em; }
.tc-bmi-thanh { margin: 14px 0 12px; }
.tc-bmi-ray { position: relative; display: flex; height: 12px; border-radius: 999px; overflow: visible; }
.tc-bmi-ray i { display: block; height: 100%; }
.tc-bmi-ray i:first-child { border-radius: 999px 0 0 999px; }
.tc-bmi-ray i.v-beo { border-radius: 0 999px 999px 0; }
html:not([data-che-do="ngay"]) .tc-bmi-ray .v-thieu, html:not([data-che-do="ngay"]) .tc-bmi-ray .v-thua { background: rgba(217, 190, 134, .28); }
html:not([data-che-do="ngay"]) .tc-bmi-ray .v-binh { background: rgba(143, 227, 155, .42); }
html:not([data-che-do="ngay"]) .tc-bmi-ray .v-beo { background: rgba(240, 149, 141, .35); }
html[data-che-do="ngay"] .tc-bmi-ray .v-thieu, html[data-che-do="ngay"] .tc-bmi-ray .v-thua { background: #F3E3B8; }
html[data-che-do="ngay"] .tc-bmi-ray .v-binh { background: #BFE0C2; }
html[data-che-do="ngay"] .tc-bmi-ray .v-beo { background: #F2CDC8; }
.tc-bmi-cham { position: absolute; top: 50%; width: 22px; height: 22px; border-radius: 50%; transform: translate(-50%, -50%); }
html:not([data-che-do="ngay"]) .tc-bmi-cham { background: #D9BE86; box-shadow: 0 0 0 4px rgba(4, 32, 26, .9), 0 0 16px rgba(217, 190, 134, .6); }
html[data-che-do="ngay"] .tc-bmi-cham { background: #2F6F35; box-shadow: 0 0 0 4px #fff, 0 2px 8px rgba(0, 0, 0, .2); }
.tc-bmi-nhan { display: grid; grid-template-columns: 17.5% 32.5% 25% 25%; margin-top: 8px; font-size: .68rem; font-weight: 700; color: var(--text-light); }
.tc-bmi-nhan span { text-align: center; white-space: nowrap; }
.tc-bmi-nhan span:first-child { text-align: left; }
.tc-bmi-nhan span:last-child { text-align: right; }

/* ── Vòng 036: TRẠNG THÁI RỖNG MỘT KIỂU ─────────────────────────────────────
   Bản 35: 9 màn sổ/nhật ký khi chưa có dữ liệu hiện một dòng chữ trơn, mỗi màn một
   kiểu (Refero: Empty State — một hình đơn giản + một câu + chỉ hướng làm tiếp).
   Vòng tròn nét đứt có dấu + (code-native, vai trò "chưa có gì, thêm ở trên"),
   khung nét đứt bo 20px, chữ căn giữa. Không đổi chữ. */
:is(.cd-empty, .congo-empty, .ha-empty, .st-empty, .tc-empty, .nt-empty, .tt-empty, .sk-empty, .ck-empty) {
  display: grid !important; justify-items: center; gap: 10px;
  text-align: center !important; padding: 22px 18px !important; margin: 8px 0 !important;
  border-radius: 20px !important; border: 1.5px dashed var(--border) !important; background: transparent !important;
  font-size: .95rem !important; line-height: 1.5 !important; color: var(--text-secondary) !important;
}
:is(.cd-empty, .congo-empty, .ha-empty, .st-empty, .tc-empty, .nt-empty, .tt-empty, .sk-empty, .ck-empty)::before {
  content: "+"; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  font-size: 1.5rem; font-weight: 300; line-height: 1;
  border: 1.5px dashed currentColor; opacity: 1;
}
html:not([data-che-do="ngay"]) :is(.cd-empty, .congo-empty, .ha-empty, .st-empty, .tc-empty, .nt-empty, .tt-empty, .sk-empty, .ck-empty)::before { color: var(--gd-cta-dem); background: rgba(143, 227, 155, .06); }
html[data-che-do="ngay"] :is(.cd-empty, .congo-empty, .ha-empty, .st-empty, .tc-empty, .nt-empty, .tt-empty, .sk-empty, .ck-empty)::before { color: #173B2F; background: #F1F6F1; }

/* ── Vòng 037: CUỐI TRANG CHỦ — tóm tắt hồ sơ, "Chơi một chút", thẻ tác giả ──
   Bản 36: tóm tắt hồ sơ nền chuyển sắc xanh lá → xanh dương (màu lạ, không có
   trong hệ); "Chơi một chút" là tấm vàng kem chói giữa nền tối; thẻ tác giả tên
   gãy 2 dòng, chức danh 2 dòng, ảnh nhỏ. Đưa về bề mặt + viền + quầng của hệ. */
html:not([data-che-do="ngay"]) #lolo-onboard .ld-summary {
  background: linear-gradient(165deg, rgba(143, 227, 155, .1), rgba(10, 44, 36, .9)) !important;
  border: 1px solid rgba(143, 227, 155, .18) !important; border-radius: 22px !important;
}
html:not([data-che-do="ngay"]) .choi-chut {
  background: radial-gradient(90% 120% at 0% 0%, rgba(217, 190, 134, .16), transparent 60%), var(--surface) !important;
  border: 1px solid rgba(217, 190, 134, .4) !important; color: var(--text-primary) !important;
  box-shadow: 0 14px 34px -16px rgba(217, 190, 134, .35) !important;
}
html:not([data-che-do="ngay"]) .choi-chut-chu b { color: #D9BE86; }
html:not([data-che-do="ngay"]) .choi-chut :is(.choi-chut-chu span, .choi-chut-mui) { color: var(--text-secondary) !important; }
.choi-chut { border-radius: 22px !important; }
.choi-chut-chu b { font-size: 1.05rem; font-weight: 700; letter-spacing: -0.02em; }
#tacGia.au-card { border-radius: 24px !important; padding: 18px !important; }
#tacGia .au-hero { gap: 14px !important; }
/* Vòng 038: thẻ tác giả (bản gọn .au-gon) — vòng 037 nhắm sai bộ chọn (ảnh nằm trong .au-avatar) */
#tacGia.au-gon .au-avatar { width: 60px !important; height: 60px !important; border-width: 0 !important; }
html:not([data-che-do="ngay"]) #tacGia .au-avatar { box-shadow: 0 0 0 2px #D9BE86, 0 0 20px rgba(217, 190, 134, .35) !important; }
html[data-che-do="ngay"] #tacGia .au-avatar { box-shadow: 0 0 0 2px #173B2F !important; }
#tacGia.au-gon h2 { font-size: 1.02rem !important; font-weight: 700; letter-spacing: -0.015em; line-height: 1.2; text-wrap: balance; }
#tacGia.au-gon .au-role { font-size: .84rem !important; font-weight: 600; color: var(--text-secondary) !important; margin: 2px 0 0 !important; }
#tacGia.au-gon .au-en { display: none; }
#tacGia .au-eyebrow { font-size: .68rem !important; letter-spacing: .12em; }

/* ── Vòng 039: SỐ ĐO TRÊN PHIẾU — mỗi chỉ số một hàng ───────────────────────
   Bản 38: mỗi chỉ số (.us-field) 2 tầng = 128px (nhãn trên, ô nhập + đơn vị dưới),
   8 chỉ số ≈ 1.040px; chữ gợi ý "Bỏ trống nếu không có" bị cắt. Một hàng: bên trái
   mã (BPD) đậm + tên nhỏ, bên phải ô số + đơn vị. Lỗi nhập vẫn xuống dòng dưới. */
@media (max-width: 640px) {
  .us-fields .us-field {
    display: grid !important; grid-template-columns: minmax(0, 1fr) 176px; align-items: center;
    column-gap: 10px; row-gap: 4px; padding: 8px 0 !important;
  }
  .us-fields .us-field > label { display: flex !important; flex-direction: column !important; align-items: flex-start !important; gap: 1px; margin: 0 !important; font-size: .8rem !important; line-height: 1.25; color: var(--text-secondary); }
  .us-fields .us-field > label b { font-size: 1.05rem; font-weight: 700; letter-spacing: -0.01em; }
  .us-fields .us-field .us-input { display: grid !important; grid-template-columns: minmax(0, 1fr) 70px !important; gap: 6px !important; }
  .us-fields .us-field .us-input > * { width: 100% !important; min-width: 0 !important; flex: none !important; }
  .us-fields .us-field .us-input input { min-width: 0; padding-left: 12px !important; padding-right: 8px !important; text-align: right; font-variant-numeric: tabular-nums; }
  .us-fields .us-field .us-input input::placeholder { color: transparent; }  /* "Bỏ trống nếu không có" bị cắt ở hàng hẹp; câu "Tất cả ô đều không bắt buộc" đã ở đầu form */
  .us-fields .us-field .us-input select { padding-left: 10px !important; padding-right: 26px !important; background-position: right 9px center !important; }
  .us-fields .us-field > .us-error { grid-column: 1 / -1; }
}

/* ── Vòng 040: Ô "NGÀY HÔM NAY" GẬP THÀNH MỘT DÒNG ─────────────────────── */
.gd-gap-ngay > :not(.gd-hom-nay) { display: none !important; }
.gd-hom-nay { margin: 2px 0 6px; font-size: .9rem; color: var(--text-secondary); }
.gd-doi-ngay { appearance: none; border: 0; background: none; padding: 10px 2px; min-height: 44px; font: inherit; font-weight: 700; color: var(--chu-nhan, #7A5B22); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ── Vòng 041: DƯỚI KẾT QUẢ CÂN NẶNG — dữ liệu trước, hỏi sau ───────────────
   Bản 40: sau lời khuyên là khối khảo sát "Mẹ vào Lolool chủ yếu để làm gì?"
   442px (5 chip mỗi chip một hàng) chen TRƯỚC biểu đồ tăng trưởng; ghi chú nguồn
   dải tham chiếu 288px (hàng chờ #31). Khảo sát xuống cuối (sau biểu đồ, sau
   "Tiếp theo"), chip xếp lưới 2 cột; ghi chú nguồn chữ nhỏ. Không bỏ khảo sát. */
.efw-output { display: flex; flex-direction: column; }
.efw-output > #efwHoiLyDo { order: 10; margin-top: 18px; }
#efwHoiLyDo .gy-chips { display: grid !important; grid-template-columns: 1fr 1fr; gap: 8px !important; }
#efwHoiLyDo .gy-chip { min-height: 48px !important; border-radius: 16px !important; padding: 8px 12px !important; font-size: .86rem !important; line-height: 1.25; text-align: left; }
#efwHoiLyDo .gy-chip:last-of-type:nth-of-type(odd) { grid-column: 1 / -1; }
#efwHoiLyDo .gy-hoi { border-radius: 22px !important; }
#efwAdvice .efw-cmp-note { font-size: .8rem !important; line-height: 1.5 !important; }
#efwAdvice h4 { font-size: 1.12rem !important; font-weight: 700; letter-spacing: -0.02em; line-height: 1.3; }

/* ── Vòng 042: BẢNG DỮ LIỆU THEO HỆ ─────────────────────────────────────────
   Bản 41: bảng IOM (Tăng cân) có hàng tiêu đề nền xanh đặc #173B2F — đúng màu
   dành cho NÚT BẤM (vòng 007), trông như một dải nút; mọi ô viền đủ 4 cạnh như
   bảng tính. Bảng dữ liệu kiểu Refero/Superpower: tiêu đề nhạt chữ nhỏ giãn,
   chỉ kẻ ngang, hàng áp dụng cho mẹ nổi bật (nền nhạt + vạch trái MANG NGHĨA
   "hàng của mẹ"). */
.tangcan table.tc-table { border-collapse: separate !important; border-spacing: 0; border: 1px solid var(--border-light); border-radius: 16px; overflow: hidden; }
.tangcan table.tc-table :is(th, td) { border: 0 !important; border-top: 1px solid var(--border-light) !important; padding: 11px 12px !important; }
.tangcan table.tc-table thead th {
  background: transparent !important; color: var(--text-light) !important; border-top: 0 !important;
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.tangcan table.tc-table tr.tc-hl td { font-weight: 700 !important; }
html:not([data-che-do="ngay"]) .tangcan table.tc-table tr.tc-hl td { background: rgba(217, 190, 134, .1) !important; color: #D9BE86 !important; }
html[data-che-do="ngay"] .tangcan table.tc-table tr.tc-hl td { background: #F1EADB !important; color: #173B2F !important; }
.tangcan table.tc-table tr.tc-hl td:first-child { box-shadow: inset 3px 0 0 currentColor; }

/* ── Vòng 045: KHUNG TRỢ LÝ "HỎI" ───────────────────────────────────────────
   Bản 44: nút "Trả lời" xanh đặc kiểu cũ (lớp .dd-nut-chinh chưa trong danh sách
   nút chính); 7 chip chọn nhanh xếp so le 5 hàng như đám mây chữ. Nút chính theo
   hệ (thêm vào danh sách vòng 007); chip thành lưới 2 cột đều nhau, căn trái. */
.dd-chips { display: grid !important; grid-template-columns: 1fr 1fr; gap: 8px !important; }
.dd-chip { width: 100%; min-height: 52px !important; border-radius: 16px !important; justify-content: flex-start; text-align: left; font-size: .88rem !important; line-height: 1.25; }
.dd-chip:last-child:nth-child(odd) { grid-column: 1 / -1; }
.dd-chips-nhan { font-size: .74rem !important; font-weight: 700 !important; letter-spacing: .08em; text-transform: uppercase; color: var(--text-light) !important; }

/* ── Vòng 046: THÔNG BÁO NỔI (toast) THEO HỆ ───────────────────────────────
   Bản 45: viên xám than rgba(33,41,49,.92) — màu không có trong hệ, giống hệt
   nhau dù là "đã lưu", "lỗi" hay "đã sao chép". Viên kính mờ theo nền app, có
   chấm trạng thái theo data-type (ok/err/info…) — màu mang nghĩa. */
#lolo-toast-container .lolo-toast {
  display: inline-flex !important; align-items: center; gap: 10px;
  padding: 12px 18px 12px 14px !important; font-size: .9rem !important; font-weight: 700 !important;
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
}
#lolo-toast-container .lolo-toast::before {
  content: ""; width: 10px; height: 10px; border-radius: 50%; flex: none; background: var(--gd-cta-dem);
  box-shadow: 0 0 10px rgba(143, 227, 155, .7);
}
#lolo-toast-container .lolo-toast:is([data-type="error"], [data-type="err"], [data-type="loi"], [data-type="warn"])::before { background: #F0958D; box-shadow: 0 0 10px rgba(240, 149, 141, .7); }
html:not([data-che-do="ngay"]) #lolo-toast-container .lolo-toast {
  background: rgba(9, 44, 36, .92) !important; color: #EAF6EE !important;
  border: 1px solid rgba(143, 227, 155, .22); box-shadow: 0 16px 40px rgba(0, 0, 0, .5) !important;
}
html[data-che-do="ngay"] #lolo-toast-container .lolo-toast {
  background: rgba(255, 255, 255, .96) !important; color: #1F2A24 !important;
  border: 1px solid #E3E8E3; box-shadow: 0 14px 34px rgba(20, 40, 28, .18) !important;
}
html[data-che-do="ngay"] #lolo-toast-container .lolo-toast::before { background: #173B2F; box-shadow: none; }

/* ── Vòng 047: KHỐI "HỎI PHÒNG KHÁM DR. TÚ" — hai nút một hàng ─────────────
   Bản 46: nút Zalo xanh đặc kiểu cũ (.pk-hoi-zalo chưa trong danh sách nút chính),
   nút Gọi xếp xuống hàng dưới → khối ~100px chỉ cho 2 nút, đầu mọi tab Phòng khám. */
.pk-hoi-nut { display: grid !important; grid-template-columns: minmax(0, 1fr) auto; gap: 8px !important; }
/* nút gọi: hiện chữ "Gọi" ngắn (số vẫn nằm trong nội dung → trình đọc màn hình đọc đủ, tel: quay đúng số) */
.pk-hoi-nut a.pk-hoi-goi { font-size: 0 !important; padding: 10px 18px !important; }
.pk-hoi-nut a.pk-hoi-goi::before { content: "Gọi"; font-size: .9rem; font-weight: 700; }
.pk-hoi-nut a { justify-content: center; text-align: center; min-height: 48px !important; font-size: .9rem !important; padding: 10px 12px !important; }
.pk-hoi-nut a.pk-hoi-goi { border-radius: 999px !important; }
.pk-hoi { border-radius: 22px !important; }

/* ── Đợt 3 · Vòng 001 (tiếp): CON SỐ & TIÊU ĐỀ LỚN BẰNG CASLON ─────────────
   Những chỗ đợt 2 dựng bằng Be Vietnam Pro 900 (số cân nặng, tuần thai, mức tăng
   cân, tiêu đề ảnh bìa, tiêu đề bước cá nhân hoá) chuyển sang Caslon 400: chữ số
   có chân to như số trang niên lịch — đậm nhờ CỠ, không nhờ nét. */
.hero-anat .ha-title,
.efw-res-grid .efw-res-v,
.tt-hs-so,
.tangcan .tc-reco-val,
.bep-td-dem,
.ld-onboard .ld-ob-title,
.ag-title,
:is(.vq-the-chu, .dv-the-chu) > h3,
#lolo-khuyen-cao .tdcm-dong-h::before {
  font-family: var(--font-display) !important;
  font-weight: 400 !important;
  font-variant-numeric: lining-nums tabular-nums;
}
.hero-anat .ha-title { letter-spacing: -0.03em; line-height: 1.04; }
.efw-res-grid .efw-res-v, .tt-hs-so, .tangcan .tc-reco-val { letter-spacing: -0.03em; }
/* Câu dẫn kiểu tạp chí: Garamond nghiêng (bộ chữ cũ có nghiêng 500 — đợt 2 đã bỏ) */
.au-slogan, .diet-intro, .hero-anat [class*="slogan"] { font-style: italic; }
/* Mọi tiêu đề h1/h2 = Caslon 400 (một nét, phân cấp bằng cỡ) — đè các luật cũ ghi
   Archivo/Outfit 700 cho từng màn. Mọi điều khiển + nhãn ô = Archivo Narrow
   (nhiều luật cũ ghi --font-body cho .btn/.filter-btn/.food-switch-btn…). */
:is(h1, h2) { font-family: var(--font-display) !important; font-weight: 400 !important; }
:is(button, .btn, input, select, textarea, label, .nav-link, [role="tab"], .thanh-day, .thanh-day *) {
  font-family: var(--font-heading) !important;
}
input::placeholder, textarea::placeholder { font-family: var(--font-heading); }

/* ══════════════════════════════════════════════════════════════════════════
   ĐỢT 3 · VÒNG 002: BỀ MẶT "RỪNG PHẲNG" (Đêm) + "GIẤY NIÊN LỊCH" (Ngày)
   Refero Mode "Deep Forest Data Lab": nền xanh rừng PHẲNG, không đổ bóng, không
   kính mờ; MỘT màu nhấn lá non (#C8F169) chỉ cho nút chính + khối chứa con số
   quan trọng; nút bo 14px (không viên thuốc). Refero Luffu cho Ngày: nền giấy
   ấm hơi xanh, phân tách bằng đường kẻ tóc thay cho bóng.
   Vàng giữ cho chữ nhấn nhỏ trên nền tối (26/08); con số lớn chuyển sang khối
   lá non (ghi ở mục "Phá quyết định" của PROGRESS).
   ══════════════════════════════════════════════════════════════════════════ */
:root {
  --gd-nhan: #D9BE86;              /* vàng sâm-panh (vòng 021, trước: lá non #C8F169) */
  --gd-nhan-chu: #13221B;          /* chữ trên vàng sâm-panh */
  --gd-giay: #F1EADB;              /* giấy: chữ/viền trạng thái chọn trên rừng */
  --gd-cta-dem: var(--gd-nhan);
  --gd-cta-dem-chu: var(--gd-nhan-chu);
  --gd-cta-dem-bong: none;
  --gd-cta-ngay-bong: none;
  --gd-nut-bo: 14px;
  --gd-chon-dem-nen: rgba(232, 220, 190, .08);
  --gd-chon-dem-vien: rgba(232, 220, 190, .62);
  --gd-chon-dem-chu: #F4EEE1;
  --gd-chon-ngay-nen: #E9E1CF;
}
html:not([data-che-do="ngay"]) {
  --bg-main: #061C17;
  --surface: #0C2620;
  --surface-warm: #0C2620;
  --border: rgba(232, 220, 190, .16);
  --border-light: rgba(232, 220, 190, .1);
  --shadow-sm: none;
  --shadow: none;
  --shadow-hover: none;
  --radius-lg: 18px;
  --radius-md: 14px;
}
html:not([data-che-do="ngay"]) body {
  background: #061C17;
  background-attachment: scroll;
}
html[data-che-do="ngay"] {
  --bg-main: #F2EEE4;
  --bg-soft: #EAE4D6;
  --surface: #FBF8F1;
  --surface-warm: #FBF8F1;
  --border: #DCD2BF;
  --border-light: #E5DDCC;
  --shadow-sm: none;
  --shadow: none;
  --shadow-hover: none;
  --radius-lg: 18px;
  --radius-md: 14px;
}
html[data-che-do="ngay"] body { background: #F2EEE4; }

/* Header + dock + menu + toast: bề mặt đặc, kẻ tóc — bỏ kính mờ */
.app-header, .thanh-day, :root:root .nav-menu, #lolo-toast-container .lolo-toast {
  backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
}
html:not([data-che-do="ngay"]) .app-header { background: #061C17; border-bottom: 1px solid rgba(232, 220, 190, .1); }
html[data-che-do="ngay"] .app-header { background: #F2EEE4; border-bottom: 1px solid #DCD2BF; }
@media (max-width: 768px) {
  html:not([data-che-do="ngay"]) .thanh-day { background: #0E2A23; border-color: rgba(232, 220, 190, .16); box-shadow: 0 10px 28px rgba(0, 0, 0, .38); }
  html[data-che-do="ngay"] .thanh-day { background: #FBF8F1; border-color: #DCD2BF; box-shadow: 0 10px 26px rgba(40, 44, 30, .12); }
}

/* Bỏ quầng sáng trang trí trên thẻ (hồ sơ tuổi thai, Chơi một chút, AI phân tích) */
html:not([data-che-do="ngay"]) .tt-ho-so,
#hieuphieu-section .hp-khoi,
.choi-chut { background: var(--surface) !important; }

/* KHỐI SỐ LIỆU — chữ ký thị giác của đợt 3: con số quan trọng nằm trong một
   khối lá non bo 12px, chữ rừng (Mode "Highlight Text Block"). Ngày: như vệt
   bút dạ quang trên giấy. */
.tt-hs-so,
.tangcan .tc-reco-val,
.efw-res-grid:not(.efw-res-grid-song) > div:is(:nth-child(2), :nth-child(4)) .efw-res-v {
  display: inline-block !important;
  width: auto !important;
  background: var(--gd-nhan) !important;
  color: var(--gd-nhan-chu) !important;
  border-radius: 12px;
  padding: .1em .28em .04em;
  line-height: 1.02 !important;
}

/* Chấm vị trí (bách phân vị, BMI, mốc lịch khám đang tới): lá non đặc, bỏ quầng */
html:not([data-che-do="ngay"]) :is(.efw-pv-cham, .tc-bmi-cham) { background: var(--gd-nhan); box-shadow: 0 0 0 4px #061C17; }
html:not([data-che-do="ngay"]) #lckt :is(.lk-ms.now, .lk-ms.soon)::after { background: var(--gd-nhan); box-shadow: 0 0 0 4px rgba(217, 190, 134, .2); }
#lolo-toast-container .lolo-toast::before { box-shadow: none; }

/* Thẻ chung: phẳng, kẻ tóc */
:is(.glass-card, .tip-card, .hub-tile, .htc-item, .tdcm-kc, .tt-ho-so, .lk-ms) { box-shadow: none !important; }
/* Thẻ "Theo hồ sơ của mẹ": viền vàng + quầng → kẻ tóc (con số đã nằm trong khối lá non) */
html:not([data-che-do="ngay"]) .tt-ho-so { border: 1px solid var(--border) !important; box-shadow: none !important; }
html[data-che-do="ngay"] .tt-ho-so { background: var(--surface); border: 1px solid var(--border); box-shadow: none; }
/* Chữ đỏ #C0504D trên giấy #FBF8F1 chỉ 4,47:1 (quét vòng 002) → đỏ đậm hơn một nấc */
html[data-che-do="ngay"] :is(.kg-btn-stop, .tb-act.pass, .cb-del) { color: #AD403D !important; }

/* ══════════════════════════════════════════════════════════════════════════
   ĐỢT 3 · VÒNG 003: TRANG CHỦ "BÌA TUẦN" (mẹ đã có hồ sơ)
   Refero Mode: chữ serif kiến trúc cỡ poster + khối nhấn chứa con số; 19–86:
   con số như tượng đài trên lưới kẻ mảnh. Ảnh bìa mẹ có hồ sơ vẫn KHÔNG có ảnh
   (05/09) và KHÔNG có nút (13/10) — bìa là con số tuần thai của chính mẹ, đổi
   mỗi tuần nên mỗi lần mở app là một "số báo" mới. Họa tiết DNA/nhịp tim + quầng
   sáng tắt ở bản này: nền rừng phẳng để con số là thứ duy nhất phát sáng.
   ══════════════════════════════════════════════════════════════════════════ */
.ha-bia { display: none; }
html.lolo-co-ho-so .ha-bia { display: block; margin: 0 0 22px; }
html.lolo-co-ho-so .hero-anat .ha-motifs { display: none; }
@media (max-width: 768px) {
  html.lolo-co-ho-so .kb-hero-cell .hero-anat { min-height: 0; padding: 30px 22px 30px; justify-content: flex-start; }
  html.lolo-co-ho-so .kb-hero-cell .hero-anat::after { display: none; }
}
html.lolo-co-ho-so:not([data-che-do="ngay"]) .hero-anat { background: #061C17 !important; border-bottom: 1px solid rgba(232, 220, 190, .12); }
html.lolo-co-ho-so[data-che-do="ngay"] .hero-anat { background: #F2EEE4 !important; border-bottom: 1px solid #DCD2BF; }

.ha-bia-nhan {
  margin: 0 0 4px; font-family: var(--font-heading); font-weight: 600;
  font-size: .74rem; letter-spacing: .16em; text-transform: uppercase;
}
.ha-bia-dong { display: flex; align-items: flex-end; gap: 14px; }
.ha-bia-so {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(7.2rem, 44vw, 11rem); line-height: .78; letter-spacing: -0.055em;
  font-variant-numeric: lining-nums tabular-nums; margin-left: -0.04em;
}
.ha-bia-don { display: grid; gap: 2px; padding-bottom: .55rem; font-family: var(--font-heading); }
.ha-bia-don b { font-weight: 700; font-size: 1.5rem; line-height: 1; letter-spacing: .01em; }
.ha-bia-don span { font-size: 1rem; font-weight: 600; letter-spacing: .02em; }
/* Thước 40 tuần: mỗi vạch một tuần; đã qua đặc, tuần này cao + lá non */
.ha-bia-thuoc { display: grid; grid-template-columns: repeat(40, 1fr); gap: 2px; align-items: end; height: 30px; margin: 22px 0 6px; }
.ha-bia-thuoc i { display: block; height: 14px; border-radius: 1px; }
.ha-bia-thuoc i.nay { height: 30px; border-radius: 2px; background: var(--gd-nhan) !important; }
.ha-bia-quy { display: grid; grid-template-columns: 13fr 14fr 13fr; font-family: var(--font-heading); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; }
.ha-bia-quy span { padding-top: 6px; border-top: 1px solid currentColor; margin-right: 4px; }
.ha-bia-con { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin: 18px 0 0; font-size: 1.05rem; }
.ha-bia-khoi {
  display: inline-block; background: var(--gd-nhan); color: var(--gd-nhan-chu);
  font-family: var(--font-display); font-size: 1.45rem; line-height: 1.05; letter-spacing: -0.01em;
  padding: .14em .34em .06em; border-radius: 10px;
}
.ha-bia-edd { font-style: italic; }
/* Tiêu đề thương hiệu lùi về sau bìa: một dòng phụ, không còn là poster */
html.lolo-co-ho-so .hero-anat .ha-badge { display: none; }
html.lolo-co-ho-so .hero-anat .ha-title { font-size: 1.32rem !important; line-height: 1.2; margin: 0 0 2px; text-shadow: none; padding-top: 16px; border-top: 1px solid; }
html.lolo-co-ho-so .hero-anat .ha-slogan { font-size: .98rem; }

html:not([data-che-do="ngay"]) .ha-bia { color: #F4EEE1; }
html:not([data-che-do="ngay"]) .ha-bia-nhan { color: #D9BE86; }
html:not([data-che-do="ngay"]) .ha-bia-thuoc i { background: rgba(232, 220, 190, .2); }
html:not([data-che-do="ngay"]) .ha-bia-thuoc i.qua { background: rgba(232, 220, 190, .72); }
html:not([data-che-do="ngay"]) .ha-bia-quy { color: #CFC6B4; }
html:not([data-che-do="ngay"]).lolo-co-ho-so .hero-anat .ha-title { border-color: rgba(232, 220, 190, .16); }
html[data-che-do="ngay"] .ha-bia { color: #16291F; }
html[data-che-do="ngay"] .ha-bia-nhan { color: #7A5B22; }
html[data-che-do="ngay"] .ha-bia-thuoc i { background: #DCD2BF; }
html[data-che-do="ngay"] .ha-bia-thuoc i.qua { background: #173B2F; }
html[data-che-do="ngay"] .ha-bia-quy { color: #4F5C67; }
html[data-che-do="ngay"].lolo-co-ho-so .hero-anat .ha-title { border-color: #DCD2BF; color: #16291F; }
html[data-che-do="ngay"].lolo-co-ho-so .hero-anat .ha-hl { color: #7A5B22; }
html[data-che-do="ngay"].lolo-co-ho-so .hero-anat .ha-slogan { color: #46535E; opacity: 1; }
/* Ngày: lá non trên giấy chỉ ~1,3:1 → vạch "tuần này" màu mực (đồ hoạ mang nghĩa cần ≥3:1) */
html[data-che-do="ngay"] .ha-bia-thuoc i.nay { background: #16291F !important; }

/* ══════════════════════════════════════════════════════════════════════════
   ĐỢT 3 · VÒNG 004: TIỆN ÍCH THÀNH "MỤC LỤC" KIỂU TẠP CHÍ
   Refero Christopher Ireland (tên mục serif cỡ lớn, kẻ tóc, không hộp) + 19–86
   (danh sách bảng số, chấm nhỏ, kẻ 1px). Mỗi công cụ là một dòng mục lục: số thứ
   tự Caslon · tên Caslon · mô tả nghiêng Garamond · mũi tên. Bỏ ô biểu tượng
   emoji (nhiễu màu) và thẻ hộp; tầng/nhóm thành "chương" có nhãn viết hoa.
   Giữ nguyên dữ liệu, thứ tự, gợi ý theo tuần, nút "Xem thêm" (hub.js không đổi).
   ══════════════════════════════════════════════════════════════════════════ */
.tienich-hub { counter-reset: muc; }
.tienich-hub :is(.hub-grid-1, .hub-grid, .hub-grid-3) {
  display: block !important; background: none !important; border: 0 !important; border-radius: 0 !important;
  border-top: 1px solid var(--border) !important; overflow: visible;
}
.tienich-hub .hub-tile {
  counter-increment: muc;
  display: grid !important; grid-template-columns: 2.1em minmax(0, 1fr) auto; grid-template-rows: auto auto;
  column-gap: 12px; row-gap: 2px; align-items: baseline;
  min-height: 0 !important; padding: 15px 2px 14px !important; margin: 0 !important;
  text-align: left !important; background: transparent !important;
  border: 0 !important; border-bottom: 1px solid var(--border) !important; border-radius: 0 !important;
  box-shadow: none !important; transform: none !important;
}
.tienich-hub .hub-tile::before {
  content: counter(muc, decimal-leading-zero);
  grid-column: 1; grid-row: 1 / span 2; align-self: start;
  font-family: var(--font-display); font-size: 1.05rem; line-height: 1.5; letter-spacing: -0.01em;
  font-variant-numeric: lining-nums tabular-nums;
}
.tienich-hub .hub-tile::after {
  content: "→" !important; position: static !important; transform: none !important;
  grid-column: 3; grid-row: 1; align-self: center; opacity: 1 !important;
  font-family: var(--font-heading); font-size: 1.15rem;
}
.tienich-hub .hub-tile-ic { display: none !important; }
.tienich-hub .hub-tile-ten {
  grid-column: 2; grid-row: 1;
  font-family: var(--font-display) !important; font-weight: 400 !important;
  font-size: 1.3rem !important; line-height: 1.18 !important; letter-spacing: -0.012em !important;
}
.tienich-hub .hub-tile-mo {
  grid-column: 2 / span 2; grid-row: 2; display: block !important;
  font-style: italic; font-size: .98rem !important; line-height: 1.4 !important;
  -webkit-line-clamp: unset !important; overflow: visible !important;
}
.tienich-hub :is(.hub-grid, .hub-grid-3) .hub-tile-mo { display: none !important; }
.tienich-hub :is(.hub-tile-pro, .hub-tile-ncc) {
  position: static !important; grid-column: 3; grid-row: 2; justify-self: end; align-self: start;
  font-family: var(--font-heading) !important; font-size: .68rem !important; font-weight: 700 !important;
  letter-spacing: .12em; padding: 2px 6px !important; border-radius: 4px !important;
  background: transparent !important; text-shadow: none !important; margin: 0 !important;
}
.tienich-hub :is(.hub-grid, .hub-grid-3) :is(.hub-tile-pro, .hub-tile-ncc) { grid-row: 1; align-self: center; margin-right: 26px !important; }
/* Chương (tầng) */
.tienich-hub .hub-tang { margin: 0 0 30px !important; }
.tienich-hub .hub-tang-h { display: grid !important; gap: 2px; margin: 0 0 10px !important; }
.tienich-hub .hub-tang-h b {
  font-family: var(--font-heading) !important; font-weight: 700 !important; font-size: .78rem !important;
  letter-spacing: .16em !important; text-transform: uppercase;
}
.tienich-hub .hub-tang-h span { font-style: italic; font-size: 1rem !important; }
/* Ba giai đoạn: thanh chữ gạch chân (không còn ô nền) */
.tienich-hub .hub-gd {
  background: none !important; border: 0 !important; border-bottom: 1px solid var(--border) !important;
  border-radius: 0 !important; padding: 0 !important; gap: 0 !important; margin: 0 0 16px !important;
}
.tienich-hub .hub-gd-nut {
  border: 0 !important; border-radius: 0 !important; background: none !important; box-shadow: none !important;
  padding: 12px 4px 13px !important; margin-bottom: -1px; font-size: .95rem !important; line-height: 1.2 !important;
  border-bottom: 3px solid transparent !important;
}
/* Tìm kiếm: ô gạch dưới cỡ lớn */
.tienich-hub .hub-search {
  border: 0 !important; border-bottom: 1.5px solid var(--border) !important; border-radius: 0 !important;
  background: transparent !important; padding: 12px 2px 10px !important; font-size: 1.05rem !important; min-height: 48px;
}
.tienich-hub .hub-xem-tat {
  border: 0 !important; border-bottom: 1px solid var(--border) !important; border-radius: 0 !important;
  background: none !important; text-align: left; padding: 16px 2px !important; min-height: 52px;
  font-family: var(--font-heading) !important; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: .86rem !important;
}
html:not([data-che-do="ngay"]) .tienich-hub .hub-tile::before { color: #D9BE86; }
html:not([data-che-do="ngay"]) .tienich-hub .hub-tile-ten { color: #F4EEE1 !important; }
html:not([data-che-do="ngay"]) .tienich-hub .hub-tile-mo { color: #CFC6B4 !important; }
html:not([data-che-do="ngay"]) .tienich-hub .hub-tile::after { color: var(--gd-nhan); }
html:not([data-che-do="ngay"]) .tienich-hub :is(.hub-tile-pro, .hub-tile-ncc) { color: var(--gd-nhan) !important; border: 1px solid rgba(217, 190, 134, .6) !important; }
html:not([data-che-do="ngay"]) .tienich-hub .hub-tang-h b { color: #D9BE86 !important; }
html:not([data-che-do="ngay"]) .tienich-hub .hub-tang-h span { color: #CFC6B4 !important; }
html:not([data-che-do="ngay"]) .tienich-hub .hub-gd-nut { color: #CFC6B4 !important; }
html:not([data-che-do="ngay"]) .tienich-hub .hub-gd-nut.on { color: #F4EEE1 !important; border-bottom-color: var(--gd-nhan) !important; }
html:not([data-che-do="ngay"]) .tienich-hub .hub-xem-tat { color: var(--gd-nhan) !important; }
html[data-che-do="ngay"] .tienich-hub .hub-tile::before { color: #7A5B22; }
html[data-che-do="ngay"] .tienich-hub .hub-tile-ten { color: #16291F !important; }
html[data-che-do="ngay"] .tienich-hub .hub-tile-mo { color: #46535E !important; }
html[data-che-do="ngay"] .tienich-hub .hub-tile::after { color: #7A5B22; }
html[data-che-do="ngay"] .tienich-hub :is(.hub-tile-pro, .hub-tile-ncc) { color: #A23A0A !important; border: 1px solid #C9733F !important; }
html[data-che-do="ngay"] .tienich-hub .hub-tang-h b { color: #7A5B22 !important; }
html[data-che-do="ngay"] .tienich-hub .hub-gd-nut { color: #46535E !important; }
html[data-che-do="ngay"] .tienich-hub .hub-gd-nut.on { color: #16291F !important; border-bottom-color: #173B2F !important; }
html[data-che-do="ngay"] .tienich-hub .hub-xem-tat { color: #7A5B22 !important; }
@media (hover: hover) {
  .tienich-hub .hub-tile:hover .hub-tile-ten { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
}
/* Thắng luật "trạng thái đang chọn" chung của vòng 007 (đặc hiệu 0,3,1) */
:root .tienich-hub .hub-gd .hub-gd-nut.on { background: none !important; border: 0 !important; border-bottom: 3px solid !important; box-shadow: none !important; }
html:not([data-che-do="ngay"]) .tienich-hub .hub-gd .hub-gd-nut.on { border-bottom-color: var(--gd-nhan) !important; }
html[data-che-do="ngay"] .tienich-hub .hub-gd .hub-gd-nut.on { border-bottom-color: #173B2F !important; }
.tienich-hub .hub-tile-ten { font-size: 1.22rem !important; }
/* 4 cột: số · tên · nhãn PRO · mũi tên (nhãn không còn đè mũi tên / mô tả) */
.tienich-hub .hub-tile { grid-template-columns: 2.5em minmax(0, 1fr) auto auto !important; }
.tienich-hub .hub-tile::after { grid-column: 4 !important; grid-row: 1 !important; }
.tienich-hub .hub-tile-mo { grid-column: 2 / span 3 !important; }
.tienich-hub :is(.hub-tile-pro, .hub-tile-ncc),
.tienich-hub :is(.hub-grid, .hub-grid-3) :is(.hub-tile-pro, .hub-tile-ncc) { grid-column: 3 !important; grid-row: 1 !important; align-self: center !important; margin: 0 !important; }

/* ══════════════════════════════════════════════════════════════════════════
   ĐỢT 3 · VÒNG 005: HEADER CHỮ + MENU THÀNH "TẤM MỤC LỤC"
   Nút ☰ có chữ "Mục lục" (mẹ đọc được, không phải đoán biểu tượng). Menu là
   một tấm mục lục đặc nép bên phải — GIỮ lệnh anh Tú 20/08 "không hết bề ngang,
   còn nhìn thấy phía sau": rộng ≤ 80vw. Bên trong: nhãn chương viết hoa, mục là
   tên Caslon cỡ lớn trên kẻ tóc (cùng ngôn ngữ mục lục vòng 004), mục đang xem
   có chấm lá non; tìm kiếm là ô gạch dưới; cụm cuối (Góp ý · Đăng nhập · Ngày/
   Đêm) là hàng chữ Archivo. Refero: Christopher Ireland (danh mục serif + kẻ
   tóc), Mode (bề mặt đặc, không kính mờ).
   ══════════════════════════════════════════════════════════════════════════ */
html:not([data-che-do="ngay"]) .logo { border-radius: 10px; }
.menu-toggle { width: auto !important; gap: 0; }
@media (max-width: 3840px) {
  .menu-toggle::after {
    content: "Mục lục"; font-family: var(--font-heading); font-weight: 700; font-size: .82rem;
    letter-spacing: .08em; text-transform: uppercase; margin-left: 8px; white-space: nowrap;
  }
}
html:not([data-che-do="ngay"]) .menu-toggle::after { color: #F2F0EC; }
html[data-che-do="ngay"] .menu-toggle::after { color: #16291F; }

@media (max-width: 600px) {
  :root:root .nav-menu {
    top: calc(76px + env(safe-area-inset-top, 0px)); right: 10px; left: auto;
    width: min(80vw, 320px);
    max-height: calc(100svh - 76px - var(--lolo-day, 74px) - 18px - env(safe-area-inset-top, 0px));
    overflow-y: auto; overscroll-behavior: contain;
    padding: 14px 18px 16px !important; border-radius: 18px !important; gap: 0 !important;
  }
  :root:root .nav-menu.open { display: flex !important; flex-direction: column; }
  :root:root .nav-menu.open::before {
    content: "Mục lục"; order: -1; display: block; margin: 2px 0 4px;
    font-family: var(--font-heading); font-weight: 700; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase;
  }
  :root:root .nav-menu #navTimKiem { order: -1; }
  :root:root .nav-menu .nav-link {
    min-height: 50px !important; padding: 12px 2px !important; border-radius: 0 !important; margin: 0 !important;
    background: none !important; box-shadow: none !important;
    border-bottom: 1px solid var(--border) !important;
    font-family: var(--font-display) !important; font-weight: 400 !important; font-size: 1.22rem !important;
    letter-spacing: -0.012em !important; line-height: 1.2 !important; justify-content: flex-start;
  }
  :root:root .nav-menu .nav-link.active::before {
    content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%; margin-right: 2px;
  }
  /* Tìm kiếm: ô gạch dưới */
  :root:root .nav-menu #navTimKiem {
    font-family: var(--font-heading) !important; font-size: 1rem !important; letter-spacing: .02em !important;
    border-bottom: 1.5px solid var(--border) !important; margin: 0 0 6px !important;
  }
  :root:root .nav-menu #navTimKiem span { filter: grayscale(1); opacity: .8; }
  /* Cụm cuối: hàng chữ giao diện */
  :root:root .nav-menu #navGopY { font-family: var(--font-heading) !important; font-size: 1rem !important; letter-spacing: .02em !important; margin-top: 4px !important; }
  :root:root .nav-menu #navGopY span { filter: grayscale(1); }
  :root:root .nav-menu .nav-acc {
    justify-content: center !important; border: 0 !important; border-radius: 12px !important; margin-top: 14px !important;
    font-family: var(--font-heading) !important; font-weight: 700 !important; font-size: 1rem !important; letter-spacing: .04em !important;
  }
  :root:root .nav-menu .cheDo-btn { border-radius: 12px !important; margin-top: 8px !important; min-height: 46px; font-family: var(--font-heading) !important; }

  html:not([data-che-do="ngay"]) .nav-menu { background: #0E2A23 !important; border: 1px solid rgba(232, 220, 190, .16) !important; box-shadow: 0 22px 50px rgba(0, 0, 0, .55) !important; }
  html:not([data-che-do="ngay"]) .nav-menu.open::before { color: #D9BE86; }
  html:not([data-che-do="ngay"]) .nav-menu .nav-link { color: #F4EEE1 !important; }
  html:not([data-che-do="ngay"]) .nav-menu .nav-link.active { color: var(--gd-nhan) !important; }
  html:not([data-che-do="ngay"]) .nav-menu .nav-link.active::before { background: var(--gd-nhan); }
  html:not([data-che-do="ngay"]) .nav-menu #navTimKiem { color: #CFC6B4 !important; }
  html:not([data-che-do="ngay"]) .nav-menu .nav-acc { background: var(--gd-nhan) !important; color: var(--gd-nhan-chu) !important; }
  html:not([data-che-do="ngay"]) .nav-menu .cheDo-btn { background: transparent !important; border: 1px solid rgba(232, 220, 190, .3) !important; color: #F4EEE1 !important; }

  html[data-che-do="ngay"] .nav-menu { background: #FBF8F1 !important; border: 1px solid #DCD2BF !important; box-shadow: 0 22px 50px rgba(40, 44, 30, .22) !important; }
  html[data-che-do="ngay"] .nav-menu.open::before { color: #7A5B22; }
  html[data-che-do="ngay"] .nav-menu .nav-link { color: #16291F !important; }
  html[data-che-do="ngay"] .nav-menu .nav-link.active { color: #7A5B22 !important; }
  html[data-che-do="ngay"] .nav-menu .nav-link.active::before { background: #173B2F; }
  html[data-che-do="ngay"] .nav-menu #navTimKiem { color: #46535E !important; background: none !important; }
  html[data-che-do="ngay"] .nav-menu .cheDo-btn { background: transparent !important; border: 1px solid #C9C7BA !important; color: #16291F !important; }
}
/* Nút mục lục: chỉ chữ (3 vạch bị ép mất bề ngang khi có chữ); mở rồi thì chữ "Đóng" */
.menu-toggle .bar { display: none !important; }
.menu-toggle { padding: 10px 8px !important; justify-content: center !important; align-items: center !important; min-width: 44px; }
.menu-toggle::after { margin-left: 0 !important; }
.menu-toggle[aria-expanded="true"]::after { content: "Đóng ✕" !important; }
@media (max-width: 600px) {
  :root:root .nav-menu .nav-link { height: auto !important; flex: none !important; }
}

/* ══════════════════════════════════════════════════════════════════════════
   ĐỢT 3 · VÒNG 006: ĐẦU CÔNG CỤ THÀNH "TRANG MỞ CHƯƠNG" (~70 màn .section-header)
   Refero Mode (tiêu đề serif kiến trúc tracking âm, canh trái, nhịp poster) +
   Luffu (tiêu đề một nét, câu dẫn phía dưới). Nút quay lại thành dòng chữ chạy
   đầu trang kiểu tạp chí (không còn viên thuốc); bỏ gạch đồng trang trí trên
   tiêu đề; tiêu đề Caslon cỡ mở chương; câu dẫn nghiêng Garamond; kẻ tóc khép
   đầu chương — nội dung bắt đầu ngay dưới kẻ.
   ══════════════════════════════════════════════════════════════════════════ */
#loloBackBar { margin: 0 0 6px !important; }
#loloBackBar .lolo-back {
  background: none !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important;
  padding: 10px 0 !important; min-height: 44px;
  font-family: var(--font-heading) !important; font-weight: 700 !important; font-size: .78rem !important;
  letter-spacing: .12em !important; text-transform: uppercase;
}
html:not([data-che-do="ngay"]) #loloBackBar .lolo-back { color: #D9BE86 !important; }
html[data-che-do="ngay"] #loloBackBar .lolo-back { color: #7A5B22 !important; }
.section-header { margin-bottom: 24px !important; padding-bottom: 18px; border-bottom: 1px solid var(--border); text-align: left !important; }
.section-header h2::before, .section-header h1::before { display: none !important; }
.section-header :is(h1, h2) {
  font-size: clamp(2.15rem, 9.6vw, 2.75rem) !important; line-height: 1.02 !important;
  letter-spacing: -0.028em !important; margin: 0 0 12px !important; max-width: 14ch;
}
.section-header p {
  font-style: italic; font-size: 1.06rem !important; line-height: 1.45 !important; margin: 0 !important;
  max-width: 36ch; text-wrap: pretty;
}
html:not([data-che-do="ngay"]) .section-header :is(h1, h2) { color: #F4EEE1 !important; }
html:not([data-che-do="ngay"]) .section-header p { color: #CFC6B4 !important; }
html[data-che-do="ngay"] .section-header :is(h1, h2) { color: #16291F !important; }
html[data-che-do="ngay"] .section-header p { color: #46535E !important; }
@media (min-width: 769px) {
  .section-header :is(h1, h2) { font-size: clamp(2.6rem, 4vw, 3.4rem) !important; max-width: 18ch; }
}
/* Giữ nút chính trong màn đầu (lý do vòng 010 đợt 2): tiêu đề không ép 14ch, câu dẫn 1rem */
@media (max-width: 768px) {
  .section-header { margin-bottom: 18px !important; padding-bottom: 16px; }
  .section-header :is(h1, h2) { font-size: clamp(2rem, 8.8vw, 2.45rem) !important; max-width: none; margin-bottom: 10px !important; }
  .section-header p { font-size: 1rem !important; max-width: none; }
  #loloBackBar { margin: -6px 0 2px !important; }
}

/* ══════════════════════════════════════════════════════════════════════════
   ĐỢT 3 · VÒNG 007: CHUYỂN CẢNH GIỮA CÁC MÀN + PHẢN HỒI CHẠM
   View Transitions (js/app.js chuyenCanh): vào công cụ → màn cũ lùi trái, màn mới
   trượt từ phải; quay lại → ngược chiều; đổi giữa các màn gốc → mờ chéo + thu nhẹ.
   Header và thanh đáy đứng yên (tách khỏi cảnh); VỆT SÁNG ô đang mở ở thanh đáy
   trượt từ ô cũ sang ô mới (cùng view-transition-name). Ngắn (≤ 340ms), ease-out.
   Thanh tiến độ đọc: vạch lá non mảnh dưới header chạy theo độ cuộn (CSS scroll
   timeline, trình duyệt chưa hỗ trợ thì không hiện). Tắt hết khi giảm chuyển động.
   ══════════════════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: no-preference) {
  .app-header { view-transition-name: gd-dau; }
  .thanh-day { view-transition-name: gd-day; }
  .thanh-day a[aria-current="page"] .thanh-ic { view-transition-name: gd-day-sang; }
  ::view-transition-group(gd-day-sang) { animation-duration: .34s; animation-timing-function: var(--gd-em); }
  ::view-transition-old(root) { animation: gd-vt-mo-ra .2s ease-in both; }
  ::view-transition-new(root) { animation: gd-vt-mo-vao .32s var(--gd-em) both; }
  html[data-gd-huong="toi"]::view-transition-old(root) { animation: gd-vt-ra-trai .26s ease-in both; }
  html[data-gd-huong="toi"]::view-transition-new(root) { animation: gd-vt-vao-phai .34s var(--gd-em) both; }
  html[data-gd-huong="lui"]::view-transition-old(root) { animation: gd-vt-ra-phai .26s ease-in both; }
  html[data-gd-huong="lui"]::view-transition-new(root) { animation: gd-vt-vao-trai .34s var(--gd-em) both; }
  @keyframes gd-vt-mo-ra { to { opacity: 0; transform: scale(.985); } }
  @keyframes gd-vt-mo-vao { from { opacity: 0; transform: scale(1.01); } }
  @keyframes gd-vt-ra-trai { to { opacity: 0; transform: translateX(-14%); } }
  @keyframes gd-vt-vao-phai { from { opacity: 0; transform: translateX(22%); } }
  @keyframes gd-vt-ra-phai { to { opacity: 0; transform: translateX(14%); } }
  @keyframes gd-vt-vao-trai { from { opacity: 0; transform: translateX(-22%); } }
  /* Có chuyển cảnh rồi thì bỏ hiệu ứng hiện lần lượt từng khối (vòng 025 đợt 2) — tránh chuyển động chồng */
  html.gd-vt .app-section.active:not(#home-section) > :nth-child(-n+6) { animation: none; }

  /* Phản hồi chạm: mọi nút + dòng mục lục lún 3% ngay khi chạm, nhả ra bật lại */
  :is(button, .btn, .nav-link, .thanh-day a, .tienich-hub .hub-tile, .lolo-back) {
    -webkit-tap-highlight-color: transparent;
    transition: transform .14s var(--gd-em), background-color .2s ease, color .2s ease, border-color .2s ease;
  }
  :is(button, .btn, .nav-link, .thanh-day a, .lolo-back):active { transform: scale(.97); }
  .tienich-hub .hub-tile:active { transform: translateX(4px); }

  /* Thanh tiến độ đọc dưới header */
  @supports (animation-timeline: scroll()) {
    .app-header::after {
      content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
      background: var(--gd-nhan); transform-origin: 0 50%; transform: scaleX(0);
      animation: gd-doc linear both; animation-timeline: scroll(root block);
    }
    html[data-che-do="ngay"] .app-header::after { background: #173B2F; }
    @keyframes gd-doc { to { transform: scaleX(1); } }
  }
}

/* ══════════════════════════════════════════════════════════════════════════
   ĐỢT 3 · VÒNG 008: Ô NHẬP KIỂU "PHIẾU ĐIỀN" — CON SỐ IN TO BẰNG CASLON
   Mẹ nhập số trên phiếu siêu âm/xét nghiệm → ô nhập trông như dòng điền của một
   tờ phiếu: nền giấy nhạt, đường kẻ đáy 2px (ranh giới ≥ 3:1), góc trên bo 10px.
   Giá trị mẹ gõ hiện bằng Caslon 1,3rem — số mẹ nhập "in" lên phiếu, đọc lại dễ
   (mắt người lớn tuổi so số bằng hình dáng chữ số có chân). Tiêu điểm: kẻ đáy dày
   3px màu lá non (Đêm) / xanh (Ngày) + nền sáng hơn — không quầng mờ.
   Refero Mode (bề mặt đặc, không bóng) + Luffu (giấy, mực). Nhãn ô: Archivo.
   ══════════════════════════════════════════════════════════════════════════ */
:root { --gd-o-bo: 10px 10px 3px 3px; }
:is(input[type="text"], input[type="number"], input[type="date"], input[type="email"], input[type="tel"],
    input[type="password"], input[type="time"], input[type="month"], input:not([type]), textarea, select):not([hidden]):not(.hub-search) {
  border: 0 !important;
  border-bottom: 2px solid var(--gd-o-ke) !important;
  border-radius: var(--gd-o-bo) !important;
  background-color: var(--gd-o-nen) !important;
  box-shadow: none !important;
  font-family: var(--font-display) !important;
  font-size: 1.28rem !important; font-weight: 400 !important; letter-spacing: -0.005em;
  font-variant-numeric: lining-nums tabular-nums;
  color: var(--gd-o-chu) !important;
  transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}
textarea:not([hidden]) { font-size: 1.1rem !important; line-height: 1.45 !important; }
:is(input[type="text"], input[type="number"], input[type="date"], input[type="email"], input[type="tel"],
    input[type="password"], input[type="time"], input[type="month"], input:not([type]), textarea, select):not(.hub-search):focus {
  outline: none !important;
  border-bottom-color: var(--gd-o-tieu) !important;
  box-shadow: inset 0 -1px 0 var(--gd-o-tieu) !important;
  background-color: var(--gd-o-nen-tieu) !important;
}
:is(input, textarea)::placeholder { font-family: var(--font-heading) !important; font-size: 1rem; letter-spacing: .01em; color: var(--gd-o-goi-y) !important; opacity: 1; }
html:not([data-che-do="ngay"]) {
  --gd-o-nen: rgba(232, 220, 190, .06); --gd-o-nen-tieu: rgba(232, 220, 190, .1);
  --gd-o-ke: rgba(232, 220, 190, .5); --gd-o-tieu: var(--gd-nhan);
  --gd-o-chu: #F4EEE1; --gd-o-goi-y: #B3AA98;
  --gd-mui-ten: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1.5 1.5 7 7l5.5-5.5' fill='none' stroke='%23D9BE86' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
html[data-che-do="ngay"] {
  --gd-o-nen: #FFFFFF; --gd-o-nen-tieu: #FFFFFF;
  --gd-o-ke: #77806F; --gd-o-tieu: #173B2F;
  --gd-o-chu: #16291F; --gd-o-goi-y: #6A7470;
}
/* Nhãn ô: Archivo, chữ thường, giãn nhẹ — đọc như tiêu đề cột trên phiếu */
label { letter-spacing: .015em; }
/* Đơn vị đi kèm (gram, mmol/L, cm…) giữ chữ giao diện */
:is(.efw-unit, .unit, [class*="-don-vi"], [class*="-unit"]) { font-family: var(--font-heading) !important; }
/* Ô chọn: chữ lựa chọn dài ("Trong, dai như lòng trắng trứng") ở 1,28rem làm WebKit nới khung
   → trang tràn 3px (Sổ chu kỳ, quét vòng 008). Ô chọn 1,1rem + không vượt khung cha. */
select:not([hidden]) { font-size: 1.1rem !important; max-width: 100%; min-width: 0; text-overflow: ellipsis; }
/* Thẻ sáng giữa nền Đêm (Đường huyết .tdh-card trắng): ô nhập dùng bộ màu Ngày */
html:not([data-che-do="ngay"]) .tdh-card {
  --gd-o-nen: #FFFFFF; --gd-o-nen-tieu: #FFFFFF; --gd-o-ke: #77806F; --gd-o-tieu: #173B2F;
  --gd-o-chu: #16291F; --gd-o-goi-y: #6A7470;
  --gd-mui-ten: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1.5 1.5 7 7l5.5-5.5' fill='none' stroke='%2337813C' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
/* Đã đăng nhập: nút tài khoản trong menu Đêm (nav-acc-on của nen-toi.css) */
@media (max-width: 600px) {
  html:not([data-che-do="ngay"]) .nav-menu .nav-acc.nav-acc-on { background: var(--gd-nhan) !important; color: var(--gd-nhan-chu) !important; }
}
select:not([hidden]) { overflow: hidden; white-space: nowrap; }

/* ══════════════════════════════════════════════════════════════════════════
   ĐỢT 3 · VÒNG 009: KẾT QUẢ CÂN NẶNG THÀNH "BẢNG SỐ LIỆU"
   Refero Mode (Data Lab: khối nhấn chứa số, bảng phẳng kẻ tóc, không bóng) + 19–86
   (bảng kẻ 1px, nhãn cột nhỏ). Thẻ kết quả: bỏ nền tô màu + vạch trạng thái 5px bên
   trái → mặt bảng phẳng; trạng thái nói bằng CHẤM MÀU + câu kết luận Caslon.
   Khối 4 câu GIỮ NGUYÊN vị trí trước con số (05/09) — thành bảng hỏi–đáp: câu hỏi
   là nhãn viết hoa, câu trả lời Garamond, kẻ tóc giữa các câu.
   Thanh bách phân vị thành THƯỚC: vạch mảnh, khấc P10/P50/P90, chấm lá non.
   Nút: một nút chính (Tư vấn bác sỹ — lá non), các lối phụ viền giấy / dòng chữ.
   ══════════════════════════════════════════════════════════════════════════ */
:root .efw-result:not(:empty) {
  background: var(--surface) !important; border: 1px solid var(--border) !important;
  border-left-width: 1px !important; border-radius: 18px !important; padding: 20px 18px 18px !important;
}
:root .efw-result { --gd-tt: var(--gd-nhan); }
:root .efw-result.state-warn { --gd-tt: #D9BE86; }
:root .efw-result.state-danger { --gd-tt: #F2998D; }
html[data-che-do="ngay"] .efw-result { --gd-tt: #173B2F; }
html[data-che-do="ngay"] .efw-result.state-warn { --gd-tt: #A86A12; }
html[data-che-do="ngay"] .efw-result.state-danger { --gd-tt: #B83A2E; }
html:not([data-che-do="ngay"]) .efw-result:not(:empty) { color: #F1EADB !important; }
html[data-che-do="ngay"] .efw-result:not(:empty) { color: #22352B !important; }

/* Bốn câu hỏi–đáp */
.efw-4cau { display: block !important; background: none !important; border: 0 !important; padding: 0 !important; margin: 0 0 18px !important; }
.efw-cau { padding: 12px 0 !important; margin: 0 !important; border-bottom: 1px solid var(--border); background: none !important; }
.efw-cau:first-child { padding-top: 0 !important; }
.efw-cau > b {
  display: block; margin-bottom: 4px;
  font-family: var(--font-heading) !important; font-weight: 700 !important; font-size: .74rem !important;
  letter-spacing: .14em; text-transform: uppercase;
}
html:not([data-che-do="ngay"]) .efw-cau > b { color: #D9BE86 !important; }
html[data-che-do="ngay"] .efw-cau > b { color: #7A5B22 !important; }
.efw-cau :is(p, li) { font-size: 1.02rem !important; line-height: 1.5 !important; margin: 0 !important; }

/* Bảng số: hai ô lớn trên, hai ô nhỏ dưới, kẻ tóc như bảng */
.efw-res-grid:not(.efw-res-grid-song) {
  gap: 0 !important; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.efw-res-grid:not(.efw-res-grid-song) > div { padding: 14px 0 12px; background: none !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
.efw-res-grid:not(.efw-res-grid-song) > div:is(:nth-child(1), :nth-child(3)) { border-top: 1px solid var(--border) !important; }
.efw-res-grid:not(.efw-res-grid-song) > div:is(:nth-child(4), :nth-child(3)) { padding-left: 14px; border-left: 1px solid var(--border) !important; }
.efw-res-grid .efw-so { background: none !important; border: 0 !important; padding: 0 !important; text-align: left; width: 100%; }
.efw-res-k { font-family: var(--font-heading) !important; font-size: .72rem !important; letter-spacing: .14em !important; text-transform: uppercase; display: block; margin-bottom: 6px; }
.efw-res-grid:not(.efw-res-grid-song) > div:is(:nth-child(1), :nth-child(3)) .efw-res-v {
  font-family: var(--font-display) !important; font-weight: 400 !important; font-size: 1.45rem !important; letter-spacing: -0.01em;
}

/* Thước bách phân vị */
.efw-pv { margin: 22px 0 4px !important; padding: 0 10px !important; }
.efw-pv-ray { height: 18px !important; background: none !important; border-radius: 0 !important; }
.efw-pv-ray::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; transform: translateY(-50%); background: var(--gd-o-ke); }
.efw-pv-dai { top: 5px !important; bottom: 5px !important; border-radius: 2px !important; }
html:not([data-che-do="ngay"]) .efw-pv-dai { background: rgba(217, 190, 134, .28) !important; }
html[data-che-do="ngay"] .efw-pv-dai { background: rgba(55, 129, 60, .22) !important; }
.efw-pv-cham { width: 18px !important; height: 18px !important; background: var(--gd-tt) !important; box-shadow: 0 0 0 4px var(--surface) !important; }
.efw-pv-nhan span { font-family: var(--font-heading); font-size: .74rem; letter-spacing: .06em; }
.efw-pv-nhan span::before { content: ""; position: absolute; left: 50%; top: -14px; width: 1px; height: 8px; background: var(--gd-o-ke); }

/* Kết luận: câu Caslon + chấm trạng thái */
.efw-res-verdict {
  display: flex !important; gap: 10px; align-items: baseline; margin: 14px 0 8px !important; padding: 0 !important;
  background: none !important; border: 0 !important;
  font-family: var(--font-display) !important; font-weight: 400 !important; font-size: 1.32rem !important; line-height: 1.25 !important;
}
.efw-res-verdict::before { content: ""; flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--gd-tt); transform: translateY(-1px); }

/* Nút: một nút chính, còn lại hạ cấp */
.efw-hoi-dd { background: none !important; border: 0 !important; border-top: 1px solid var(--border) !important; border-radius: 0 !important; padding: 16px 0 0 !important; margin-top: 14px !important; }
.efw-hoi-dd-nut {
  width: 100%; min-height: 52px; border: 0 !important; border-radius: 14px !important; box-shadow: none !important;
  font-family: var(--font-heading) !important; font-weight: 700 !important; font-size: 1.02rem !important;
}
html:not([data-che-do="ngay"]) .efw-hoi-dd-nut { background: var(--gd-nhan) !important; color: var(--gd-nhan-chu) !important; }
html[data-che-do="ngay"] .efw-hoi-dd-nut { background: #173B2F !important; color: #fff !important; }
:is(.efw-hoi-dd-cda, #efwAdvice .efw-cta, .efw-viec-nut, .efw-tiep-nut) {
  background: transparent !important; box-shadow: none !important; border-radius: 12px !important;
  border: 1px solid var(--gd-o-ke) !important; font-family: var(--font-heading) !important; font-weight: 700 !important;
}
html:not([data-che-do="ngay"]) :is(.efw-hoi-dd-cda, #efwAdvice .efw-cta, .efw-viec-nut, .efw-tiep-nut) { color: #F4EEE1 !important; }
html[data-che-do="ngay"] :is(.efw-hoi-dd-cda, #efwAdvice .efw-cta, .efw-viec-nut, .efw-tiep-nut) { color: #16291F !important; }
.efw-hoi-dd-cda { width: 100%; min-height: 48px; margin-top: 10px !important; }
:is(.efw-tang-nut, .efw-gop-y-nut, .efw-giaithich-nut) {
  background: none !important; border: 0 !important; box-shadow: none !important; padding: 10px 0 !important; min-height: 44px;
  font-family: var(--font-heading) !important; font-weight: 600 !important; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px;
}
html:not([data-che-do="ngay"]) :is(.efw-tang-nut, .efw-gop-y-nut, .efw-giaithich-nut) { color: #D9BE86 !important; }
html[data-che-do="ngay"] :is(.efw-tang-nut, .efw-gop-y-nut, .efw-giaithich-nut) { color: #7A5B22 !important; }

/* Khối lời khuyên dưới kết quả: phẳng, tiêu đề Caslon */
#efwAdvice .efw-advice-inner { background: var(--surface) !important; border: 1px solid var(--border) !important; border-left-width: 1px !important; border-radius: 18px !important; box-shadow: none !important; }
#efwAdvice h4 { font-family: var(--font-display) !important; font-weight: 400 !important; font-size: 1.3rem !important; letter-spacing: -0.01em !important; }
/* Ô cao bằng nhau để kẻ bảng thẳng hàng (vòng 013 đợt 2 canh đáy) */
.efw-res-grid:not(.efw-res-grid-song) { align-items: stretch !important; }
.efw-res-grid:not(.efw-res-grid-song) > div:is(:nth-child(1), :nth-child(3)) .efw-std { font-size: .72rem !important; padding: 1px 7px !important; vertical-align: .3em; }
/* Ngoài dải: câu kết luận mang màu trạng thái (an toàn: không để mất tín hiệu khi bỏ nền hồng) */
:root .efw-result:is(.state-warn, .state-danger) .efw-res-verdict { color: var(--gd-tt) !important; }

/* ══════════════════════════════════════════════════════════════════════════
   ĐỢT 3 · VÒNG 010 (MỐC): THANH ĐÁY THEO HỆ MỚI + BỎ EMOJI LÀM BIỂU TƯỢNG Ở KẾT QUẢ
   Thanh đáy: giữ 5 ô / thứ tự / chữ / đích đến (20/10) — chỉ đổi hình. Ô đang mở là
   một "thẻ" lá non chứa biểu tượng (Mode: khối nhấn = điều quan trọng), chữ đậm;
   bỏ quầng vàng phát sáng. Bo 20px theo hệ góc mới. Vệt "thẻ" trượt giữa các ô nhờ
   chuyển cảnh vòng 007.
   ══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .thanh-day { border-radius: 20px !important; }
  .thanh-ic { width: 50px !important; height: 30px !important; border-radius: 10px !important; box-shadow: none !important; }
  .thanh-day a[aria-current="page"] .thanh-ic { transform: none !important; }
  .thanh-chu { font-size: 12.5px !important; letter-spacing: .01em !important; }
  html:not([data-che-do="ngay"]) .thanh-day a { color: #CFC6B4 !important; }
  html:not([data-che-do="ngay"]) .thanh-day a[aria-current="page"] { color: var(--gd-nhan) !important; }
  html:not([data-che-do="ngay"]) .thanh-day a[aria-current="page"] .thanh-ic { background: var(--gd-nhan) !important; color: var(--gd-nhan-chu) !important; box-shadow: none !important; }
  html[data-che-do="ngay"] .thanh-day a { color: #46535E !important; }
  html[data-che-do="ngay"] .thanh-day a[aria-current="page"] { color: #173B2F !important; }
  html[data-che-do="ngay"] .thanh-day a[aria-current="page"] .thanh-ic { background: #173B2F !important; color: #FFFFFF !important; }
  .thanh-day a[aria-current="page"] .thanh-chu { font-weight: 700 !important; }
}

/* ══════════════════════════════════════════════════════════════════════════
   ĐỢT 3 · VÒNG 011: CẨM NANG THÀNH TRẢI NGHIỆM ĐỌC DÀI (kiểu tạp chí)
   Refero Medium (serif tương phản cao, nền như giấy, chữ là thứ chính) + Alison
   Roman (cột đọc, ảnh như tranh in, kẻ mảnh) + mục lục vòng 004.
   · Trang Cẩm nang: 4 quý thành mục lục (bỏ thẻ + emoji); "Mẹ đang ở đây" = nhãn lá non.
   · Trang quý: đầu chương không khung; bài = dòng tạp chí (ảnh vuông 92px + tựa Caslon).
   · Trang bài: ẩn đầu mục "Cẩm nang trước & sau sinh" + nút "Quay lại Trang chủ"
     (đang có HAI nút quay lại) — còn một dòng chữ "← Danh sách bài" + đường dẫn;
     tựa Caslon 2rem; ảnh tràn mép; câu dẫn nghiêng; thân Garamond 1,12rem/1,62;
     chữ cái đầu lớn Caslon; tiêu đề đoạn Caslon. Nội dung không đổi một chữ.
   ══════════════════════════════════════════════════════════════════════════ */
#camnangTool { --cn-ink: currentColor; }
html:not([data-che-do="ngay"]) #camnang-section { --gd-doc: #F1EADB; --gd-doc-phu: #CFC6B4; --gd-doc-nhan: #D9BE86; }
html[data-che-do="ngay"] #camnang-section { --gd-doc: #22352B; --gd-doc-phu: #46535E; --gd-doc-nhan: #7A5B22; }

/* Hai giai đoạn: thanh chữ gạch chân như Tiện ích */
#camnangTool .cn-gd { background: none !important; border: 0 !important; border-bottom: 1px solid var(--border) !important; border-radius: 0 !important; padding: 0 !important; gap: 0 !important; margin: 0 0 6px !important; }
:root #camnangTool .cn-gd .cn-gd-nut { background: none !important; border: 0 !important; border-bottom: 3px solid transparent !important; border-radius: 0 !important; box-shadow: none !important; padding: 12px 4px !important; margin-bottom: -1px; color: var(--gd-doc-phu) !important; }
:root #camnangTool .cn-gd .cn-gd-nut.on { color: var(--gd-doc) !important; border-bottom-color: var(--gd-o-tieu) !important; }

/* Trang Cẩm nang: 4 quý thành mục lục */
#camnangTool .cn-home { display: block !important; counter-reset: quy; }
#camnangTool .cn-home-card {
  counter-increment: quy; position: relative;
  display: grid !important; grid-template-columns: 2.5em minmax(0, 1fr); gap: 0 12px; width: 100%;
  padding: 18px 2px !important; margin: 0 !important; text-align: left;
  background: none !important; border: 0 !important; border-bottom: 1px solid var(--border) !important;
  border-radius: 0 !important; box-shadow: none !important; transform: none !important;
}
#camnangTool .cn-home-card::before {
  content: counter(quy, upper-roman); grid-column: 1; grid-row: 1 / span 3;
  font-family: var(--font-display); font-size: 1.15rem; line-height: 1.6; color: var(--gd-doc-nhan);
}
#camnangTool .cn-home-emoji { display: none !important; }
#camnangTool .cn-home-body { grid-column: 2; display: grid !important; gap: 4px; }
#camnangTool .cn-home-title { font-family: var(--font-display) !important; font-weight: 400 !important; font-size: 1.5rem !important; line-height: 1.12 !important; letter-spacing: -0.015em; color: var(--gd-doc) !important; }
#camnangTool .cn-home-sub { font-style: italic; font-size: 1rem !important; color: var(--gd-doc-phu) !important; }
#camnangTool .cn-home-count { font-family: var(--font-heading) !important; font-weight: 700 !important; font-size: .82rem !important; letter-spacing: .1em; text-transform: uppercase; color: var(--gd-doc-nhan) !important; }
#camnangTool .cn-dang-o-nhan {
  position: static !important; grid-column: 2; justify-self: start; margin: 0 0 6px !important;
  font-family: var(--font-heading) !important; font-size: .72rem !important; letter-spacing: .12em; text-transform: uppercase;
  border-radius: 6px !important; padding: 3px 8px !important; box-shadow: none !important;
}
html:not([data-che-do="ngay"]) #camnangTool .cn-dang-o-nhan { background: var(--gd-nhan) !important; color: var(--gd-nhan-chu) !important; }
html[data-che-do="ngay"] #camnangTool .cn-dang-o-nhan { background: #173B2F !important; color: #fff !important; }
#camnangTool .cn-home-card.cn-dang-o { border-color: var(--border) !important; }

/* Trang quý: đầu chương không khung */
#camnangTool .cn-sec-head { background: none !important; border: 0 !important; border-bottom: 1px solid var(--border) !important; border-radius: 0 !important; padding: 6px 0 16px !important; box-shadow: none !important; }
#camnangTool .cn-sec-emoji { display: none !important; }
#camnangTool .cn-sec-title { font-size: clamp(1.9rem, 8vw, 2.3rem) !important; font-weight: 400 !important; color: var(--gd-doc) !important; }
#camnangTool .cn-sec-sub { font-style: italic; color: var(--gd-doc-phu) !important; }
/* Danh sách bài: dòng tạp chí */
#camnangTool .cn-grid { display: block !important; }
#camnangTool .cn-card {
  display: grid !important; grid-template-columns: 92px minmax(0, 1fr); gap: 14px; align-items: start;
  padding: 16px 0 !important; background: none !important; border: 0 !important; border-bottom: 1px solid var(--border) !important;
  border-radius: 0 !important; box-shadow: none !important; transform: none !important; overflow: visible !important;
}
#camnangTool .cn-card-art { width: 92px; height: 92px; aspect-ratio: 1 / 1 !important; border-radius: 6px; }
#camnangTool .cn-card-body { padding: 0 !important; gap: 6px !important; }
#camnangTool .cn-card-title { font-family: var(--font-display) !important; font-weight: 400 !important; font-size: 1.16rem !important; line-height: 1.22 !important; color: var(--gd-doc) !important; }
#camnangTool .cn-card-line { font-size: .95rem !important; color: var(--gd-doc-phu) !important; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
#camnangTool .cn-card-go { font-family: var(--font-heading) !important; font-size: .78rem !important; letter-spacing: .1em; text-transform: uppercase; color: var(--gd-doc-nhan) !important; }

/* Điều hướng trong Cẩm nang: một dòng chữ, đường dẫn nhỏ */
#camnangTool .cn-back {
  background: none !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important;
  padding: 10px 0 !important; min-height: 44px;
  font-family: var(--font-heading) !important; font-weight: 700 !important; font-size: .78rem !important;
  letter-spacing: .12em; text-transform: uppercase; color: var(--gd-doc-nhan) !important;
}
#camnangTool .cn-crumb { font-family: var(--font-heading); font-size: .82rem !important; letter-spacing: .03em; }
#camnangTool .cn-crumb-link { color: var(--gd-doc-phu) !important; font-family: var(--font-heading) !important; }
/* Trang bài: bỏ đầu mục + nút quay lại chung (đã có "← Danh sách bài") */
#camnang-section:has(.cn-detail) > .section-header { display: none !important; }
body:has(#camnang-section.active .cn-detail) #loloBackBar { display: none !important; }
#camnangTool .cn-detail { background: none !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; }
#camnangTool .cn-detail-art { margin: 8px -16px 0 !important; border-radius: 0 !important; aspect-ratio: 4 / 3; overflow: hidden; }
#camnangTool .cn-detail-art img { width: 100%; height: 100%; object-fit: cover; border-radius: 0 !important; }
#camnangTool .cn-detail-body { padding: 18px 0 0 !important; max-width: 36em; }
#camnangTool .cn-detail-title { font-size: clamp(1.85rem, 8vw, 2.3rem) !important; line-height: 1.08 !important; font-weight: 400 !important; letter-spacing: -0.02em !important; color: var(--gd-doc) !important; }
#camnangTool .cn-detail-teaser { font-style: italic; font-size: 1.2rem !important; line-height: 1.45 !important; color: var(--gd-doc-phu) !important; margin: 10px 0 16px !important; }
#camnangTool .cn-detail-key {
  background: none !important; border: 0 !important; border-top: 1px solid var(--border) !important; border-bottom: 1px solid var(--border) !important;
  border-radius: 0 !important; padding: 12px 0 !important; font-size: 1.04rem !important; color: var(--gd-doc) !important;
}
#camnangTool .cn-deep { font-size: 1.12rem; line-height: 1.62; color: var(--gd-doc); }
#camnangTool .cn-deep p { font-size: 1.12rem !important; line-height: 1.62 !important; margin: 0 0 1em !important; color: var(--gd-doc) !important; }
#camnangTool .cn-deep > p:first-of-type::first-letter {
  float: left; font-family: var(--font-display); font-size: 3.6em; line-height: .82; padding: .06em .08em 0 0; color: var(--gd-doc-nhan);
}
#camnangTool .cn-deep .cn-h { font-family: var(--font-display) !important; font-weight: 400 !important; font-size: 1.42rem !important; line-height: 1.2 !important; letter-spacing: -0.01em; margin: 1.6em 0 .5em !important; color: var(--gd-doc) !important; }
#camnangTool .cn-detail-note { font-style: italic; font-size: .92rem !important; color: var(--gd-doc-phu) !important; border-top: 1px solid var(--border); padding-top: 12px; }
/* Cẩm nang dùng .section-head (không phải .section-header) */
#camnang-section:has(.cn-detail) > .section-head { display: none !important; }
html #camnangTool .cn-home-card.cn-dang-o { border: 0 !important; border-bottom: 1px solid var(--border) !important; box-shadow: none !important; background: none !important; }
#camnangTool .cn-detail-art { width: calc(100% + 32px) !important; max-width: none !important; }
/* Trang mở chương (vòng 006) cho cả các mục dùng .section-head */
.app-section > .section-head { text-align: left !important; padding-bottom: 16px; margin-bottom: 18px !important; border-bottom: 1px solid var(--border); }
.app-section > .section-head :is(h1, h2) { font-size: clamp(2rem, 8.8vw, 2.45rem) !important; line-height: 1.02 !important; letter-spacing: -0.028em !important; margin: 0 0 10px !important; }
.app-section > .section-head :is(h1, h2)::before { display: none !important; }
.app-section > .section-head p { font-style: italic; font-size: 1rem !important; line-height: 1.45 !important; margin: 0 !important; }
html:not([data-che-do="ngay"]) .app-section > .section-head p { color: #CFC6B4 !important; }
html[data-che-do="ngay"] .app-section > .section-head :is(h1, h2) { color: #16291F !important; }
html[data-che-do="ngay"] .app-section > .section-head p { color: #46535E !important; }
:root:root #camnangTool .cn-home .cn-home-card.cn-dang-o.cn-dang-o { box-shadow: none !important; }
/* Đường dẫn: bỏ tên bài ở cuối (tựa bài đã ở ngay dưới, cỡ lớn) */
#camnangTool .cn-crumb .cn-crumb-cur, #camnangTool .cn-crumb .cn-crumb-sep:nth-last-child(2) { display: none !important; }
/* Dòng mô tả nằm trong <button> (thừa hưởng Archivo của nút) → Garamond, không nghiêng giả */
#camnangTool :is(.cn-home-sub, .cn-card-line) { font-family: var(--font-body) !important; }

/* ══════════════════════════════════════════════════════════════════════════
   ĐỢT 3 · VÒNG 012: LỊCH KHÁM KIỂU NIÊN LỊCH
   Mỗi mốc khám là một trang lịch: cột trái là NGÀY cỡ lớn Caslon (tháng/năm nhỏ
   bên dưới), cột phải là tuần · tên mốc Caslon · nhãn · nội dung. Mốc "Hôm nay"
   có ô ngày lá non (khối nhấn = điều quan trọng). Ba tam cá nguyệt thành tiêu đề
   chương viết hoa; hộp con (Siêu âm/Xét nghiệm/Thăm khám/Vaccine) thành mục có
   nhãn viết hoa, không khung, không emoji. Ô tóm tắt thành bảng số kẻ tóc.
   Refero 19–86 (bảng kẻ 1px, số như tượng đài) + Mode (khối nhấn chứa số).
   lichkham.js chỉ bọc emoji (ẩn) và tách số ngày — chữ đọc giữ nguyên dd/mm/yyyy.
   ══════════════════════════════════════════════════════════════════════════ */
#lckt .ms-ic { display: none !important; }
html:not([data-che-do="ngay"]) #lckt { --lk-chu: #F1EADB; --lk-phu: #CFC6B4; --lk-nhan: #D9BE86; }
html[data-che-do="ngay"] #lckt { --lk-chu: #22352B; --lk-phu: #46535E; --lk-nhan: #7A5B22; }
/* Đầu mục */
#lckt .lk-head { text-align: left !important; padding: 0 0 16px !important; margin: 0 0 18px !important; border-bottom: 1px solid var(--border); background: none !important; }
#lckt .lk-head h2 { font-size: clamp(2rem, 8.8vw, 2.45rem) !important; line-height: 1.04 !important; letter-spacing: -0.028em !important; margin: 0 0 8px !important; color: var(--lk-chu) !important; }
#lckt .lk-head p { font-style: italic; font-size: 1rem !important; color: var(--lk-phu) !important; text-align: left !important; }
/* Bảng tóm tắt */
#lckt .lk-sum { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 0 !important; background: none !important; border: 0 !important; border-top: 1px solid var(--border) !important; border-radius: 0 !important; padding: 0 !important; box-shadow: none !important; }
#lckt .lk-sum .ls-i { text-align: left !important; padding: 12px 10px 12px 0 !important; border-bottom: 1px solid var(--border); background: none !important; border-radius: 0 !important; }
#lckt .lk-sum .ls-i:nth-child(even) { padding-left: 14px !important; border-left: 1px solid var(--border); }
#lckt .lk-sum .ls-n { font-family: var(--font-display) !important; font-weight: 400 !important; font-size: 1.7rem !important; line-height: 1.1 !important; color: var(--lk-chu) !important; }
#lckt .lk-sum .ls-i:first-child .ls-n { display: inline-block; background: var(--gd-nhan); color: var(--gd-nhan-chu) !important; border-radius: 10px; padding: .1em .3em .02em; font-size: 1.3rem !important; }
#lckt .lk-sum .ls-l { font-family: var(--font-heading) !important; font-size: .72rem !important; letter-spacing: .12em; text-transform: uppercase; color: var(--lk-phu) !important; margin-top: 4px; }
/* Chương tam cá nguyệt */
#lckt .lk-sec {
  margin: 30px 0 4px !important; padding: 0 0 10px !important; border: 0 !important; border-bottom: 2px solid var(--lk-chu) !important; background: none !important;
  font-family: var(--font-heading) !important; font-weight: 700 !important; font-size: .82rem !important; letter-spacing: .16em; text-transform: uppercase; color: var(--lk-nhan) !important;
}
#lckt .lk-sec > span:not(.ms-ic) { font-family: var(--font-body) !important; font-style: italic; letter-spacing: 0; text-transform: none; font-size: 1rem; color: var(--lk-phu) !important; }
/* Mốc khám: trang lịch hai cột */
#lckt .lk-ms {
  display: grid !important; grid-template-columns: 70px minmax(0, 1fr); column-gap: 14px; align-items: start;
  margin: 0 !important; padding: 18px 0 !important; background: none !important; box-shadow: none !important;
  border: 0 !important; border-bottom: 1px solid var(--border) !important; border-radius: 0 !important;
}
#lckt .lk-ms::before, #lckt .lk-ms::after { display: none !important; }
#lckt .lk-ms > * { grid-column: 2; min-width: 0; }
#lckt .lk-ms .ms-hd { display: contents !important; }
#lckt .lk-ms .ms-dt { grid-column: 1 !important; grid-row: 1 / span 8; display: grid !important; gap: 2px; justify-items: start; background: none !important; padding: 0 !important; margin: 0 !important; }
#lckt .lk-ms .ms-dt b { font-family: var(--font-display); font-weight: 400; font-size: 2.6rem; line-height: .92; letter-spacing: -0.03em; color: var(--lk-chu); font-variant-numeric: lining-nums tabular-nums; padding: .06em .12em 0; margin-left: -.12em; border-radius: 10px; }
#lckt .lk-ms .ms-dt i { font-style: normal; font-family: var(--font-heading); font-size: .76rem; letter-spacing: .06em; color: var(--lk-phu); }
#lckt .lk-ms.now .ms-dt b { background: var(--gd-nhan); color: var(--gd-nhan-chu); margin-left: 0; }
html[data-che-do="ngay"] #lckt .lk-ms.now .ms-dt b { background: #173B2F; color: #fff; }
#lckt .lk-ms .ms-wk { font-family: var(--font-heading) !important; font-weight: 700 !important; font-size: .8rem !important; letter-spacing: .1em; text-transform: uppercase; color: var(--lk-nhan) !important; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
#lckt .lk-ms .ms-wk .ms-rng { font-family: var(--font-body); font-weight: 500; letter-spacing: 0; text-transform: none; font-size: .95rem; color: var(--lk-phu) !important; }
#lckt .lk-ms .ms-nm { font-family: var(--font-display) !important; font-weight: 400 !important; font-size: 1.24rem !important; line-height: 1.22 !important; margin: 6px 0 8px !important; color: var(--lk-chu) !important; }
#lckt .lk-ms.past .ms-nm { font-size: 1.08rem !important; }
#lckt .ms-tag { background: transparent !important; border: 1px solid var(--gd-o-ke) !important; border-radius: 5px !important; font-family: var(--font-heading) !important; font-size: .74rem !important; letter-spacing: .04em; color: var(--lk-phu) !important; box-shadow: none !important; }
#lckt .ms-gr { display: block !important; gap: 0 !important; }
#lckt .ms-bx { background: none !important; border: 0 !important; border-top: 1px solid var(--border) !important; border-radius: 0 !important; padding: 10px 0 !important; margin: 0 !important; box-shadow: none !important; }
#lckt .ms-bt { font-family: var(--font-heading) !important; font-weight: 700 !important; font-size: .74rem !important; letter-spacing: .14em; text-transform: uppercase; color: var(--lk-nhan) !important; margin-bottom: 4px !important; }
#lckt .ms-bl li { font-size: 1rem !important; line-height: 1.5 !important; color: var(--lk-chu) !important; }
#lckt .ms-nt { background: none !important; border: 0 !important; border-left: 0 !important; border-top: 1px solid var(--border) !important; border-radius: 0 !important; padding: 10px 0 0 !important; font-style: italic; color: var(--lk-phu) !important; }
#lckt .ms-gc { justify-self: start; background: transparent !important; border: 1px solid var(--gd-o-ke) !important; border-radius: 12px !important; box-shadow: none !important; color: var(--lk-chu) !important; font-family: var(--font-heading) !important; font-weight: 700 !important; margin-top: 10px; min-height: 44px; }
#lckt .lk-ms.lk-ms { box-shadow: none !important; background: none !important; }
/* Dấu "/" đầu tháng: giữ cho trình đọc màn hình (đọc liền dd/mm/yyyy), ẩn với mắt */
#lckt .ms-sl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
/* Bảng tóm tắt: ô chữ (loại thai, lần mang thai, ngày dự sinh) nhỏ hơn ô số */
#lckt .lk-sum .ls-i:nth-child(n+5) .ls-n { font-size: 1.15rem !important; line-height: 1.25 !important; }
#lckt .lk-sum .ls-i:first-child .ls-n { white-space: nowrap; font-size: 1.15rem !important; }

/* ══════════════════════════════════════════════════════════════════════════
   ĐỢT 3 · VÒNG 013: THỰC ĐƠN CỦA MẸ KIỂU THỰC ĐƠN NHÀ HÀNG
   Refero Alison Roman / Savor (thương hiệu ẩm thực: serif trang trọng, nền giấy,
   chữ là món chính, kẻ mảnh, ít khung). Mỗi bữa là một mục thực đơn: tên bữa
   Caslon nghiêng ở giữa hai đường kẻ, năng lượng bên cạnh; món là dòng tên Caslon +
   khẩu phần nghiêng Garamond, ảnh tròn nhỏ; "Nấu thử" thành chữ nhỏ viết hoa;
   "Đã ăn" là nút viền, bấm rồi thành khối lá non ✓. Bỏ thẻ hộp từng bữa.
   bep-thuc-don.js không đổi.
   ══════════════════════════════════════════════════════════════════════════ */
html:not([data-che-do="ngay"]) .tdm { --td-chu: #F1EADB; --td-phu: #CFC6B4; --td-nhan: #D9BE86; }
html[data-che-do="ngay"] .tdm { --td-chu: #22352B; --td-phu: #46535E; --td-nhan: #7A5B22; }
.tdm .tdm-h { font-size: clamp(2rem, 8.8vw, 2.45rem) !important; font-weight: 400 !important; letter-spacing: -0.028em !important; line-height: 1.04 !important; color: var(--td-chu) !important; }
.tdm .tdm-hs, .tdm .tdm-dong { font-style: italic; color: var(--td-phu) !important; }
.tdm .bep-td-dau { text-align: center; padding: 6px 0 4px; }
.tdm .bep-td-dau h3 { font-family: var(--font-display) !important; font-weight: 400 !important; font-size: 1.7rem !important; letter-spacing: -0.015em; color: var(--td-chu) !important; margin: 0 0 2px !important; }
.tdm .bep-td-dem { font-family: var(--font-heading) !important; font-size: .8rem !important; letter-spacing: .14em; text-transform: uppercase; color: var(--td-nhan) !important; }
/* Bữa: mục thực đơn */
.tdm .bep-td-b { background: none !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; padding: 0 !important; margin: 26px 0 0 !important; }
.tdm .bep-td-b h4 {
  display: flex !important; align-items: center; justify-content: center; gap: 12px; margin: 0 0 10px !important;
  font-family: var(--font-display) !important; font-style: italic; font-weight: 400 !important; font-size: 1.55rem !important; color: var(--td-chu) !important;
}
.tdm .bep-td-b h4::before, .tdm .bep-td-b h4::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.tdm .bep-td-b h4 span { order: 0; font-family: var(--font-heading) !important; font-style: normal; font-size: .76rem !important; letter-spacing: .1em; text-transform: uppercase; color: var(--td-phu) !important; margin: 0 !important; }
.tdm .bep-td-b ul { margin: 0 !important; padding: 0 !important; }
.tdm .bep-td-b li { border-bottom: 1px dotted var(--border); }
.tdm .bep-td-mon {
  display: grid !important; grid-template-columns: 46px minmax(0, 1fr) auto; gap: 12px; align-items: center; width: 100%;
  padding: 12px 0 !important; background: none !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; text-align: left;
}
.tdm .bep-td-mon img { width: 46px !important; height: 46px !important; border-radius: 50% !important; object-fit: cover; background: rgba(232, 220, 190, .06); }
.tdm .bep-td-ten { display: block; font-family: var(--font-display) !important; font-weight: 400 !important; font-size: 1.14rem !important; line-height: 1.22 !important; color: var(--td-chu) !important; }
.tdm .bep-td-kp { display: block; font-family: var(--font-body) !important; font-style: italic; font-size: .96rem !important; color: var(--td-phu) !important; margin-top: 2px; }
.tdm .bep-td-game {
  background: none !important; border: 0 !important; border-radius: 0 !important; padding: 0 !important; box-shadow: none !important;
  font-family: var(--font-heading) !important; font-weight: 700 !important; font-size: .72rem !important; letter-spacing: .12em; text-transform: uppercase; color: var(--td-nhan) !important; white-space: nowrap;
}
.tdm .bep-td-game::after { content: " ›"; }
/* Đã ăn */
:root .tdm .bep-td-an {
  width: 100%; min-height: 48px; margin-top: 12px !important; border-radius: 12px !important; box-shadow: none !important;
  background: transparent !important; border: 1px solid var(--gd-o-ke) !important; color: var(--td-chu) !important;
  font-family: var(--font-heading) !important; font-weight: 700 !important; letter-spacing: .04em;
}
:root .tdm .bep-td-an[aria-pressed="true"] { border-color: transparent !important; }
html:not([data-che-do="ngay"]) .tdm .bep-td-an[aria-pressed="true"] { background: var(--gd-nhan) !important; color: var(--gd-nhan-chu) !important; }
html[data-che-do="ngay"] .tdm .bep-td-an[aria-pressed="true"] { background: #173B2F !important; color: #fff !important; }
:root:root .tdm .bep-td-an[aria-pressed="true"] { border: 0 !important; box-shadow: none !important; }
:root:root .tdm .bep-td-mon .bep-td-game { background: none !important; box-shadow: none !important; }

/* ══════════════════════════════════════════════════════════════════════════
   ĐỢT 3 · VÒNG 014: TRÒ CHƠI THÀNH "BÌA TẠP CHÍ"
   Giữ quyết định 15/10: thẻ game NỀN SÁNG. Mỗi trò là một bìa tạp chí giấy in đặt
   trên mặt bàn rừng: góc gần vuông (6px), bóng đổ của vật thật (chỉ ở Đêm — tờ giấy
   nằm trên bàn), số kỳ "SỐ 01/02/03" viết hoa, nhãn đợt viền mực, tựa Caslon 2rem,
   ảnh trò chơi bên phải, nút mực đặc rộng trọn. Refero Lauramonin/Cori Corinne
   (bìa tạp chí: tựa serif lớn, ảnh như tác phẩm) + Mode (nút đặc một màu).
   Bỏ 🎮 ở tiêu đề mục (album-pk.js). Logic game không đổi.
   ══════════════════════════════════════════════════════════════════════════ */
#troChoiHost { counter-reset: soky; display: grid; gap: 22px; }
#troChoiHost :is(.vq-the, .dv-the, .tcg-o) {
  counter-increment: soky; position: relative;
  background: #F4F1E8 !important; color: #16291F !important; border: 0 !important;
  border-radius: 6px !important; padding: 22px 20px 20px !important;
}
html:not([data-che-do="ngay"]) #troChoiHost :is(.vq-the, .dv-the, .tcg-o) { box-shadow: 0 22px 44px -18px rgba(0, 0, 0, .7), 0 2px 0 rgba(0, 0, 0, .25) !important; }
html[data-che-do="ngay"] #troChoiHost :is(.vq-the, .dv-the, .tcg-o) { background: #FFFFFF !important; box-shadow: none !important; border: 1px solid #DCD2BF !important; }
#troChoiHost :is(.vq-the, .dv-the) { grid-template-columns: minmax(0, 1fr) 96px !important; row-gap: 10px !important; align-items: start !important; }
#troChoiHost :is(.vq-the, .dv-the)::before, #troChoiHost .tcg-o::before {
  content: "Số " counter(soky, decimal-leading-zero); grid-column: 1 / -1; display: block;
  font-family: var(--font-heading); font-weight: 700; font-size: .74rem; letter-spacing: .18em; text-transform: uppercase;
  color: #7A5B22; padding-bottom: 10px; margin-bottom: 4px; border-bottom: 1px solid #16291F;
}
#troChoiHost :is(.vq-the, .dv-the) > img { grid-column: 2 !important; grid-row: 2 / span 2 !important; width: 96px !important; }
#troChoiHost :is(.vq-the-chu, .dv-the-chu) > :is(.vq-nhan-dot, .dv-nhan) {
  grid-column: 1 !important; grid-row: 2 !important; align-self: start !important;
  background: transparent !important; color: #16291F !important; border: 1px solid #16291F !important; border-radius: 4px !important;
  font-family: var(--font-heading) !important; font-weight: 700 !important; letter-spacing: .1em; text-transform: uppercase; padding: 3px 8px !important;
}
#troChoiHost :is(.vq-the-chu, .dv-the-chu) > h3 {
  grid-column: 1 !important; grid-row: 3 !important;
  font-family: var(--font-display) !important; font-weight: 400 !important; font-size: 2rem !important; line-height: 1.02 !important; letter-spacing: -0.025em !important; color: #16291F !important;
}
#troChoiHost :is(.vq-the-chu, .dv-the-chu) > :not(h3):not(.vq-nhan-dot):not(.dv-nhan) { grid-column: 1 / -1 !important; }
#troChoiHost :is(.vq-the, .dv-the, .tcg-o) p { color: #2C3B33 !important; font-size: 1.02rem !important; }
#troChoiHost :is(.vq-the, .dv-the, .tcg-o) p b { color: #16291F !important; }
#troChoiHost :is(.vq-nut-the, .dv-nut-the, .tcg-nut button:first-child) {
  background: #16291F !important; color: #F4F1E8 !important; border: 0 !important; border-radius: 12px !important; box-shadow: none !important;
  min-height: 52px; width: 100%; font-family: var(--font-heading) !important; font-weight: 700 !important; letter-spacing: .02em;
}
#troChoiHost .tcg-nut { display: grid !important; gap: 8px !important; }
#troChoiHost .tcg-nut button:last-child:not(:first-child) {
  background: transparent !important; color: #16291F !important; border: 1px solid #16291F !important; border-radius: 12px !important; box-shadow: none !important;
  min-height: 48px; width: 100%; font-family: var(--font-heading) !important; font-weight: 700 !important;
}
#troChoiHost .tcg-o > p:first-of-type b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 2rem; line-height: 1.02; letter-spacing: -0.025em; margin: 6px 0 4px; }
#troChoiHost .tcg-nut { justify-items: stretch !important; }
#troChoiHost .tcg-nut button { width: 100% !important; max-width: none !important; }

/* ══════════════════════════════════════════════════════════════════════════
   ĐỢT 3 · VÒNG 015: AI PHÂN TÍCH THÀNH "BÀN QUÉT"
   Khối "Chụp phiếu cho AI đọc" mở đầu bằng một BÀN QUÉT rộng trọn khối: khung ngắm
   4 góc lá non, một tờ phiếu mờ ở giữa (vẽ bằng CSS — vai trò: gợi động tác đặt
   phiếu vào khung), vạch quét chạy dọc (dừng khi giảm chuyển động). Tựa Caslon,
   nút chụp lá non rộng trọn. "Tự gõ số trên phiếu" thành mục lục 01–05 như Tiện ích.
   Refero Mode (Data Lab, khối đặc) + mục lục 19–86. Không đổi chữ, không đổi luồng.
   ══════════════════════════════════════════════════════════════════════════ */
#hieuphieu-section .hp-khoi { border-radius: 18px !important; box-shadow: none !important; }
html:not([data-che-do="ngay"]) #hieuphieu-section .hp-khoi[data-dcs-khoi] { background: var(--surface) !important; border-color: var(--border) !important; }
#hieuphieu-section .hp-khoi[data-dcs-khoi] { padding: 214px 20px 20px !important; }
#hieuphieu-section .hp-khoi[data-dcs-khoi]::before {
  left: 20px; right: 20px; top: 20px; width: auto; height: 176px; border-radius: 12px;
  --g: var(--gd-nhan); --phieu: rgba(232, 220, 190, .12); --dong: rgba(232, 220, 190, .4);
  background:
    linear-gradient(var(--g), var(--g)) top left / 26px 3px no-repeat,
    linear-gradient(var(--g), var(--g)) top left / 3px 26px no-repeat,
    linear-gradient(var(--g), var(--g)) top right / 26px 3px no-repeat,
    linear-gradient(var(--g), var(--g)) top right / 3px 26px no-repeat,
    linear-gradient(var(--g), var(--g)) bottom left / 26px 3px no-repeat,
    linear-gradient(var(--g), var(--g)) bottom left / 3px 26px no-repeat,
    linear-gradient(var(--g), var(--g)) bottom right / 26px 3px no-repeat,
    linear-gradient(var(--g), var(--g)) bottom right / 3px 26px no-repeat,
    repeating-linear-gradient(180deg, var(--dong) 0 2px, transparent 2px 13px) center 58% / 56px 64px no-repeat,
    linear-gradient(var(--dong), var(--dong)) center 30% / 38px 4px no-repeat,
    linear-gradient(var(--phieu), var(--phieu)) center / 84px 112px no-repeat,
    rgba(0, 0, 0, .14);
}
#hieuphieu-section .hp-khoi[data-dcs-khoi]::after {
  left: 34px; right: 34px; width: auto; top: 30px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gd-nhan), transparent) !important;
  box-shadow: 0 0 12px 1px rgba(217, 190, 134, .55) !important;
  animation: gd-quet-ban 2.8s ease-in-out infinite alternate !important;
}
@keyframes gd-quet-ban { from { transform: translateY(0); } to { transform: translateY(154px); } }
@media (prefers-reduced-motion: reduce) { #hieuphieu-section .hp-khoi[data-dcs-khoi]::after { animation: none !important; transform: translateY(78px); } }
html[data-che-do="ngay"] #hieuphieu-section .hp-khoi[data-dcs-khoi]::before { --g: #173B2F; --phieu: rgba(22, 41, 31, .06); --dong: rgba(22, 41, 31, .28); background-color: #F2EEE4; }
html[data-che-do="ngay"] #hieuphieu-section .hp-khoi[data-dcs-khoi]::after { background: linear-gradient(90deg, transparent, #173B2F, transparent) !important; box-shadow: 0 0 10px rgba(55, 129, 60, .35) !important; }
#hieuphieu-section .hp-khoi[data-dcs-khoi] h3 { padding-right: 0 !important; min-height: 0 !important; }
#hieuphieu-section .hp-khoi h3 { font-family: var(--font-display) !important; font-weight: 400 !important; font-size: 1.6rem !important; letter-spacing: -0.015em !important; line-height: 1.1 !important; }
/* Tự gõ số: mục lục */
#hieuphieu-section .hp-khoi:not([data-dcs-khoi]) { background: none !important; border: 0 !important; padding: 8px 0 0 !important; }
#hieuphieu-section .hp-ds { counter-reset: hp; background: none !important; border: 0 !important; border-top: 1px solid var(--border) !important; border-radius: 0 !important; }
#hieuphieu-section .hp-ds li { counter-increment: hp; }
#hieuphieu-section .hp-ds a {
  display: grid !important; grid-template-columns: 2.5em minmax(0, 1fr) auto; column-gap: 12px; align-items: baseline;
  padding: 14px 2px !important; background: none !important; border: 0 !important; border-bottom: 1px solid var(--border) !important; border-radius: 0 !important; box-shadow: none !important;
}
#hieuphieu-section .hp-ds a::before { content: counter(hp, decimal-leading-zero); grid-row: 1 / span 2; font-family: var(--font-display); font-size: 1.05rem; color: var(--gd-o-tieu); }
#hieuphieu-section .hp-ds a::after { content: "→" !important; position: static !important; transform: none !important; grid-column: 3; grid-row: 1; opacity: 1 !important; font-family: var(--font-heading); font-size: 1.15rem; color: var(--gd-o-tieu); }
#hieuphieu-section .hp-ds a b { grid-column: 2; font-family: var(--font-display) !important; font-weight: 400 !important; font-size: 1.22rem !important; line-height: 1.2; }
#hieuphieu-section .hp-ds a span { grid-column: 2 / span 2; font-style: italic; font-weight: 500 !important; font-size: .98rem !important; }
html:not([data-che-do="ngay"]) #hieuphieu-section .hp-ds a b { color: #F4EEE1 !important; }
html:not([data-che-do="ngay"]) #hieuphieu-section .hp-ds a span { color: #CFC6B4 !important; }
html:not([data-che-do="ngay"]) #hieuphieu-section .hp-ds a::before { color: #D9BE86; }
html[data-che-do="ngay"] #hieuphieu-section .hp-ds a b { color: #16291F !important; }
html[data-che-do="ngay"] #hieuphieu-section .hp-ds a span { color: #46535E !important; }
html[data-che-do="ngay"] #hieuphieu-section .hp-ds a::before { color: #7A5B22; }
#hieuphieu-section .hp-khoi:not([data-dcs-khoi]) h3 { font-family: var(--font-heading) !important; font-weight: 700 !important; font-size: .8rem !important; letter-spacing: .16em !important; text-transform: uppercase; margin-bottom: 10px; }
html:not([data-che-do="ngay"]) #hieuphieu-section .hp-khoi:not([data-dcs-khoi]) h3 { color: #D9BE86 !important; }
html[data-che-do="ngay"] #hieuphieu-section .hp-khoi:not([data-dcs-khoi]) h3 { color: #7A5B22 !important; }
/* Giữ nút chụp trong màn đầu: bàn quét thấp hơn, nút đứng ngay dưới tựa (trước đoạn mô tả) */
#hieuphieu-section .hp-khoi[data-dcs-khoi] { display: flex !important; flex-direction: column; padding-top: 162px !important; }
#hieuphieu-section .hp-khoi[data-dcs-khoi]::before { height: 126px; background-size: 26px 3px, 3px 26px, 26px 3px, 3px 26px, 26px 3px, 3px 26px, 26px 3px, 3px 26px, 46px 46px, 30px 4px, 64px 86px, auto; }
@keyframes gd-quet-ban { from { transform: translateY(0); } to { transform: translateY(104px); } }
#hieuphieu-section .hp-khoi[data-dcs-khoi] > h3 { order: 1; }
#hieuphieu-section .hp-khoi[data-dcs-khoi] > .hp-nut { order: 2; }
#hieuphieu-section .hp-khoi[data-dcs-khoi] > .hp-phu { order: 3; margin-top: -2px; }
#hieuphieu-section .hp-khoi[data-dcs-khoi] > p:not(.hp-phu) { order: 4; }
@media (prefers-reduced-motion: reduce) { #hieuphieu-section .hp-khoi[data-dcs-khoi]::after { transform: translateY(52px); } }

/* ══════════════════════════════════════════════════════════════════════════
   ĐỢT 3 · VÒNG 016: HAI TẤM TRƯỢT CHÍNH (Đăng ký/Đăng nhập · Hỏi Lolool) MỘT HỆ
   Tấm trượt là "tờ thư" đặt lên app: nền đặc (rừng sáng hơn / giấy), bo trên 22px,
   vạch kéo, tựa Caslon 1,7rem, nút đóng 44px nằm gọn trong tấm (bản cũ: nút × của
   tấm đăng ký lòi ra ngoài mép phải), tab Đăng ký/Đăng nhập thành thanh chữ gạch
   chân như Tiện ích/Cẩm nang, các ô cách nhau đều 12px. Hỏi Lolool: tựa Caslon;
   lối chọn nhanh thành mục lục 2 cột viền mảnh, bỏ emoji. Không đổi chữ/luồng.
   ══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 600px) {
  :root .ag-wrap > .ag-card, :root .dd-bang { border-radius: 22px 22px 0 0 !important; box-shadow: 0 -18px 50px rgba(0, 0, 0, .45) !important; }
}
html:not([data-che-do="ngay"]) :is(.ag-wrap > .ag-card, .dd-bang) { background: #0E2A23 !important; border: 1px solid rgba(232, 220, 190, .14) !important; }
html[data-che-do="ngay"] :is(.ag-wrap > .ag-card, .dd-bang) { background: #FBF8F1 !important; border: 1px solid #DCD2BF !important; }
/* Nút đóng gọn trong tấm */
:root .ag-card .ag-close, :root .dd-bang .dd-dong {
  position: absolute !important; top: 12px !important; right: 12px !important; left: auto !important;
  width: 44px !important; height: 44px !important; border-radius: 12px !important;
  background: transparent !important; border: 1px solid var(--gd-o-ke) !important; box-shadow: none !important;
  font-family: var(--font-heading) !important; font-size: 1.2rem !important; line-height: 1 !important; display: grid !important; place-items: center;
}
html:not([data-che-do="ngay"]) :is(.ag-card .ag-close, .dd-bang .dd-dong) { color: #F4EEE1 !important; }
html[data-che-do="ngay"] :is(.ag-card .ag-close, .dd-bang .dd-dong) { color: #16291F !important; }
/* Tựa */
:root .ag-card .ag-title, :root .dd-bang .dd-tieu-de {
  font-family: var(--font-display) !important; font-weight: 400 !important; font-size: 1.7rem !important;
  line-height: 1.12 !important; letter-spacing: -0.02em !important; padding-right: 52px;
}
html:not([data-che-do="ngay"]) :is(.ag-card .ag-title, .dd-bang .dd-tieu-de) { color: #F4EEE1 !important; }
html[data-che-do="ngay"] :is(.ag-card .ag-title, .dd-bang .dd-tieu-de) { color: #16291F !important; }
.ag-card .ag-brand { font-family: var(--font-heading) !important; letter-spacing: .16em !important; font-size: .78rem !important; text-transform: uppercase; }
/* Tab Đăng ký / Đăng nhập: thanh chữ gạch chân */
.ag-card .ag-tabs { background: none !important; border: 0 !important; border-bottom: 1px solid var(--border) !important; border-radius: 0 !important; padding: 0 !important; gap: 0 !important; margin: 14px 0 16px !important; }
:root .ag-card .ag-tabs .ag-tab { background: none !important; border: 0 !important; border-bottom: 3px solid transparent !important; border-radius: 0 !important; box-shadow: none !important; margin-bottom: -1px; min-height: 48px; font-size: 1rem !important; }
html:not([data-che-do="ngay"]) .ag-card .ag-tabs .ag-tab { color: #CFC6B4 !important; }
html:not([data-che-do="ngay"]) .ag-card .ag-tabs .ag-tab.on { color: #F4EEE1 !important; border-bottom-color: var(--gd-nhan) !important; }
html[data-che-do="ngay"] .ag-card .ag-tabs .ag-tab { color: #46535E !important; }
html[data-che-do="ngay"] .ag-card .ag-tabs .ag-tab.on { color: #16291F !important; border-bottom-color: #173B2F !important; }
.ag-card :is(input, select) { margin-bottom: 12px !important; }
/* Hỏi Lolool: lối chọn nhanh thành mục lục 2 cột */
.dd-bang .dd-chip-ic { display: none !important; }
.dd-bang .dd-chips-nhan { font-family: var(--font-heading) !important; }
:root .dd-bang .dd-chip {
  background: transparent !important; border: 0 !important; border-top: 1px solid var(--border) !important; border-radius: 0 !important; box-shadow: none !important;
  justify-content: space-between !important; text-align: left !important; padding: 12px 2px !important; min-height: 52px;
  font-family: var(--font-display) !important; font-weight: 400 !important; font-size: 1.04rem !important; line-height: 1.2 !important;
}
:root .dd-bang .dd-chip::after { content: "→"; font-family: var(--font-heading); margin-left: 8px; }
html:not([data-che-do="ngay"]) .dd-bang .dd-chip { color: #F4EEE1 !important; }
html:not([data-che-do="ngay"]) .dd-bang .dd-chip::after { color: var(--gd-nhan); }
html[data-che-do="ngay"] .dd-bang .dd-chip { color: #16291F !important; }
html[data-che-do="ngay"] .dd-bang .dd-chip::after { color: #7A5B22; }
.dd-bang .dd-chips { column-gap: 16px !important; row-gap: 0 !important; }
.dd-bang .dd-chips { grid-template-columns: 1fr !important; }
:root .dd-bang .dd-chip { min-height: 48px; padding: 10px 2px !important; }
:root .dd-bang .dd-tieu-de { font-size: 1.5rem !important; }
:root .dd-bang .dd-tieu-de { font-size: 1.36rem !important; padding-right: 40px; }
.dd-bang .dd-dau-chu { flex: 1 1 auto; min-width: 0; }
/* Tấm Hỏi phải còn là tấm (không phủ kín màn): lối chọn nhanh 2 cột, chữ 1rem, bỏ mũi tên */
.dd-bang .dd-chips { grid-template-columns: 1fr 1fr !important; }
:root .dd-bang .dd-chip { font-size: 1rem !important; min-height: 52px; }
:root .dd-bang .dd-chip::after { content: none !important; }

/* ══════════════════════════════════════════════════════════════════════════
   ĐỢT 3 · VÒNG 017: TRANG CHỦ PHẦN DƯỚI — "VIỆC CỦA MẸ TUẦN NÀY" KIỂU NIÊN LỊCH
   Khối Khuyến cáo cho mẹ: bỏ khung thẻ; số thứ tự Caslon 2rem đủ màu (bản cũ làm
   nhạt bằng opacity .45 — trái luật tương phản), tiêu đề việc Caslon, lối làm là
   dòng chữ có mũi tên (bản cũ: nút viền vàng 2 dòng); nút chính 'Xem thực đơn'
   giữ khối lá non. Ba khối cuối (hồ sơ dự sinh, Chơi một chút, tác giả) thành các
   dòng kẻ tóc cùng hệ mục lục. Refero Mode + 19–86. Không đổi chữ.
   ══════════════════════════════════════════════════════════════════════════ */
html:not([data-che-do="ngay"]) #home-section { --tc-chu: #F1EADB; --tc-phu: #CFC6B4; --tc-nhan: #D9BE86; --tc-lk: var(--gd-nhan); }
html[data-che-do="ngay"] #home-section { --tc-chu: #22352B; --tc-phu: #46535E; --tc-nhan: #7A5B22; --tc-lk: #7A5B22; }
#lolo-khuyen-cao .tdcm-kc { background: none !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; padding: 0 !important; }
#lolo-khuyen-cao .tdcm-kc h2 { font-size: clamp(1.9rem, 8.4vw, 2.3rem) !important; font-weight: 400 !important; letter-spacing: -0.025em !important; color: var(--tc-chu) !important; padding-bottom: 12px; border-bottom: 2px solid var(--tc-chu); margin-bottom: 0 !important; }
#lolo-khuyen-cao .tdcm-dong {
  display: grid !important; grid-template-columns: 2.6rem minmax(0, 1fr); column-gap: 12px;
  padding: 18px 0 !important; border: 0 !important; border-bottom: 1px solid var(--border) !important; background: none !important; margin: 0 !important;
}
#lolo-khuyen-cao .tdcm-dong > * { grid-column: 2; }
#lolo-khuyen-cao .tdcm-dong-h { display: contents !important; }
#lolo-khuyen-cao .tdcm-dong-h::before {
  grid-column: 1 !important; grid-row: 1 / span 4; align-self: start;
  font-family: var(--font-display) !important; font-weight: 400 !important; font-size: 2rem !important; line-height: .95; letter-spacing: -0.03em;
  opacity: 1 !important; color: var(--tc-nhan) !important; min-width: 0 !important; margin: 0 !important;
}
#lolo-khuyen-cao .tdcm-dong-h { font-family: var(--font-display) !important; font-weight: 400 !important; font-size: 1.3rem !important; color: var(--tc-chu) !important; }
#lolo-khuyen-cao .tdcm-dong > p:not(.tdcm-dong-h) { color: var(--tc-phu) !important; font-size: 1rem !important; margin: 4px 0 0 !important; }
#lolo-khuyen-cao .tdcm-dong > p b { color: var(--tc-chu) !important; }
/* Lối làm phụ: dòng chữ có mũi tên (vẫn cao ≥ 44px) */
:root #lolo-khuyen-cao .tdcm-nut:not(.tdcm-nut-chinh) {
  justify-self: start; width: auto !important; min-height: 44px; margin-top: 6px !important; padding: 10px 0 !important;
  background: none !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; text-align: left;
  font-family: var(--font-heading) !important; font-weight: 700 !important; font-size: 1rem !important; letter-spacing: .01em; color: var(--tc-lk) !important;
}
:root #lolo-khuyen-cao .tdcm-nut:not(.tdcm-nut-chinh)::after { content: " →"; }
:root #lolo-khuyen-cao .tdcm-nut-chinh { justify-self: stretch; margin-top: 12px !important; }
#lolo-khuyen-cao :is(.tdcm-td, .tdcm-mien) { font-style: italic; color: var(--tc-phu) !important; }
/* Ba khối cuối trang chủ */
#home-section .ld-summary { background: none !important; border: 0 !important; border-top: 1px solid var(--border) !important; border-bottom: 1px solid var(--border) !important; border-radius: 0 !important; box-shadow: none !important; padding: 14px 0 !important; display: flex !important; align-items: center; justify-content: space-between; gap: 12px; }
#home-section .ld-sum-meta { font-family: var(--font-display) !important; font-size: 1.12rem !important; color: var(--tc-chu) !important; }
:root #home-section .ld-edit { width: auto !important; flex: none; background: none !important; border: 1px solid var(--gd-o-ke) !important; border-radius: 12px !important; box-shadow: none !important; min-height: 44px; padding: 8px 14px !important; color: var(--tc-chu) !important; font-family: var(--font-heading) !important; font-weight: 700 !important; }
#home-section .choi-chut { background: none !important; border: 0 !important; border-bottom: 1px solid var(--border) !important; border-radius: 0 !important; box-shadow: none !important; padding: 14px 0 !important; }
#home-section .choi-chut img { border-radius: 50%; }
#home-section .choi-chut-chu b { font-family: var(--font-display) !important; font-weight: 400 !important; font-size: 1.3rem !important; color: var(--tc-chu) !important; }
#home-section .choi-chut-chu span { font-style: italic; color: var(--tc-phu) !important; }
#home-section .choi-chut-mui { color: var(--tc-lk) !important; opacity: 1 !important; }
#tacGia.au-gon { background: none !important; border: 0 !important; border-bottom: 1px solid var(--border) !important; border-radius: 0 !important; box-shadow: none !important; padding: 14px 0 !important; }
html #tacGia .au-avatar { box-shadow: 0 0 0 2px var(--tc-lk) !important; }
#tacGia .au-eyebrow { font-family: var(--font-heading) !important; letter-spacing: .14em !important; text-transform: uppercase; color: var(--tc-nhan) !important; }
#tacGia.au-gon h2 { font-family: var(--font-display) !important; font-weight: 400 !important; font-size: 1.3rem !important; color: var(--tc-chu) !important; }

/* ══════════════════════════════════════════════════════════════════════════
   ĐỢT 3 · VÒNG 018: CHỈ SỐ CON — THANH TAB GẠCH CHÂN + CÔNG CỤ PHẲNG (bỏ thẻ lồng thẻ)
   Giữ 4 tab MỘT HÀNG NGANG (21/10). Tab thành thanh chữ gạch chân 3px như Tiện ích /
   Cẩm nang / tấm đăng ký — không còn hộp. Mỗi công cụ (Cân nặng, Số đo, Tim gan…)
   bỏ thẻ ngoài (mặt trang là mặt giấy), chia phần bằng kẻ tóc; khối nhập con
   (Tuổi thai / Ngày siêu âm) thành ô viền mảnh. Tựa công cụ Caslon. Nút Xoá hạ cấp
   thành dòng chữ. Lối tắt cuối trang thành mục lục. Refero Mode + Luffu.
   ══════════════════════════════════════════════════════════════════════════ */
#csTabs.cs-tabs {
  background: none !important; border: 0 !important; border-bottom: 1px solid var(--border) !important; border-radius: 0 !important;
  padding: 0 !important; gap: 0 !important; box-shadow: none !important; margin-bottom: 20px !important;
}
:root #csTabs .cs-tab {
  background: none !important; border: 0 !important; border-bottom: 3px solid transparent !important; border-radius: 0 !important; box-shadow: none !important;
  margin-bottom: -1px; min-height: 52px; padding: 8px 2px 9px !important; font-size: .9rem !important; line-height: 1.15 !important;
}
html:not([data-che-do="ngay"]) #csTabs .cs-tab { color: #CFC6B4 !important; }
html:not([data-che-do="ngay"]) #csTabs .cs-tab.on { color: #F4EEE1 !important; border-bottom-color: var(--gd-nhan) !important; }
html[data-che-do="ngay"] #csTabs .cs-tab { color: #46535E !important; }
html[data-che-do="ngay"] #csTabs .cs-tab.on { color: #16291F !important; border-bottom-color: #173B2F !important; }
/* Công cụ phẳng */
#efw-section :is(.efw-tool.card, .bio-card.card) {
  background: none !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; padding: 0 !important;
}
#efw-section .bio-card + .bio-card, #efw-section #timGanSuite { margin-top: 28px; padding-top: 22px !important; border-top: 2px solid var(--border) !important; }
#efw-section .bio-head h3, #efw-section .bio-head h2 { font-family: var(--font-display) !important; font-weight: 400 !important; font-size: 1.6rem !important; letter-spacing: -0.015em !important; line-height: 1.12 !important; }
#efw-section .bio-head p { font-style: italic; }
#efw-section :is(.bio-2cot, .bio-cot-phai) > :is(div, section, fieldset):first-child { border-radius: 14px !important; box-shadow: none !important; }
html:not([data-che-do="ngay"]) #efw-section :is(.bio-2cot, .bio-cot-phai) > :is(div, section, fieldset):first-child { background: rgba(232, 220, 190, .04) !important; border: 1px solid var(--border) !important; }
:root #efw-section .bio-xoa { background: none !important; border: 0 !important; box-shadow: none !important; min-height: 44px; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; font-family: var(--font-heading) !important; }
html:not([data-che-do="ngay"]) #efw-section .bio-xoa { color: #D9BE86 !important; }
html[data-che-do="ngay"] #efw-section .bio-xoa { color: #7A5B22 !important; }
/* Nhãn PRO trong đầu công cụ: viền mảnh */
#efw-section .bio-head :is(.pro-tag, .bio-pro, [class*="pro"]):not(button) { background: transparent !important; border: 1px solid currentColor !important; border-radius: 4px !important; font-family: var(--font-heading) !important; letter-spacing: .12em; }
/* Lối tắt cuối mục */
#efw-section .lolo-loi-tat { border-top: 1px solid var(--border); margin-top: 26px; padding-top: 6px; }
#efw-section .lolo-loi-tat a { display: flex !important; justify-content: space-between; align-items: center; min-height: 52px; border-bottom: 1px solid var(--border); background: none !important; border-radius: 0 !important; font-family: var(--font-display) !important; font-size: 1.12rem !important; }
#efw-section .lolo-loi-tat a::after { content: "→"; font-family: var(--font-heading); color: var(--gd-o-tieu); }
html:not([data-che-do="ngay"]) #efw-section .bio-head :is(.pro-tag, .bio-pro, [class*="pro"]):not(button) { color: var(--gd-nhan) !important; }
html[data-che-do="ngay"] #efw-section .bio-head :is(.pro-tag, .bio-pro, [class*="pro"]):not(button) { color: #A23A0A !important; border-color: #C9733F !important; }

/* ══════════════════════════════════════════════════════════════════════════
   ĐỢT 3 · VÒNG 019: MÀN RỘNG ≥ 1024px — "TRANG ĐÔI TẠP CHÍ"
   Máy tính / iPad ngang: bìa tuần thành trang đôi (con số tuần cỡ 15rem bên trái,
   'còn N ngày' + dự sinh bên phải, thước 40 tuần trải hết bề ngang, thẳng lề với
   nội dung); mục lục Tiện ích, danh sách quý + bài Cẩm nang, mục lục AI phân tích
   chia 2 cột như trang mục lục tạp chí; trang bài Cẩm nang thành cột đọc 40em giữa
   trang, ảnh rộng. Điện thoại không đổi. Refero Mode/Metalab (chữ cỡ tượng đài,
   bố cục bất đối xứng, nhiều khoảng thở).
   ══════════════════════════════════════════════════════════════════════════ */
@media (min-width: 1024px) {
  html.lolo-co-ho-so .kb-hero-cell .hero-anat { padding: 56px 66px 44px !important; min-height: 0 !important; align-items: stretch !important; }
  html.lolo-co-ho-so .hero-anat .ha-content { max-width: none !important; width: 100%; flex: 1 1 100% !important; }
  html.lolo-co-ho-so .ha-bia { display: grid !important; grid-template-columns: auto minmax(0, 1fr); column-gap: 56px; align-items: end; }
  .ha-bia-nhan { grid-column: 1 / -1; font-size: .82rem; }
  .ha-bia-dong { grid-column: 1; }
  .ha-bia-so { font-size: clamp(11rem, 15vw, 15.5rem); }
  .ha-bia-don b { font-size: 2.2rem; }
  .ha-bia-don span { font-size: 1.3rem; }
  .ha-bia-con { grid-column: 2; grid-row: 2; flex-direction: column; align-items: flex-start; gap: 10px; margin: 0 0 2.2rem; font-size: 1.35rem; }
  .ha-bia-khoi { font-size: 2.4rem; }
  .ha-bia-thuoc { grid-column: 1 / -1; height: 40px; margin-top: 30px; }
  .ha-bia-thuoc i { height: 18px; }
  .ha-bia-thuoc i.nay { height: 40px; }
  .ha-bia-quy { grid-column: 1 / -1; font-size: .8rem; }
  html.lolo-co-ho-so .hero-anat .ha-title { font-size: 1.6rem !important; }
  /* Mục lục 2 cột */
  .tienich-hub { max-width: 1040px !important; }
  .tienich-hub :is(.hub-grid-1, .hub-grid, .hub-grid-3) { columns: 2; column-gap: 56px; border-top: 0 !important; }
  .tienich-hub .hub-tile { break-inside: avoid; border-top: 0 !important; }
  .tienich-hub .hub-tang-h { border-bottom: 1px solid var(--border); padding-bottom: 8px; }
  #camnangTool .cn-home, #camnangTool .cn-grid { columns: 2; column-gap: 48px; }
  #camnangTool :is(.cn-home-card, .cn-card) { break-inside: avoid; }
  #camnangTool .cn-detail { max-width: 42em; margin: 0 auto !important; }
  #camnangTool .cn-detail-art { width: 100% !important; margin: 8px 0 0 !important; aspect-ratio: 16 / 9; border-radius: 4px !important; }
  #camnangTool .cn-detail-title { font-size: clamp(2.4rem, 3.4vw, 3.2rem) !important; }
  #camnangTool .cn-deep p { font-size: 1.18rem !important; }
  #hieuphieu-section .hp-ds { columns: 2; column-gap: 48px; border-top: 0 !important; }
  #hieuphieu-section .hp-ds li { break-inside: avoid; }
  /* Lịch: cột ngày rộng hơn */
  #lckt .lk-ms { grid-template-columns: 96px minmax(0, 1fr); }
  #lckt .lk-ms .ms-dt b { font-size: 3.2rem; }
}
@media (min-width: 1024px) {
  .app-section > .section-head { max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; text-align: left !important; }
  .app-section > .section-head :is(h1, h2) { font-size: clamp(2.6rem, 4vw, 3.4rem) !important; }
}
html.lolo-co-ho-so .hero-anat .ha-slogan { margin-top: 6px !important; line-height: 1.4 !important; }
/* Nhãn PRO trong Cẩm nang: viền mảnh như mọi nhãn PRO khác */
#camnangTool :is(.cn-pro, .cn-tier, [class*="cn-pro"]) { background: transparent !important; border: 1px solid currentColor !important; border-radius: 4px !important; font-family: var(--font-heading) !important; letter-spacing: .12em; text-shadow: none !important; }
html:not([data-che-do="ngay"]) #camnangTool :is(.cn-pro, .cn-tier, [class*="cn-pro"]) { color: var(--gd-nhan) !important; }
html[data-che-do="ngay"] #camnangTool :is(.cn-pro, .cn-tier, [class*="cn-pro"]) { color: #A23A0A !important; }
/* Nhãn PRO (.pro-tag, dùng ở Cẩm nang và nhiều màn): viền mảnh, chữ viết hoa giãn */
.pro-tag { background: transparent !important; border: 1px solid currentColor !important; border-radius: 4px !important; font-family: var(--font-heading) !important; font-weight: 700 !important; letter-spacing: .12em !important; text-shadow: none !important; box-shadow: none !important; }
html:not([data-che-do="ngay"]) .pro-tag { color: var(--gd-nhan) !important; }
html[data-che-do="ngay"] .pro-tag { color: #A23A0A !important; }
html.lolo-co-ho-so .hero-anat .ha-title { margin-bottom: 8px !important; line-height: 1.25 !important; }
html.lolo-co-ho-so .hero-anat .ha-slogan { display: block; position: static !important; transform: none !important; }

/* ══════════════════════════════════════════════════════════════════════════
   ĐỢT 3 · VÒNG 020 (MỐC): MẸO THÀNH "CHUYÊN MỤC NGẮN" CỦA TẠP CHÍ
   11 nhóm mẹo: thành bảng chỉ mục 2 cột kẻ tóc (ảnh tròn 34px + tên), nhóm đang
   xem có gạch lá non; đầu nhóm thành tựa Caslon + câu dẫn nghiêng; mỗi mẹo là một
   mục bài ngắn (bỏ thẻ + emoji biểu tượng): tựa Caslon 1,3rem, thân Garamond, 'Đọc
   tiếp' là dòng chữ. Refero Medium (bài ngắn serif) + mục lục 19–86. Không đổi chữ.
   ══════════════════════════════════════════════════════════════════════════ */
html:not([data-che-do="ngay"]) #tips-section { --tp-chu: #F1EADB; --tp-phu: #CFC6B4; --tp-nhan: #D9BE86; --tp-lk: var(--gd-nhan); }
html[data-che-do="ngay"] #tips-section { --tp-chu: #22352B; --tp-phu: #46535E; --tp-nhan: #7A5B22; --tp-lk: #7A5B22; }
#tips-section .tips-tabs { gap: 0 16px !important; background: none !important; border: 0 !important; border-top: 1px solid var(--border) !important; padding: 0 !important; border-radius: 0 !important; }
:root #tips-section .tips-tab {
  background: none !important; border: 0 !important; border-bottom: 1px solid var(--border) !important; border-radius: 0 !important; box-shadow: none !important;
  min-height: 52px; padding: 8px 2px !important; justify-content: flex-start !important; gap: 10px !important; position: relative;
}
:root #tips-section .tips-tab.on { border-bottom: 3px solid var(--tp-lk) !important; }
#tips-section .tips-tab .tips-tab-anh { width: 34px !important; height: 34px !important; border-radius: 50% !important; object-fit: cover; }
#tips-section .tips-tab .tips-tab-ic { display: none !important; }
#tips-section .tips-tab .tips-tab-ten { font-family: var(--font-heading) !important; font-size: .98rem !important; text-align: left; color: var(--tp-phu) !important; }
#tips-section .tips-tab.on .tips-tab-ten { color: var(--tp-chu) !important; font-weight: 700 !important; }
#tips-section .tips-pane-dau { background: none !important; border: 0 !important; border-bottom: 2px solid var(--tp-chu) !important; border-radius: 0 !important; padding: 26px 0 12px !important; box-shadow: none !important; }
#tips-section .tips-pane-dau :is(h3, h2, b, strong):first-of-type { font-family: var(--font-display) !important; font-weight: 400 !important; font-size: 1.9rem !important; line-height: 1.08 !important; letter-spacing: -0.02em; color: var(--tp-chu) !important; }
#tips-section .tips-pane-dau p { font-style: italic; color: var(--tp-phu) !important; }
#tips-section .tips-pane-dau img { border-radius: 6px !important; }
#tips-section .tip-card { background: none !important; border: 0 !important; border-bottom: 1px solid var(--border) !important; border-radius: 0 !important; box-shadow: none !important; padding: 18px 0 !important; margin: 0 !important; }
#tips-section .tip-card .tip-icon { display: none !important; }
#tips-section .tip-card .tip-header h3 { font-family: var(--font-display) !important; font-weight: 400 !important; font-size: 1.3rem !important; letter-spacing: -0.01em !important; line-height: 1.2 !important; color: var(--tp-chu) !important; }
#tips-section .tip-card .tip-content { font-size: 1.04rem !important; line-height: 1.55 !important; color: var(--tp-chu) !important; }
#tips-section .tip-card .tip-doc { background: none !important; border: 0 !important; padding: 10px 0 !important; min-height: 44px; font-family: var(--font-heading) !important; font-weight: 700 !important; letter-spacing: .06em; text-transform: uppercase; font-size: .82rem !important; color: var(--tp-lk) !important; }
#tips-section .tip-card .tip-doc::after { content: " ▾"; }

/* ══════════════════════════════════════════════════════════════════════════
   ĐỢT 3 · VÒNG 021: HỆ MÀU "CHALET" — RỪNG ẤM + VÀNG SÂM-PANH + VẢI LANH
   Lệnh anh Tú 31/10: "nhìn như app 7 sao, 8 sao… không giống AI, ảnh thật".
   Hướng A (Refero BelArosa Chalet — khách sạn núi): nền rừng sâu ấm, chữ màu
   vải lanh, MỘT màu nhấn vàng sâm-panh cho nút chính + điểm nhấn nhỏ (thay lá
   non #C8F169 — đọc ra chất fintech). Ngày: nền vải lanh, nút chính xanh rừng
   #173B2F chữ lanh, nhấn đồng thau #7A5B22. Toàn bộ khối 001–020 đã đổi màu
   tại chỗ (thay lá non, giấy lạnh, #37813C). Phá quyết định: nút Ngày #37813C
   (15/10) → #173B2F (chữ trắng 12,6:1, vẫn vượt ngưỡng tương phản).
   ══════════════════════════════════════════════════════════════════════════ */
html:not([data-che-do="ngay"]) {
  --primary-dark: #D9BE86;
  --primary-light: rgba(217, 190, 134, .14);
  --text-primary: #F1EADB;
  --text-secondary: #D3CABA;
  --text-light: #BDB4A3;
  --ink: #F1EADB;
  --gd-vang: #D9BE86;
  --gd-ke-vang: rgba(217, 190, 134, .34);
}
html[data-che-do="ngay"] {
  --primary: #173B2F;
  --primary-hover: #0F2B21;
  --primary-dark: #173B2F;
  --primary-light: #E9E1CF;
  --text-primary: #1A2A23;
  --gd-vang: #7A5B22;
  --gd-ke-vang: rgba(122, 91, 34, .38);
}
html:not([data-che-do="ngay"]) body { color: var(--text-primary); }
/* Nút chính Đêm: vàng sâm-panh đặc, chữ rừng; Ngày: rừng đặc, chữ lanh */
html[data-che-do="ngay"] { --gd-cta-ngay-chu: #F6F1E6; }

/* Thực đơn: ẢNH MÓN CHỤP THẬT (img/that/mon/, sổ nguồn img/that/NGUON.json).
   Món là nhân vật chính: ảnh 92px bo 14px, tỉ lệ 1:1, viền tóc vàng nhạt;
   món chưa có ảnh thật giữ ảnh cũ trong khung cùng cỡ. Game giữ ảnh img/bep. */
.tdm .bep-td-mon { grid-template-columns: 92px minmax(0, 1fr) auto !important; gap: 16px !important; padding: 14px 0 !important; }
.tdm .bep-td-mon img {
  width: 92px !important; height: 92px !important; border-radius: 14px !important; object-fit: cover;
  background: #0E2A23; box-shadow: inset 0 0 0 1px rgba(232, 220, 190, .14);
}
html[data-che-do="ngay"] .tdm .bep-td-mon img { background: #EAE4D6; }
.tdm .bep-td-mon img[src*="img/that/"] { box-shadow: 0 1px 0 rgba(0, 0, 0, .25), 0 10px 24px -14px rgba(0, 0, 0, .7); }
html[data-che-do="ngay"] .tdm .bep-td-mon img[src*="img/that/"] { box-shadow: 0 10px 22px -14px rgba(40, 30, 10, .45); }
.tdm .bep-td-mon img:not([src*="img/that/"]) { object-fit: contain; padding: 10px; }
.tdm .bep-td-b li { border-bottom: 1px solid var(--border-light) !important; }
.tdm .bep-td-ten { font-size: 1.2rem !important; }
/* Hàng món: ảnh bên trái chiếm 2 dòng; tên + khẩu phần; "Nấu thử" xuống dưới tên (tên không còn vỡ 4 dòng) */
.tdm .bep-td-mon { grid-template-columns: 92px minmax(0, 1fr) !important; grid-template-rows: auto auto; align-items: center !important; row-gap: 6px !important; }
.tdm .bep-td-mon img { grid-row: 1 / span 2; }
.tdm .bep-td-mon .bep-td-chu { grid-column: 2; align-self: end; }
.tdm .bep-td-mon :is(.bep-td-game, .bep-td-pro) { grid-column: 2; justify-self: start; align-self: start; }
/* Tên bữa: Caslon nghiêng bên trái, năng lượng chữ nhỏ viết hoa bên phải, một đường kẻ dưới */
.tdm .bep-td-b h4 { justify-content: space-between !important; align-items: baseline !important; border-bottom: 1px solid var(--gd-ke-vang); padding-bottom: 8px; margin-bottom: 4px !important; font-size: 1.7rem !important; }
.tdm .bep-td-b h4::before, .tdm .bep-td-b h4::after { display: none !important; }
.tdm .bep-td-b h4 span { color: var(--gd-vang) !important; white-space: nowrap; }

/* ══════════════════════════════════════════════════════════════════════════
   ĐỢT 3 · VÒNG 022: ẢNH THẬT LÊN TRANG CHỦ + ĐẦU CẨM NANG
   "Ảnh phải là ảnh thật" (31/10). Phá quyết định: (a) ảnh "mẹ bầu bụng phát
   sáng" (tài sản nhận diện, ảnh dựng AI) → ảnh mẹ bầu chụp thật (Magnific);
   (b) bìa tuần mẹ có hồ sơ "không có ảnh" (05/09) → một dải ảnh thật phía trên,
   con số tuần thai đè lên phần ảnh mờ dần vào nền rừng (kiểu trang bìa khách
   sạn). Ảnh nằm DƯỚI chữ, không thêm nút (13/10 giữ nguyên).
   Ghi nguồn "Ảnh: Magnific" (giấy phép Free) ở góc ảnh.
   ══════════════════════════════════════════════════════════════════════════ */
/* Vòng 071: gỡ phần trang chủ của vòng 022 — anh Tú 31/10: ảnh thật chỉ ở Thực đơn và Cẩm nang; trang chủ và các màn khác dùng lại ảnh hoạt hình cũ. */
/* Cẩm nang: đầu chương có ảnh thật tràn ngang, tựa Caslon đè lên phần ảnh mờ dần */
@media (max-width: 1023px) {
  #camnang-section > .section-head { position: relative; padding-top: 188px !important; isolation: isolate; }
  #camnang-section > .section-head::before {
    content: ""; position: absolute; z-index: -1; top: -18px; left: calc(50% - 50vw); width: 100vw; height: 262px;
    background: url("../img/that/doi-song/me-bau-sofa-640.webp") 60% 8% / cover no-repeat;
    -webkit-mask-image: linear-gradient(180deg, #000 0, #000 46%, rgba(0, 0, 0, .5) 70%, transparent 98%);
            mask-image: linear-gradient(180deg, #000 0, #000 46%, rgba(0, 0, 0, .5) 70%, transparent 98%);
  }
  #camnang-section > .section-head::after {
    content: "Ảnh: Magnific"; position: absolute; top: -6px; right: 0; z-index: 1;
    font: 600 .7rem/1 var(--font-heading); letter-spacing: .08em; color: #F4EEE1;
    background: rgba(6, 28, 23, .55); padding: 5px 8px; border-radius: 999px;
  }
  #camnang-section > .section-head :is(.lolo-back, .back-btn, a:first-child) { position: absolute; top: 0; left: 0; }
  html:not([data-che-do="ngay"]) #camnang-section > .section-head :is(h1, h2) { text-shadow: 0 2px 18px rgba(6, 28, 23, .8); }
}

/* ══════════════════════════════════════════════════════════════════════════
   ĐỢT 3 · VÒNG 023: HỆ KHUNG ẢNH + THỰC ĐƠN "MÓN CHÍNH LÀ ẢNH LỚN"
   Một quy tắc ảnh cho toàn app: bo 18px (ảnh lớn) / 14px (ảnh nhỏ), viền tóc
   ấm 1px chìm vào trong, bóng đổ rất sâu nhưng mờ (như ảnh in đặt trên bàn gỗ),
   ảnh hiện dần khi tải xong. Thực đơn: đầu màn là ảnh bìa (bát cơm trên tay mẹ);
   món ĐẦU mỗi bữa thành ảnh lớn 16:10 (món chính của bữa), các món sau giữ hàng
   ảnh 92px. Theo Refero Savor/Limón: món ăn dẫn dắt, chữ lùi lại.
   ══════════════════════════════════════════════════════════════════════════ */
:root { --gd-anh-bo: 18px; --gd-anh-bo-nho: 14px; --gd-anh-bong: 0 18px 40px -26px rgba(0, 0, 0, .75); }
html[data-che-do="ngay"] { --gd-anh-bong: 0 18px 36px -26px rgba(60, 40, 10, .55); }
@keyframes gdAnhHien { from { opacity: 0; transform: scale(1.015); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .tdm .bep-td-mon img[src*="img/that/"] { animation: gdAnhHien .5s ease both; }
}

/* Ảnh bìa Thực đơn: tràn ngang, tựa "Thực đơn của mẹ" đè lên phần mờ */
@media (max-width: 1023px) {
  #bep-section .tdm { position: relative; isolation: isolate; padding-top: 196px; }
  #bep-section .tdm::before {
    content: ""; position: absolute; z-index: -1; top: -12px; left: calc(50% - 50vw); width: 100vw; height: 270px;
    background: url("../img/that/mon/com-trang-640.webp") 50% 46% / cover no-repeat;
    -webkit-mask-image: linear-gradient(180deg, #000 0, #000 44%, rgba(0, 0, 0, .5) 70%, transparent 98%);
            mask-image: linear-gradient(180deg, #000 0, #000 44%, rgba(0, 0, 0, .5) 70%, transparent 98%);
  }
  #bep-section .tdm::after {
    content: "Ảnh: Magnific"; position: absolute; top: 0; right: 0; z-index: 1;
    font: 600 .7rem/1 var(--font-heading); letter-spacing: .08em; color: #F4EEE1;
    background: rgba(6, 28, 23, .55); padding: 5px 8px; border-radius: 999px;
  }
  html:not([data-che-do="ngay"]) #bep-section .tdm .tdm-h { text-shadow: 0 2px 18px rgba(6, 28, 23, .85); }
  html[data-che-do="ngay"] #bep-section .tdm .tdm-h { text-shadow: 0 2px 18px rgba(242, 238, 228, .9); }
}

/* Món đầu mỗi bữa: ảnh lớn 16:10, tên Caslon to bên dưới */
:is(.tdm .bep-td-b li:first-child:not(:has([data-td-mon^="com-"])), .tdm .bep-td-b li:first-child:has([data-td-mon^="com-"]) + li) .bep-td-mon { grid-template-columns: minmax(0, 1fr) !important; grid-template-rows: auto auto auto; row-gap: 10px !important; padding: 14px 0 18px !important; }
:is(.tdm .bep-td-b li:first-child:not(:has([data-td-mon^="com-"])), .tdm .bep-td-b li:first-child:has([data-td-mon^="com-"]) + li) .bep-td-mon img {
  grid-row: auto; width: 100% !important; height: auto !important; aspect-ratio: 16 / 10;
  border-radius: var(--gd-anh-bo) !important; box-shadow: var(--gd-anh-bong) !important;
}
:is(.tdm .bep-td-b li:first-child:not(:has([data-td-mon^="com-"])), .tdm .bep-td-b li:first-child:has([data-td-mon^="com-"]) + li) .bep-td-mon img:not([src*="img/that/"]) { object-fit: contain; padding: 18%; }
:is(.tdm .bep-td-b li:first-child:not(:has([data-td-mon^="com-"])), .tdm .bep-td-b li:first-child:has([data-td-mon^="com-"]) + li) .bep-td-mon .bep-td-chu { grid-column: 1; align-self: start; }
:is(.tdm .bep-td-b li:first-child:not(:has([data-td-mon^="com-"])), .tdm .bep-td-b li:first-child:has([data-td-mon^="com-"]) + li) .bep-td-mon :is(.bep-td-game, .bep-td-pro) { grid-column: 1; }
:is(.tdm .bep-td-b li:first-child:not(:has([data-td-mon^="com-"])), .tdm .bep-td-b li:first-child:has([data-td-mon^="com-"]) + li) .bep-td-ten { font-size: 1.55rem !important; letter-spacing: -0.012em; }
.tdm .bep-td-mon img { border-radius: var(--gd-anh-bo-nho) !important; }

/* ══════════════════════════════════════════════════════════════════════════
   ĐỢT 3 · VÒNG 024: HEADER · THANH ĐÁY · MỤC LỤC THEO "CHALET"
   Refero BelArosa: đầu trang mảnh như sảnh khách sạn (logo trên tấm vải lanh
   nhỏ, kẻ tóc vàng dưới), menu là MỘT TẤM TOÀN MÀN (không phải hộp thả xuống) —
   tên mục Caslon lớn, số thứ tự vàng, như bảng chỉ dẫn trong sảnh. Thanh đáy:
   bề mặt rừng đặc, mục đang mở là vạch vàng phía trên + chữ vàng (bỏ viên thuốc
   tô nền quanh biểu tượng), nét biểu tượng mảnh 1,6.
   ══════════════════════════════════════════════════════════════════════════ */
html:not([data-che-do="ngay"]) .app-header { background: #061C17 !important; border-bottom: 1px solid rgba(217, 190, 134, .22) !important; }
html[data-che-do="ngay"] .app-header { background: #F2EEE4 !important; border-bottom: 1px solid rgba(122, 91, 34, .28) !important; }
html:not([data-che-do="ngay"]) .logo { background: #F1EADB !important; border-radius: 8px !important; box-shadow: none !important; }
html:not([data-che-do="ngay"]) .nut-hoi { background: transparent !important; border: 1px solid rgba(217, 190, 134, .42) !important; box-shadow: none !important; }
html:not([data-che-do="ngay"]) .nut-hoi span { color: #D9BE86 !important; }
html[data-che-do="ngay"] .nut-hoi { background: transparent !important; border: 1px solid rgba(122, 91, 34, .38) !important; box-shadow: none !important; }

@media (max-width: 768px) {
  /* Thanh đáy */
  .thanh-day { border-radius: 18px !important; }
  html:not([data-che-do="ngay"]) .thanh-day { background: #0A231D !important; border: 1px solid rgba(217, 190, 134, .2) !important; box-shadow: 0 14px 34px rgba(0, 0, 0, .5) !important; }
  html[data-che-do="ngay"] .thanh-day { background: #FBF8F1 !important; border: 1px solid #DCD2BF !important; box-shadow: 0 12px 28px rgba(60, 44, 14, .14) !important; }
  .thanh-day a { position: relative; }
  .thanh-day .thanh-ic svg { stroke-width: 1.6; }
  :root:root .thanh-day a[aria-current="page"] .thanh-ic { background: none !important; box-shadow: none !important; transform: none; }
  .thanh-day a[aria-current="page"]::before {
    content: ""; position: absolute; top: -1px; left: 50%; width: 26px; height: 2px; margin-left: -13px; border-radius: 0 0 2px 2px;
    background: var(--gd-vang);
  }
  html:not([data-che-do="ngay"]) .thanh-day a { color: #BDB4A3 !important; }
  html:not([data-che-do="ngay"]) .thanh-day a[aria-current="page"] { color: #D9BE86 !important; }
  html[data-che-do="ngay"] .thanh-day a { color: #55615A !important; }
  html[data-che-do="ngay"] .thanh-day a[aria-current="page"] { color: #173B2F !important; }
  html[data-che-do="ngay"] .thanh-day a[aria-current="page"]::before { background: #173B2F; }
  .thanh-day a[aria-current="page"] .thanh-chu { font-weight: 700; }

  /* Mục lục: vòng 072 trả về tấm thả xuống gọn như vòng 023 (anh Tú 31/10: tấm toàn màn chiếm hết màn điện thoại) */
}

/* ══════════════════════════════════════════════════════════════════════════
   ĐỢT 3 · VÒNG 025: MỘT NGÔN NGỮ ĐIỀU KHIỂN — NHẤN MÔ-ĐUN, CHIP, TAB, LIÊN KẾT
   Các mô-đun cũ mang màu nhấn riêng (--chu-nhan xanh #2F7234 / vàng #F5B700,
   --bep-nhan, --tdcm-nhan xanh #2F6F35) → gom về hệ Chalet: Đêm vàng sâm-panh,
   Ngày xanh rừng. Chip chọn (Quý, Thứ trong tuần, lọc…) thành ô kẻ tóc bo 10px;
   đang chọn = khối đặc (vàng/rừng) thay vì viền màu. Tab Cẩm nang bỏ emoji.
   ══════════════════════════════════════════════════════════════════════════ */
html:not([data-che-do="ngay"]) { --chu-nhan: #D9BE86; --bep-nhan: #D9BE86; --tdcm-nhan: #D9BE86; }
html[data-che-do="ngay"] { --chu-nhan: #173B2F; --bep-nhan: #173B2F; --tdcm-nhan: #173B2F; }
html[data-che-do="ngay"] :is(.tdcm, .tdm, .bep-wrap) { --tdcm-nhan: #173B2F; --bep-nhan: #173B2F; }
html:not([data-che-do="ngay"]) :is(.tdcm, .tdm, .bep-wrap) { --tdcm-nhan: #D9BE86; --bep-nhan: #D9BE86; }

/* Chip chọn trong nhóm tab */
:is(.bep-td-quy, .bep-td-ngay) { gap: 6px !important; }
:is(.bep-td-quy, .bep-td-ngay) [role="tab"] {
  border-radius: 10px !important; box-shadow: none !important; font-family: var(--font-heading) !important; font-weight: 600 !important;
  min-height: 44px; transition: background-color .2s ease, color .2s ease;
}
html:not([data-che-do="ngay"]) :is(.bep-td-quy, .bep-td-ngay) [role="tab"] { background: transparent !important; border: 1px solid rgba(232, 220, 190, .2) !important; color: #D3CABA !important; }
html:not([data-che-do="ngay"]) :is(.bep-td-quy, .bep-td-ngay) [role="tab"][aria-selected="true"] { background: #D9BE86 !important; border-color: #D9BE86 !important; color: #13221B !important; font-weight: 700 !important; }
html[data-che-do="ngay"] :is(.bep-td-quy, .bep-td-ngay) [role="tab"] { background: transparent !important; border: 1px solid #DCD2BF !important; color: #3F4B45 !important; }
html[data-che-do="ngay"] :is(.bep-td-quy, .bep-td-ngay) [role="tab"][aria-selected="true"] { background: #173B2F !important; border-color: #173B2F !important; color: #F6F1E6 !important; font-weight: 700 !important; }

/* Tab gạch chân (Thực đơn, Cẩm nang, Chỉ số con…): chữ Archivo, vạch 2px màu nhấn */
:is(.tdm-tab, .cn-gd-nut)[aria-selected="true"], .tdm-tab.on, .cn-gd-nut.on { color: var(--gd-vang) !important; }
html[data-che-do="ngay"] :is(.tdm-tab, .cn-gd-nut)[aria-selected="true"] { color: #173B2F !important; }

/* Liên kết chữ trong nội dung: gạch chân mảnh, cách chữ */
:is(.tdm-lk, .gd-doi-ngay) { text-decoration-thickness: 1px !important; text-underline-offset: 4px !important; font-weight: 700 !important; }

/* ══════════════════════════════════════════════════════════════════════════
   ĐỢT 3 · VÒNG 026: PHIẾU ĐIỀN KIỂU "PHIẾU NHẬN PHÒNG"
   Refero BelArosa (form đặt phòng): ô là khung kẻ tóc bo 12px, không nền xám,
   nhãn chữ HOA nhỏ giãn rộng như tiêu đề cột phiếu, con số mẹ gõ vẫn in Caslon.
   Tiêu điểm: viền vàng (Đêm) / rừng (Ngày) 1,5px + vòng sáng mảnh 3px.
   Nút chọn đôi (Một thai/Song thai…) dùng luật chip vòng 025. Ngày: khối số
   (còn n ngày, số liệu chính) chuyển rừng chữ lanh — vàng trên vải lanh quá nhạt.
   ══════════════════════════════════════════════════════════════════════════ */
:is(input[type="text"], input[type="number"], input[type="date"], input[type="email"], input[type="tel"],
    input[type="password"], input[type="time"], input[type="month"], input:not([type]), textarea, select):not([hidden]):not(.hub-search) {
  border: 1px solid var(--gd-o-ke) !important;
  border-radius: 12px !important;
  min-height: 54px;
}
:is(input[type="text"], input[type="number"], input[type="date"], input[type="email"], input[type="tel"],
    input[type="password"], input[type="time"], input[type="month"], input:not([type]), textarea, select):not(.hub-search):focus {
  border-color: var(--gd-o-tieu) !important;
  box-shadow: 0 0 0 1px var(--gd-o-tieu), 0 0 0 4px var(--gd-o-vong) !important;
}
html:not([data-che-do="ngay"]) { --gd-o-nen: rgba(232, 220, 190, .035); --gd-o-nen-tieu: rgba(232, 220, 190, .06); --gd-o-ke: rgba(232, 220, 190, .34); --gd-o-vong: rgba(217, 190, 134, .18); }
html[data-che-do="ngay"] { --gd-o-nen: #FFFDF8; --gd-o-nen-tieu: #FFFFFF; --gd-o-ke: #B9AE98; --gd-o-vong: rgba(23, 59, 47, .12); }
html:not([data-che-do="ngay"]) .tdh-card { --gd-o-vong: rgba(23, 59, 47, .12); }
/* Nhãn ô: chữ hoa nhỏ giãn rộng (chỉ nhãn ngắn trong biểu mẫu công cụ) */
:is(.efw-form, .tc-form, .tangcan, .ld-ob, .lk-form, .cs-form, .tt-form, .ho-so, .hs-form, form) > label,
:is(.efw-form, .tc-form, .tangcan, .ld-ob, .lk-form, .cs-form, .tt-form, .ho-so, .hs-form, form) .form-group > label,
.efw-form label.efw-label, .efw-form > .efw-lbl {
  font-family: var(--font-heading) !important; font-size: .8rem !important; font-weight: 700 !important;
  letter-spacing: .12em !important; text-transform: uppercase; color: var(--text-secondary) !important;
}
/* Nút chọn đôi */
.efw-seg { gap: 8px !important; background: none !important; border: 0 !important; padding: 0 !important; }
.efw-seg .efw-seg-nut { border-radius: 12px !important; min-height: 50px; box-shadow: none !important; font-weight: 600 !important; }
html:not([data-che-do="ngay"]) .efw-seg .efw-seg-nut { background: transparent !important; border: 1px solid rgba(232, 220, 190, .24) !important; color: #D3CABA !important; }
html:not([data-che-do="ngay"]) .efw-seg .efw-seg-nut.on { background: #D9BE86 !important; border-color: #D9BE86 !important; color: #13221B !important; font-weight: 700 !important; }
html[data-che-do="ngay"] .efw-seg .efw-seg-nut { background: transparent !important; border: 1px solid #CFC4AE !important; color: #3F4B45 !important; }
html[data-che-do="ngay"] .efw-seg .efw-seg-nut.on { background: #173B2F !important; border-color: #173B2F !important; color: #F6F1E6 !important; font-weight: 700 !important; }
/* Ngày: khối số liệu rừng đặc, chữ lanh */
html[data-che-do="ngay"] :is(.ha-bia-khoi, .tt-hs-so, .tangcan .tc-reco-val),
html[data-che-do="ngay"] .efw-res-grid:not(.efw-res-grid-song) > div:is(:nth-child(2), :nth-child(4)) .efw-res-v {
  background: #173B2F !important; color: #F6F1E6 !important;
}
input[type="checkbox"], input[type="radio"] { accent-color: var(--gd-vang); }
html[data-che-do="ngay"], html:not([data-che-do="ngay"]) .tdh-card {
  --gd-mui-ten: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1.5 1.5 7 7l5.5-5.5' fill='none' stroke='%23173B2F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* ══════════════════════════════════════════════════════════════════════════
   ĐỢT 3 · VÒNG 027: CON SỐ ĐỨNG MỘT MÌNH — BỎ KHỐI "DẠ QUANG"
   Khối nền màu quanh con số (chữ ký vòng 002) đọc ra chất dashboard. Chalet:
   con số Caslon cỡ lớn đứng một mình, màu nhấn (vàng Đêm / rừng Ngày), đơn vị
   nhỏ hơn, một vạch tóc ngắn bên dưới như chữ ký trên thiệp. Áp cho mọi khối
   số (kết quả cân nặng, bách phân vị, khuyến nghị tăng cân, hồ sơ tuổi thai,
   "còn n ngày" trên bìa tuần).
   ══════════════════════════════════════════════════════════════════════════ */
:root:root :is(.tt-hs-so, .tangcan .tc-reco-val, .ha-bia-khoi),
:root:root .efw-res-grid:not(.efw-res-grid-song) > div:is(:nth-child(2), :nth-child(4)) .efw-res-v {
  background: none !important; padding: 0 0 6px !important; border-radius: 0 !important;
  color: var(--gd-vang) !important;
  background-image: linear-gradient(var(--gd-ke-vang), var(--gd-ke-vang)) !important;
  background-size: 34px 1px !important; background-position: 0 100% !important; background-repeat: no-repeat !important;
}
:root:root .efw-res-grid > div .efw-res-v { font-size: clamp(2.1rem, 9.5vw, 2.6rem) !important; letter-spacing: -0.02em; line-height: 1.02 !important; }
:root:root .ha-bia-khoi { font-size: 1.7rem !important; }
html[data-che-do="ngay"] { --gd-ke-vang: rgba(23, 59, 47, .45); }

/* ══════════════════════════════════════════════════════════════════════════
   ĐỢT 3 · VÒNG 028: CẨM NANG — MỤC LỤC BÀI KIỂU TẠP CHÍ, BỎ ẢNH 3D HOẠT HÌNH
   374 ảnh minh hoạ bài Cẩm nang là ảnh dựng 3D kiểu hoạt hình (đúng thứ anh Tú
   muốn bỏ: "không giống AI"). Thay hết vượt ngân sách credit → danh sách bài
   thành MỤC LỤC chữ (số thứ tự vàng, tựa Caslon, câu dẫn nghiêng), không ảnh;
   mỗi CHƯƠNG sẽ có một ảnh chụp thật ở đầu (vòng 029, ảnh đang lấy). Emoji ở
   đầu chương và đường dẫn bỏ (js/camnang.js gdLabel).
   ══════════════════════════════════════════════════════════════════════════ */
#camnang-section .cn-grid { display: block !important; counter-reset: cnBai; }
#camnang-section .cn-grid .cn-card {
  counter-increment: cnBai;
  display: grid !important; grid-template-columns: 44px minmax(0, 1fr); gap: 0 10px; align-items: start;
  width: 100%; padding: 20px 0 !important; margin: 0 !important;
  background: none !important; border: 0 !important; border-bottom: 1px solid var(--border-light) !important; border-radius: 0 !important; box-shadow: none !important;
  text-align: left;
}
#camnang-section .cn-grid .cn-card-art { display: none !important; }
#camnang-section .cn-grid .cn-card::before {
  content: counter(cnBai, decimal-leading-zero); grid-column: 1; grid-row: 1;
  font: 400 1.5rem/1.1 var(--font-display); color: var(--gd-vang); font-variant-numeric: lining-nums;
}
#camnang-section .cn-grid .cn-card-body { grid-column: 2; display: grid; gap: 6px; }
#camnang-section .cn-grid .cn-card-title { font-family: var(--font-display) !important; font-weight: 400 !important; font-size: 1.32rem !important; line-height: 1.22 !important; letter-spacing: -0.008em; }
#camnang-section .cn-grid .cn-card-line { font-family: var(--font-body) !important; font-style: italic; font-size: 1.02rem !important; line-height: 1.45 !important; color: var(--text-secondary) !important; -webkit-line-clamp: 2; }
#camnang-section .cn-grid .cn-card-go { font: 700 .74rem/1 var(--font-heading) !important; letter-spacing: .14em; text-transform: uppercase; color: var(--gd-vang) !important; margin-top: 4px; }
#camnang-section .cn-sec-emoji { display: none !important; }
#camnang-section .cn-sec-head { display: block !important; padding: 6px 0 14px !important; border-bottom: 1px solid var(--gd-ke-vang) !important; background: none !important; }
#camnang-section .cn-sec-title { font-size: clamp(2rem, 9vw, 2.5rem) !important; line-height: 1.06 !important; letter-spacing: -0.022em !important; }
#camnang-section .cn-sec-sub { font-style: italic; color: var(--text-secondary) !important; }

/* ══════════════════════════════════════════════════════════════════════════
   ĐỢT 3 · VÒNG 029: TRANG ĐỌC BÀI CẨM NANG — ẢNH CHƯƠNG CHỤP THẬT TRÀN KHUNG
   Đầu bài: ảnh chụp thật của chương (js/camnang.js), tràn hết bề ngang điện
   thoại, tỉ lệ 4:3, không bo (như ảnh mở bài tạp chí); tựa bài Caslon lớn ngay
   dưới. Ảnh minh hoạ 3D thứ hai giữa bài (.cn-deep-art) và ảnh bài chăm bé
   (.cb-art) ẩn — cùng lý do vòng 028. Ghi nguồn ảnh dưới ảnh.
   ══════════════════════════════════════════════════════════════════════════ */
#camnang-section :is(.cn-deep-art, .cb-art) { display: none !important; }
@media (max-width: 768px) {
  #camnang-section .cn-detail-art {
    width: 100vw !important; max-width: none !important; margin: 4px 0 22px calc(50% - 50vw) !important;
    border-radius: 0 !important; aspect-ratio: 4 / 3; overflow: hidden; position: relative; background: #0C2620;
  }
  #camnang-section .cn-detail-art::after {
    content: "Ảnh minh hoạ cho chương"; position: absolute; left: 16px; bottom: 10px;
    font: 600 .7rem/1 var(--font-heading); letter-spacing: .08em; color: #F4EEE1;
    background: rgba(6, 28, 23, .55); padding: 5px 8px; border-radius: 999px;
  }
}
#camnang-section .cn-detail-art img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 0 !important; }
#camnang-section .cn-detail :is(h2, h3).cn-detail-title, #camnang-section .cn-detail > h2 { font-size: clamp(2rem, 8.6vw, 2.5rem) !important; line-height: 1.08 !important; letter-spacing: -0.022em !important; }
/* Vòng 071: gỡ dải ảnh đầu Mẹo, Tiện ích — anh Tú 31/10: ảnh thật chỉ ở Thực đơn và Cẩm nang; trang chủ và các màn khác dùng lại ảnh hoạt hình cũ. */

/* ══════════════════════════════════════════════════════════════════════════
   ĐỢT 3 · VÒNG 030 (MỐC): MÀN RỘNG CÓ ẢNH THẬT + SOÁT TOÀN APP
   Màn ≥1024px: bìa tuần chia đôi — chữ/số bên trái, ảnh mẹ đọc sách tràn nửa
   phải mờ dần vào nền (kiểu trang đôi tạp chí khách sạn). Tiện ích: bỏ emoji ở
   tab giai đoạn.
   ══════════════════════════════════════════════════════════════════════════ */
/* Vòng 071: gỡ bìa tuần chia đôi có ảnh ở màn rộng — anh Tú 31/10: ảnh thật chỉ ở Thực đơn và Cẩm nang; trang chủ và các màn khác dùng lại ảnh hoạt hình cũ. */
/* Mốc 30 — quét tương phản Ngày: vạch tóc dưới số vẽ bằng background-image bị tính là nền chữ
   (2,2:1) → chuyển sang giả tố ::after; nhãn chỉ số bé #667581 trên vải lanh 4,47:1 → đậm hơn. */
:root:root :is(.tt-hs-so, .tangcan .tc-reco-val, .ha-bia-khoi),
:root:root .efw-res-grid:not(.efw-res-grid-song) > div:is(:nth-child(2), :nth-child(4)) .efw-res-v {
  background-image: none !important; position: relative; display: inline-block !important;
}
:root:root :is(.tt-hs-so, .tangcan .tc-reco-val, .ha-bia-khoi)::after,
:root:root .efw-res-grid:not(.efw-res-grid-song) > div:is(:nth-child(2), :nth-child(4)) .efw-res-v::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 1px; background: var(--gd-ke-vang);
}
html[data-che-do="ngay"] .besize-lbl { color: #4F5B55 !important; }

/* ══════════════════════════════════════════════════════════════════════════
   ĐỢT 3 · VÒNG 031: AI PHÂN TÍCH — BÀN QUÉT CÓ ẢNH THẬT + TỰ GÕ SỐ KIỂU CHALET
   Tờ phiếu vẽ bằng CSS (vòng 015) → ảnh chụp thật hai bàn tay cầm phiếu siêu âm
   (Magnific), phủ lớp rừng mờ để khung ngắm 4 góc vàng + vạch quét nổi lên.
   Vai trò ảnh: cho mẹ thấy đúng động tác "đặt phiếu vào khung". Nhãn nguồn ảnh.
   ══════════════════════════════════════════════════════════════════════════ */
/* Vòng 071: gỡ ảnh chụp bàn quét, trả tờ phiếu vẽ bằng CSS (vòng 015) — anh Tú 31/10: ảnh thật chỉ ở Thực đơn và Cẩm nang; trang chủ và các màn khác dùng lại ảnh hoạt hình cũ. */

/* Cẩm nang: mỗi CHƯƠNG một ảnh chụp thật (img/that/cam-nang/, 12 Magnific + 5 Higgsfield + 1 dùng lại).
   Trang Cẩm nang thành mục lục có ảnh: mỗi chương là ảnh 16:9 bo 18px, tựa Caslon dưới ảnh;
   chương "mẹ đang ở đây" giữ nhãn trên ảnh. Đầu trang chương dùng lại ảnh đó tràn ngang. */
#camnang-section .cn-sec-quy-1 { --cn-anh: url("../img/that/cam-nang/quy-1-640.webp"); }
#camnang-section .cn-sec-quy-2 { --cn-anh: url("../img/that/cam-nang/quy-2-640.webp"); }
#camnang-section .cn-sec-quy-3 { --cn-anh: url("../img/that/cam-nang/quy-3-640.webp"); }
#camnang-section .cn-sec-sinh-no { --cn-anh: url("../img/that/cam-nang/sinh-no-640.webp"); }
#camnang-section .cn-sec-song-thai { --cn-anh: url("../img/that/cam-nang/song-thai-640.webp"); }
#camnang-section .cn-sec-moi-luc { --cn-anh: url("../img/that/cam-nang/moi-luc-640.webp"); }
#camnang-section .cn-sec-stress { --cn-anh: url("../img/that/cam-nang/stress-640.webp"); }
#camnang-section .cn-sec-mat-ngu { --cn-anh: url("../img/that/cam-nang/mat-ngu-640.webp"); }
#camnang-section .cn-sec-me-an-toan { --cn-anh: url("../img/that/cam-nang/me-an-toan-640.webp"); }
#camnang-section .cn-sec-me-hoi-phuc { --cn-anh: url("../img/that/cam-nang/me-hoi-phuc-640.webp"); }
#camnang-section .cn-sec-cho-con-bu { --cn-anh: url("../img/that/cam-nang/cho-con-bu-640.webp"); }
#camnang-section .cn-sec-cb-a { --cn-anh: url("../img/that/cam-nang/cb-a-640.webp"); }
#camnang-section .cn-sec-cb-b { --cn-anh: url("../img/that/cam-nang/cb-b-640.webp"); }
#camnang-section .cn-sec-cb-c { --cn-anh: url("../img/that/cam-nang/cb-c-640.webp"); }
#camnang-section .cn-sec-be-om { --cn-anh: url("../img/that/cam-nang/be-om-640.webp"); }
#camnang-section .cn-sec-thuoc-tiem { --cn-anh: url("../img/that/cam-nang/thuoc-tiem-640.webp"); }
#camnang-section .cn-sec-cb-d { --cn-anh: url("../img/that/cam-nang/cb-d-640.webp"); }
#camnang-section .cn-home-card { position: relative; display: grid !important; grid-template-columns: minmax(0, 1fr) !important; padding: 0 0 22px !important; }
#camnang-section .cn-home-card::before {
  content: ""; display: block; width: 100%; aspect-ratio: 16 / 9; margin: 0 0 14px; border-radius: var(--gd-anh-bo);
  background: var(--cn-anh) 50% 40% / cover no-repeat, #0C2620; box-shadow: var(--gd-anh-bong);
}
html[data-che-do="ngay"] #camnang-section .cn-home-card::before { background-color: #EAE4D6; }
#camnang-section .cn-home-card .cn-home-emoji { display: none !important; }
#camnang-section .cn-home-card .cn-dang-o-nhan { position: absolute; top: 12px; left: 12px; z-index: 1; margin: 0 !important; }
#camnang-section .cn-home-card .cn-home-title { font-size: 1.5rem !important; }
@media (max-width: 768px) {
  #camnang-section .cn-sec-head { position: relative; padding-top: 0 !important; }
  #camnang-section .cn-sec-head::before {
    content: ""; display: block; width: 100vw; margin: 0 0 16px calc(50% - 50vw); aspect-ratio: 16 / 10;
    background: var(--cn-anh) 50% 40% / cover no-repeat;
  }
}
#camnang-section .cn-home-card::before { grid-column: 1 !important; grid-row: auto !important; font-size: 0; line-height: 0; }
#camnang-section .cn-home-card .cn-home-body { grid-column: 1 !important; }
#camnang-section .cn-home-card .cn-dang-o-nhan { grid-column: 1 !important; }

/* ══════════════════════════════════════════════════════════════════════════
   ĐỢT 3 · VÒNG 032: LỊCH KHÁM — THẺ CHỌN KHỐI ĐẶC, BỎ EMOJI, ẢNH KHÁM THAI THẬT
   Bốn loại thai kỳ + con so/con dạ: bỏ emoji (index.html, js/lichkham.js), thẻ
   theo luật chip vòng 025 — ô kẻ tóc, đang chọn khối đặc (vàng/rừng). Đầu màn:
   ảnh chụp mẹ bầu trao đổi với bác sĩ (Higgsfield, cùng ảnh chương "Mọi giai
   đoạn") — màn này là danh sách mốc, nút chính không nằm ở màn đầu.
   ══════════════════════════════════════════════════════════════════════════ */
#lichkham-section :is(.lk-twbtn, .lk-tbtn) {
  border-radius: 12px !important; box-shadow: none !important; text-align: left; min-height: 56px;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
html:not([data-che-do="ngay"]) #lichkham-section :is(.lk-twbtn, .lk-tbtn) { background: transparent !important; border: 1px solid rgba(232, 220, 190, .22) !important; color: #E9E1D0 !important; }
html:not([data-che-do="ngay"]) #lichkham-section :is(.lk-twbtn, .lk-tbtn).on { background: #D9BE86 !important; border-color: #D9BE86 !important; color: #13221B !important; }
html:not([data-che-do="ngay"]) #lichkham-section .lk-twbtn.on :is(.tw-n, .tw-d) { color: #13221B !important; }
html[data-che-do="ngay"] #lichkham-section :is(.lk-twbtn, .lk-tbtn) { background: transparent !important; border: 1px solid #CFC4AE !important; color: #26352E !important; }
html[data-che-do="ngay"] #lichkham-section :is(.lk-twbtn, .lk-tbtn).on { background: #173B2F !important; border-color: #173B2F !important; color: #F6F1E6 !important; }
html[data-che-do="ngay"] #lichkham-section .lk-twbtn.on :is(.tw-n, .tw-d) { color: #F6F1E6 !important; }
#lichkham-section .lk-twbtn .tw-n { font-family: var(--font-heading) !important; font-weight: 700 !important; font-size: 1.02rem !important; }
#lichkham-section .lk-twbtn .tw-d { font-family: var(--font-body) !important; font-style: italic; font-size: .95rem !important; opacity: 1 !important; }
/* Vòng 071: gỡ dải ảnh đầu Lịch khám — anh Tú 31/10: ảnh thật chỉ ở Thực đơn và Cẩm nang; trang chủ và các màn khác dùng lại ảnh hoạt hình cũ. */

/* ══════════════════════════════════════════════════════════════════════════
   ĐỢT 3 · VÒNG 033: TRANG CHỦ NỬA DƯỚI — KHUYẾN CÁO CÓ ẢNH THẬT, NÚT PHIM VÀNG
   "Khuyến cáo cho mẹ" 01–03: mỗi mục một ảnh vuông 76px bo 14px bên phải tựa
   (mẹ vận động · phiếu siêu âm trên tay · món đậu phụ sốt cà chua) — mục lục
   tạp chí có ảnh. Nút "Theo dõi chỉ số của bé" trong phim cuộn: bạc hà phát
   sáng (đợt 2) → vàng sâm-panh đặc như nút chính toàn app. Thẻ "Dự sinh…":
   kẻ tóc, tựa Caslon.
   ══════════════════════════════════════════════════════════════════════════ */
/* Vòng 071: gỡ ảnh vuông ở Khuyến cáo cho mẹ — anh Tú 31/10: ảnh thật chỉ ở Thực đơn và Cẩm nang; trang chủ và các màn khác dùng lại ảnh hoạt hình cũ. */
/* Nút trong phim cuộn */
:root:root .ldl-cta {
  background: #D9BE86 !important; color: #13221B !important; border: 0 !important; border-radius: var(--gd-nut-bo, 14px) !important;
  box-shadow: 0 14px 34px -14px rgba(0, 0, 0, .7) !important; font-weight: 700 !important; filter: none !important;
}
.tdcm-kc > .tdcm-dong > :not(.tdcm-o-form) { max-width: calc(100% - 4px); }

/* ══════════════════════════════════════════════════════════════════════════
   ĐỢT 3 · VÒNG 034: TRÒ CHƠI + KẾT QUẢ PHÒNG KHÁM + HỎI LOLOOL THEO CHALET
   Thanh "Kết quả siêu âm · Album ảnh · Trò chơi": viên thuốc trong hộp → thanh
   chữ gạch chân vàng (như tab Thực đơn/Cẩm nang). Bìa game giữ ảnh game, khung
   thành tờ vải lanh bo 18px, kẻ tóc, bóng sâu mờ như ảnh in. Hỏi Lolool: ô hỏi
   tiêu điểm vàng, ảnh linh vật trong khung tròn viền tóc vàng.
   ══════════════════════════════════════════════════════════════════════════ */
.kpk-tabs { background: none !important; border: 0 !important; border-bottom: 1px solid var(--border) !important; border-radius: 0 !important; padding: 0 !important; gap: 0 !important; box-shadow: none !important; }
.kpk-tabs [role="tab"] {
  background: none !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important;
  min-height: 48px; position: relative; font-family: var(--font-heading) !important; font-weight: 600 !important; color: var(--text-secondary) !important;
}
.kpk-tabs [role="tab"][aria-selected="true"] { color: var(--gd-vang) !important; font-weight: 700 !important; }
html[data-che-do="ngay"] .kpk-tabs [role="tab"][aria-selected="true"] { color: #173B2F !important; }
.kpk-tabs [role="tab"][aria-selected="true"]::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: -1px; height: 2px; background: currentColor; }
/* Bìa game */
#troChoiHost :is(.tc-bia, .gm-bia, .tro-choi-the, [class*="-bia"]) { border-radius: 18px !important; box-shadow: 0 22px 44px -28px rgba(0, 0, 0, .8) !important; }
/* Hỏi Lolool */
.dd-bang textarea:focus { border-color: var(--gd-o-tieu) !important; }
.dd-bang img[src*="lolo-tho"] { border-radius: 50% !important; box-shadow: 0 0 0 1px var(--gd-ke-vang) !important; }
:root:root .kpk-tabs [role="tab"], :root:root .kpk-tabs [role="tab"]:is(.on, .active, [aria-selected="true"]) { background: none !important; box-shadow: none !important; }
:root:root:not([data-che-do="ngay"]) .kpk-tabs [role="tab"][aria-selected="true"] { color: #D9BE86 !important; }
:root:root[data-che-do="ngay"] .kpk-tabs [role="tab"][aria-selected="true"] { color: #173B2F !important; }
:root:root .kpk-tabs { background: none !important; border: 0 !important; border-bottom: 1px solid var(--border) !important; box-shadow: none !important; border-radius: 0 !important; }

/* ══════════════════════════════════════════════════════════════════════════
   ĐỢT 3 · VÒNG 035: CHUYỂN ĐỘNG KIỂU PHIM — ẢNH "THỞ", DANH SÁCH HIỆN THEO CUỘN
   (1) Ảnh mở chương/bìa (trang chủ, Cẩm nang, Thực đơn, Mẹo, Tiện ích, Lịch
   khám): khi vào màn ảnh lùi chậm từ 1,07 → 1 trong 2,4s (ken burns rất nhẹ) —
   cảm giác máy quay, không phải hiệu ứng web. (2) Ảnh trong danh sách (món ăn,
   chương Cẩm nang, khuyến cáo): hiện + nổi 14px theo vị trí cuộn (CSS scroll-
   driven animation, chỉ trình duyệt hỗ trợ; còn lại hiện ngay). Tắt hết khi
   giảm chuyển động. Không đổi bố cục.
   ══════════════════════════════════════════════════════════════════════════ */
@keyframes gdTho { from { transform: scale(1.07); } to { transform: scale(1); } }
@keyframes gdHienDai { from { opacity: 0; } to { opacity: 1; } }
@keyframes gdLen { from { opacity: .35; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  /* Phóng chậm chỉ cho ảnh nằm trong khung có cắt (overflow hidden) — dải ảnh 100vw mà phóng sẽ tràn ngang */
  #camnang-section .cn-detail-art img {
    animation: gdTho 2.4s cubic-bezier(.2, .7, .2, 1) both; transform-origin: 50% 40%;
  }
  /* Dải ảnh mở chương: hiện dần (không phóng) */
  #camnang-section > .section-head::before,
  #bep-section .tdm::before {
    animation: gdHienDai 1.4s ease-out both;
  }
  @supports (animation-timeline: view()) {
    .tdm .bep-td-mon img, #camnang-section .cn-home-card::before {
      animation: gdLen linear both; animation-timeline: view(); animation-range: entry 0% entry 70%;
    }
  }
}

/* ══════════════════════════════════════════════════════════════════════════
   ĐỢT 3 · VÒNG 036: THÔNG BÁO NỔI + TRẠNG THÁI RỖNG / ĐANG TẢI
   Thông báo: bong bóng tròn lệch phải (chữ vỡ 4 dòng) → một dải ngang toàn bề
   rộng phía trên thanh đáy, chữ Archivo canh trái, chấm màu trạng thái bên trái,
   kẻ tóc vàng — như dòng nhắn của lễ tân. Ngày: dải tối (rừng) trên nền sáng để
   nổi. Trạng thái rỗng ("Mẹ chưa có album…", "Đang tải…"): chữ nghiêng Garamond
   giữa khối kẻ tóc đứt, không hộp màu.
   ══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  :root:root #lolo-toast-container {
    position: fixed !important; left: 16px !important; right: 16px !important; top: auto !important;
    bottom: calc(96px + env(safe-area-inset-bottom)) !important; transform: none !important;
    width: auto !important; max-width: none !important; align-items: stretch !important;
  }
}
:root:root #lolo-toast-container .lolo-toast {
  width: 100% !important; max-width: 560px; margin: 0 auto 8px !important; border-radius: 14px !important;
  padding: 14px 16px 14px 34px !important; text-align: left !important; position: relative;
  font-family: var(--font-heading) !important; font-weight: 600 !important; font-size: .98rem !important; line-height: 1.35 !important; letter-spacing: .01em;
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .6) !important;
}
:root:root #lolo-toast-container .lolo-toast::before { position: absolute !important; left: 16px !important; top: 50% !important; margin-top: -4px; width: 8px !important; height: 8px !important; }
html:not([data-che-do="ngay"]) #lolo-toast-container .lolo-toast { background: #10302A !important; color: #F4EEE1 !important; border: 1px solid rgba(217, 190, 134, .34) !important; }
html:not([data-che-do="ngay"]) #lolo-toast-container .lolo-toast::before { background: #D9BE86 !important; }
html[data-che-do="ngay"] #lolo-toast-container .lolo-toast { background: #173B2F !important; color: #F6F1E6 !important; border: 1px solid #173B2F !important; }
html[data-che-do="ngay"] #lolo-toast-container .lolo-toast::before { background: #D9BE86 !important; }
:root:root #lolo-toast-container .lolo-toast:is([data-type="error"], [data-type="err"], [data-type="loi"], [data-type="warn"])::before { background: #F0958D !important; }
/* Trạng thái rỗng */
:is(.ame-trong, .cn-empty, [class$="-trong"]:is(p), [class*="-rong"]:is(p)) {
  font-family: var(--font-body) !important; font-style: italic; font-size: 1.04rem !important; line-height: 1.5 !important;
  text-align: center; padding: 22px 16px !important; margin: 8px 0 !important;
  background: none !important; border: 1px dashed var(--border) !important; border-radius: 14px !important; color: var(--text-secondary) !important;
}
:root:root #lolo-toast-container { flex-direction: column !important; justify-content: flex-end !important; }
:root:root #lolo-toast-container .lolo-toast { left: auto !important; right: auto !important; }

/* ══════════════════════════════════════════════════════════════════════════
   ĐỢT 3 · VÒNG 037: CHÂN TRANG KIỂU "COLOPHON" + THẺ BÁC SĨ
   Nội dung chân trang giữ nguyên (logo Bộ Công Thương + thông tin công ty —
   quyết định 19–20/10). Chỉ đổi cách trình bày: kẻ tóc vàng mở đầu, logo nhỏ
   lại, tên công ty chữ HOA Archivo giãn rộng, địa chỉ/mã số thuế Garamond nhỏ,
   bớt khoảng trống phía trên (60px + 30px → 28px + 26px) — như trang ghi chú
   xuất bản cuối một cuốn sách. Thẻ bác sĩ (.au-hero): ảnh trong khung tròn viền
   tóc vàng, tên Caslon.
   ══════════════════════════════════════════════════════════════════════════ */
.app-footer { margin-top: 28px !important; padding-top: 26px !important; border-top: 1px solid var(--gd-ke-vang) !important; background: none !important; }
.app-footer .footer-container { max-width: 34ch; margin: 0 auto; }
.app-footer .footer-bct { margin-top: 0 !important; }
.app-footer .footer-bct img { height: 44px !important; width: auto !important; }
.app-footer .footer-toi-thieu { font-family: var(--font-body) !important; font-size: .9rem !important; line-height: 1.55 !important; color: var(--text-secondary) !important; }
.app-footer .footer-toi-thieu :is(b, strong) {
  display: block; margin: 14px 0 6px; font-family: var(--font-heading) !important; font-weight: 700 !important;
  font-size: .78rem !important; letter-spacing: .14em; text-transform: uppercase; color: var(--text-primary) !important;
}
.au-hero .au-id h2 { font-family: var(--font-display) !important; font-weight: 400 !important; letter-spacing: -0.012em; }
.au-hero img { border-radius: 50% !important; box-shadow: 0 0 0 1px var(--gd-ke-vang), 0 0 0 5px transparent !important; border: 0 !important; }
/* Trang chủ (chân trang hiện, đã có đệm đáy 98px chừa thanh đáy): bỏ đệm đáy trùng của .main-content */
@media (max-width: 768px) {
  body:not(.lolo-khong-trang-chu) .main-content { padding-bottom: 8px !important; }
}

/* ══════════════════════════════════════════════════════════════════════════
   ĐỢT 3 · VÒNG 038: iPAD DỌC (769–1023px) — ẢNH THẬT CŨNG LÀ CHỦ ĐẠO
   Các dải ảnh mở chương (Thực đơn, Cẩm nang, Mẹo, Tiện ích, Lịch khám, chương
   Cẩm nang, đầu bài) nới từ ≤768 lên ≤1023px; trang chủ mẹ có hồ sơ chia đôi
   (chữ trái, ảnh phải) từ 769px; trang Cẩm nang 2 cột chương; dải ảnh cao
   tối đa 340px trên iPad để chữ không bị đẩy quá xa.
   ══════════════════════════════════════════════════════════════════════════ */
@media (min-width: 769px) and (max-width: 1023px) {
  #camnang-section .cn-home { display: grid !important; grid-template-columns: 1fr 1fr; gap: 8px 28px; }
  #camnang-section > .section-head::before,
  #bep-section .tdm::before { height: 340px !important; }
  #camnang-section > .section-head,
  #bep-section .tdm { padding-top: 262px !important; }
  #camnang-section .cn-detail-art { aspect-ratio: 16 / 9 !important; }
}
/* Vòng 071: gỡ bìa tuần chia đôi có ảnh ở iPad — anh Tú 31/10: ảnh thật chỉ ở Thực đơn và Cẩm nang; trang chủ và các màn khác dùng lại ảnh hoạt hình cũ. */

/* ══════════════════════════════════════════════════════════════════════════
   ĐỢT 3 · VÒNG 039: TRA CỨU THỰC PHẨM + KHOÁ HỌC DINH DƯỠNG THEO CHALET
   Hai nút "Thực phẩm NÊN ĂN / CẦN TRÁNH": viên thuốc xanh lá đặc + emoji tim
   (💚❤️) → cặp chip theo luật vòng 025 (kẻ tóc, đang chọn khối vàng/rừng), bỏ
   emoji (index.html). Ảnh mở đầu Tra cứu: khung ảnh chung. Khoá học: nút
   "← Quay lại Trang chủ" viên thuốc trong khối → dòng chữ kiểu tạp chí như
   thanh quay lại toàn app; thẻ phần học kẻ tóc.
   ══════════════════════════════════════════════════════════════════════════ */
.food-switch-btn {
  border-radius: 12px !important; box-shadow: none !important; min-height: 52px;
  font-family: var(--font-heading) !important; font-weight: 700 !important; letter-spacing: .02em;
}
html:not([data-che-do="ngay"]) .food-switch-btn { background: transparent !important; border: 1px solid rgba(232, 220, 190, .24) !important; color: #E9E1D0 !important; }
html:not([data-che-do="ngay"]) .food-switch-btn.active { background: #D9BE86 !important; border-color: #D9BE86 !important; color: #13221B !important; }
html[data-che-do="ngay"] .food-switch-btn { background: transparent !important; border: 1px solid #CFC4AE !important; color: #26352E !important; }
html[data-che-do="ngay"] .food-switch-btn.active { background: #173B2F !important; border-color: #173B2F !important; color: #F6F1E6 !important; }
#foods-section img { border-radius: var(--gd-anh-bo) !important; }
.kh-home-btn {
  background: none !important; border: 0 !important; box-shadow: none !important; padding: 10px 0 !important; min-height: 44px;
  font-family: var(--font-heading) !important; font-weight: 700 !important; font-size: .78rem !important; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gd-vang) !important;
}
#khoahoc-section :is(.kh-phan, details, .kh-part) { border-radius: 14px !important; box-shadow: none !important; }
/* Khoá học: bài đang mở + số thứ tự + nhãn Free theo hệ màu */
html[data-che-do="ngay"] #khoahoc-section .kh-item.active { background: #EAE4D6 !important; }
html:not([data-che-do="ngay"]) #khoahoc-section .kh-item.active { background: rgba(217, 190, 134, .12) !important; }
#khoahoc-section .kh-item { border-radius: 10px !important; }
html[data-che-do="ngay"] #khoahoc-section .kh-item-no { background: #173B2F !important; color: #F6F1E6 !important; border-color: #173B2F !important; }
html:not([data-che-do="ngay"]) #khoahoc-section .kh-item-no { background: transparent !important; color: #D9BE86 !important; border: 1px solid rgba(217, 190, 134, .5) !important; }
html:not([data-che-do="ngay"]) #khoahoc-section .kh-item.active .kh-item-no { background: #D9BE86 !important; color: #13221B !important; }
#khoahoc-section .kh-badge.free { background: none !important; border: 1px solid currentColor !important; font-family: var(--font-heading) !important; letter-spacing: .08em; text-transform: uppercase; font-size: .66rem !important; }
html[data-che-do="ngay"] #khoahoc-section .kh-badge.free { color: #173B2F !important; }
html:not([data-che-do="ngay"]) #khoahoc-section .kh-badge.free { color: #D9BE86 !important; }

/* ══════════════════════════════════════════════════════════════════════════
   ĐỢT 3 · VÒNG 040 (MỐC): CHIP LỌC TIỆN ÍCH + SOÁT TOÀN APP
   Chip lọc nhóm công cụ (Tất cả / Theo dõi / Máy tính & tra cứu…): viên thuốc
   viền → luật chip vòng 025 (bo 10px, kẻ tóc, đang chọn khối vàng/rừng). Ô tìm
   công cụ theo khung phiếu vòng 026.
   ══════════════════════════════════════════════════════════════════════════ */
.tienich-hub .hub-chip { border-radius: 10px !important; box-shadow: none !important; min-height: 44px; font-family: var(--font-heading) !important; font-weight: 600 !important; }
html:not([data-che-do="ngay"]) .tienich-hub .hub-chip { background: transparent !important; border: 1px solid rgba(232, 220, 190, .22) !important; color: #E1D8C6 !important; }
html:not([data-che-do="ngay"]) .tienich-hub .hub-chip.on { background: #D9BE86 !important; border-color: #D9BE86 !important; color: #13221B !important; font-weight: 700 !important; }
html[data-che-do="ngay"] .tienich-hub .hub-chip { background: transparent !important; border: 1px solid #CFC4AE !important; color: #2E3B35 !important; }
html[data-che-do="ngay"] .tienich-hub .hub-chip.on { background: #173B2F !important; border-color: #173B2F !important; color: #F6F1E6 !important; font-weight: 700 !important; }
.tienich-hub .hub-search { border: 1px solid var(--gd-o-ke) !important; border-radius: 12px !important; min-height: 52px; background: var(--gd-o-nen) !important; font-family: var(--font-heading) !important; }
.tienich-hub .hub-search { padding-left: 16px !important; }
/* Mốc 40: khối số "24 tuần 0 ngày" của Lịch khám còn nền vàng (vòng 012) → số đứng một mình như vòng 027 */
:root:root #lckt .lk-sum .ls-i:first-child .ls-n { background: none !important; padding: 0 !important; border-radius: 0 !important; color: var(--gd-vang) !important; font-size: 1.4rem !important; }

/* ══════════════════════════════════════════════════════════════════════════
   ĐỢT 3 · VÒNG 041: XANH LÁ CŨ #37813C → BIẾN HỆ MÀU TOÀN APP (~70 MÀN CÔNG CỤ)
   Các mô-đun công cụ tự chèn CSS có màu ghi cứng #37813C (nền nút, viền, chữ).
   Đổi trong khai báo CSS (thuộc tính: màu) thành var(--gd-xanh,#37813C) — giá
   trị JS (màu biểu đồ canvas, nhãn trạng thái), game và lớp giao-dien.css không
   đụng. Ngày: xanh rừng #173B2F (chữ trắng 12,6:1). Đêm: xanh rêu sâu #2C5B4A
   (chữ trắng 7,3:1) — nút phụ trên nền rừng; nút chính vẫn vàng (vòng 021).
   ══════════════════════════════════════════════════════════════════════════ */
html[data-che-do="ngay"] { --gd-xanh: #173B2F; }
html:not([data-che-do="ngay"]) { --gd-xanh: #2C5B4A; }
/* Chữ dùng --gd-xanh trên nền Đêm (quét vòng 041): đổi sang vàng sâm-panh */
html:not([data-che-do="ngay"]) :is(#gdDem, .tienthai .tth-lienket a) { color: #D9BE86 !important; }
input[type="date"]::-webkit-datetime-edit, input[type="date"]::-webkit-datetime-edit-fields-wrapper,
input[type="date"]::-webkit-datetime-edit-day-field, input[type="date"]::-webkit-datetime-edit-month-field,
input[type="date"]::-webkit-datetime-edit-year-field { color: var(--gd-o-chu) !important; }

/* ══════════════════════════════════════════════════════════════════════════
   ĐỢT 3 · VÒNG 042: MẸO — ẢNH NHÓM CHỤP THẬT; THẺ THỰC PHẨM SẠCH EMOJI
   Mẹo: 11 nhóm dùng ảnh tròn 3D hoạt hình (img/meo-*.webp) → ảnh chụp thật đã có
   trong img/that (đổi bằng content:url() trên <img>, không đụng JS). Thực phẩm:
   bỏ emoji 🥦 gắn cứng cho MỌI món nên ăn (kể cả trứng) và 🚫⚠️ ở món cần tránh
   (js/app.js) — nhãn trạng thái đã nói đủ; nhãn NÊN ĂN/THẬN TRỌNG kẻ tóc chữ
   hoa; hộp chi tiết bỏ viền trái xanh lá + nền xanh nhạt → giấy kẻ tóc.
   ══════════════════════════════════════════════════════════════════════════ */
/* Thẻ thực phẩm */
.food-card { border-radius: 16px !important; box-shadow: none !important; border: 1px solid var(--border) !important; }
.food-card .food-card-header h3 { font-family: var(--font-display) !important; font-weight: 400 !important; font-size: 1.32rem !important; line-height: 1.2 !important; }
.food-card .food-badge {
  background: none !important; border: 1px solid currentColor !important; border-radius: 6px !important; box-shadow: none !important;
  font-family: var(--font-heading) !important; font-weight: 700 !important; font-size: .7rem !important; letter-spacing: .1em; text-transform: uppercase; padding: 4px 8px !important;
}
html[data-che-do="ngay"] .food-card .food-badge.eat { color: #173B2F !important; }
html:not([data-che-do="ngay"]) .food-card .food-badge.eat { color: #D9BE86 !important; }
.food-card .food-detail-box { border-left: 0 !important; border-radius: 12px !important; background: var(--gd-o-nen) !important; border: 1px solid var(--border-light) !important; }
/* Vòng 071: Mẹo dùng lại ảnh nhóm hoạt hình img/meo-*.webp — anh Tú 31/10: ảnh thật chỉ ở Thực đơn và Cẩm nang; trang chủ và các màn khác dùng lại ảnh hoạt hình cũ. */

/* ══════════════════════════════════════════════════════════════════════════
   ĐỢT 3 · VÒNG 044: TRANG "DINH DƯỠNG" — Ô EMOJI THÀNH ẢNH THẬT
   5 lối vào (Thực đơn, Bầu ăn được gì, Cách uống vi chất, Cẩm nang trực quan,
   Khoá học) mỗi lối một ô emoji (🍽️🥦💊📖🎓) trong hộp kính → ảnh chụp thật
   vuông 64px bo 14px (dùng lại ảnh trong img/that), emoji ẩn bằng màu chữ trong
   suốt + font-size 0; danh sách bỏ khung hộp lớn, kẻ tóc giữa các lối.
   Áp cho mọi .home-tool-cta theo đích liên kết (href).
   ══════════════════════════════════════════════════════════════════════════ */
.home-tool-cta .htc-icon {
  width: 64px !important; height: 64px !important; flex: none; border-radius: var(--gd-anh-bo-nho) !important;
  font-size: 0 !important; color: transparent !important; border: 0 !important;
  background: var(--htc-anh, none) center / cover no-repeat, #0C2620 !important; box-shadow: var(--gd-anh-bong) !important;
}
html[data-che-do="ngay"] .home-tool-cta .htc-icon { background-color: #EAE4D6 !important; }
.home-tool-cta[href="#thuc-don-cua-me"] { --htc-anh: url("../img/kh-dinh-duong-da-luong-1.webp"); }
.home-tool-cta[href="#tra-cuu-thuc-pham"] { --htc-anh: url("../img/kh-acid-folic-1.webp"); }
.home-tool-cta[href="#meo-hay"] { --htc-anh: url("../img/meo-vichat.webp"); }
.home-tool-cta[href="#cam-nang-truc-quan"] { --htc-anh: url("../img/cam-chi-so-gi-thuc-pham.webp"); }
.home-tool-cta[href="#khoa-hoc-dinh-duong"] { --htc-anh: url("../img/kh-iod-1.webp"); }
.home-tool-cta .htc-icon:not([style]) { }
.home-tool-cta { gap: 16px !important; }
.home-tool-cta .htc-body strong { font-family: var(--font-display) !important; font-weight: 400 !important; font-size: 1.28rem !important; letter-spacing: -0.008em; }
:root:root .home-tool-cta { grid-template-columns: 64px minmax(0, 1fr) auto !important; column-gap: 16px !important; }

/* ══════════════════════════════════════════════════════════════════════════
   ĐỢT 3 · VÒNG 045: CHỈ SỐ CON — Ô SỐ ĐO KHÔNG CẮT CHỮ, BỎ EMOJI LIÊN KẾT
   Ô đơn vị (mm/cm) chỉ rộng 70px với chữ Caslon 1,28rem nên "mm" bị cắt thành
   "mn" → ô đơn vị Archivo 1rem, cột 84px; ô số đo cột còn lại; chữ gợi ý
   "Bỏ trống nếu không có" .9rem không cụt. Bỏ emoji 🗑️ ở nút "Xoá số đang nhập"
   (6 công cụ), 🏠📚 ở hai liên kết cuối màn kết quả.
   ══════════════════════════════════════════════════════════════════════════ */
:root:root .us-input { grid-template-columns: minmax(0, 1fr) 84px !important; gap: 6px !important; }
:root:root .us-input select { font-family: var(--font-heading) !important; font-size: 1rem !important; padding-left: 10px !important; padding-right: 26px !important; background-position: right 8px center !important; }
:root:root .us-input input::placeholder { font-size: .9rem !important; }
.bio-xoa { font-family: var(--font-heading) !important; }
:root:root .us-field { grid-template-columns: minmax(0, 1fr) 200px !important; } :root:root .us-input input::placeholder { font-size: .84rem !important; letter-spacing: 0 !important; }

/* ══════════════════════════════════════════════════════════════════════════
   ĐỢT 3 · VÒNG 046: CHẤT LIỆU — HẠT GIẤY / HẠT PHIM RẤT NHẸ
   Bề mặt phẳng tuyệt đối là dấu hiệu giao diện dựng sẵn. Một lớp hạt nhiễu
   (SVG feTurbulence, ô 180px, xám trung tính) phủ toàn màn ở độ mờ 3,5% (Đêm)
   / 4,5% (Ngày): nền rừng như nỉ, nền vải lanh như giấy in, ảnh thật có hạt
   phim. Lớp cố định, không chặn chạm (pointer-events: none), nằm trên cùng
   nhưng quá nhẹ để đổi tương phản chữ; tắt khi in và khi bật "giảm độ trong suốt".
   ══════════════════════════════════════════════════════════════════════════ */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 2147483000; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5  0 0 0 0 .5  0 0 0 0 .5  0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px; opacity: .035;
}
html[data-che-do="ngay"] body::after { opacity: .045; }
@media print, (prefers-reduced-transparency: reduce) { body::after { display: none; } }

/* ══════════════════════════════════════════════════════════════════════════
   ĐỢT 3 · VÒNG 047: MÀN RỘNG ≥1024px — THỰC ĐƠN TRANG ĐÔI CÓ ẢNH
   Thực đơn trên máy tính: cột 354px lệch trái, nửa phải trống → khối rộng 1040px
   giữa màn; đầu màn chia đôi (tựa + chọn ngày bên trái, ảnh bát cơm bên phải);
   các bữa xếp 2 cột như trang thực đơn nhà hàng in khổ lớn. Cẩm nang màn rộng:
   đầu trang có dải ảnh chương "Trước sinh" (vợ chồng cầm ảnh siêu âm).
   ══════════════════════════════════════════════════════════════════════════ */
@media (min-width: 1024px) {
  #bep-section .tdm { max-width: 1040px !important; width: 100% !important; margin: 0 auto !important; position: relative; padding-top: 320px !important; }
  #bep-section .tdm::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 300px; border-radius: var(--gd-anh-bo);
    background: url("../img/that/mon/com-trang.webp") 50% 50% / cover no-repeat; box-shadow: var(--gd-anh-bong);
    -webkit-mask-image: none; mask-image: none;
  }
  #bep-section .tdm .bep-td { display: grid !important; grid-template-columns: 1fr 1fr; column-gap: 48px; align-items: start; }
  #bep-section .tdm .bep-td > :not(.bep-td-b) { grid-column: 1 / -1; }
  #camnang-section > .section-head { position: relative; padding-top: 300px !important; }
  #camnang-section > .section-head::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 280px; border-radius: var(--gd-anh-bo);
    background: url("../img/that/cam-nang/truoc.webp") 50% 38% / cover no-repeat; box-shadow: var(--gd-anh-bong);
  }
}

/* ══════════════════════════════════════════════════════════════════════════
   ĐỢT 3 · VÒNG 048: CHẾ ĐỘ NGÀY TINH CHỈNH — ẢNH KHÔNG BỊ BẠC, NHÃN MỘT GIỌNG
   (1) Dải ảnh bìa tuần Ngày: lớp chuyển vải lanh phủ từ 0px làm ảnh bạc màu →
   ảnh giữ nguyên 0–110px, chỉ mờ dần ở 40% dưới. (2) Nhãn câu hỏi trong biểu mẫu
   (.efw-label "Mẹ mang"…) cùng giọng nhãn ô vòng 026: chữ HOA nhỏ giãn rộng.
   (3) Ngày: thẻ/hộp nền trắng ngà #FBF8F1 thêm bóng rất mờ một tầng để tách
   khỏi nền vải lanh (đang chỉ dựa vào kẻ tóc nhạt).
   ══════════════════════════════════════════════════════════════════════════ */
.efw-form > .efw-label, .efw-label {
  font-family: var(--font-heading) !important; font-size: .8rem !important; font-weight: 700 !important;
  letter-spacing: .12em !important; text-transform: uppercase; color: var(--text-secondary) !important;
}
html[data-che-do="ngay"] :is(.glass-card, .hp-khoi, .lk-wrap > .lk-card, .tdh-card, .bep-td-tong, .efw-result, #tt-ho-so) {
  box-shadow: 0 1px 0 rgba(60, 44, 14, .04), 0 10px 26px -18px rgba(60, 44, 14, .22) !important;
}

/* ══════════════════════════════════════════════════════════════════════════
   ĐỢT 3 · VÒNG 049: RÀ EMOJI CÒN HIỆN Ở MÀN CHÍNH (đo bằng innerText 17 trang)
   Lịch khám 20 → 0 emoji-biểu-tượng (loại thai kỳ, Vaccine, nút lưu lịch, tài
   liệu tham khảo; dấu ★ mốc quan trọng giữ — là ký hiệu chữ, không phải emoji);
   Tăng cân (Đơn thai/Song thai), Thực phẩm (dải chú thích), Giải mã máu (tựa +
   bảng). Mốc ★ thành vàng/rừng để đọc như dấu sao trong lịch in.
   ══════════════════════════════════════════════════════════════════════════ */
#lckt .ms-nm { font-feature-settings: "lnum"; }
.tc-fetus-btn { border-radius: 12px !important; box-shadow: none !important; font-family: var(--font-heading) !important; font-weight: 700 !important; min-height: 48px; }
html:not([data-che-do="ngay"]) .tc-fetus-btn { background: transparent !important; border: 1px solid rgba(232, 220, 190, .24) !important; color: #E9E1D0 !important; }
html:not([data-che-do="ngay"]) .tc-fetus-btn.on { background: #D9BE86 !important; border-color: #D9BE86 !important; color: #13221B !important; }
html[data-che-do="ngay"] .tc-fetus-btn { background: transparent !important; border: 1px solid #CFC4AE !important; color: #26352E !important; }
html[data-che-do="ngay"] .tc-fetus-btn.on { background: #173B2F !important; border-color: #173B2F !important; color: #F6F1E6 !important; }
.foods-banner-cap { font-family: var(--font-heading) !important; font-weight: 600 !important; letter-spacing: .01em; }

/* ══════════════════════════════════════════════════════════════════════════
   ĐỢT 3 · VÒNG 050 (MỐC): NHẬT KÝ BÉ — BIỂU TƯỢNG NÉT THAY EMOJI + SOÁT TOÀN APP
   Ba nút ghi nhanh (Bú · Tã · Bé ngủ) dùng emoji 🍼💩😴 → biểu tượng nét mảnh
   vẽ bằng mặt nạ SVG (bình sữa · tã · trăng), màu theo chữ nút; emoji ẩn bằng
   font-size 0. Không đổi JS. Nhãn "🍼 Cữ bú…", "💩 Thay tã…" giữ chữ, ẩn emoji
   không được bằng CSS (nằm trong văn bản) — để vòng sau.
   ══════════════════════════════════════════════════════════════════════════ */
.nb-big .nb-emoji {
  display: block !important; width: 26px !important; height: 26px !important; font-size: 0 !important;
  background: currentColor; -webkit-mask: var(--nb-ic) center / contain no-repeat; mask: var(--nb-ic) center / contain no-repeat;
  margin: 0 auto 6px !important;
}
.nb-big .nb-emoji { --nb-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 2h4M11 2v3M13 2v3'/%3E%3Cpath d='M9 5h6l1 3v12a2 2 0 0 1-2 2h-4a2 2 0 0 1-2-2V8z'/%3E%3Cpath d='M8 12h8M8 16h8'/%3E%3C/svg%3E"); }
.nb-big.nb-ta .nb-emoji { --nb-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7h18v3a9 9 0 0 1-18 0z'/%3E%3Cpath d='M7 10.5c1.5 1.2 3.2 1.8 5 1.8s3.5-.6 5-1.8'/%3E%3C/svg%3E"); }
.nb-big.nb-sleep .nb-emoji { --nb-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 14.5A8 8 0 1 1 9.5 4a6.5 6.5 0 0 0 10.5 10.5z'/%3E%3C/svg%3E"); }
.nb-big { font-family: var(--font-heading) !important; font-weight: 700 !important; border-radius: 14px !important; box-shadow: none !important; }
/* ══════════════════════════════════════════════════════════════════════════
   ĐỢT 3 · VÒNG 051: "BÉ TUẦN NÀY TO BẰNG GÌ" — THẺ THEO HỆ, ẢNH QUẢ LỚN HƠN
   Thẻ trắng giữa nền Đêm (tiêu đề xanh lá #37813C + nâu) → bề mặt rừng (Đêm) /
   ngà (Ngày), tiêu đề Caslon màu chữ, tên quả màu nhấn; ảnh quả (giữ nguyên ảnh)
   phóng 88 → 120px trong khung bo 18px; hai số đo (chiều dài/cân nặng) theo
   luật "số đứng một mình" vòng 027.
   ══════════════════════════════════════════════════════════════════════════ */
html:not([data-che-do="ngay"]) .besize-card { background: var(--surface) !important; border: 1px solid var(--border) !important; color: var(--text-primary) !important; }
html[data-che-do="ngay"] .besize-card { background: #FBF8F1 !important; border: 1px solid var(--border) !important; }
.besize-card { border-radius: 18px !important; box-shadow: none !important; }
.besize-card .besize-title { font-family: var(--font-display) !important; font-weight: 400 !important; font-size: 1.5rem !important; line-height: 1.2 !important; color: var(--text-primary) !important; }
.besize-card .besize-title :is(b, strong, span) { color: var(--gd-vang) !important; font-weight: 400 !important; }
.besize-card img { width: 120px !important; height: 120px !important; border-radius: 18px !important; object-fit: cover; box-shadow: var(--gd-anh-bong); }
.besize-metrics .besize-metric { background: none !important; border: 0 !important; border-top: 1px solid var(--border) !important; border-radius: 0 !important; }
.besize-metrics .besize-metric :is(.besize-val, b, strong) { font-family: var(--font-display) !important; font-weight: 400 !important; font-size: 1.7rem !important; color: var(--gd-vang) !important; }
html:not([data-che-do="ngay"]) .besize-card :is(p, .besize-desc, .besize-note, div:not(.besize-title):not(.besize-metrics):not(.besize-metric)) { color: var(--text-secondary) !important; }
:root:root .besize-metrics .besize-num { font-family: var(--font-display) !important; font-weight: 400 !important; font-size: 1.7rem !important; color: var(--gd-vang) !important; }

/* ══════════════════════════════════════════════════════════════════════════
   ĐỢT 3 · VÒNG 052: ĐẾM CỬ ĐỘNG THAI — CON SỐ LỚN, MỘT NÚT CHÍNH
   Số đếm 0/10 (Caslon ~3rem) → cỡ bìa 5,6rem như số tuần ở trang chủ; "/10"
   nhỏ màu phụ. Hai nút cùng tô vàng đặc tranh nhau → "Con vừa máy" là nút
   chính duy nhất (cao 64px, rộng trọn), "Bắt đầu phiên mới" thành nút viền.
   Bỏ emoji 👣 trên nút (js/cudong.js). Thanh tiến độ mảnh 4px màu nhấn.
   ══════════════════════════════════════════════════════════════════════════ */
#cudong-section .cd-big { font-family: var(--font-display) !important; font-weight: 400 !important; font-size: 5.6rem !important; line-height: .9 !important; letter-spacing: -0.04em; color: var(--gd-vang) !important; }
#cudong-section .cd-big span { font-size: 1.6rem !important; letter-spacing: 0; color: var(--text-secondary) !important; }
#cudong-section .cd-btn:not(.cd-btn-sub) { min-height: 64px !important; font-size: 1.15rem !important; }
:root:root #cudong-section .cd-btn.cd-btn-sub {
  background: transparent !important; color: var(--text-primary) !important; border: 1px solid var(--gd-o-ke) !important;
  min-height: 48px !important; box-shadow: none !important; font-weight: 600 !important;
}
#cudong-section :is(.cd-bar, .cd-prog, progress, [class*="thanh"]) { height: 4px !important; border-radius: 4px !important; }

/* ══════════════════════════════════════════════════════════════════════════
   ĐỢT 3 · VÒNG 053: TUỔI THAI & NGÀY DỰ SINH — KẾT QUẢ KIỂU "THIỆP"
   Kết quả: "24 tuần 1 ngày" đậm trong hộp → Caslon 400 2,6rem màu nhấn đứng một
   mình; "Tam cá nguyệt 2" cam → chữ hoa nhỏ giãn màu phụ; hai ô Ngày dự sinh /
   Còn đến dự sinh bỏ hộp, kẻ tóc giữa; thanh "Thai kỳ đã qua" xanh lá → vàng
   4px. Bỏ emoji 🖼🎁 ở nút tạo card + tặng công cụ (tuoithai/trieuchung/cudong).
   ══════════════════════════════════════════════════════════════════════════ */
#tuoithai-section .tt-result :is(.tt-hero, .tt-stat, .tt-prog, [class*="tt-bar"]) { background: none !important; border: 0 !important; box-shadow: none !important; border-radius: 0 !important; }
#tuoithai-section .tt-result .tt-hero { padding: 18px 0 14px !important; border-bottom: 1px solid var(--border) !important; }
#tuoithai-section .tt-hero-val { font-family: var(--font-display) !important; font-weight: 400 !important; font-size: 2.6rem !important; line-height: 1.05 !important; letter-spacing: -0.02em; color: var(--gd-vang) !important; }
#tuoithai-section .tt-hero-sub { font-family: var(--font-heading) !important; font-size: .78rem !important; font-weight: 700 !important; letter-spacing: .14em; text-transform: uppercase; color: var(--text-secondary) !important; }
#tuoithai-section .tt-stat { border-top: 0 !important; }
#tuoithai-section .tt-stat + .tt-stat { border-left: 1px solid var(--border) !important; }
#tuoithai-section .tt-stat-val { font-family: var(--font-display) !important; font-weight: 400 !important; font-size: 1.5rem !important; }
#tuoithai-section .tt-result :is(progress, [class*="fill"], [class*="tt-bar"] > *) { background: var(--gd-vang) !important; height: 4px !important; }
:is(.cd-tang-nut, .tt-tang, [class*="tang-nut"]) { font-family: var(--font-heading) !important; }
#tuoithai-section .tt-stat-val { font-size: 1.35rem !important; white-space: nowrap; }
#tuoithai-section .tt-result :is(progress, [class*="fill"], [class*="tt-bar"] > *) { max-width: 100%; }
#tuoithai-section .tt-result [class*="tt-bar"], #tuoithai-section .tt-result [class*="track"] { background: var(--border) !important; height: 4px !important; border-radius: 4px !important; overflow: hidden; }

/* ══════════════════════════════════════════════════════════════════════════
   ĐỢT 3 · VÒNG 054: TĂNG CÂN THAI KỲ — KẾT LUẬN CHỮ, NÚT PHỤ VIỀN, BẢNG IN
   "Trong dải kỳ vọng 👍" viên thuốc xanh lá đặc → dòng kết luận Caslon nghiêng
   màu nhấn với vạch trái 2px (Nhanh/Chậm hơn giữ màu cảnh báo của luật cũ);
   "Xóa hết" (.tc-ghost) đang tô vàng đặc như nút chính → nút viền; hàng bảng
   đang áp dụng: vàng chói #F5B700 → vàng sâm-panh 10% + vạch trái; tiêu đề
   "Bước 1/2" Caslon.
   ══════════════════════════════════════════════════════════════════════════ */
:root:root .tangcan .tc-verdict {
  background: none !important; border: 0 !important; border-left: 2px solid var(--gd-vang) !important; border-radius: 0 !important; box-shadow: none !important;
  text-align: left !important; padding: 6px 0 6px 14px !important; font-family: var(--font-display) !important; font-style: italic; font-weight: 400 !important; font-size: 1.35rem !important; color: var(--gd-vang) !important;
}
:root:root .tangcan .tc-btn.tc-ghost { background: transparent !important; color: var(--text-primary) !important; border: 1px solid var(--gd-o-ke) !important; box-shadow: none !important; font-weight: 600 !important; }
html:not([data-che-do="ngay"]) .tangcan table.tc-table tr.tc-hl td { background: rgba(217, 190, 134, .1) !important; color: #D9BE86 !important; }
.tangcan table.tc-table tr.tc-hl td:first-child { box-shadow: inset 2px 0 0 var(--gd-vang) !important; }
.tangcan :is(.tc-step-h, .tc-buoc, h3) { font-family: var(--font-display) !important; font-weight: 400 !important; font-size: 1.35rem !important; letter-spacing: -0.01em; }

/* ══════════════════════════════════════════════════════════════════════════
   ĐỢT 3 · VÒNG 055: GIẢI MÃ XÉT NGHIỆM MÁU — BĂNG TUẦN THEO HỆ
   Băng "Tuần 24" gradient xanh ngọc + chữ bạc hà + nút "Đổi" viên thuốc xanh lá
   (màu đợt 2) → băng phẳng kẻ tóc vàng: "Tuần 24" Caslon cỡ lớn màu nhấn, câu
   giải thích màu phụ, "Đổi" thành liên kết chữ gạch chân; khối nhập "chọn xét
   nghiệm" bỏ viền đứt; lời cảnh báo nguồn tham chiếu thành chú thích nhỏ có vạch.
   ══════════════════════════════════════════════════════════════════════════ */
#bloodref-section .bt-banner { background: none !important; border: 0 !important; border-top: 1px solid var(--gd-ke-vang) !important; border-bottom: 1px solid var(--gd-ke-vang) !important; border-radius: 0 !important; box-shadow: none !important; padding: 18px 0 !important; }
#bloodref-section .bt-banner .wk { font-family: var(--font-display) !important; font-weight: 400 !important; font-size: 2.6rem !important; line-height: 1 !important; color: var(--gd-vang) !important; letter-spacing: -0.02em; }
#bloodref-section .bt-banner :is(p, .sub, div:not(.wk)) { color: var(--text-secondary) !important; }
:root:root #bloodref-section #btManual {
  background: none !important; border: 0 !important; box-shadow: none !important; min-height: 44px; padding: 0 4px !important;
  color: var(--gd-vang) !important; text-decoration: underline; text-underline-offset: 4px; font-weight: 700 !important;
}
#bloodref-section :is(.bt-form, .bt-pick, [class*="dashed"]) { border-style: solid !important; border-color: var(--border) !important; }
#bloodref-section .bt-note, #bloodref-section p:last-child:is([class*="note"], [class*="canh"]) { font-size: .92rem !important; border-left: 2px solid var(--gd-ke-vang); padding-left: 12px !important; background: none !important; text-align: left !important; }
#bloodref-section select { font-family: var(--font-heading) !important; font-size: 1.05rem !important; }

/* ══════════════════════════════════════════════════════════════════════════
   ĐỢT 3 · VÒNG 056: DỌN MÀU NGOÀI HỆ CÒN SÓT (quét 71 trang tìm gradient/xanh lá)
   Bộ quét màu ngoài hệ (scratchpad mau_la.py) chỉ còn 8 màn: (1) Khoá học — 48
   nhãn "Pro" gradient tím-vàng → nhãn viền mảnh chữ hoa; (2) Tra cứu an toàn —
   nhãn đèn xanh/vàng/đỏ viên thuốc đặc → nhãn viền (giữ nghĩa màu, màu chữ theo
   đèn); (3) Thực đơn/Tính calo/Chế độ đặc biệt — thanh vi chất bạc hà #8FE39B →
   màu nhấn; (4) Nhạc thư giãn — trình phát gradient → bề mặt phẳng; (5) Tra cứu
   thực phẩm — băng đầu gradient → phẳng.
   ══════════════════════════════════════════════════════════════════════════ */
:root:root #khoahocTool .kh-badge.pro, :root:root .kh-badge.pro {
  background: none !important; border: 1px solid var(--gd-vang) !important; color: var(--gd-vang) !important;
  font-family: var(--font-heading) !important; font-weight: 700 !important; font-size: .64rem !important; letter-spacing: .12em; text-transform: uppercase;
}
:root:root .antoan .at-tag { background: none !important; border: 1px solid currentColor; border-radius: 6px !important; font-family: var(--font-heading) !important; font-size: .82rem !important; letter-spacing: .04em; padding: 3px 8px !important; }
:root:root .antoan .at-tag[style*="37813C"] { color: var(--gd-vang) !important; }
:root:root .antoan .at-tag[style*="A8641E"] { color: #D9A25B !important; }
:root:root .antoan .at-tag[style*="C0504D"] { color: #E58A85 !important; }
html[data-che-do="ngay"] .antoan .at-tag[style*="37813C"] { color: #173B2F !important; }
html[data-che-do="ngay"] .antoan .at-tag[style*="A8641E"] { color: #8A5212 !important; }
html[data-che-do="ngay"] .antoan .at-tag[style*="C0504D"] { color: #A33A36 !important; }
:root:root .bep-vc-thanh > span { background: var(--gd-vang) !important; }
:root:root .bep-vc-thanh { background: var(--border) !important; height: 4px !important; border-radius: 4px !important; }
:root:root .nt-player, :root:root #pregnancyFoodTool .pft-hero { background: var(--surface) !important; border: 1px solid var(--border) !important; box-shadow: none !important; }
:root:root .nt-mini.nt-mini-on { background: var(--gd-vang) !important; color: #13221B !important; }
:root:root .nt-np-cat { color: var(--gd-vang) !important; }
:root:root #pregnancyFoodTool .pft-group-tag.safe { background: none !important; border: 1px solid currentColor !important; color: var(--gd-vang) !important; }
html[data-che-do="ngay"] #pregnancyFoodTool .pft-group-tag.safe { color: #173B2F !important; }
/* Ngày: nhãn đèn đủ tương phản (độ ưu tiên cao hơn luật Đêm ở trên); trình phát nhạc chữ sáng → giữ nền rừng đặc */
:root:root[data-che-do="ngay"] .antoan .at-tag[style*="37813C"] { color: #173B2F !important; }
:root:root[data-che-do="ngay"] .antoan .at-tag[style*="A8641E"] { color: #7E4A10 !important; }
:root:root[data-che-do="ngay"] .antoan .at-tag[style*="C0504D"] { color: #9E3430 !important; }
:root:root[data-che-do="ngay"] .nt-player { background: #173B2F !important; border-color: #173B2F !important; }
:root:root[data-che-do="ngay"] .nt-np-cat { color: #D9BE86 !important; }

/* ══════════════════════════════════════════════════════════════════════════
   ĐỢT 3 · VÒNG 057: MIỄN TRỪ & NGUỒN — MỘT KIỂU "CHÚ THÍCH CUỐI TRANG" TOÀN APP
   ~40 biến thể (…-miendtru, …-mientru, …-disclaimer, …-nguon) mỗi mô-đun một
   kiểu: hộp nền vàng/xanh, chữ nghiêng giữa, chữ to bằng thân bài… → một kiểu:
   chữ Garamond .9rem màu phụ canh trái, vạch trái 2px kẻ vàng, không nền, không
   hộp — như chú thích cuối trang sách. Nội dung không đổi.
   ══════════════════════════════════════════════════════════════════════════ */
:is([class$="-miendtru"], [class$="-mientru"], [class*="-mien-tru"], [class$="-disclaimer"], [class*="-nguon"]:is(p, div, small), .tdcm-mien, .science-note, .pft-medical-note, .efw-disclaimer):not(button):not(a) {
  background: none !important; border: 0 !important; border-left: 2px solid var(--gd-ke-vang) !important; border-radius: 0 !important; box-shadow: none !important;
  padding: 2px 0 2px 12px !important; margin: 16px 0 !important; text-align: left !important;
  font-family: var(--font-body) !important; font-style: normal !important; font-size: .92rem !important; line-height: 1.5 !important; color: var(--text-secondary) !important;
}
:is([class$="-miendtru"], [class$="-mientru"], [class*="-mien-tru"], [class$="-disclaimer"], [class*="-nguon"]:is(p, div, small), .tdcm-mien, .science-note, .pft-medical-note, .efw-disclaimer):not(button):not(a) :is(b, strong) {
  font-family: var(--font-heading) !important; font-weight: 700 !important; font-size: .78rem !important; letter-spacing: .1em; text-transform: uppercase; color: var(--text-primary) !important;
}

/* ══════════════════════════════════════════════════════════════════════════
   ĐỢT 3 · VÒNG 058: BÀI ĐỌC CẨM NANG — CÂU CHỐT KIỂU "TRÍCH DẪN", VIDEO KIỂU THẺ ẢNH
   Câu chốt đầu bài (.cn-detail-key, 🩺 + chữ đậm) → trích dẫn Caslon nghiêng
   1,32rem với vạch trái vàng 3px, ẩn biểu tượng; khung "🎬 Xem bác Tú giảng"
   → nhãn chữ hoa nhỏ "VIDEO" (ẩn 🎬), ảnh video bo 18px bóng sâu; ảnh đầu bài
   khi không tràn khung thì bo 18px như khung ảnh chung (vòng 023); đường dẫn
   Archivo chữ phụ, dấu › màu nhấn.
   ══════════════════════════════════════════════════════════════════════════ */
#camnang-section .cn-detail-key {
  background: none !important; border: 0 !important; border-left: 3px solid var(--gd-vang) !important; border-radius: 0 !important;
  padding: 4px 0 4px 16px !important; margin: 18px 0 22px !important;
  font-family: var(--font-display) !important; font-style: italic; font-weight: 400 !important; font-size: 1.32rem !important; line-height: 1.38 !important; color: var(--text-primary) !important;
}
#camnang-section .cn-detail-key > span[aria-hidden], #camnang-section .cn-video-h > span[aria-hidden] { display: none !important; }
#camnang-section .cn-video-h { font-family: var(--font-heading) !important; font-size: .78rem !important; font-weight: 700 !important; letter-spacing: .14em; text-transform: uppercase; color: var(--gd-vang) !important; }
#camnang-section :is(.cn-video img, .cn-video iframe, .cn-video a > img) { border-radius: var(--gd-anh-bo) !important; box-shadow: var(--gd-anh-bong) !important; }
#camnang-section .cn-detail-art { border-radius: var(--gd-anh-bo) !important; overflow: hidden; }
@media (max-width: 1023px) { #camnang-section .cn-detail-art { border-radius: 0 !important; } }
#camnang-section .cn-crumb { font-family: var(--font-heading) !important; font-size: .82rem !important; color: var(--text-secondary) !important; }

/* ══════════════════════════════════════════════════════════════════════════
   ĐỢT 3 · VÒNG 059: TẤM ĐĂNG KÝ / ĐĂNG NHẬP — DẢI ẢNH THẬT MỞ ĐẦU
   Tấm đăng ký là "lần đầu gặp" của mẹ mới — mở bằng một dải ảnh chụp thật 150px
   (mẹ bầu cầm ảnh siêu âm cùng chồng, ảnh chương "Trước sinh") bo trên 22px,
   mờ dần vào bề mặt tấm; logo + tựa nằm dưới. Nút đóng nổi trên ảnh (nền tối mờ).
   Không đổi chữ, ô nhập hay luồng đăng ký.
   ══════════════════════════════════════════════════════════════════════════ */
/* Vòng 071: gỡ dải ảnh đầu tấm đăng ký — anh Tú 31/10: ảnh thật chỉ ở Thực đơn và Cẩm nang; trang chủ và các màn khác dùng lại ảnh hoạt hình cũ. */

/* ══════════════════════════════════════════════════════════════════════════
   ĐỢT 3 · VÒNG 060 (MỐC): SỬA NÚT TÀI KHOẢN TRONG MỤC LỤC + SOÁT TOÀN APP
   Quét tương phản chế độ khách tìm ra lỗi từ vòng 024: nút "Đăng nhập" (.nav-acc)
   trong Mục lục toàn màn bị luật đánh số mục áp vào (lưới + nền trong) → chữ rừng
   trên nền rừng 1,07:1. Tách nút tài khoản khỏi danh sách đánh số: nút chính
   đặc (vàng Đêm / rừng Ngày) rộng trọn, cao 52px, không số thứ tự.
   ══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  :root:root .nav-menu.open .nav-link.nav-acc:not(#gdKhong) {
    counter-increment: none; display: flex !important; align-items: center; justify-content: center;
    min-height: 52px; margin: 18px 0 6px !important; padding: 0 16px !important; border-radius: var(--gd-nut-bo, 14px) !important;
    font-family: var(--font-heading) !important; font-size: 1.05rem !important; font-weight: 700 !important; letter-spacing: .02em;
  }
  :root:root .nav-menu.open .nav-link.nav-acc:not(#gdKhong)::before { content: none !important; display: none !important; }
  :root:root:not([data-che-do="ngay"]) .nav-menu.open .nav-link.nav-acc { background: #D9BE86 !important; color: #13221B !important; }
  :root:root[data-che-do="ngay"] .nav-menu.open .nav-link.nav-acc { background: #173B2F !important; color: #F6F1E6 !important; }
}
/* :not(#gdKhong) chỉ để nâng độ ưu tiên ngang luật đánh số mục (có :not(#id)) */
@media (max-width: 768px) {
  :root:root .nav-menu.open #navTaiKhoan.nav-link.nav-acc:not(#navTimKiem):not(#navGopY) {
    display: flex !important; justify-content: center !important; align-items: center !important; font-size: 1.05rem !important; line-height: 1.2 !important; padding: 0 16px !important; min-height: 52px !important; height: 52px;
  }
}
html[data-che-do="ngay"] .besize-card .besize-note { color: #4F5B55 !important; }

/* ══════════════════════════════════════════════════════════════════════════
   ĐỢT 3 · VÒNG 061: LƯỢT HAI · TOÀN APP — HẾT VÀNG CHÓI #F5B700 + THẺ BÁC SĨ
   Lượt hai bắt đầu bằng dọn gốc: 31 chỗ vàng chói #F5B700 / quầng sáng vàng còn
   trong các khối đợt 2 (đầu giao-dien.css) → vàng sâm-panh (chấm bách phân vị,
   mốc lịch khám, nhãn "Mẹ đang ở đây", viền ảnh bác sĩ…). Thẻ bác sĩ: ảnh 72px
   viền tóc vàng mảnh (bỏ vòng vàng dày + quầng phát sáng), tên Caslon, nút "Xem"
   viền mảnh.
   ══════════════════════════════════════════════════════════════════════════ */
:root:root #tacGia .au-avatar { width: 72px !important; height: 72px !important; box-shadow: 0 0 0 1px rgba(217, 190, 134, .55), 0 0 0 5px rgba(217, 190, 134, .08) !important; border: 0 !important; }
:root:root[data-che-do="ngay"] #tacGia .au-avatar { box-shadow: 0 0 0 1px rgba(23, 59, 47, .45), 0 0 0 5px rgba(23, 59, 47, .06) !important; }
#tacGia :is(.au-toggle, .au-xem, button) { border-radius: 10px !important; box-shadow: none !important; background: transparent !important; border: 1px solid var(--gd-o-ke) !important; font-family: var(--font-heading) !important; }

/* ══════════════════════════════════════════════════════════════════════════
   ĐỢT 3 · VÒNG 062: LƯỢT HAI · THỰC ĐƠN "HÔM NAY" — GHI CHÚ BẾP + LỜI CẢM ƠN
   (1) "Điều hay hôm nay" hộp viền → ghi chú bên lề: nhãn chữ hoa vàng, thân
   Garamond nghiêng, vạch trái 2px (như ghi chú tay của đầu bếp trên thực đơn).
   (2) Hộp "✓ Mẹ đã đăng ký nhận nhắc" nền xanh → dòng xác nhận kẻ tóc, chữ phụ.
   (3) An toàn: hiệu ứng hiện theo cuộn (vòng 035) không bao giờ để ảnh dưới 35%
   độ rõ (trước 0,1%) — nếu trình duyệt tính sai mốc cuộn, ảnh vẫn thấy được.
   ══════════════════════════════════════════════════════════════════════════ */
:root:root .tdm .bep-hay {
  background: none !important; border: 0 !important; border-left: 2px solid var(--gd-ke-vang) !important; border-radius: 0 !important; box-shadow: none !important;
  padding: 4px 0 4px 14px !important; margin: 22px 0 !important;
}
:root:root .tdm .bep-hay :is(b, strong, h4, h5, .bep-hay-h) { display: block; font-family: var(--font-heading) !important; font-size: .76rem !important; font-weight: 700 !important; letter-spacing: .14em; text-transform: uppercase; color: var(--gd-vang) !important; margin-bottom: 4px; }
:root:root .tdm .bep-hay :is(p, span) { font-family: var(--font-body) !important; font-style: italic; font-size: 1.04rem !important; color: var(--text-primary) !important; }
:root:root .tdm .tdm-lead { background: none !important; border: 0 !important; border-top: 1px solid var(--border) !important; border-radius: 0 !important; box-shadow: none !important; padding: 14px 0 0 !important; color: var(--text-secondary) !important; font-family: var(--font-body) !important; font-style: italic; }
:root:root .lolo-lead-cta.done { background: none !important; border: 0 !important; border-top: 1px solid var(--border) !important; border-radius: 0 !important; box-shadow: none !important; padding: 14px 0 0 !important; }
:root:root .lolo-lead-cta-done { font-family: var(--font-body) !important; font-style: italic; font-weight: 400 !important; font-size: 1rem !important; color: var(--text-secondary) !important; }
:root:root .tdm .tdm-lead { border-top: 0 !important; padding-top: 0 !important; }

/* ══════════════════════════════════════════════════════════════════════════
   ĐỢT 3 · VÒNG 063: LƯỢT HAI · CẨM NANG SAU SINH — BÀI CHĂM BÉ THÀNH MỤC LỤC
   Danh sách bài chăm bé (.cb-bai): thẻ hộp có ô emoji (🧷🛁🍼…) → mục lục số
   thứ tự vàng như danh sách bài Trước sinh (vòng 028): ẩn ô emoji, tựa Caslon,
   câu dẫn Garamond nghiêng, kẻ tóc giữa các bài. Hai tab Sau sinh dùng chung
   một ngôn ngữ mục lục.
   ══════════════════════════════════════════════════════════════════════════ */
#camnang-section .cn-cambe-list { counter-reset: cbBai; display: block !important; }
#camnang-section .cn-cambe-list .cb-bai {
  counter-increment: cbBai;
  display: grid !important; grid-template-columns: 44px minmax(0, 1fr); gap: 0 10px; align-items: start; width: 100%;
  padding: 18px 0 !important; margin: 0 !important; text-align: left;
  background: none !important; border: 0 !important; border-bottom: 1px solid var(--border-light) !important; border-radius: 0 !important; box-shadow: none !important;
}
#camnang-section .cn-cambe-list .cb-bai > .ic { display: none !important; }
#camnang-section .cn-cambe-list .cb-bai::before { content: counter(cbBai, decimal-leading-zero); font: 400 1.5rem/1.1 var(--font-display); color: var(--gd-vang); }
#camnang-section .cn-cambe-list .cb-bai b { display: block; font-family: var(--font-display) !important; font-weight: 400 !important; font-size: 1.3rem !important; line-height: 1.22 !important; color: var(--text-primary) !important; margin-bottom: 4px; }
#camnang-section .cn-cambe-list .cb-bai b + span { display: block; font-family: var(--font-body) !important; font-style: italic; font-size: 1rem !important; line-height: 1.45 !important; color: var(--text-secondary) !important; }

/* ══════════════════════════════════════════════════════════════════════════
   ĐỢT 3 · VÒNG 064: LƯỢT HAI · BÀI CHĂM BÉ — CÙNG KHUÔN BÀI ĐỌC TRƯỚC SINH
   Bài chăm bé (js/cambe.js, khuôn riêng): tựa Caslon nhỏ có emoji 🧷 → tựa cỡ mở
   bài 2,2rem không emoji; câu dẫn → trích dẫn Caslon nghiêng vạch vàng (như câu
   chốt vòng 058); đề mục H3 Archivo → Caslon 1,5rem; hộp cảnh báo ⚠️ giữ nghĩa
   cảnh báo nhưng thành vạch trái màu cam đất; liên kết "Mở tiện ích" bỏ 🔧.
   ══════════════════════════════════════════════════════════════════════════ */
#camnang-section .cb-h { font-family: var(--font-display) !important; font-weight: 400 !important; font-size: clamp(2rem, 8.6vw, 2.4rem) !important; line-height: 1.08 !important; letter-spacing: -0.02em !important; margin: 6px 0 14px !important; }
#camnang-section .cb-sub {
  border-left: 3px solid var(--gd-vang); padding: 2px 0 2px 16px !important; margin: 0 0 22px !important;
  font-family: var(--font-display) !important; font-style: italic; font-size: 1.28rem !important; line-height: 1.38 !important; color: var(--text-primary) !important;
}
#camnang-section .cb-doc h3 { font-family: var(--font-display) !important; font-weight: 400 !important; font-size: 1.5rem !important; line-height: 1.2 !important; letter-spacing: -0.01em; margin: 28px 0 10px !important; }
#camnang-section .cb-canhbao { background: none !important; border: 0 !important; border-left: 2px solid #C98B5B !important; border-radius: 0 !important; padding: 4px 0 4px 14px !important; }
#camnang-section .cb-toollink { font-family: var(--font-heading) !important; font-weight: 700 !important; letter-spacing: .1em; text-transform: uppercase; font-size: .8rem !important; color: var(--gd-vang) !important; }

/* ══════════════════════════════════════════════════════════════════════════
   ĐỢT 3 · VÒNG 065: LƯỢT HAI · "VÀO BẾP" (GAME NẤU ĂN) — KHUNG THEO HỆ, GIỮ ẢNH GAME
   Ảnh món của game giữ nguyên (lệnh anh Tú). Đổi khung: chip lọc theo luật chip
   (đang chọn khối đặc), thẻ món bỏ hộp nền thành ô kẻ tóc bo 16px, ảnh game
   trong khung bo 12px, tên món Caslon, sao vàng sâm-panh, dòng kcal·phút Archivo
   chữ phụ; tựa "Nấu trong game" Caslon cỡ mở chương.
   ══════════════════════════════════════════════════════════════════════════ */
:root:root .bep-loc { border-radius: 10px !important; box-shadow: none !important; min-height: 44px; font-family: var(--font-heading) !important; font-weight: 600 !important; }
html:not([data-che-do="ngay"]) .bep-loc { background: transparent !important; border: 1px solid rgba(232, 220, 190, .22) !important; color: #E1D8C6 !important; }
html:not([data-che-do="ngay"]) .bep-loc.on { background: #D9BE86 !important; border-color: #D9BE86 !important; color: #13221B !important; font-weight: 700 !important; }
html[data-che-do="ngay"] .bep-loc { background: transparent !important; border: 1px solid #CFC4AE !important; color: #2E3B35 !important; }
html[data-che-do="ngay"] .bep-loc.on { background: #173B2F !important; border-color: #173B2F !important; color: #F6F1E6 !important; font-weight: 700 !important; }
:root:root .bep-mon { border-radius: 16px !important; box-shadow: none !important; background: transparent !important; border: 1px solid var(--border) !important; padding: 8px 8px 12px !important; }
:root:root .bep-mon .bep-anh { border-radius: 12px !important; overflow: hidden; }
:root:root .bep-mon .bep-ten { font-family: var(--font-display) !important; font-weight: 400 !important; font-size: 1.08rem !important; line-height: 1.22 !important; color: var(--text-primary) !important; }
:root:root .bep-mon .bep-sao { color: var(--gd-vang) !important; letter-spacing: .08em; }
:root:root .bep-mon :is(.bep-kcal, .bep-meta, .bep-thong-so, small) { font-family: var(--font-heading) !important; color: var(--text-secondary) !important; }
#bep-section :is(.bep-dau h3, .bep-tieu-de, .bep-h) { font-family: var(--font-display) !important; font-weight: 400 !important; font-size: 1.9rem !important; letter-spacing: -0.015em; }

/* ══════════════════════════════════════════════════════════════════════════
   ĐỢT 3 · VÒNG 066: LƯỢT HAI · MỤC LỤC — BIỂU TƯỢNG NÉT THAY 🔍💬☀️🌙
   Ba lối phụ trong Mục lục dùng emoji (🔍 Tìm kiếm, 💬 Góp ý, ☀️/🌙 nút đổi chế
   độ) → biểu tượng nét mảnh 1,6 vẽ bằng mặt nạ SVG theo màu chữ (cùng bộ với
   thanh đáy và Nhật ký bé vòng 050); emoji trong span ẩn (font-size 0). Không
   đổi JS (cheDoIc vẫn đổi ☀️/🌙 — CSS vẽ mặt trời/trăng theo data-che-do).
   ══════════════════════════════════════════════════════════════════════════ */
:root:root .nav-menu :is(#navTimKiem, #navGopY) > span[aria-hidden],
:root:root #cheDoIc {
  display: inline-block !important; width: 20px !important; height: 20px !important; font-size: 0 !important; vertical-align: -4px; margin-right: 10px;
  background: currentColor !important; filter: none !important; opacity: 1 !important;
  -webkit-mask: var(--gd-ic) center / contain no-repeat; mask: var(--gd-ic) center / contain no-repeat;
}
:root:root #navTimKiem > span[aria-hidden] { --gd-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='M16 16l4.5 4.5'/%3E%3C/svg%3E"); }
:root:root #navGopY > span[aria-hidden] { --gd-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linejoin='round'%3E%3Cpath d='M4 5h16v11H9l-5 4z'/%3E%3C/svg%3E"); }
:root:root:not([data-che-do="ngay"]) #cheDoIc { --gd-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 2.5v2M12 19.5v2M2.5 12h2M19.5 12h2M5.3 5.3l1.4 1.4M17.3 17.3l1.4 1.4M5.3 18.7l1.4-1.4M17.3 6.7l1.4-1.4'/%3E%3C/svg%3E"); }
:root:root[data-che-do="ngay"] #cheDoIc { --gd-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linejoin='round'%3E%3Cpath d='M20 14.5A8 8 0 1 1 9.5 4a6.5 6.5 0 0 0 10.5 10.5z'/%3E%3C/svg%3E"); }
:root:root #cheDoBtn { display: inline-flex !important; align-items: center; justify-content: center; gap: 0; }

/* ══════════════════════════════════════════════════════════════════════════
   ĐỢT 3 · VÒNG 067: LƯỢT HAI · MÀN RỘNG — DẢI ẢNH MỞ CHƯƠNG CHO MẸO, TIỆN ÍCH, LỊCH KHÁM
   Ở ≥1024px các màn này mở bằng tựa chữ trên khoảng trống (dải ảnh chỉ có ≤1023).
   Thêm cùng khuôn với Cẩm nang/Thực đơn màn rộng (vòng 047): ảnh 260px bo 18px
   bóng sâu phía trên tựa, dùng đúng ảnh của bản điện thoại (bản 1600px).
   ══════════════════════════════════════════════════════════════════════════ */
/* Vòng 071: gỡ dải ảnh màn rộng Mẹo, Tiện ích, Lịch khám — anh Tú 31/10: ảnh thật chỉ ở Thực đơn và Cẩm nang; trang chủ và các màn khác dùng lại ảnh hoạt hình cũ. */

/* ══════════════════════════════════════════════════════════════════════════
   ĐỢT 3 · VÒNG 068: LƯỢT HAI · TRANG CHỦ NỬA DƯỚI — NHỊP TỰA + DẢI VIDEO
   (1) Tựa khuyến cáo ("Cân nặng của / mẹ") gãy chữ mồ côi → cân dòng (balance)
   1,42rem. (2) Dải "Lolool cùng mẹ mỗi ngày" (nội dung video giữ nguyên — quyết
   định 06/09): thẻ video bo 18px + bóng sâu như ảnh in, chữ chú thích Archivo,
   tựa dải theo khuôn đầu khối (nhãn chữ hoa nhỏ vàng phía trên).
   ══════════════════════════════════════════════════════════════════════════ */
#dai-video :is(.dv-o, .dv-the, .dv-slide, [class*="dv-item"]) { border-radius: var(--gd-anh-bo) !important; box-shadow: var(--gd-anh-bong) !important; overflow: hidden; }
#dai-video :is(.dv-cap, .dv-mo-ta, .dv-sub, small) { font-family: var(--font-heading) !important; letter-spacing: .02em; }
#dai-video .dv-ten { font-family: var(--font-display) !important; font-weight: 400 !important; }
#lolo-khuyen-cao .tdcm-kc > .tdcm-dong > .tdcm-dong-h.tdcm-dong-h { font-size: 1.22rem !important; text-wrap: balance !important; line-height: 1.2 !important; }

/* ══════════════════════════════════════════════════════════════════════════
   ĐỢT 3 · VÒNG 069: LƯỢT HAI · MỘT KIỂU NHÃN "PRO" + DÒ CHỮ MỒ CÔI TOÀN APP
   Bộ dò mới (scratchpad mo_coi.py: tựa h1–h4 + tựa Caslon có dòng cuối < 22%
   bề rộng, 71 trang) sau vòng 068 chỉ còn báo các tựa có nhãn PRO/kcal dính
   liền — kiểm bằng ảnh đều hiển thị đúng. Nhãn PRO còn 3 kiểu (viền mảnh Cẩm
   nang, khối vàng đặc ở công cụ số đo .bio-tag-pro, chữ trên Tiện ích) → một
   kiểu: viền 1px màu nhấn, Archivo chữ hoa .62rem giãn .12em, bo 5px, cách chữ
   trước 6px, canh giữa dòng.
   ══════════════════════════════════════════════════════════════════════════ */
:root:root :is(.pro-tag, .bio-tag-pro, .hub-tile-pro, .cn-tier.locked) {
  display: inline-block; vertical-align: .32em; margin-left: 6px; padding: 2px 6px 1px !important;
  background: none !important; border: 1px solid var(--gd-vang) !important; border-radius: 5px !important; box-shadow: none !important;
  font-family: var(--font-heading) !important; font-weight: 700 !important; font-size: .62rem !important; letter-spacing: .12em !important; line-height: 1.3 !important;
  text-transform: uppercase; color: var(--gd-vang) !important; top: 0 !important;
}
:root:root .bio-tag-pro { margin: 0 8px 0 0; vertical-align: .18em; }
/* Mốc 70: không đổi giao diện — chỉ soát (xem SOFTWARE_IMPROVEMENT_LOG vòng 070). */

/* ══════════════════════════════════════════════════════════════════════════
   ĐỢT 3 · VÒNG 071: ẢNH THẬT CHỈ Ở THỰC ĐƠN VÀ CẨM NANG
   Anh Tú 31/10: "phần này cho ảnh cũ đi, hoạt hình cho đồng nhất trang chủ,
   chỉ thay ảnh ở thực đơn và trong các bài cẩm nang thôi". Đã gỡ tại chỗ (ghi
   "Vòng 071" ở từng khối): ảnh mẹ chụp thật + dải ảnh bìa tuần (022, 030, 038,
   040, 048) → trang chủ về ảnh "mẹ bầu và thai nhi phát sáng" (img/hero-mother-
   fetus.webp), bìa tuần mẹ có hồ sơ không ảnh (05/09); dải ảnh đầu Mẹo, Tiện
   ích, Lịch khám (029, 032, 067); ảnh bàn quét AI phân tích (031); ảnh vuông
   Khuyến cáo (033, 068); ảnh nhóm Mẹo (042, về img/meo-*.webp); tấm đăng ký
   (059). Trang Dinh dưỡng (044): 5 ô dùng ảnh hoạt hình có sẵn của app thay
   ảnh chụp. Giữ nguyên ảnh thật ở Thực đơn (023, 047) và Cẩm nang (022, 028,
   031, 047).
   ══════════════════════════════════════════════════════════════════════════ */

/* ══════════════════════════════════════════════════════════════════════════
   ĐỢT 3 · VÒNG 072 (sửa nhanh, anh Tú 31/10): LỊCH TIÊM CHỦNG CHO BÉ ĐỌC ĐƯỢC
   Hàng "ĐẾN HẠN"/"QUÁ HẠN" có nền sáng cứng (#FFFDF0/#FFF5F5) nhưng chữ lấy
   màu chữ của chế độ Đêm (kem) → tên mũi chìm mất; nhãn "Sắp tới" chữ xanh đậm
   trên nền xanh đậm. Tên mũi và ghi chú là span nằm liền nhau ("…uống2 tháng").
   Sửa: nền hàng theo bảng màu Chalet từng chế độ, nhãn trạng thái đủ tương phản,
   tên và ghi chú xuống dòng riêng; mũi đã tiêm không làm mờ bằng opacity.
   ══════════════════════════════════════════════════════════════════════════ */
:root:root .bb-hang > span:not(.bb-badge) { flex: 1 1 auto; min-width: 0; }
:root:root .bb-hang .ten, :root:root .bb-hang .ghi { display: block; }
:root:root .bb-hang .ghi { margin-top: 3px; line-height: 1.45; }
:root:root .bb-hang.xong { opacity: 1 !important; }
:root:root .bb-hang.xong .ten { text-decoration: line-through; text-decoration-thickness: 1px; }
:root:root .bb-badge { font-family: var(--font-heading); letter-spacing: .06em; border: 1px solid transparent; }
html:not([data-che-do="ngay"]) .bb-hang { background: var(--surface) !important; border-color: rgba(232, 220, 190, .16) !important; }
html:not([data-che-do="ngay"]) .bb-hang.den { background: rgba(217, 190, 134, .1) !important; border-color: #D9BE86 !important; }
html:not([data-che-do="ngay"]) .bb-hang.qua { background: rgba(224, 116, 95, .12) !important; border-color: #E0745F !important; }
html:not([data-che-do="ngay"]) .bb-hang :is(.ten) { color: #F1EADB !important; }
html:not([data-che-do="ngay"]) .bb-hang :is(.ghi) { color: #CFC6B4 !important; }
html:not([data-che-do="ngay"]) .bb-badge.den { background: #D9BE86 !important; color: #13221B !important; }
html:not([data-che-do="ngay"]) .bb-badge.qua { background: #B4321F !important; color: #FFFFFF !important; }
html:not([data-che-do="ngay"]) .bb-badge.sap { background: transparent !important; border-color: rgba(232, 220, 190, .4) !important; color: #E1D8C6 !important; }
html:not([data-che-do="ngay"]) .bb-badge.xong { background: #2C5B4A !important; color: #F1EADB !important; }
html[data-che-do="ngay"] .bb-hang.den { background: #FBF3DF !important; border-color: #A97A2A !important; }
html[data-che-do="ngay"] .bb-hang.qua { background: #FBEAE6 !important; border-color: #B4321F !important; }
html[data-che-do="ngay"] .bb-hang .ten { color: #1A2A23 !important; }
html[data-che-do="ngay"] .bb-hang .ghi { color: #46535E !important; }
html[data-che-do="ngay"] .bb-badge.den { background: #7A5B22 !important; color: #FFFFFF !important; }
html[data-che-do="ngay"] .bb-badge.qua { background: #B4321F !important; color: #FFFFFF !important; }
html[data-che-do="ngay"] .bb-badge.sap { background: transparent !important; border-color: #CFC4AE !important; color: #2E3B35 !important; }
html[data-che-do="ngay"] .bb-badge.xong { background: #173B2F !important; color: #F6F1E6 !important; }

/* ══════════════════════════════════════════════════════════════════════════
   ĐỢT 4 · VÒNG 073: MÀN PRO — THANH 3 BƯỚC "CHỌN GÓI → QUÉT QR → TỰ MỞ KHOÁ"
   Màn nộp tiền trước đây đổ một lượt hai nút giá + ô đồng ý + mã QR mờ, mẹ
   không biết mình đang ở đâu và còn mấy bước. Thanh 3 bước đứng trên hai nút
   giá (js/auth-gate.js BUOC_PRO_HTML/datBuoc, chỉ hiện khi có mã QR): chưa tích
   đồng ý = bước 1, tích rồi (QR rõ) = bước 2 kèm dấu ✓ ở bước 1; bước 3 máy tự
   làm nên không bao giờ "đang làm". Bước hiện tại: chấm đặc màu nhấn Chalet
   (Đêm vàng sâm-panh chữ rừng, Ngày rừng chữ lanh); bước khác: viền kẻ tóc,
   chữ Archivo .84rem màu phụ đủ tương phản.
   ══════════════════════════════════════════════════════════════════════════ */
html:not([data-che-do="ngay"]) .ag-card .ag-pro-buoc { --ag-pb-ke: rgba(232, 220, 190, .3); --ag-pb-mo: #CFC6B4; --ag-pb-nhan: #D9BE86; --ag-pb-tren-nhan: #13221B; --ag-pb-dam: #F4EEE1; }
html[data-che-do="ngay"] .ag-card .ag-pro-buoc { --ag-pb-ke: #CFC4AE; --ag-pb-mo: #46535E; --ag-pb-nhan: #173B2F; --ag-pb-tren-nhan: #F6F1E6; --ag-pb-dam: #16291F; }
:root .ag-card .ag-pro-buoc { display: flex; list-style: none; margin: 6px 0 18px; padding: 0; }
:root .ag-card .ag-pro-buoc li { position: relative; flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 7px; margin: 0; padding: 0; text-align: center; }
:root .ag-card .ag-pro-buoc li + li::before { content: ""; position: absolute; top: 14px; left: calc(-50% + 22px); right: calc(50% + 22px); height: 1px; background: var(--ag-pb-ke); }
:root .ag-card .ag-pro-buoc li.xong + li::before { background: var(--ag-pb-nhan); }
:root .ag-card .ag-pro-buoc-so { display: grid; place-items: center; box-sizing: border-box; width: 29px; height: 29px; border-radius: 50%; border: 1px solid var(--ag-pb-ke); font: 700 .8rem/1 var(--font-heading); font-variant-numeric: lining-nums; color: var(--ag-pb-mo); }
:root .ag-card .ag-pro-buoc-chu { font: 600 .84rem/1.25 var(--font-heading); letter-spacing: .02em; color: var(--ag-pb-mo); }
:root .ag-card .ag-pro-buoc li.dang .ag-pro-buoc-so { background: var(--ag-pb-nhan); border-color: var(--ag-pb-nhan); color: var(--ag-pb-tren-nhan); }
:root .ag-card .ag-pro-buoc li.dang .ag-pro-buoc-chu { font-weight: 700; color: var(--ag-pb-dam); }
:root .ag-card .ag-pro-buoc li.xong .ag-pro-buoc-so { border-color: var(--ag-pb-nhan); color: var(--ag-pb-nhan); }

/* ══════════════════════════════════════════════════════════════════════════
   ĐỢT 4 · VÒNG 074: Ô TUẦN THAI LUÔN HIỆN, BẮT BUỘC CHỌN, Ở FORM ĐĂNG KÝ
   Bản cũ là một select "Mẹ đang ở tuần thai..." dễ bỏ qua (3/4 mẹ tháng 10 để
   trống). Nay một nhóm chip phân đoạn: Ngày dự sinh · Tuần thai · Khoảng tuần
   (hàng 1) / Đã sinh · Chưa mang thai (hàng 2); chọn kiểu nào thì hiện đúng ô
   của kiểu đó (ô ngày, select tuần 4–40, 5 chip khoảng tuần). Chip theo luật
   chọn của .efw-seg: chưa chọn = viền kẻ tóc trong suốt; đang chọn = nền đặc
   màu nhấn Chalet (Đêm #D9BE86 chữ #13221B, Ngày #173B2F chữ #F6F1E6). Ô chạm
   ≥ 44px, chữ Archivo. Chưa chọn mà bấm tạo tài khoản → câu báo ngay dưới
   nhóm (js/auth-gate.js hienLoiTuanThai), viền 5 chip kiểu đổi màu cảnh báo.
   ══════════════════════════════════════════════════════════════════════════ */
html:not([data-che-do="ngay"]) .ag-card .ag-tt { --ag-tt-ke: rgba(232, 220, 190, .3); --ag-tt-chu: #E1D8C6; --ag-tt-nhan: #D9BE86; --ag-tt-tren-nhan: #13221B; --ag-tt-loi: #F4B0A0; --ag-tt-nhan-chu: #CFC6B4; }
html[data-che-do="ngay"] .ag-card .ag-tt { --ag-tt-ke: #CFC4AE; --ag-tt-chu: #2E3B35; --ag-tt-nhan: #173B2F; --ag-tt-tren-nhan: #F6F1E6; --ag-tt-loi: #A3311C; --ag-tt-nhan-chu: #46535E; }
:root .ag-card .ag-tt { display: flex; flex-direction: column; gap: 10px; margin: 2px 0 6px; padding: 0; text-align: left; border-radius: 14px; }
:root .ag-card .ag-tt [hidden] { display: none !important; }
:root .ag-card .ag-tt-nhan { margin: 0; font: 700 .8rem/1.3 var(--font-heading); letter-spacing: .12em; text-transform: uppercase; color: var(--ag-tt-nhan-chu); }
:root .ag-card .ag-tt-kieu { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
:root .ag-card .ag-tt-kieu .ag-tt-chip { grid-column: span 2; }
:root .ag-card .ag-tt-kieu .ag-tt-chip:nth-child(n + 4) { grid-column: span 3; }
:root .ag-card .ag-tt-khoang { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
:root .ag-card .ag-tt-chip {
  display: flex; align-items: center; justify-content: center; box-sizing: border-box; min-width: 0; min-height: 46px; margin: 0;
  padding: 6px 6px; border-radius: 12px !important; border: 1px solid var(--ag-tt-ke) !important; background: transparent !important;
  box-shadow: none !important; color: var(--ag-tt-chu) !important; font: 600 .92rem/1.2 var(--font-heading) !important;
  letter-spacing: .01em; font-variant-numeric: lining-nums; text-align: center; cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
:root .ag-card .ag-tt-chip.on { background: var(--ag-tt-nhan) !important; border-color: var(--ag-tt-nhan) !important; color: var(--ag-tt-tren-nhan) !important; font-weight: 700 !important; }
:root .ag-card .ag-tt-chip:focus-visible { outline: 2px solid var(--ag-tt-nhan); outline-offset: 2px; }
:root .ag-card .ag-tt .ag-in { margin: 0 !important; }
:root .ag-card .ag-tt.loi .ag-tt-kieu .ag-tt-chip { border-color: var(--ag-tt-loi) !important; }
:root .ag-card .ag-tt-loi { margin: 0; font: 600 .86rem/1.4 var(--font-heading); letter-spacing: .01em; color: var(--ag-tt-loi); }

/* ══════════════════════════════════════════════════════════════════════════
   ĐỢT 4 · VÒNG 075: MÀN PRO NÓI RÕ MÓN BÁN
   Bản cũ chỉ có một dòng nhỏ "Cân nặng thai và Số đo trên phiếu vẫn miễn phí."
   nằm ngay dưới hai nút giá — dễ đọc thành "trả tiền cũng chẳng thêm gì". Nay
   (js/auth-gate.js HAI_COT_HTML / thuHtml / cuonPro): hai cột "Miễn phí mãi"
   (viền kẻ tóc, chấm rỗng) | "Pro" (viền + chấm màu nhấn Chalet, nền ngả nhẹ),
   dòng "Sắp có" trải hai cột; dòng thời gian 7 ngày dùng thử dọc (chấm nối kẻ
   tóc, mốc hiện tại chấm đặc) + "Không tự trừ tiền"; ô đồng ý chính sách thành
   cả hàng chạm ≥ 48px, viền màu nhấn khi chưa tích + câu nhắc trong ô; QR mờ
   bằng lớp .ag-qr-mo (JS bật/tắt); nút gói đang chọn nền đặc màu nhấn. Tựa
   cột/nhãn Archivo hoa giãn chữ, chữ thân Garamond, như các nhãn khác của tấm.
   ══════════════════════════════════════════════════════════════════════════ */
html:not([data-che-do="ngay"]) .ag-card { --ag75-ke: rgba(232, 220, 190, .24); --ag75-chu: #E6DDCB; --ag75-mo: #CFC6B4; --ag75-dam: #F4EEE1; --ag75-nhan: #D9BE86; --ag75-tren-nhan: #13221B; --ag75-nen-pro: rgba(217, 190, 134, .07); }
html[data-che-do="ngay"] .ag-card { --ag75-ke: #D3C9B4; --ag75-chu: #2E3B35; --ag75-mo: #46535E; --ag75-dam: #16291F; --ag75-nhan: #173B2F; --ag75-tren-nhan: #F6F1E6; --ag75-nen-pro: #F2EEE4; }
/* Hai cột */
:root .ag-card .ag-hai-cot { display: grid; grid-template-columns: minmax(0, 10fr) minmax(0, 13fr); gap: 9px; margin: 6px 0 16px; text-align: left; }
:root .ag-card .ag-cot { min-width: 0; margin: 0; padding: 12px 10px 12px 11px; border: 1px solid var(--ag75-ke); border-radius: 14px; }
:root .ag-card .ag-cot-pro { border-color: var(--ag75-nhan); background: var(--ag75-nen-pro); }
:root .ag-card .ag-cot-ten { margin: 0 0 8px; font: 700 .78rem/1.2 var(--font-heading) !important; letter-spacing: .12em; text-transform: uppercase; color: var(--ag75-mo) !important; }
:root .ag-card .ag-cot-pro .ag-cot-ten { color: var(--ag75-nhan) !important; }
:root .ag-card .ag-cot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
:root .ag-card .ag-cot li { position: relative; margin: 0; padding: 0 0 0 13px; font: 400 .94rem/1.28 var(--font-body); color: var(--ag75-chu); overflow-wrap: anywhere; }
:root .ag-card .ag-cot li::before { content: ""; position: absolute; left: 0; top: .5em; width: 6px; height: 6px; box-sizing: border-box; border-radius: 50%; border: 1px solid var(--ag75-mo); }
:root .ag-card .ag-cot-pro li::before { background: var(--ag75-nhan); border-color: var(--ag75-nhan); }
:root .ag-card .ag-sap-co { grid-column: 1 / -1; margin: 0; padding: 0 2px; font: 400 .9rem/1.4 var(--font-body); color: var(--ag75-mo); }
:root .ag-card .ag-sap-co b { font: 700 .76rem/1 var(--font-heading); letter-spacing: .1em; text-transform: uppercase; color: var(--ag75-chu); margin-right: 3px; }
/* Dòng thời gian 7 ngày dùng thử */
:root .ag-card .ag-thu { margin: 0 0 16px; padding: 14px 0 0; border-top: 1px solid var(--ag75-ke); text-align: left; }
:root .ag-card .ag-thu-ten { margin: 0 0 10px; font: 700 .8rem/1.3 var(--font-heading); letter-spacing: .12em; text-transform: uppercase; color: var(--ag75-mo); }
:root .ag-card .ag-thu-moc { list-style: none; margin: 0 0 12px; padding: 0; }
:root .ag-card .ag-thu-moc li { position: relative; display: grid; grid-template-columns: 66px minmax(0, 1fr); column-gap: 8px; margin: 0; padding: 0 0 12px 22px; }
:root .ag-card .ag-thu-moc li:last-child { padding-bottom: 0; }
:root .ag-card .ag-thu-moc li::before { content: ""; position: absolute; left: 0; top: .32em; width: 11px; height: 11px; box-sizing: border-box; border-radius: 50%; border: 1px solid var(--ag75-nhan); background: transparent; }
:root .ag-card .ag-thu-moc li:not(:last-child)::after { content: ""; position: absolute; left: 5px; top: calc(.32em + 11px); bottom: -.32em; width: 1px; background: var(--ag75-ke); }
:root .ag-card .ag-thu-moc li.dang::before { background: var(--ag75-nhan); }
:root .ag-card .ag-thu-moc b { font: 700 .88rem/1.35 var(--font-heading); letter-spacing: .02em; font-variant-numeric: lining-nums; color: var(--ag75-dam); }
:root .ag-card .ag-thu-moc span { font: 400 .95rem/1.35 var(--font-body); color: var(--ag75-chu); }
:root .ag-card .ag-thu-khong-tru { margin: 0; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--ag75-ke); font: 400 .98rem/1.4 var(--font-body); color: var(--ag75-chu); }
:root .ag-card .ag-thu-khong-tru b { color: var(--ag75-dam); font-weight: 700; }
:root .ag-card .ag-thu-gon .ag-thu-ten { margin-bottom: 8px; }
/* Nút gói đang chọn: nền đặc màu nhấn (chỉ màn nộp tiền, không đụng thẻ giá ở màn chào) */
:root .ag-card .ag-goi:not(.ag-goi-xem) .ag-goi-btn { min-height: 58px; background: transparent !important; border: 1px solid var(--ag75-ke) !important; color: var(--ag75-dam) !important; font-variant-numeric: lining-nums; }
:root .ag-card .ag-goi:not(.ag-goi-xem) .ag-goi-btn span { color: var(--ag75-mo) !important; }
:root .ag-card .ag-goi:not(.ag-goi-xem) .ag-goi-btn.on { background: var(--ag75-nhan) !important; border-color: var(--ag75-nhan) !important; color: var(--ag75-tren-nhan) !important; }
:root .ag-card .ag-goi:not(.ag-goi-xem) .ag-goi-btn.on span { color: var(--ag75-tren-nhan) !important; }
/* Ô đồng ý chính sách — cả hàng là chỗ chạm */
:root .ag-card .ag-dongy-o { display: flex; align-items: flex-start; gap: 12px; box-sizing: border-box; min-height: 48px; margin: 0 0 12px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--ag75-ke); text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; }
:root .ag-card .ag-dongy-o.chua { border-color: var(--ag75-nhan); }
:root .ag-card .ag-dongy-o #agDongY { -webkit-appearance: none; appearance: none; flex: none; display: grid; place-content: center; box-sizing: border-box; width: 24px; height: 24px; margin: 0 !important; border: 1.5px solid var(--ag75-nhan); border-radius: 7px; background: transparent; cursor: pointer; }
:root .ag-card .ag-dongy-o #agDongY:checked { background: var(--ag75-nhan); }
:root .ag-card .ag-dongy-o #agDongY:checked::before { content: ""; width: 6px; height: 11px; margin-top: -3px; border: solid var(--ag75-tren-nhan); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
:root .ag-card .ag-dongy-o #agDongY:focus-visible { outline: 2px solid var(--ag75-nhan); outline-offset: 2px; }
:root .ag-card .ag-dongy-o > span { min-width: 0; font: 400 1rem/1.4 var(--font-body); color: var(--ag75-chu); }
:root .ag-card .ag-dongy-o a { color: var(--ag75-dam); text-decoration: underline; text-underline-offset: 2px; }
:root .ag-card .ag-dongy-o small { display: none; margin-top: 3px; font: 600 .84rem/1.3 var(--font-heading); letter-spacing: .02em; color: var(--ag75-nhan); }
:root .ag-card .ag-dongy-o.chua small { display: block; }
:root .ag-card .ag-qr { min-height: 260px; margin-top: 0; transition: filter .25s; }   /* giữ chỗ khi ảnh QR chưa tải: đổi gói không làm khung cuộn tụt */
:root .ag-card .ag-qr.ag-qr-mo { filter: blur(9px); pointer-events: none; clip-path: inset(0 round 12px); }   /* clip-path: WebKit vẽ sót lớp mờ ở góc màn khi QR nằm ngoài khung cuộn */

/* ══════════════════════════════════════════════════════════════════════════
   ĐỢT 4 · VÒNG 076: THẺ DÙNG THỬ PRO Ở TRANG CHỦ
   #theDungThu ngay dưới khung đầu trang chủ (index.html); js/the-dung-thu.js
   (tải lười, js/auth-gate.js veTheThu) chỉ vẽ cho mẹ có tài khoản đang trong 7
   ngày dùng thử — mẹ khách: chỗ rỗng, ẩn hẳn. Thẻ Chalet: tựa Caslon, chữ thân
   Garamond; 3 món Pro (cùng chữ cột Pro của màn nâng cấp vòng 075) là 3 hàng
   chạm ≥ 44px dẫn thẳng vào tính năng để mẹ thử ngay (chấm + mũi tên màu
   nhấn); nút "Xem gói" nền đặc màu nhấn + "Không tự trừ tiền". Giọng nhắc
   (còn ≤ 2 ngày): một vạch kẻ tóc màu nhấn bên trái — không dùng đỏ báo động.
   ══════════════════════════════════════════════════════════════════════════ */
html:not([data-che-do="ngay"]) #theDungThu { --tdt-nen: #0C2620; --tdt-ke: rgba(217, 190, 134, .35); --tdt-nhan: #D9BE86; --tdt-tren-nhan: #13221B; --tdt-vach: #D9BE86; --tdt-dam: #F1EADB; --tdt-chu: #E6DDCB; --tdt-mo: #CFC6B4; --tdt-ke-mo: rgba(232, 220, 190, .16); --tdt-mui: #D9BE86; }
html[data-che-do="ngay"] #theDungThu { --tdt-nen: #FBF8F1; --tdt-ke: #CFC4AE; --tdt-nhan: #173B2F; --tdt-tren-nhan: #F6F1E6; --tdt-vach: #7A5B22; --tdt-dam: #16291F; --tdt-chu: #2E3B35; --tdt-mo: #46535E; --tdt-ke-mo: #E2D9C6; --tdt-mui: #7A5B22; }
#theDungThu:empty { display: none; }
#theDungThu .tdt { position: relative; box-sizing: border-box; margin: 22px 0 4px; padding: 16px 18px 16px; border: 1px solid var(--tdt-ke); border-radius: 18px; background: var(--tdt-nen); text-align: left; }
#theDungThu .tdt-nhac::before { content: ""; position: absolute; left: -1px; top: 18px; bottom: 18px; width: 2px; border-radius: 0 2px 2px 0; background: var(--tdt-vach); }
:root #theDungThu .tdt-ten { margin: 0 0 6px !important; padding: 0 !important; font-family: var(--font-display) !important; font-weight: 400 !important; font-size: 1.22rem !important; line-height: 1.22 !important; letter-spacing: -0.01em !important; color: var(--tdt-dam) !important; font-variant-numeric: lining-nums; text-wrap: balance; }
#theDungThu .tdt-dong { margin: 0 0 8px; font: 400 .95rem/1.4 var(--font-body); color: var(--tdt-chu); }
#theDungThu .tdt-mon { list-style: none; margin: 0 0 14px; padding: 0; border-top: 1px solid var(--tdt-ke-mo); }
#theDungThu .tdt-mon li { margin: 0; padding: 0; border-bottom: 1px solid var(--tdt-ke-mo); }
:root #theDungThu .tdt-mon a { position: relative; display: flex; align-items: flex-start; gap: 10px; box-sizing: border-box; min-height: 44px; padding: 10px 2px 10px 15px; font: 400 .95rem/1.3 var(--font-body); color: var(--tdt-dam) !important; text-decoration: none !important; overflow-wrap: anywhere; -webkit-tap-highlight-color: transparent; }
#theDungThu .tdt-mon a::before { content: ""; position: absolute; left: 1px; top: calc(10px + .65em - 3px); width: 6px; height: 6px; border-radius: 50%; background: var(--tdt-nhan); }   /* thẳng dòng đầu khi chữ xuống hai dòng (320px) */
#theDungThu .tdt-mon a::after { content: "\2192"; flex: none; margin-left: auto; font: 700 .9rem/1.372 var(--font-heading); color: var(--tdt-mui); }   /* cao bằng một dòng chữ .95rem/1.3 */
:root #theDungThu .tdt-mon a:focus-visible { outline: 2px solid var(--tdt-nhan); outline-offset: 2px; border-radius: 6px; }
#theDungThu .tdt-chan { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; }
:root #theDungThu .tdt-nut { flex: none; width: auto !important; min-height: 44px; margin: 0 !important; padding: 10px 22px !important; border: 0 !important; border-radius: 12px !important; background: var(--tdt-nhan) !important; color: var(--tdt-tren-nhan) !important; box-shadow: none !important; font: 700 .95rem/1.2 var(--font-heading) !important; letter-spacing: .02em; cursor: pointer; -webkit-tap-highlight-color: transparent; }
:root #theDungThu .tdt-nut:focus-visible { outline: 2px solid var(--tdt-nhan); outline-offset: 3px; }
#theDungThu .tdt-khong-tru { font: italic 400 .9rem/1.3 var(--font-body); color: var(--tdt-mo); }

/* ══════════════════════════════════════════════════════════════════════════
   ĐỢT 4 · VÒNG 077: SOÁT GIAI ĐOẠN 1 (màn Pro, form đăng ký, trang chủ)
   (1) Badge nổi cũ #agBadge ("⏳ Dùng thử còn N ngày — nâng cấp để không gián
   đoạn", js/auth-gate.js veBadge, còn ≤ 2 ngày) trùng nội dung với thẻ dùng thử
   vòng 076 và che nút "Xem gói" của thẻ. Trang chủ đang mở + thẻ đã vẽ → ẩn
   badge; màn khác (thẻ không hiện) badge giữ nguyên. Trình duyệt chưa có :has()
   → như bản 076 (badge vẫn hiện), không vỡ gì.
   (2) Badge ở màn khác: left:50% làm khung co còn nửa màn (195px ở 390px) → chữ
   gãy 3–4 dòng thành một khối tròn che giữa nội dung. Rộng theo chữ, tối đa
   màn − 32px (1–2 dòng).
   (3) Form đăng ký, "Khoảng tuần" ở 320px: chip "13–20" gãy thành "13–" / "20"
   → không xuống dòng, chữ/khe nhỏ lại ở màn ≤ 360px (chip vẫn cao ≥ 44px).
   (4) Chữ bấm "Đăng xuất" (màn Pro) và "Quên mật khẩu?" (Đăng nhập) chỉ cao
   24px → vùng chạm ≥ 44px, chữ giữ nguyên cỡ.
   ══════════════════════════════════════════════════════════════════════════ */
body:has(#home-section.active #theDungThu .tdt) #agBadge.show { display: none; }
body #agBadge { width: max-content; max-width: calc(100vw - 32px); box-sizing: border-box; text-align: center; line-height: 1.3; }
:root .ag-card .ag-tt-khoang .ag-tt-chip { white-space: nowrap; }
@media (max-width: 360px) {
  :root .ag-card .ag-tt-khoang { gap: 4px; }
  :root .ag-card .ag-tt-khoang .ag-tt-chip { padding: 6px 2px; font-size: .84rem !important; letter-spacing: 0; }
}
:root .ag-card #agThoat, :root .ag-card #agQuenMk { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 12px; }

/* ══════════════════════════════════════════════════════════════════════════
   ĐỢT 4 · VÒNG 078: KHUNG "THEO DÕI CON QUA CÁC LẦN KHÁM" (tính năng C)
   #tdcHost trong mục "Chỉ số của con" (index.html). Kiểu của C nằm ở css/tdc.css,
   TẢI LƯỜI cùng js/tdc.js khi cờ C bật (prod tắt). Ở đây chỉ giữ chỗ rỗng không
   chiếm khoảng trước khi css/tdc.css về.
   ══════════════════════════════════════════════════════════════════════════ */
#tdcHost:empty { display: none; }

/* ══════════════════════════════════════════════════════════════════════════
   ĐỢT 4 · VÒNG 079: MÀN NHẬP MỘT LẦN KHÁM (tính năng C)
   Lớp phủ .tdc-man và form nằm ở css/tdc.css (tải lười). Ở đây chỉ giữ khoá cuộn
   trang khi lớp phủ mở (class trên <html>, không đụng body.style mà #agOverlay dùng).
   ══════════════════════════════════════════════════════════════════════════ */
html.tdc-khoa, html.tdc-khoa body { overflow: hidden; }

/* ══════════════════════════════════════════════════════════════════════════
   ĐỢT 4 · VÒNG 084: ĐIỀU KIỆN TÀI KHOẢN NÓI TRƯỚC FORM PRO (UX02, tài liệu UI/UX 31/10)
   index.html: <p class="dk-truoc dk-khach|dk-het"> đầu ba thẻ "Số đo trên phiếu", "Chỉ số khác",
   "Dành cho chuyên gia". Ẩn mặc định; js/auth-gate.js danhDauTk gắn html.lolo-khach (chưa tài khoản)
   / html.lolo-het (hết 7 ngày dùng thử) — mẹ dùng thử / có gói không thấy dòng nào.
   ══════════════════════════════════════════════════════════════════════════ */
.dk-truoc { display: none; }
html.lolo-khach .dk-khach, html.lolo-het:not(.lolo-khach) .dk-het {
  display: block; box-sizing: border-box; margin: 0 0 14px; padding: 10px 14px;
  border: 1px solid var(--gd-ke-vang); border-left: 3px solid var(--gd-vang); border-radius: 4px 12px 12px 4px;
  background: var(--surface); color: var(--text-primary, inherit);
  font: 400 1rem/1.45 var(--font-body); text-align: left; overflow-wrap: anywhere;
}

/* ══════════════════════════════════════════════════════════════════════════
   ĐỢT 4 · VÒNG 085: NÚT TÁC VỤ TRONG VÙNG CHỮ KHUNG ĐẦU TRANG CHỦ (UX03, tài liệu UI/UX + Clarity 31/10)
   index.html .ha-tac-vu dưới tiêu đề + dòng phụ: MỘT nút chính "Tra cân nặng của con" (form cân nặng miễn phí)
   + MỘT lối phụ "Chụp phiếu để AI đọc" kèm dòng ghi cần tài khoản. Không nút nào trên hình (Phá quyết định
   13/10 — xem IMPROVEMENT_PROGRESS). Khung đầu luôn nền rừng tối (cả Ngày) → nút vàng sâm-panh #D9BE86 chữ
   #13221B, lối phụ chữ giấy #F1EADB. Mẹ có hồ sơ giữ bìa tuần, không có khối này. Điện thoại: thu ảnh hoạt
   hình (giữ nguyên ảnh, chỉ nhỏ lại) để ở 390 × 844 cả hai nút nằm trong màn đầu, dưới hình.
   ══════════════════════════════════════════════════════════════════════════ */
.hero-anat .ha-tac-vu { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; margin: 20px 0 0; }
html.lolo-co-ho-so .hero-anat .ha-tac-vu { display: none; }
:root .hero-anat .ha-nut-chinh {
  display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; min-height: 50px; padding: 12px 28px;
  border-radius: 14px; background: #D9BE86; color: #13221B; font: 700 1.04rem/1.2 var(--font-heading); letter-spacing: .02em;
  text-decoration: none; -webkit-tap-highlight-color: transparent;
}
.hero-anat .ha-ai { display: flex; flex-direction: column; align-items: flex-start; margin: 4px 0 0; }
:root .hero-anat .ha-nut-phu {
  display: inline-flex; align-items: center; min-height: 44px; width: auto; margin: 0; padding: 0 2px !important;
  border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important;
  color: #F1EADB !important; font: 700 1rem/1.2 var(--font-heading) !important; letter-spacing: .02em; cursor: pointer;
  text-decoration: underline; text-decoration-color: rgba(217, 190, 134, .75); text-decoration-thickness: 1.5px; text-underline-offset: 5px;
  -webkit-tap-highlight-color: transparent;
}
.hero-anat .ha-ai-ghi { display: block; margin: -4px 0 0 2px; font: 400 .88rem/1.35 var(--font-heading); letter-spacing: .01em; color: rgba(241, 234, 219, .8); }
:root .hero-anat :is(.ha-nut-chinh, .ha-nut-phu):focus-visible { outline: 2px solid #F1EADB; outline-offset: 3px; }
@media (max-width: 768px) {
  html:not(.lolo-co-ho-so) .kb-hero-cell .hero-anat .ha-orb { width: 58%; max-width: 230px; }
  :root .hero-anat .ha-nut-chinh { width: 100%; }
  .hero-anat .ha-tac-vu { align-items: stretch; margin-top: 18px; }
}
/* Màn thấp (iPhone SE/8 667px…): khung đầu không ép vừa một màn nữa — ảnh (nhỏ lại) đứng TRÊN vùng chữ thay vì nằm
   dưới chữ, để tiêu đề và hai nút không đè lên hình; nút chính vẫn trong màn đầu ở 375 × 667. */
@media (max-width: 768px) and (max-height: 779px) {
  html:not(.lolo-co-ho-so) .kb-hero-cell .hero-anat { min-height: 0; padding-top: 6px; justify-content: flex-start; }
  html:not(.lolo-co-ho-so) .kb-hero-cell .hero-anat .ha-visual { position: relative; top: auto; order: -1; flex: none; width: 100%; max-width: none; margin: 0 0 -10px; }
  html:not(.lolo-co-ho-so) .kb-hero-cell .hero-anat .ha-orb { width: 36%; max-width: 140px;
    -webkit-mask-image: radial-gradient(ellipse closest-side, #000 68%, transparent); mask-image: radial-gradient(ellipse closest-side, #000 68%, transparent); }
}

/* ══════════════════════════════════════════════════════════════════════════
   ĐỢT 4 · VÒNG 087: "ĐÃ LƯU" MỞ ĐÚNG LẦN ĐO (UX01, tài liệu UI/UX + Clarity 31/10)
   Nút sau kết quả cân nặng là liên kết #lan-do-can-nang (nhãn theo phạm vi lưu: máy này / đang lưu / tài khoản /
   chưa đồng bộ). Ở route này bảng các lần đo hiện cả khi mới một lần và dòng của lần vừa lưu sáng lên
   (js/efw-calc.js .efw-row-mo + aria-current). Viền trên/dưới + nền nhạt, chữ giữ màu đọc được ở Đêm và Ngày.
   ══════════════════════════════════════════════════════════════════════════ */
html:not([data-che-do="ngay"]) .efw-table tr.efw-row-mo td { background: rgba(217, 190, 134, .16); color: #F4EEE1; font-weight: 700;
  box-shadow: inset 0 2px 0 var(--gd-nhan), inset 0 -2px 0 var(--gd-nhan); }
html[data-che-do="ngay"] .efw-table tr.efw-row-mo td { background: #EFE5CC; color: #16291F; font-weight: 700;
  box-shadow: inset 0 2px 0 #173B2F, inset 0 -2px 0 #173B2F; }
.efw-table tr.efw-row-mo { scroll-margin: 96px 0; }
/* Bảng các lần đo ở 320px rộng hơn màn 24px (có từ trước, lộ rõ khi nút "Đã lưu" dẫn tới bảng): thu đệm ô ở màn hẹp,
   bảng không đẩy rộng cột kết quả; nếu vẫn thiếu chỗ thì cuộn ngang trong khung bảng, không cuộn cả trang. */
.efw-output, #efwCompare { min-width: 0; }
#efwCompare .efw-nhom-tt { overflow-x: auto; }
@media (max-width: 360px) { .efw-table th, .efw-table td { padding-left: 3px; padding-right: 3px; } }
/* Soát giai đoạn 2 (320px): form "Số đo trên phiếu" rộng hơn màn 2px (có từ trước) — cột lưới một cột được co về bề rộng màn. */
@media (max-width: 900px) { .bio-2cot { grid-template-columns: minmax(0, 1fr); } .bio-2cot > * { min-width: 0; } }

/* ══════════════════════════════════════════════════════════════════════════
   ĐỢT 4 · VÒNG 088: "TUẦN NÀY CỦA MẸ" — 3 THẺ THEO TUẦN THAI (trang chủ, chỉ mẹ có hồ sơ)
   #lolo-tuan-nay ngay trên "Khuyến cáo cho mẹ" (js/tuan-nay.js + js/tuan-nay-core.js tải lười). Cùng hệ niên lịch của
   khối Khuyến cáo (vòng 017 đợt 3): tiêu đề Caslon + kẻ 2px, mỗi thẻ là một dòng kẻ tóc — hình hoạt hình 64px vuông
   (cắt giữa, object-fit), nhãn Archivo chữ hoa màu nhấn, chữ Garamond, mũi tên/dấu mở bên phải. Màu theo token
   --tc-* của #home-section (Đêm #F1EADB / #CFC6B4 / #D9BE86 · Ngày #22352B / #46535E / #7A5B22). Ô chạm ≥ 72px.
   ══════════════════════════════════════════════════════════════════════════ */
#lolo-tuan-nay:empty { display: none; }
#lolo-tuan-nay { max-width: 720px; margin: 20px auto 32px; padding: 0 16px; box-sizing: border-box;
  scroll-margin-top: calc(70px + env(safe-area-inset-top, 0px) + 12px); }
#lolo-tuan-nay .tn { margin: 0; }
#lolo-tuan-nay .tn-h { margin: 0; padding: 0 0 12px; border-bottom: 2px solid var(--tc-chu); color: var(--tc-chu);
  font: 400 clamp(1.9rem, 8.4vw, 2.3rem)/1.1 var(--font-display); letter-spacing: -0.025em; }
#lolo-tuan-nay .tn-ds { display: grid; grid-template-columns: minmax(0, 1fr); }
:root #lolo-tuan-nay .tn-the {
  display: flex; align-items: center; gap: 14px; box-sizing: border-box; width: 100%; min-width: 0; min-height: 72px; margin: 0; padding: 14px 0;
  background: none; border: 0; border-bottom: 1px solid var(--border); border-radius: 0; box-shadow: none;
  color: var(--tc-chu); font: inherit; text-align: left; text-decoration: none; cursor: pointer; -webkit-tap-highlight-color: transparent;
}
:root #lolo-tuan-nay details.tn-the { display: block; padding: 0; cursor: auto; }
#lolo-tuan-nay .tn-tom { display: flex; align-items: center; gap: 14px; min-height: 72px; padding: 14px 0; cursor: pointer; list-style: none; }
#lolo-tuan-nay .tn-tom::-webkit-details-marker { display: none; }
#lolo-tuan-nay :is(a.tn-the, button.tn-the)::after, #lolo-tuan-nay .tn-tom::after {
  content: "→"; flex: none; margin-left: auto; padding-left: 4px; color: var(--tc-lk); font: 700 1.1rem/1 var(--font-heading);
}
#lolo-tuan-nay .tn-tom::after { content: "+"; font-size: 1.4rem; }
#lolo-tuan-nay details[open] .tn-tom::after { content: "–"; }
#lolo-tuan-nay .tn-anh { flex: none; width: 64px; height: 64px; object-fit: cover; border-radius: 14px; }
html:not([data-che-do="ngay"]) #lolo-tuan-nay .tn-anh { background: rgba(232, 220, 190, .08); }
html[data-che-do="ngay"] #lolo-tuan-nay .tn-anh { background: #FBF8F1; box-shadow: inset 0 0 0 1px #E3DCCB; }
#lolo-tuan-nay .tn-chu { display: flex; flex-direction: column; gap: 3px; flex: 1 1 auto; min-width: 0; }
#lolo-tuan-nay .tn-nhan { color: var(--tc-nhan); font: 700 .72rem/1.25 var(--font-heading); letter-spacing: .12em; text-transform: uppercase; }
#lolo-tuan-nay .tn-ten { color: var(--tc-chu); font: 400 1.08rem/1.35 var(--font-body); overflow-wrap: anywhere; }
#lolo-tuan-nay .tn-phu { color: var(--tc-phu); font: 400 .92rem/1.3 var(--font-heading); letter-spacing: .01em; }
#lolo-tuan-nay .tn-than { padding: 0 0 16px; color: var(--tc-chu); }
#lolo-tuan-nay .tn-than p { margin: 0 0 10px; font: 400 1rem/1.55 var(--font-body); color: var(--tc-chu); }
#lolo-tuan-nay .tn-than .tn-ghi { font-style: italic; color: var(--tc-phu); }
:root #lolo-tuan-nay .tn-nut {
  display: inline-block; min-height: 44px; width: auto; margin: 2px 0 0; padding: 11px 0;
  background: none; border: 0; border-radius: 0; box-shadow: none; color: var(--tc-lk); cursor: pointer;
  font: 700 1rem/1.2 var(--font-heading); letter-spacing: .01em; text-align: left;
}
:root #lolo-tuan-nay .tn-nut::after { content: "\00a0→"; }
:root #lolo-tuan-nay :is(.tn-the, .tn-tom, .tn-nut):focus-visible { outline: 2px solid var(--tc-nhan); outline-offset: 3px; }
@media (min-width: 481px) and (max-width: 767px) { #lolo-tuan-nay .tn-than { padding-left: 78px; } }
@media (min-width: 768px) {
  #lolo-tuan-nay .tn-ds { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
}

/* ══════════════════════════════════════════════════════════════════════════
   ĐỢT 4 · VÒNG 089: LỊCH TIÊM CỦA MẸ — DÒNG THỜI GIAN THEO TUẦN THAI (#lich-tiem-vaccine)
   js/vaccine.js vẽ #vaccine-dong-thoi-gian (lõi js/vaccine-me-core.js tải lười) ngay dưới thẻ giới thiệu: hình hoạt hình
   có sẵn đầu khung, ô "Đang tới" viền nhấn, trục dọc kẻ 2px với chấm 14px mỗi mũi — đang tới chấm đặc + khung viền nhấn,
   đã tiêm chấm đặc có dấu ✓ (KHÔNG giảm opacity, luật vòng 072). Ô "Đã tiêm" cao ≥ 44px. Đêm/Ngày theo bảng Chalet.
   ══════════════════════════════════════════════════════════════════════════ */
html:not([data-che-do="ngay"]) #vaccine-section {
  --vd-chu: #F1EADB; --vd-phu: #CFC6B4; --vd-nhan: #D9BE86; --vd-ke: rgba(241, 234, 219, .24); --vd-the: var(--surface, #0C2620);
  --vd-dac: #D9BE86; --vd-tren-dac: #13221B; --vd-nen: #061C17;
}
html[data-che-do="ngay"] #vaccine-section {
  --vd-chu: #22352B; --vd-phu: #46535E; --vd-nhan: #7A5B22; --vd-ke: #D6CDB9; --vd-the: #FBF8F1;
  --vd-dac: #173B2F; --vd-tren-dac: #F6F1E6; --vd-nen: #F2EEE4;
}
#vaccine-section .vc-dtg-goc:empty { display: none; }
#vaccine-section .vc-dtg-goc { margin: 0 0 16px; }
#vaccine-section .vc-dtg { background: var(--vd-the); border: 1px solid var(--vd-ke); border-radius: 18px; padding: 0 16px 8px; color: var(--vd-chu); overflow: hidden; }
/* Hình đầu khung: giữ nguyên tỉ lệ (width + height:auto), khung thấp 168px cắt bớt tường trên / sàn dưới để ô "Đang tới" lên gần màn đầu. */
#vaccine-section .vc-dtg-bia-khung { max-height: 168px; overflow: hidden; margin: 0 -16px 14px; border-radius: 18px 18px 0 0; }
#vaccine-section .vc-dtg-bia { display: block; width: 100%; height: auto; margin-top: -9%; }
#vaccine-section .vc-dtg-h { margin: 0; color: var(--vd-chu); font: 400 1.5rem/1.15 var(--font-display); letter-spacing: -0.015em; }
#vaccine-section .vc-dtg-tuan { margin: 6px 0 0; color: var(--vd-nhan); font: 700 .78rem/1.3 var(--font-heading); letter-spacing: .12em; text-transform: uppercase; }
#vaccine-section .vc-dtg-toi { display: flex; align-items: center; gap: 12px; margin: 14px 0 4px; padding: 10px 12px 10px 10px;
  border: 2px solid var(--vd-nhan); border-radius: 16px; }
#vaccine-section .vc-dtg-toi-anh { flex: none; width: 92px; height: auto; border-radius: 12px; }
#vaccine-section .vc-dtg-toi-chu { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
#vaccine-section .vc-dtg-toi-nhan { color: var(--vd-nhan); font: 700 .74rem/1.25 var(--font-heading); letter-spacing: .12em; text-transform: uppercase; }
#vaccine-section .vc-dtg-toi-ten { color: var(--vd-chu); font: 400 1.14rem/1.25 var(--font-display); }
#vaccine-section .vc-dtg-toi-khi { color: var(--vd-phu); font: 400 .95rem/1.4 var(--font-body); }
#vaccine-section .vc-dtg-truc { position: relative; list-style: none; margin: 10px 0 0; padding: 0 0 0 30px; }
#vaccine-section .vc-dtg-truc::before { content: ""; position: absolute; left: 9px; top: 18px; bottom: 30px; width: 2px; background: var(--vd-ke); }
#vaccine-section .vc-dtg-moc { position: relative; margin: 0; padding: 10px 0 4px; }
#vaccine-section .vc-dtg-cham { position: absolute; left: -28px; top: 18px; box-sizing: border-box; width: 16px; height: 16px; border-radius: 50%;
  background: var(--vd-the); border: 2px solid var(--vd-phu); }
#vaccine-section :is(.dang-toi, .da-tiem) .vc-dtg-cham { background: var(--vd-dac); border-color: var(--vd-dac); }
#vaccine-section .da-tiem .vc-dtg-cham::after { content: "✓"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: var(--vd-tren-dac); font: 700 10px/1 var(--font-heading); }
#vaccine-section .vc-dtg-noi { min-width: 0; }
#vaccine-section .dang-toi .vc-dtg-noi { margin: 0 0 0 -8px; padding: 8px 10px 2px; border: 2px solid var(--vd-nhan); border-radius: 14px; }
#vaccine-section .dang-toi .vc-dtg-cham { top: 26px; }
#vaccine-section .vc-dtg-ten { margin: 0; color: var(--vd-chu); font: 600 1.06rem/1.3 var(--font-body); }
#vaccine-section .vc-dtg-tt { margin: 2px 0 0; color: var(--vd-phu); font: 400 .92rem/1.3 var(--font-heading); letter-spacing: .01em; }
#vaccine-section :is(.dang-toi, .da-tiem) .vc-dtg-tt { color: var(--vd-nhan); font-weight: 700; }
#vaccine-section .vaccine label.vc-dtg-tick { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin: 0; padding: 0 12px 0 0;
  color: var(--vd-chu); font: 600 1rem/1.2 var(--font-heading); cursor: pointer; }
#vaccine-section .vaccine .vc-dtg-tick input[type="checkbox"] { flex: none; width: 22px; height: 22px; margin: 0; padding: 0; border: 0;
  accent-color: var(--vd-dac); cursor: pointer; }
#vaccine-section .vaccine .vc-dtg-tick input[type="checkbox"]:focus-visible { outline: 2px solid var(--vd-nhan); outline-offset: 3px; }
#vaccine-section .vc-chi-tiet-h { margin: 22px 0 12px; color: var(--vd-chu); font: 400 1.4rem/1.2 var(--font-display); letter-spacing: -0.01em; }

/* ══════════════════════════════════════════════════════════════════════════
   ĐỢT 4 · VÒNG 090: LỊCH TIÊM CHỦNG CHO BÉ — DÒNG THỜI GIAN 0–24 THÁNG (#lich-tiem-cho-be)
   js/bebe.js vẽ HTML của js/tiem-be-core.js (tải lười) dưới dòng "Bé đang N tháng tuổi": hình hoạt hình có sẵn đầu khung,
   ô "Mũi sắp tới" viền nhấn, trục dọc kẻ 2px với chấm 16px mỗi mốc tháng (quá hạn viền đỏ đất, đến hạn / mốc sắp tới chấm
   đặc màu nhấn, tiêm xong chấm đặc có ✓). Hàng mũi dùng lại .bb-hang / .bb-badge của vòng 072 (không opacity).
   ══════════════════════════════════════════════════════════════════════════ */
html:not([data-che-do="ngay"]) #betiem-section {
  --bt-chu: #F1EADB; --bt-phu: #CFC6B4; --bt-nhan: #D9BE86; --bt-ke: rgba(241, 234, 219, .24); --bt-the: var(--surface, #0C2620);
  --bt-dac: #D9BE86; --bt-tren-dac: #13221B; --bt-do: #E0745F;
}
html[data-che-do="ngay"] #betiem-section {
  --bt-chu: #22352B; --bt-phu: #46535E; --bt-nhan: #7A5B22; --bt-ke: #D6CDB9; --bt-the: #FBF8F1;
  --bt-dac: #173B2F; --bt-tren-dac: #F6F1E6; --bt-do: #B4321F;
}
#betiem-section .bb-dtg-khung { margin: 12px 0 0; }
/* Hình giữ nguyên tỉ lệ (width + height:auto), khung thấp cắt bớt tường trên để ô "Mũi sắp tới" lên gần màn đầu. */
#betiem-section .bb-dtg-bia-khung { max-height: 176px; overflow: hidden; margin: 0 0 12px; border-radius: 18px; }
#betiem-section .bb-dtg-bia { display: block; width: 100%; height: auto; margin-top: -7%; }
#betiem-section .bb-sap-toi { display: flex; flex-direction: column; gap: 3px; padding: 12px 14px; border: 2px solid var(--bt-nhan);
  border-radius: 16px; background: var(--bt-the); }
#betiem-section .bb-sap-toi-nhan { color: var(--bt-nhan); font: 700 .74rem/1.25 var(--font-heading); letter-spacing: .12em; text-transform: uppercase; }
#betiem-section .bb-sap-toi-ten { color: var(--bt-chu); font: 400 1.16rem/1.28 var(--font-display); }
#betiem-section .bb-sap-toi-khi { color: var(--bt-phu); font: 400 1rem/1.4 var(--font-body); }
#betiem-section .bb-sap-qua { margin: 10px 0 0; padding: 0 0 0 12px; border-left: 3px solid var(--bt-do); color: var(--bt-chu);
  font: 400 1rem/1.45 var(--font-body); }
#betiem-section .bb-dtg-chu { margin: 12px 0 4px; color: var(--bt-phu); font: 400 .95rem/1.45 var(--font-body); }
#betiem-section .bb-dtg { position: relative; list-style: none; margin: 12px 0 0; padding: 0 0 0 28px; }
#betiem-section .bb-dtg::before { content: ""; position: absolute; left: 8px; top: 12px; bottom: 28px; width: 2px; background: var(--bt-ke); }
#betiem-section .bb-dtg-moc { position: relative; margin: 0 0 8px; padding: 0; }
#betiem-section .bb-dtg-cham { position: absolute; left: -27px; top: 3px; box-sizing: border-box; width: 16px; height: 16px; border-radius: 50%;
  background: var(--bt-the); border: 2px solid var(--bt-phu); }
#betiem-section .tt-qua .bb-dtg-cham { border-color: var(--bt-do); border-width: 3px; }
#betiem-section :is(.tt-den, .la-toi) .bb-dtg-cham { background: var(--bt-nhan); border-color: var(--bt-nhan); }
#betiem-section .tt-xong .bb-dtg-cham { background: var(--bt-dac); border-color: var(--bt-dac); }
#betiem-section .tt-xong .bb-dtg-cham::after { content: "✓"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: var(--bt-tren-dac); font: 700 10px/1 var(--font-heading); }
#betiem-section .bb-dtg-ngay { margin: 0 0 8px; color: var(--bt-nhan); font: 700 .84rem/1.35 var(--font-heading); letter-spacing: .1em; text-transform: uppercase; }
#betiem-section .bb-dtg .bb-hang { min-height: 44px; box-sizing: border-box; cursor: pointer; }
#betiem-section .bb-dtg .bb-hang input { width: 20px; height: 20px; accent-color: var(--bt-dac); }
#betiem-section .bb-loai { display: inline-block; margin: 0 6px 0 0; padding: 0 6px; border: 1px solid var(--bt-ke); border-radius: 6px;
  font: 700 .7rem/1.6 var(--font-heading); letter-spacing: .06em; text-transform: uppercase; vertical-align: 1px; }

/* ══════════════════════════════════════════════════════════════════════════
   ĐỢT 4 · VÒNG 091: "CON ĐÃ CHÀO ĐỜI" — MỘT HỒ SƠ CON TỪ THAI SANG SƠ SINH (trang chủ)
   Nút viền "Con đã chào đời?" dưới dải tóm tắt hồ sơ (từ 22 tuần), form ngày sinh / tên / giới / cân-dài lúc sinh
   (js/con-chao-doi.js tải lười, ô nhập ≥ 16px, ô chạm ≥ 44px), thẻ sau sinh thay 3 thẻ "Tuần này của mẹ": hình hoạt hình
   có sẵn trên đầu, 4 lối dạng hàng kẻ tóc có mũi tên, "Nhầm? Quay lại chế độ đang bầu" chữ nhỏ gạch chân. Màu theo token
   --tc-* của #home-section (Đêm #F1EADB / #CFC6B4 / #D9BE86 · Ngày #22352B / #46535E / #7A5B22).
   ══════════════════════════════════════════════════════════════════════════ */
#home-section .ld-summary { flex-wrap: wrap; }
#home-section .ld-sum-txt { flex: 1 1 0; min-width: 0; }
:root #home-section .ld-chao-doi {
  flex: 1 1 100%; min-height: 44px; margin: 0; padding: 10px 14px; box-sizing: border-box; background: none; border: 1px solid var(--tc-nhan);
  border-radius: 12px; color: var(--tc-chu); font: 700 1rem/1.2 var(--font-heading); letter-spacing: .01em; cursor: pointer; text-align: center;
}
:root #home-section .ld-chao-doi:focus-visible { outline: 2px solid var(--tc-nhan); outline-offset: 3px; }

#lolo-onboard .ccd-form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin: 0 0 24px; padding: 18px 0 22px;
  border-bottom: 1px solid var(--border); color: var(--tc-chu); scroll-margin-top: calc(70px + env(safe-area-inset-top, 0px) + 12px); }
#lolo-onboard .ccd-form-h { margin: 0; color: var(--tc-chu); font: 400 clamp(1.5rem, 6.6vw, 1.85rem)/1.15 var(--font-display); letter-spacing: -0.02em; }
#lolo-onboard .ccd-form-sub { margin: 0 0 6px; color: var(--tc-phu); font: 400 1rem/1.5 var(--font-body); }
/* Nhãn ô theo lệ nhãn form toàn app (Archivo .8rem chữ hoa, giãn .12em) — cả legend và nhãn nằm trong ô đôi. */
#lolo-onboard .ccd-nhan { display: block; margin: 8px 0 0; padding: 0; color: var(--text-secondary); font: 700 .8rem/1.35 var(--font-heading);
  letter-spacing: .12em; text-transform: uppercase; }
#lolo-onboard .ccd-nhan span { font-weight: 400; }
:root #lolo-onboard .ccd-o { display: block; width: 100%; min-height: 48px; box-sizing: border-box; margin: 0; padding: 10px 12px;
  border: 1px solid var(--gd-o-ke, var(--border)); border-radius: 12px; background: var(--surface); color: var(--tc-chu);
  font: 400 17px/1.3 var(--font-body); -webkit-appearance: none; appearance: none; }
:root #lolo-onboard .ccd-o:focus-visible { outline: 2px solid var(--tc-nhan); outline-offset: 2px; }
#lolo-onboard .ccd-gioi { margin: 0; padding: 0; border: 0; min-width: 0; }
#lolo-onboard .ccd-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 0; }
#lolo-onboard .ccd-chip { position: relative; display: inline-flex; cursor: pointer; }
#lolo-onboard .ccd-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
#lolo-onboard .ccd-chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; box-sizing: border-box;
  border: 1px solid var(--gd-o-ke, var(--border)); border-radius: 999px; color: var(--tc-chu); font: 600 1rem/1 var(--font-heading); }
#lolo-onboard .ccd-chip input:checked + span { border: 2px solid var(--tc-nhan); padding: 0 15px; font-weight: 700; }
#lolo-onboard .ccd-chip input:checked + span::before { content: "✓\00a0"; color: var(--tc-nhan); }
#lolo-onboard .ccd-chip input:focus-visible + span { outline: 2px solid var(--tc-nhan); outline-offset: 2px; }
#lolo-onboard .ccd-hai { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; align-items: end; }
#lolo-onboard .ccd-bao-loi { margin: 4px 0 0; padding: 0 0 0 10px; border-left: 3px solid #E0745F; color: var(--tc-chu); font: 400 .98rem/1.45 var(--font-body); }
html[data-che-do="ngay"] #lolo-onboard .ccd-bao-loi { border-left-color: #B4321F; }
#lolo-onboard .ccd-ghi { margin: 4px 0 0; color: var(--tc-phu); font: italic 400 .95rem/1.45 var(--font-body); }
#lolo-onboard .ccd-nut { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin: 10px 0 0; }
:root #lolo-onboard .ccd-luu { flex: 1 1 100%; min-height: 48px; margin: 0; padding: 12px 16px; border: 0; border-radius: 12px; cursor: pointer;
  font: 700 1.02rem/1.2 var(--font-heading); letter-spacing: .01em; }
html:not([data-che-do="ngay"]) #lolo-onboard .ccd-luu { background: #D9BE86; color: #13221B; }
html[data-che-do="ngay"] #lolo-onboard .ccd-luu { background: #173B2F; color: #F6F1E6; }
:root #lolo-onboard .ccd-de-sau { min-height: 44px; margin: 0; padding: 0 4px; background: none; border: 0; color: var(--tc-chu); cursor: pointer;
  font: 600 1rem/1.2 var(--font-heading); text-decoration: underline; text-underline-offset: 3px; }
:root #lolo-onboard :is(.ccd-luu, .ccd-de-sau):focus-visible { outline: 2px solid var(--tc-nhan); outline-offset: 3px; }

#lolo-tuan-nay .ccd-the { margin: 0; color: var(--tc-chu); }
#lolo-tuan-nay .ccd-the-anh-khung { max-height: 190px; overflow: hidden; margin: 0 0 14px; border-radius: 18px; }
#lolo-tuan-nay .ccd-the-anh { display: block; width: 100%; height: auto; margin-top: -4%; }
#lolo-tuan-nay .ccd-the-nhan { margin: 0 0 4px; color: var(--tc-nhan); font: 700 .74rem/1.25 var(--font-heading); letter-spacing: .12em; text-transform: uppercase; }
#lolo-tuan-nay .ccd-the-h { margin: 0; color: var(--tc-chu); font: 400 clamp(1.8rem, 8vw, 2.2rem)/1.1 var(--font-display); letter-spacing: -0.025em; overflow-wrap: anywhere; }
#lolo-tuan-nay .ccd-the-meta { margin: 6px 0 0; padding: 0 0 12px; border-bottom: 2px solid var(--tc-chu); color: var(--tc-phu); font: 400 1rem/1.45 var(--font-body); }
#lolo-tuan-nay .ccd-loi { list-style: none; margin: 0; padding: 0; }
:root #lolo-tuan-nay .ccd-loi-a { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 12px 0; box-sizing: border-box;
  border-bottom: 1px solid var(--border); color: var(--tc-chu); text-decoration: none; -webkit-tap-highlight-color: transparent; }
#lolo-tuan-nay .ccd-loi-chu { display: flex; flex-direction: column; gap: 3px; flex: 1 1 auto; min-width: 0; }
#lolo-tuan-nay .ccd-loi-chu b { color: var(--tc-chu); font: 600 1.06rem/1.3 var(--font-body); }
#lolo-tuan-nay .ccd-loi-chu span { color: var(--tc-phu); font: 400 .94rem/1.35 var(--font-heading); letter-spacing: .01em; }
#lolo-tuan-nay .ccd-loi-mui { flex: none; color: var(--tc-lk); font: 700 1.1rem/1 var(--font-heading); }
:root #lolo-tuan-nay .ccd-loi-a:focus-visible { outline: 2px solid var(--tc-nhan); outline-offset: 3px; }
:root #lolo-tuan-nay .ccd-hoan-tac { display: inline-block; min-height: 44px; margin: 6px 0 0; padding: 10px 0; background: none; border: 0;
  color: var(--tc-phu); cursor: pointer; font: 400 .95rem/1.3 var(--font-body); text-decoration: underline; text-underline-offset: 3px; }
:root #lolo-tuan-nay .ccd-hoan-tac:focus-visible { outline: 2px solid var(--tc-nhan); outline-offset: 3px; }
@media (min-width: 768px) { #lolo-tuan-nay .ccd-the-anh-khung { max-height: 260px; } }

/* ══════════════════════════════════════════════════════════════════════════
   ĐỢT 4 · VÒNG 092: BIỂU ĐỒ TĂNG TRƯỞNG BÉ — CHẾ ĐỘ "TỪ TRONG BỤNG MẸ" (#tang-truong-be)
   Nút thứ ba trong .tt-toggle (ba nút chia đều, chữ không gãy dòng ở 390px, ô chạm ≥ 44px). js/duong-con.js (tải lười)
   đọc màu từ các biến --dc-* dưới đây: đường "Con của mẹ" = màu nhấn hệ (--gd-vang, như biểu đồ cân nặng thai), dải thai
   Hadlock / INTERGROWTH-21st = xanh lá, dải WHO 2006 = xanh dương — hai chuẩn hai màu, không nối nhau. Câu nguồn dưới
   biểu đồ (.tt-hanh-trinh-ghi) Garamond nghiêng màu phụ.
   ══════════════════════════════════════════════════════════════════════════ */
html:not([data-che-do="ngay"]) #tangtruongbe-section {
  --dc-con: var(--gd-vang, #D9BE86); --dc-thai: #9FD0A8; --dc-thai-nen: rgba(159, 208, 168, .14); --dc-who: #9CC4EA;
  --dc-who-nen: rgba(156, 196, 234, .14); --dc-chu: #CFC6B4; --dc-ke: rgba(241, 234, 219, .1); --dc-nen: var(--surface, #0C2620);
}
html[data-che-do="ngay"] #tangtruongbe-section {
  --dc-con: var(--gd-vang, #7A5B22); --dc-thai: #3D7A55; --dc-thai-nen: rgba(61, 122, 85, .1); --dc-who: #2F6493;
  --dc-who-nen: rgba(47, 100, 147, .1); --dc-chu: #46535E; --dc-ke: #E6DECD; --dc-nen: var(--surface, #FBF8F1);
}
#tangtruongbe-section .tangtruongbe .tt-toggle { gap: 6px; }
/* Ba nút lấp đầy hàng theo độ dài chữ (chia đều 3 ô thì "Từ trong bụng mẹ" 105px tràn ô 95px ở 390px). */
#tangtruongbe-section .tangtruongbe .tt-tgl { flex: 1 1 auto; min-width: 0; min-height: 44px; padding: 8px 8px; white-space: nowrap;
  font: 700 15px/1.2 var(--font-heading); letter-spacing: 0; }
#tangtruongbe-section .tangtruongbe .tt-tgl:focus-visible { outline: 2px solid var(--dc-con); outline-offset: 2px; }
#tangtruongbe-section .tt-hanh-trinh-ghi { margin: 12px 0 0; color: var(--text-secondary); font: italic 400 .95rem/1.5 var(--font-body); }
#tangtruongbe-section .tt-hanh-trinh-ghi span { display: block; }
#tangtruongbe-section .tt-hanh-trinh-ghi span + span { margin-top: 4px; }
/* Ô "lần đo mới nhất" ngay trên biểu đồ: js/tangtruongbe.js gắn nền #FFFFFF cứng (style nội dòng) → ở Đêm chữ kem #F1EADB trên
   trắng 1,1:1, câu nhắc hỏi bác sĩ nhi không đọc được. Trả về bề mặt thẻ của hệ; chữ nhắc (.warn) ở Ngày đậm hơn (#C77D2E trên
   nền sáng chỉ ~3:1). Không đổi JS, không đổi câu chữ. */
#tangtruongbe-section #tangtruongbe-latest { background: var(--surface) !important; }
html[data-che-do="ngay"] #tangtruongbe-section .tt-msg.warn { color: #8A4A12; }

/* ══════════════════════════════════════════════════════════════════════════
   ĐỢT 4 · VÒNG 093: NHẬT KÝ BÉ MỘT CHẠM + VÒNG 24 GIỜ (#nhat-ky-be)
   Thẻ "Ghi nhanh": dòng "Bú / Thay tã lần cuối" trên cùng, lưới .nb-nhanh 3 cột — hàng bú (Ti trái · Ti phải · Bình), ô ml cả
   hàng, hàng tã (Tã ướt · Tã bẩn · Cả hai), nút "Bé ngủ / Bé dậy" cả hàng; mỗi nút ≥ 56px, chấm màu khớp màu chấm trên vòng.
   Thẻ "24 giờ qua": SVG của js/nhatkybe-core.js (tải lười) — cung ngủ màu nhấn (--gd-vang), chấm bú xanh dương, chấm tã san hô,
   kim mảnh = bây giờ; mỗi màu ≥ 3:1 với nền thẻ ở cả Đêm và Ngày. SVG không mã màu, mọi màu ở biến --nb-* dưới đây.
   ══════════════════════════════════════════════════════════════════════════ */
html:not([data-che-do="ngay"]) #nhatkybe-section {
  --nb-ngu: var(--gd-vang, #D9BE86); --nb-bu: #8FC2EE; --nb-ta: #EE9A84; --nb-ke: rgba(241, 234, 219, .14);
  --nb-chu: #F1EADB; --nb-phu: #CFC6B4; --nb-the: var(--surface, #0C2620); --nb-n-nen: rgba(241, 234, 219, .05); --nb-n-ke: rgba(241, 234, 219, .3);
}
html[data-che-do="ngay"] #nhatkybe-section {
  --nb-ngu: var(--gd-vang, #7A5B22); --nb-bu: #2F6493; --nb-ta: #B4503A; --nb-ke: #E6DECD;
  --nb-chu: #22352B; --nb-phu: #46535E; --nb-the: var(--surface, #FBF8F1); --nb-n-nen: #FFFFFF; --nb-n-ke: #CFC4AE;
}
#nhatkybe-section .nb-lan-cuoi { margin: 0 0 14px; padding: 0 0 0 12px; border-left: 3px solid var(--nb-ngu); color: var(--nb-phu);
  font: 400 .95rem/1.45 var(--font-body); }
#nhatkybe-section .nb-lan-cuoi span { display: block; }
#nhatkybe-section .nb-lan-cuoi .nb-lc-nhan { margin: 0 0 2px; color: var(--nb-phu); font: 700 .74rem/1.3 var(--font-heading); letter-spacing: .12em;
  text-transform: uppercase; }
#nhatkybe-section .nb-lan-cuoi b { color: var(--nb-chu); font-weight: 600; }
#nhatkybe-section .nb-nhanh { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
#nhatkybe-section .nb-nhom { grid-column: 1 / -1; margin: 6px 0 0; color: var(--nb-phu); font: 700 .78rem/1.3 var(--font-heading);
  letter-spacing: .12em; text-transform: uppercase; }
#nhatkybe-section .nb-nhom:first-child { margin-top: 0; }
:root #nhatkybe-section .nb-n { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 56px; margin: 0;
  padding: 8px 6px; box-sizing: border-box; border: 1.5px solid var(--nb-n-ke); border-radius: 14px; background: var(--nb-n-nen);
  color: var(--nb-chu); font: 700 17px/1.15 var(--font-heading); letter-spacing: 0; cursor: pointer; white-space: nowrap;
  -webkit-tap-highlight-color: transparent; transition: transform .08s, background-color .15s, border-color .15s; }
#nhatkybe-section .nb-n::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--nb-bu); }
#nhatkybe-section .nb-n-ta::before { background: var(--nb-ta); border-radius: 2px; }
:root #nhatkybe-section .nb-n:active { transform: scale(.96); border-color: var(--nb-ngu); }
:root #nhatkybe-section .nb-n:focus-visible { outline: 2px solid var(--nb-ngu); outline-offset: 2px; }
:root #nhatkybe-section .nb-nhanh .nb-ml { grid-column: 1 / -1; min-height: 48px; margin: 0; font-size: 17px; }
:root #nhatkybe-section .nb-nhanh #nhatkybe-sleepbtn { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center;
  gap: 10px; min-height: 56px; margin: 8px 0 0; padding: 10px 14px; }
:root #nhatkybe-section .nb-nhanh #nhatkybe-sleepbtn .nb-emoji { margin: 0 !important; width: 22px !important; height: 22px !important; }
/* "Bé dậy" không có biểu tượng riêng (vòng 050 chỉ vẽ bình sữa / tã / trăng) → đang hiện bình sữa; ẩn đi, chữ đủ nghĩa. */
:root #nhatkybe-section .nb-nhanh #nhatkybe-sleepbtn.nb-wake .nb-emoji { display: none !important; }

#nhatkybe-section .nb-vong svg { display: block; width: min(260px, 70vw); height: auto; margin: 0 auto; }
#nhatkybe-section .nb-v-nen { fill: none; stroke: var(--nb-ke); stroke-width: 8; }
#nhatkybe-section .nb-v-nen-ta { fill: none; stroke: var(--nb-ke); stroke-width: 1; }
#nhatkybe-section .nb-v-so { fill: var(--nb-phu); font-family: var(--font-heading); font-size: 7px; font-weight: 600; }
#nhatkybe-section .nb-v-ngu { fill: none; stroke: var(--nb-ngu); stroke-width: 8; stroke-linecap: round; }
#nhatkybe-section .nb-v-dang-ngu { fill: none; stroke: var(--nb-ngu); stroke-width: 8; stroke-dasharray: 2.5 2.5; }
#nhatkybe-section .nb-v-bu { fill: var(--nb-bu); stroke: var(--nb-the); stroke-width: 1.2; }
#nhatkybe-section .nb-v-ta { fill: var(--nb-ta); stroke: var(--nb-the); stroke-width: 1.2; }
#nhatkybe-section .nb-v-kim { stroke: var(--nb-chu); stroke-width: 1.2; stroke-linecap: round; }
#nhatkybe-section .nb-vong-tong { margin: 10px 0 0; color: var(--nb-chu); font: 600 1rem/1.4 var(--font-heading); text-align: center; }
#nhatkybe-section .nb-vong-cg { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; margin: 8px 0 0; padding: 0;
  color: var(--nb-phu); font: 600 .9rem/1.4 var(--font-heading); }
#nhatkybe-section .nb-cg { display: inline-flex; align-items: center; gap: 6px; }
#nhatkybe-section .nb-cg::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--nb-bu); }
#nhatkybe-section .nb-cg-ta::before { width: 8px; height: 8px; background: var(--nb-ta); }
#nhatkybe-section .nb-cg-ngu::before { width: 18px; height: 6px; border-radius: 3px; background: var(--nb-ngu); }
#nhatkybe-section .nb-cg-kim::before { width: 14px; height: 0; border-radius: 0; border-top: 1.5px solid var(--nb-chu); background: none; }
#nhatkybe-section .nb-vong-ghi { margin: 6px 0 0; color: var(--nb-phu); font: italic 400 .95rem/1.45 var(--font-body); text-align: center; }

/* ══════════════════════════════════════════════════════════════════════════
   ĐỢT 4 · VÒNG 094: BÀI SAU SINH NHÁP (CHỈ MÁY THỬ) — NHÃN "NHÁP" + BĂNG CHỜ BÁC DUYỆT
   Bài nháp (nhap/camnang-sau-sinh.js, tải qua js/nhap-cong.js chỉ trên localhost) đứng cuối mục lục bài
   chăm bé của chủ đề. Nhãn "Nháp" cùng khuôn nhãn PRO vòng 069 nhưng viền gạch (đọc ra ngay là chưa chính
   thức); băng đầu bài viền gạch màu nhấn, Archivo — không phải hộp cảnh báo, chỉ nói bài chưa duyệt.
   ══════════════════════════════════════════════════════════════════════════ */
:root #camnang-section .cb-bai .cb-nhap-nhan {
  display: inline-block; vertical-align: .32em; margin-left: 8px; padding: 2px 6px 1px; border: 1px dashed var(--gd-vang); border-radius: 5px;
  font: 700 .62rem/1.3 var(--font-heading); letter-spacing: .12em; text-transform: uppercase; font-style: normal; color: var(--gd-vang);
}
:root #camnang-section .cb-nhap {
  margin: 4px 0 18px; padding: 10px 14px; border: 1.5px dashed var(--gd-vang); border-radius: 10px; background: none;
  font: 500 .86rem/1.45 var(--font-heading); letter-spacing: .02em; color: var(--text-secondary);
}
:root #camnang-section .cb-nhap b { display: block; margin: 0 0 2px; font-size: .95rem; font-weight: 700; letter-spacing: .03em; color: var(--gd-vang); }

/* ══════════════════════════════════════════════════════════════════════════
   ĐỢT 4 · VÒNG 095: KHỐI CẢNH BÁO BÀI CHĂM BÉ ĐỌC ĐƯỢC Ở CHẾ ĐỘ ĐÊM
   Vòng 064 bỏ nền vàng của .cb-canhbao (thành vạch trái cam đất) nhưng giữ chữ nâu #633112 của js/cambe.js →
   ở Đêm chữ cảnh báo "đi khám ngay" chỉ 1,67:1 trên nền #061C17 (thấy khi chụp bài nháp vòng 095; mọi bài chăm
   bé đều dính). Đêm: chữ cam nhạt cùng họ màu vạch; Ngày giữ #633112 (9,2:1).
   ══════════════════════════════════════════════════════════════════════════ */
html:not([data-che-do="ngay"]) #camnang-section .cb-canhbao { color: #EBC3A0; }

/* ══════════════════════════════════════════════════════════════════════════
   ĐỢT 4 · VÒNG 096: GÓI 399K TRỌN ĐỜI = "HỒ SƠ CỦA CON TỪ SIÊU ÂM ĐẦU TỚI MŨI TIÊM NĂM ĐẦU"
   js/auth-gate.js hanhTrinhTronDoiHtml(): màn Pro — ngay dưới hai cột Miễn phí / Pro, trước dòng thời gian
   dùng thử (không chen giữa nút giá và QR: vào bằng thẻ 399k vẫn thấy QR ngay); màn chào sau đăng ký — bản
   gọn (.gon) dưới hai thẻ giá. Khung kẻ tóc như cột Miễn phí; đang chọn gói trọn đời (.on) viền + nền như cột
   Pro. Ba mốc là ba chấm đặc màu nhấn nối vạch như thanh 3 bước vòng 073, chữ Archivo .84rem; mô tả Caslon,
   món Garamond. Màu theo biến --ag75-* của tấm (Đêm/Ngày, vòng 075). Không phải nút: không con trỏ tay.
   ══════════════════════════════════════════════════════════════════════════ */
:root .ag-card .ag-tron-doi { margin: 0 0 16px; padding: 13px 14px 12px; border: 1px solid var(--ag75-ke); border-radius: 14px; text-align: left; }
:root .ag-card .ag-tron-doi.on { border-color: var(--ag75-nhan); background: var(--ag75-nen-pro); }
:root .ag-card .ag-tron-doi.gon { margin-bottom: 14px; padding: 11px 14px 10px; }
:root .ag-card .ag-tron-doi-ten { margin: 0 0 3px; font: 700 .78rem/1.2 var(--font-heading); letter-spacing: .12em; text-transform: uppercase; color: var(--ag75-mo); }
:root .ag-card .ag-tron-doi.on .ag-tron-doi-ten { color: var(--ag75-nhan); }
:root .ag-card .ag-tron-doi-mo-ta { margin: 0 0 13px; font: 400 1.14rem/1.24 var(--font-display); letter-spacing: -.005em; color: var(--ag75-dam); text-wrap: balance; }
:root .ag-card .ag-tron-doi-moc { display: flex; list-style: none; margin: 0 0 12px; padding: 0; }
:root .ag-card .ag-tron-doi-moc li { position: relative; flex: 1 1 0; min-width: 0; margin: 0; padding: 18px 3px 0; text-align: center; font: 600 .84rem/1.25 var(--font-heading); letter-spacing: .02em; color: var(--ag75-chu); }
:root .ag-card .ag-tron-doi-moc li::before { content: ""; position: absolute; top: 0; left: calc(50% - 5.5px); width: 11px; height: 11px; border-radius: 50%; background: var(--ag75-nhan); }
:root .ag-card .ag-tron-doi-moc li + li::after { content: ""; position: absolute; top: 5px; left: calc(-50% + 11px); right: calc(50% + 11px); height: 1px; background: var(--ag75-nhan); opacity: .6; }
:root .ag-card .ag-tron-doi-gom { margin: 0 0 10px; padding: 10px 0 0; border-top: 1px solid var(--ag75-ke); }
:root .ag-card .ag-tron-doi-gom dt { margin: 0 0 2px; font: 700 .76rem/1.3 var(--font-heading); letter-spacing: .1em; text-transform: uppercase; color: var(--ag75-mo); }
:root .ag-card .ag-tron-doi-gom dd { margin: 0 0 8px; font: 400 .95rem/1.38 var(--font-body); color: var(--ag75-chu); overflow-wrap: anywhere; }
:root .ag-card .ag-tron-doi-gom dd:last-child { margin-bottom: 0; }
:root .ag-card .ag-tron-doi-ghi { margin: 0; font: 400 .92rem/1.4 var(--font-body); color: var(--ag75-mo); }
:root .ag-card .ag-tron-doi.gon .ag-tron-doi-mo-ta { margin-bottom: 6px; font-size: 1.06rem; }
@media (max-width: 360px) {   /* 320px: nhãn mốc giữ 1–2 dòng (không gãy từng chữ) */
  :root .ag-card .ag-tron-doi { padding-left: 12px; padding-right: 12px; }
  :root .ag-card .ag-tron-doi-moc li { padding-left: 1px; padding-right: 1px; font-size: .76rem; letter-spacing: 0; }
}

/* ══════════════════════════════════════════════════════════════════════════
   ĐỢT 4 · VÒNG 097: SOÁT GIAI ĐOẠN 3 — LỐI HOÀN TÁC DỰ PHÒNG Ở DẢI TÓM TẮT (trang chủ sau sinh)
   Nút "Nhầm? Quay lại chế độ đang bầu" của thẻ sau sinh nằm trong js/con-chao-doi.js (tải lười): tải hỏng thì mẹ
   không quay lại được. js/dashboard.js renderSummary thêm #ldVeBau cùng chữ, cùng kiểu (chữ nhỏ gạch chân, ô chạm
   ≥ 44px) — thẻ sau sinh đã vẽ (có [data-ccd-hoan-tac]) thì ẩn để không có hai nút giống nhau.
   ══════════════════════════════════════════════════════════════════════════ */
:root #home-section .ld-ve-bau { flex: 1 1 100%; min-height: 44px; margin: 0; padding: 10px 0; background: none; border: 0; text-align: left;
  color: var(--tc-phu); cursor: pointer; font: 400 .95rem/1.3 var(--font-body); text-decoration: underline; text-underline-offset: 3px; }
:root #home-section .ld-ve-bau:focus-visible { outline: 2px solid var(--tc-nhan); outline-offset: 3px; }
#home-section:has(#lolo-tuan-nay [data-ccd-hoan-tac]) .ld-ve-bau { display: none; }
/* Soát 320px (bản 096, WebKit): (1) "Từ trong bụng mẹ" (vòng 092) chữ 113px trong nút 105px — tràn mép nút; ≤ 360px cho
   chữ xuống dòng, đệm ngang hẹp lại (nút vẫn cao ≥ 44px). (2) Lịch tiêm của mẹ (vòng 089): ô "Sắp tới" hình 92px chừa cột
   chữ 120px, tên mũi gãy 4 dòng → hình 64px. (3) Thanh đầu: logo (24–160px) và nút "Hỏi" (160–241px) dính nhau, không
   còn khe (có từ trước đợt 4) → nút "Hỏi" bớt đệm phải / khe ảnh–chữ, có khe ≥ 8px; vùng chạm vẫn cao 44px, rộng ≥ 70px. */
@media (max-width: 360px) {
  #tangtruongbe-section .tangtruongbe .tt-tgl { padding: 6px 5px; }
  #tangtruongbe-section .tangtruongbe #tangtruongbe-tgl-h { white-space: normal; }
  #vaccine-section .vc-dtg-toi { gap: 10px; }
  #vaccine-section .vc-dtg-toi-anh { width: 64px; }
  :root .nut-hoi { gap: 4px; padding-right: 9px; margin-right: 6px; }
  :root .logo { margin-right: 8px; }
}
/* (4) Máy tính / iPad (≥ 768px): 3 thẻ "Tuần này của mẹ" (vòng 088) chia 3 cột ~213px, hình 64px + mũi tên chừa cột chữ
   ~110px → tên món / việc khám gãy 4–6 dòng. Mỗi thẻ: hình + mũi tên một hàng, chữ xuống hàng dưới đủ bề ngang cột. */
@media (min-width: 768px) {
  :root #lolo-tuan-nay .tn-the:not(details), #lolo-tuan-nay .tn-tom { flex-wrap: wrap; align-items: center; row-gap: 10px; }
  #lolo-tuan-nay .tn-chu { flex: 1 1 100%; order: 2; }
}

/* ══════════════════════════════════════════════════════════════════════════
   ĐỢT 4 · VÒNG 098: LINK TĨNH SANG TRANG CÔNG KHAI "CÂN NẶNG THAI THEO TUẦN" (/can-nang-thai/)
   Link duy nhất từ app sang 30 trang công khai (Google bò được). Đứng ngay dưới dòng lưu ý của công cụ cân nặng,
   chữ thẳng mép chữ dòng lưu ý (viền 2px + đệm 12px); ô chạm ≥ 44px; chữ Archivo màu nhấn (Đêm vàng sâm-panh,
   Ngày xanh đậm #173B2F).
   ══════════════════════════════════════════════════════════════════════════ */
:root #efw-section .efw-bang-tuan { display: flex; align-items: center; width: fit-content; max-width: 100%;
  min-height: 44px; margin: 6px 0 0; padding: 0 0 0 14px; font: 600 1rem/1.3 var(--font-heading); letter-spacing: .02em;
  color: var(--gd-nhan); text-decoration: none; }
:root #efw-section .efw-bang-tuan:hover, :root #efw-section .efw-bang-tuan:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
:root #efw-section .efw-bang-tuan:focus-visible { outline: 2px solid var(--gd-nhan); outline-offset: 2px; }
html[data-che-do="ngay"] #efw-section .efw-bang-tuan { color: #173B2F; }
html[data-che-do="ngay"] #efw-section .efw-bang-tuan:focus-visible { outline-color: #173B2F; }

/* ══════════════════════════════════════════════════════════════════════════
   ĐỢT 4 · VÒNG 099: NÚT "GỬI THẺ TUẦN N CHO NGƯỜI THÂN" DƯỚI KẾT QUẢ CÂN NẶNG (một thai)
   js/efw-calc.js veTheKetQua → tải lười js/the-ket-qua*.js → màn chia sẻ (ảnh thẻ + "Gửi link (có ảnh xem trước)").
   Nút viền 1px màu nhấn, cao ≥ 48px, rộng 100%, chữ Archivo — Đêm vàng sâm-panh, Ngày xanh đậm #173B2F.
   ══════════════════════════════════════════════════════════════════════════ */
:root #efw-section .efw-the-kq { margin: 12px 0 0; }
:root #efw-section .efw-the-kq-nut { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 48px;
  padding: 10px 16px; border: 1px solid var(--gd-nhan); border-radius: 14px; background: transparent; color: var(--gd-nhan);
  font: 600 1rem/1.25 var(--font-heading); letter-spacing: .02em; cursor: pointer; text-align: center; }
:root #efw-section .efw-the-kq-nut:focus-visible { outline: 2px solid var(--gd-nhan); outline-offset: 3px; }
html[data-che-do="ngay"] #efw-section .efw-the-kq-nut { border-color: #173B2F; color: #173B2F; }
html[data-che-do="ngay"] #efw-section .efw-the-kq-nut:focus-visible { outline-color: #173B2F; }

/* ══════════════════════════════════════════════════════════════════════════
   ĐỢT 4 · VÒNG 100: TRANG CHỦ THEO GIAI ĐOẠN + MÀN KẾT QUẢ CÂN NẶNG XẾP THEO VIỆC (UX10)
   Mẹ có hồ sơ: js/dashboard.js xepTrangChu đưa tóm tắt hồ sơ → tuần này / thẻ sau sinh → khuyến cáo → phim
   lên ngay dưới #a2hsHome (luật 05/09). html[data-giai-doan] do script đầu trang + xepTrangChu gắn.
   Kết quả cân nặng: 1) kết luận tham khảo + giới hạn 2) câu hỏi bác sĩ + việc tiếp theo 3) trạng thái lưu,
   rồi biểu đồ / lịch sử; lời mời phụ (tặng, gửi thẻ, góp ý, câu hỏi một lần) xuống #efwMoiPhu cuối cùng.
   ══════════════════════════════════════════════════════════════════════════ */
html.lolo-co-ho-so #dai-video .dv-day { display: none; }          /* nút cá nhân hoá đã ẩn (gonTheoHoSo) — bỏ luôn khoảng 30px */
html[data-giai-doan="sau_sinh"] #tdcHome { display: none; }        /* theo dõi qua các lần khám là của thai kỳ */
html.lolo-co-ho-so #lolo-onboard { margin-top: 8px; }              /* đầu nhóm "của mẹ" ngay dưới khối ghim */
html.lolo-co-ho-so #lolo-onboard + #lolo-tuan-nay { margin-top: 20px; }
html[data-giai-doan="sau_sinh"] #lolo-tuan-nay + #lolo-onboard { margin-top: 16px; }
:root #lolo-onboard .ld-sum-meta { text-wrap: balance; }         /* không để chữ "tuổi" / "bé" rớt một mình */
:root #efw-section .efw-hoi-bs { margin-top: 14px; }
:root #efw-section #efwTiep:empty, :root #efw-section #efwMoiPhu:empty { display: none; }
:root #efw-section #efwTiep .efw-tiep { margin-top: 14px; }
:root #efw-section #efwMoiPhu { margin-top: 20px; padding-top: 6px; border-top: 1px solid var(--gd-ke-vang); }

/* ══════════════════════════════════════════════════════════════════════════
   ĐỢT 4 · VÒNG 101: SOÁT TƯƠNG PHẢN / Ô CHẠM / CHUYỂN ĐỘNG + FORM SỐ ĐO (UX08) + THANH ĐÁY (UX13)
   UX13: icon mục đang chọn ở thanh đáy lấy đúng màu chữ của mục (Đêm vàng sâm-panh trên rừng, Ngày xanh #173B2F trên
   giấy) — trước đó vẫn mang màu chữ-trên-nền-đặc (Đêm #13221B, Ngày #FFFFFF) trong khi nền đặc đã bỏ (đợt 3 vòng 024) → icon chìm.
   UX08: nhóm số đo ít gặp thu gọn (<details class="us-gop">) có nhãn tên + mã ô, dòng tóm tắt cao ≥ 44px.
   ══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  :root:root .thanh-day a[aria-current="page"] .thanh-ic { color: inherit !important; }
}
#bioSuite .us-du { margin: 0 0 6px; font: 600 .95rem/1.4 var(--font-heading); letter-spacing: .01em; color: var(--text-secondary); }
#bioSuite .us-gop { margin: 6px 0 0; border-top: 1px solid var(--gd-ke-vang); }
#bioSuite .us-gop > summary { list-style: none; display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; min-height: 48px;
  padding: 8px 0; cursor: pointer; font: 600 1rem/1.3 var(--font-heading); letter-spacing: .01em; color: var(--text-primary); }
#bioSuite .us-gop > summary::-webkit-details-marker { display: none; }
#bioSuite .us-gop > summary::before { content: ""; width: 8px; height: 8px; flex: 0 0 8px; margin-right: 2px; border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor; transform: rotate(-45deg); }
#bioSuite .us-gop[open] > summary::before { transform: rotate(45deg); }
#bioSuite .us-gop-ma { color: var(--gd-vang); font-weight: 700; letter-spacing: .04em; }
#bioSuite .us-gop > summary:focus-visible { outline: 2px solid var(--gd-vang); outline-offset: 2px; border-radius: 6px; }
@media (prefers-reduced-motion: no-preference) { #bioSuite .us-gop > summary::before { transition: transform .15s ease; } }
/* Câu "Một số là đủ — ô nào phiếu không ghi thì bỏ trống" đã nói thay chữ mờ trong ô (bị cắt "Bỏ trống nếu k…" ở 390px) */
:root:root #bioSuite .us-input input::placeholder { color: transparent !important; }
/* iPad 769–860px: hero-anat.css (@media max-width 860px) phủ lớp tối lên bìa tuần thai của mẹ có hồ sơ — ở chế độ Ngày
   chữ "còn N ngày", "của bé", câu phụ chìm trên nền xám xanh. Bìa tuần là nền phẳng (không ảnh) → bỏ lớp phủ ở MỌI bề rộng
   (≤ 768px đã bỏ từ vòng 010). */
html.lolo-co-ho-so .kb-hero-cell .hero-anat::after { display: none; }
/* 320–360px: chữ "Mục lục" (58px) tràn khỏi nút 48px và chạm viền nút "Hỏi". Lề đầu trang 16px (như mọi màn),
   logo bớt đệm ngang, nút mục lục rộng theo chữ → hai nút cách nhau 6px, không chạm. */
@media (max-width: 360px) {
  :root:root .header-container { padding-left: 16px !important; padding-right: 16px !important; }
  :root:root .logo { padding-left: 12px !important; padding-right: 12px !important; }
  :root:root .menu-toggle { width: auto !important; min-width: 48px !important; padding-left: 4px !important; padding-right: 4px !important; }
}
/* Chấm chuyển ô dải video: vùng chạm 22×30px (trước 6×6px) — chấm nhìn thấy giữ nguyên (vẽ bằng ::before), viên thuốc
   vẫn cao 32px như nút phát. ≤ 360px: 18px mỗi chấm để 11 chấm + nút phát vừa 320px. */
:root .dv-cham { gap: 0; padding: 0 8px; }
:root .dv-cham-nut { position: relative; width: 22px; height: 30px; background: transparent; opacity: 1; color: inherit; }
:root .dv-cham-nut::before { content: ""; position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; margin: -3px 0 0 -3px;
  border-radius: 980px; background: currentColor; opacity: .35; }
:root .dv-cham-nut.on { width: 30px; opacity: 1; }
:root .dv-cham-nut.on::before { width: 18px; margin-left: -9px; opacity: 1; }
@media (prefers-reduced-motion: no-preference) { :root .dv-cham-nut::before { transition: width .24s cubic-bezier(.3,.55,.25,1), margin .24s, opacity .24s ease; } }
@media (max-width: 360px) { :root .dv-cham-nut { width: 18px; } :root .dv-cham-nut.on { width: 26px; } }
/* Nút chữ trong khối "Khuyến cáo cho mẹ" ("Có", "Bỏ chọn", "Đổi thông tin", "Đóng"): vùng chạm 19×27px → đệm 9px 8px
   + lề âm cùng cỡ — chữ và dòng giữ nguyên chỗ, vùng bấm lớn ra (~35×45px). */
:root .tdcm-lk-nut { display: inline-block; padding: 9px 8px; margin: -9px -8px; }

/* ══════════════════════════════════════════════════════════════════════════
   ĐỢT 4 · VÒNG 102: MỐC CUỐI — một chỗ hụt tương phản có từ 17/08 (style.css)
   ══════════════════════════════════════════════════════════════════════════ */
/* Nhãn "Mẹ mở ngay được:" dưới lời khuyên kết quả cân nặng: màu cố định rgba(214,231,220,.72) của nền tối cũ →
   chế độ Ngày trên nền #FBF8F1 chỉ 1,15:1 (gần như vô hình, có cả trên prod v324). Ngày dùng chữ phụ của chế độ
   (≥ 4,5:1); Đêm giữ nguyên (đã đạt). Không đổi chữ. */
html[data-che-do="ngay"] .efw-viec-nhan { color: var(--text-secondary) !important; }

/* ══════════════════════════════════════════════════════════════════════════
   ĐỢT 4 · SỬA SAU VÒNG 102 (anh Tú 31/10: "chữ 'thai kỳ của mẹ' bị sát số 31")
   Số tuần Caslon rất lớn có line-height < 1 (≈ 0,78) nên phần trên của chữ số
   tràn khỏi hộp dòng ~0,11em và đè sát nhãn "Thai kỳ của mẹ · hôm nay" (đo
   1657px: nhãn đáy 203px, hộp số đỉnh 207px, chữ số cao 249px). Đẩy số xuống
   theo đúng cỡ chữ của nó (em) để mọi bề rộng màn đều có khoảng thở.
   ══════════════════════════════════════════════════════════════════════════ */
:root:root .ha-bia .ha-bia-so { margin-top: .16em; }
:root:root .ha-bia .ha-bia-nhan { margin-bottom: 4px; }
