@font-face { font-family: 'Be Vietnam Pro'; font-style: italic; font-weight: 400; font-display: block; src: url('assets/fonts/BeVietnamPro-400-italic.ttf') format('truetype'); }
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 400; font-display: block; src: url('assets/fonts/BeVietnamPro-400-normal.ttf') format('truetype'); }
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 500; font-display: block; src: url('assets/fonts/BeVietnamPro-500-normal.ttf') format('truetype'); }
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 600; font-display: block; src: url('assets/fonts/BeVietnamPro-600-normal.ttf') format('truetype'); }
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 700; font-display: block; src: url('assets/fonts/BeVietnamPro-700-normal.ttf') format('truetype'); }
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 800; font-display: block; src: url('assets/fonts/BeVietnamPro-800-normal.ttf') format('truetype'); }
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 900; font-display: block; src: url('assets/fonts/BeVietnamPro-900-normal.ttf') format('truetype'); }

@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 600; font-display: block; src: url('assets/fonts/Montserrat-600-normal.ttf') format('truetype'); }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 700; font-display: block; src: url('assets/fonts/Montserrat-700-normal.ttf') format('truetype'); }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 800; font-display: block; src: url('assets/fonts/Montserrat-800-normal.ttf') format('truetype'); }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 900; font-display: block; src: url('assets/fonts/Montserrat-900-normal.ttf') format('truetype'); }

:root {
  --brand-green: #006B2D;
  --brand-green-dark: #005222;
  --brand-leaf: #6AB023;
  --brand-leaf-soft: #E9F5DD;
  --brand-red: #C8102E;
  --ink-900: #182026;
  --ink-700: #33414D;
  --ink-500: #5C6B77;
  --surface-paper: #FFFFFF;
  --surface-gray: #F2F4F6;
  --surface-row-alt: #E7ECEF;
  --surface-header: #D9DEE2;
  --viewer-bg: #161B20;
  --viewer-bar: #1F262D;
  --viewer-border: rgba(255, 255, 255, 0.1);
  --page-w: 794px;
  --page-h: 1123px;
  --scale: 0.72;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  font-family: 'Be Vietnam Pro', 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--viewer-bg);
  color: #F1F5F9;
  -webkit-font-smoothing: antialiased;
}

/* ================= VIEWER CHROME ================= */
.viewer-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 56px;
  background: var(--viewer-bar);
  border-bottom: 1px solid var(--viewer-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  gap: 12px;
  z-index: 100;
  user-select: none;
}

.topbar-left, .topbar-center, .topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-pill {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.brand-pill-title {
  font-size: 13px;
  font-weight: 700;
  color: #FFFFFF;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-pill-sub {
  font-size: 11px;
  color: #94A3B8;
  white-space: nowrap;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #E2E8F0;
  height: 34px;
  padding: 0 12px;
  border-radius: 7px;
  font-size: 12.5px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.13);
  color: #FFFFFF;
}

.btn-ghost.active {
  background: rgba(106, 176, 35, 0.22);
  border-color: var(--brand-leaf);
  color: #D9F99D;
}

.btn-primary {
  background: var(--brand-green);
  border: 1px solid #0E8A42;
  color: #FFFFFF;
  height: 34px;
  padding: 0 14px;
  border-radius: 7px;
  font-size: 12.5px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: background 0.15s ease;
}

.btn-primary:hover {
  background: #008237;
}

.segmented {
  display: inline-flex;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 3px;
  gap: 2px;
}

.segmented button {
  background: transparent;
  border: none;
  color: #94A3B8;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 5px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.segmented button.active {
  background: #2E3842;
  color: #FFFFFF;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.page-counter {
  font-size: 12px;
  font-weight: 600;
  color: #CBD5E1;
  background: rgba(255, 255, 255, 0.05);
  padding: 6px 10px;
  border-radius: 6px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* ================= TOC DRAWER ================= */
.toc-drawer {
  position: fixed;
  top: 56px;
  left: 0;
  bottom: 0;
  width: 310px;
  background: #1B2229;
  border-right: 1px solid var(--viewer-border);
  transform: translateX(-100%);
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 90;
  overflow-y: auto;
  padding: 16px 14px 32px;
}

.toc-drawer.open {
  transform: translateX(0);
  box-shadow: 12px 0 36px rgba(0, 0, 0, 0.45);
}

.toc-section-title {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #86EFAC;
  margin: 14px 0 6px 6px;
}

.toc-section-title:first-child {
  margin-top: 2px;
}

.toc-item {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  color: #CBD5E1;
  font-family: inherit;
  font-size: 12.5px;
  padding: 7px 10px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  transition: background 0.12s ease;
}

.toc-item:hover {
  background: rgba(255, 255, 255, 0.07);
  color: #FFFFFF;
}

.toc-item.active {
  background: rgba(0, 107, 45, 0.38);
  color: #FFFFFF;
  font-weight: 600;
}

.toc-item-code {
  font-size: 10.5px;
  font-weight: 700;
  color: #86EFAC;
  font-family: 'Montserrat', sans-serif;
  margin-right: 5px;
}

.toc-item-pg {
  font-size: 11px;
  color: #64748B;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

/* ================= STAGE & NAVIGATION ================= */
.viewer-stage {
  padding: 76px 24px 82px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 50% 25%, rgba(0, 107, 45, 0.12), transparent 55%),
    var(--viewer-bg);
}

.viewer-stage.mode-scroll {
  justify-content: flex-start;
  gap: 32px;
}

.spread-shell {
  position: relative;
  display: block;
  flex-shrink: 0;
}

.spread-pair {
  position: absolute;
  top: 0;
  left: 0;
  width: max-content;
  height: var(--page-h);
  display: flex;
  align-items: stretch;
  transform-origin: top left;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.58), 0 4px 18px rgba(0, 0, 0, 0.35);
  border-radius: 3px;
  overflow: hidden;
  background: #FFFFFF;
}

.spread-pair.is-book-spread .a4-page.page-left::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 18px;
  background: linear-gradient(to left, rgba(0, 0, 0, 0.11), rgba(0, 0, 0, 0.025) 50%, transparent);
  pointer-events: none;
  z-index: 20;
}

.spread-pair.is-book-spread .a4-page.page-right::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 16px;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.09), rgba(0, 0, 0, 0.02) 50%, transparent);
  pointer-events: none;
  z-index: 20;
}

.spread-pair.is-book-spread .a4-page.no-gutter-shadow::after {
  display: none !important;
}

.nav-fab {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 68px;
  border-radius: 10px;
  background: rgba(31, 38, 45, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 60;
  backdrop-filter: blur(8px);
  transition: all 0.15s ease;
}

.nav-fab:hover:not(:disabled) {
  background: var(--brand-green);
  border-color: #22C55E;
}

.nav-fab:disabled {
  opacity: 0.25;
  cursor: not-allowed;
}

.nav-fab.prev { left: 16px; }
.nav-fab.next { right: 16px; }

.bottom-bar {
  position: fixed;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(27, 34, 41, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 6px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 70;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
  font-size: 12px;
  color: #CBD5E1;
}

.bottom-bar input[type="range"] {
  width: 210px;
  accent-color: var(--brand-leaf);
  cursor: pointer;
}

/* ================= A4 PRINT PAGE BASE ================= */
.a4-page {
  width: var(--page-w);
  height: var(--page-h);
  background: var(--surface-paper);
  color: var(--ink-900);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}

/* Running Headers (Catalogue standard grammar) */
.running-header-left {
  height: 54px;
  display: flex;
  align-items: stretch;
  position: relative;
  flex-shrink: 0;
}

.header-ribbon-left {
  background: var(--surface-header);
  padding: 0 42px 0 36px;
  display: flex;
  align-items: center;
  clip-path: polygon(0 0, 100% 0, calc(100% - 22px) 100%, 0 100%);
  min-width: 290px;
}

.header-ribbon-left span {
  font-family: 'Montserrat', 'Be Vietnam Pro', sans-serif;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--brand-green);
  text-transform: uppercase;
}

.running-header-right {
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 36px;
  flex-shrink: 0;
}

.wordmark-right {
  font-family: 'Montserrat', 'Be Vietnam Pro', sans-serif;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #1F2933;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Cân đều 2 bên dồn dòng cuối sang trái cho văn bản chuyên nghiệp */
.justify-text,
.t2-bullets li,
.t2-cap-desc,
.t2-vision-desc,
.t2-hl-desc,
.t4-chapter-desc,
.t5-prod-summary,
.t5-angle-desc,
.t6-numbered-list li,
.t3-coop-desc,
.t3s-roadmap-desc,
.t3s-commit-box,
.t7-note-box {
  text-align: justify;
  text-align-last: left;
  hyphens: none;
}

@media (max-width: 1360px) {
  .brand-pill-sub { display: none; }
  .btn-ghost, .btn-primary { padding: 0 9px; font-size: 11.8px; }
  .page-counter { padding: 5px 8px; font-size: 11.5px; }
}

.wordmark-tri {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 9px solid var(--brand-red);
  display: inline-block;
  transform: translateY(-1px);
}

.page-num-badge {
  position: absolute;
  bottom: 14px;
  font-size: 10.5px;
  font-weight: 700;
  color: #7B8794;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
  z-index: 10;
}
.page-left .page-num-badge { left: 32px; }
.page-right .page-num-badge { right: 32px; }

/* ================= T1: FRONT COVER ================= */
.t1-cover {
  background: #F6F7F8;
  position: relative;
  height: 100%;
  padding: 58px 54px 44px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.t1-x-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.t1-x-bg svg {
  width: 100%;
  height: 100%;
}

.t1-header {
  position: relative;
  z-index: 2;
  padding-left: 36px;
}

.t1-title {
  font-family: 'Montserrat', 'Be Vietnam Pro', sans-serif;
  font-size: 44px;
  line-height: 1.1;
  font-weight: 900;
  color: var(--brand-green);
  text-transform: uppercase;
  letter-spacing: -0.015em;
}

.t1-divider {
  width: 34px;
  height: 2px;
  background: #9AA5B1;
  margin: 18px 0 14px;
}

.t1-slogan {
  font-family: 'Montserrat', 'Be Vietnam Pro', sans-serif;
  font-size: 16.5px;
  line-height: 1.38;
  font-weight: 800;
  color: var(--brand-red);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.t1-collage {
  position: relative;
  z-index: 2;
  flex: 1;
  margin: 14px 0 8px;
}

.t1-mach {
  position: absolute;
  object-fit: contain;
  filter: drop-shadow(0 12px 14px rgba(15, 23, 42, 0.2));
}

.t1-m1 { top: 0px; left: -6px; width: 322px; height: 210px; z-index: 2; }
.t1-m2 { top: 2px; right: -6px; width: 326px; height: 212px; z-index: 2; }
.t1-m3 { top: 50%; left: 50%; transform: translate(-50%, -48%); width: 256px; height: 186px; z-index: 4; }
.t1-m4 { bottom: 4px; left: 2px; width: 308px; height: 212px; z-index: 3; }
.t1-m5 { bottom: 6px; right: 2px; width: 314px; height: 212px; z-index: 3; }

.t1-footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding-top: 10px;
}

.t1-org-name {
  font-family: 'Montserrat', 'Be Vietnam Pro', sans-serif;
  font-size: 15.5px;
  font-weight: 800;
  color: #182026;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}

.t1-org-en {
  font-size: 10.5px;
  font-weight: 600;
  color: #52606D;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 2px;
}

/* ================= T2: COMPANY & TEAM SPREAD ================= */
.t2-top-band {
  height: 52px;
  display: flex;
  align-items: center;
  margin-top: 22px;
}

.t2-top-band-left {
  padding-left: 36px;
  justify-content: space-between;
  width: 100%;
}

.t2-title {
  font-family: 'Montserrat', 'Be Vietnam Pro', sans-serif;
  font-size: 27px;
  font-weight: 800;
  color: var(--brand-green);
  letter-spacing: -0.01em;
}

.t2-green-tab {
  width: 88px;
  height: 40px;
  background: var(--brand-green);
}

.t2-top-band-right {
  width: 100%;
  display: flex;
  align-items: stretch;
  height: 40px;
  margin-top: 28px;
}

.t2-top-band-right .green-blk {
  width: 185px;
  background: var(--brand-green);
  clip-path: polygon(0 0, 100% 0, calc(100% - 18px) 100%, 0 100%);
}

.t2-top-band-right .gray-blk {
  flex: 1;
  background: var(--surface-header);
  margin-left: -12px;
  clip-path: polygon(18px 0, 100% 0, 100% 100%, 0 100%);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 36px;
}

.t2-hero-photo {
  margin: 12px 0 14px;
  height: 356px;
  width: 100%;
  position: relative;
  overflow: hidden;
  background: #102018;
}

.t2-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.t2-hero-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 36px 13px;
  background: linear-gradient(to top, rgba(0, 40, 18, 0.88), transparent);
  color: #FFFFFF;
  font-size: 12.2px;
  font-weight: 500;
}

.t2-bullets {
  padding: 0 36px;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.t2-bullets li {
  position: relative;
  padding-left: 17px;
  font-size: 14px;
  line-height: 1.54;
  color: var(--ink-700);
}

.t2-bullets-team {
  padding: 0 36px 0 24px;
  gap: 9px;
}

.t2-bullets-team li {
  font-size: 13.6px;
  line-height: 1.52;
}

.t2-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-green);
}

.t2-bullets strong {
  color: var(--ink-900);
  font-weight: 700;
}

.t2-core-caps {
  margin: 14px 36px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 11px;
}

.t2-cap-card {
  background: #F4F9F5;
  border: 1px solid #C8DEC9;
  border-top: 3px solid var(--brand-green);
  border-radius: 5px;
  padding: 11px 12px;
}

.t2-cap-title {
  font-size: 12.4px;
  font-weight: 800;
  color: var(--brand-green);
  margin-bottom: 4px;
  line-height: 1.3;
}

.t2-cap-desc {
  font-size: 11.6px;
  line-height: 1.45;
  color: var(--ink-700);
}

.t2-vision-box {
  margin: 13px 36px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
}

.t2-vision-card {
  background: #E9F5DD;
  border-left: 4px solid var(--brand-green);
  border-radius: 5px;
  padding: 11px 13px;
}

.t2-vision-title {
  font-size: 12.2px;
  font-weight: 800;
  color: var(--brand-green-dark);
  margin-bottom: 4px;
}

.t2-vision-desc {
  font-size: 11.6px;
  line-height: 1.46;
  color: #183A24;
}

.t2-kpi-strip {
  margin: 14px 36px 34px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  border-top: 2px solid var(--brand-green);
  padding-top: 13px;
}

.t2-kpi-box {
  background: var(--surface-gray);
  padding: 11px 11px;
  border-radius: 4px;
}

.t2-kpi-val {
  font-family: 'Montserrat', sans-serif;
  font-size: 21px;
  font-weight: 800;
  color: var(--brand-green);
}

.t2-kpi-lbl {
  font-size: 11.4px;
  color: var(--ink-500);
  margin-top: 2px;
  line-height: 1.34;
}

.t2-team-hero {
  margin: 12px 36px 13px 24px;
  height: 304px;
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  background: #0F2417;
}

.t2-team-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.t2-team-banner {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 107, 45, 0.92);
  padding: 14px 22px;
  color: #FFFFFF;
}

.t2-team-banner h3 {
  font-family: 'Montserrat', 'Be Vietnam Pro', sans-serif;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.2;
}

.t2-team-banner p {
  font-size: 12px;
  opacity: 0.92;
  margin-top: 4px;
}

.t2-team-highlights {
  margin: 12px 36px 0 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}

.t2-hl-card {
  background: #F4F9F5;
  border: 1px solid #C8DEC9;
  border-top: 3px solid var(--brand-leaf);
  border-radius: 5px;
  padding: 9px 11px;
}

.t2-hl-title {
  font-size: 11.6px;
  font-weight: 800;
  color: var(--brand-green);
  margin-bottom: 3px;
}

.t2-hl-desc {
  font-size: 11px;
  line-height: 1.42;
  color: var(--ink-700);
}

.t2-awards-wrap {
  margin: 14px 36px 34px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.t2-awards-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.2px;
  font-weight: 800;
  color: var(--brand-green);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 1.5px solid #C8DEC9;
  padding-bottom: 5px;
}

.t2-awards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.85fr;
  gap: 9px;
  align-items: stretch;
}

.t2-award-card {
  border: 1px solid #CBD5E1;
  border-radius: 5px;
  overflow: hidden;
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.05);
}

.t2-award-img-box {
  height: 222px;
  background: #F4F5F0;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.t2-award-img-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.t2-award-cap {
  font-size: 10.4px;
  line-height: 1.32;
  padding: 6px 7px;
  color: var(--ink-900);
  font-weight: 700;
  background: #F8FAFC;
  border-top: 1px solid #E2E8F0;
  flex: 1;
  display: flex;
  align-items: center;
}

/* ================= T3: CONCEPT / MODULE SPREAD ================= */
.t3-banner {
  margin-top: 26px;
  background: var(--brand-green);
  color: #FFFFFF;
  width: 410px;
  padding: 12px 36px;
  clip-path: polygon(0 0, 100% 0, calc(100% - 22px) 100%, 0 100%);
  font-family: 'Montserrat', 'Be Vietnam Pro', sans-serif;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.t3-body {
  padding: 20px 34px 34px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

.t3-bullet-head {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-900);
  margin-bottom: 10px;
}

.t3-hub-note {
  margin-top: 14px;
  background: #E9F5DD;
  border-left: 4px solid var(--brand-green);
  padding: 10px 14px;
  border-radius: 4px;
  font-size: 12.2px;
  color: #183A24;
  line-height: 1.48;
}

.dot-green {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #8EE03E, var(--brand-green));
  flex-shrink: 0;
}

.t3-frame {
  border: 1.5px solid #4A8F58;
  border-radius: 12px;
  padding: 16px;
  background: #FAFCFA;
  position: relative;
}

.t3-stage-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.t3-stage-card {
  background: #FFFFFF;
  border: 1px solid #D5E5D9;
  border-radius: 8px;
  padding: 10px 8px;
  text-align: center;
  position: relative;
}

.t3-stage-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brand-green);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 6px;
}

.t3-stage-card img {
  width: 100%;
  height: 76px;
  object-fit: contain;
  margin-bottom: 6px;
}

.t3-stage-name {
  font-size: 12.8px;
  font-weight: 800;
  color: var(--brand-green);
}

.t3-stage-desc {
  font-size: 11.2px;
  color: var(--ink-700);
  margin-top: 3px;
  line-height: 1.36;
}

.t3-branch-grid {
  display: grid;
  grid-template-columns: 168px 34px 1fr;
  align-items: center;
  gap: 8px;
}

.t3-hub-box {
  background: #FFFFFF;
  border: 2px solid var(--brand-green);
  border-radius: 10px;
  padding: 14px 10px;
  text-align: center;
}

.t3-hub-tag {
  background: var(--brand-green);
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 8px;
}

.t3-branch-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.t3-mini-impl {
  background: #FFFFFF;
  border: 1px solid #D7E3DA;
  border-radius: 7px;
  padding: 7px 6px;
  text-align: center;
}

.t3-mini-impl img {
  width: 100%;
  height: 60px;
  object-fit: contain;
}

.t3-mini-impl span {
  display: block;
  font-size: 10.8px;
  font-weight: 700;
  color: var(--ink-700);
  margin-top: 4px;
  line-height: 1.28;
}

.t3-pill-title {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-green);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 800;
  padding: 4px 18px;
  border-radius: 4px;
  white-space: nowrap;
}

.t3-grass-line {
  height: 6px;
  border-radius: 3px;
  background: repeating-linear-gradient(90deg, var(--brand-green) 0 18px, var(--brand-leaf) 18px 36px);
  margin-top: 8px;
}

/* ================= T4: CHAPTER OPENER SPREAD ================= */
.t4-fullbleed {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #0D1F14;
}

.t4-fullbleed img.t4-bg-img {
  position: absolute;
  top: 0;
  height: 100%;
  width: 200%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(1.06) contrast(1.03);
}

.t4-left-half img.t4-bg-img { left: 0; }
.t4-right-half img.t4-bg-img { left: -100%; }

.t4-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 22, 10, 0.22) 0%, rgba(0, 15, 7, 0.1) 50%, rgba(0, 22, 10, 0.45) 100%);
}

.t4-green-box {
  position: absolute;
  width: 515px;
  background: rgba(88, 156, 30, 0.94);
  color: #FFFFFF;
  padding: 28px 34px 26px;
  z-index: 5;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25);
}

.t4-box-top-left { top: 44px; left: 0; }
.t4-box-top-right { top: 44px; right: 0; }
.t4-box-bottom-right { bottom: 52px; right: 0; }

.t4-chapter-kicker {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.92;
  margin-bottom: 8px;
}

.t4-chapter-title {
  font-family: 'Montserrat', 'Be Vietnam Pro', sans-serif;
  font-size: 34px;
  line-height: 1.12;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.t4-chapter-en {
  font-family: 'Montserrat', sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.92;
  margin-top: 6px;
}

.t4-chapter-line {
  width: 54px;
  height: 2.5px;
  background: #FFFFFF;
  margin: 15px 0 13px;
}

.t4-chapter-desc {
  font-size: 15px;
  line-height: 1.62;
  color: rgba(255, 255, 255, 0.97);
}

.t4-corner-chip {
  position: absolute;
  bottom: 32px;
  left: 36px;
  background: rgba(0, 56, 24, 0.88);
  color: #FFFFFF;
  padding: 11px 18px;
  border-left: 4px solid var(--brand-leaf);
  font-size: 12.6px;
  font-weight: 600;
  z-index: 5;
  backdrop-filter: blur(4px);
}

/* ================= T5: STANDARD SPEC SHEET ================= */
.t5-content {
  padding: 8px 34px 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-height: 0;
}

.t5-hero-stage {
  position: relative;
  height: 302px;
  background: #F1F3F5;
  overflow: hidden;
  border-bottom: 12px solid var(--brand-green);
  flex-shrink: 0;
}

.t5-green-wedge {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 256px;
  background: linear-gradient(155deg, #007A35 0%, #005C26 100%);
  clip-path: polygon(32% 0, 100% 0, 100% 100%, 0 100%);
}

.t5-left-meta {
  position: relative;
  z-index: 3;
  width: 300px;
  padding: 14px 0 10px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.t5-model-badge {
  display: inline-flex;
  align-items: stretch;
  align-self: flex-start;
  background: #FFFFFF;
  border: 1px solid #9AA5B1;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.t5-model-accent {
  width: 24px;
  background: linear-gradient(90deg, var(--brand-green) 0%, #64A86E 100%);
}

.t5-model-code {
  font-family: 'Montserrat', sans-serif;
  font-size: 17px;
  font-weight: 800;
  color: var(--ink-900);
  padding: 5px 14px 5px 11px;
  letter-spacing: 0.03em;
}

.t5-prod-name {
  font-size: 18.5px;
  line-height: 1.2;
  font-weight: 800;
  color: var(--ink-900);
}

.t5-prod-en {
  font-size: 10.5px;
  line-height: 1.32;
  font-weight: 600;
  color: var(--brand-green);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.t5-prod-summary {
  font-size: 12px;
  line-height: 1.44;
  color: var(--ink-700);
  margin-top: 2px;
}

.t5-hero-img-wrap {
  position: absolute;
  top: 6px;
  right: 10px;
  bottom: 4px;
  width: 418px;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
}

.t5-hero-img-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 12px 14px rgba(0, 20, 8, 0.25));
}

.t5-pill-highlight {
  background: var(--brand-green);
  color: #FFFFFF;
  border-radius: 999px;
  padding: 5.5px 14px;
  font-size: 11.4px;
  line-height: 1.34;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.01em;
  flex-shrink: 0;
}

.t5-table-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

/* 3-Tier Spec Table — fills vertical stage cleanly with zero overlap */
.spec-table {
  width: 100%;
  height: 100%;
  border-collapse: separate;
  border-spacing: 0 2px;
  font-size: 11.6px;
  font-variant-numeric: tabular-nums;
}

.spec-table td {
  padding: 4.5px 9px;
  line-height: 1.32;
  vertical-align: middle;
}

.spec-tier-cell {
  width: 118px;
  background: var(--brand-green);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 10.8px;
  text-align: center;
  line-height: 1.3;
  letter-spacing: 0.02em;
  border-right: 4px solid #FFFFFF;
  border-bottom: 3px solid #FFFFFF;
  text-transform: uppercase;
}

.spec-tier-sub {
  display: block;
  font-size: 9px;
  font-weight: 500;
  opacity: 0.86;
  text-transform: none;
  margin-top: 2px;
}

.spec-row-even .spec-name,
.spec-row-even .spec-unit,
.spec-row-even .spec-val {
  background: #ECEFF2;
}

.spec-row-odd .spec-name,
.spec-row-odd .spec-unit,
.spec-row-odd .spec-val {
  background: #F7F9FA;
}

.spec-name {
  color: var(--ink-900);
  font-weight: 600;
  width: 222px;
}

.spec-unit {
  color: var(--ink-500);
  text-align: center;
  width: 58px;
  border-left: 1.5px solid #FFFFFF;
  border-right: 1.5px solid #FFFFFF;
  font-weight: 600;
}

.spec-val {
  color: var(--ink-900);
  font-weight: 500;
  line-height: 1.32;
}

.spec-val strong {
  color: var(--brand-green-dark);
  font-weight: 800;
}

.tbd-chip {
  display: inline-block;
  color: #64748B;
  font-style: italic;
  font-size: 11.4px;
  padding: 0 4px;
  border-radius: 3px;
  transition: all 0.15s ease;
}

body.audit-mode .tbd-chip {
  background: #FEF3C7;
  color: #92400E;
  border: 1px dashed #D97706;
  font-style: normal;
  font-weight: 700;
  padding: 1px 6px;
}

/* Footer Multi-Angle Strip */
.t5-footer-section {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  border-top: 1.5px solid #C8DEC9;
  padding-top: 7px;
}

.t5-footer-label {
  font-family: 'Montserrat', 'Be Vietnam Pro', sans-serif;
  font-size: 10.4px;
  font-weight: 800;
  color: var(--brand-green);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.t5-footer-box {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}

.t5-angle-card {
  background: #F6F9F7;
  border: 1px solid #D5E2D9;
  border-radius: 6px;
  padding: 6px 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 82px;
}

.t5-angle-card img {
  width: 82px;
  height: 68px;
  object-fit: contain;
  flex-shrink: 0;
  background: #FFFFFF;
  border-radius: 4px;
  padding: 2px;
}

.t5-angle-title {
  font-size: 11px;
  font-weight: 800;
  color: var(--brand-green);
  line-height: 1.24;
}

.t5-angle-desc {
  font-size: 10.2px;
  line-height: 1.34;
  color: var(--ink-700);
  margin-top: 2px;
}

/* ================= T6: FEATURE & ENGINEERING HIGHLIGHTS ================= */
.t6-hero-box {
  position: relative;
  height: 368px;
  margin: 10px 34px 14px;
  overflow: hidden;
  border-radius: 3px;
  background: #0F2015;
}

.t6-hero-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.t6-hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px 24px 16px;
  background: linear-gradient(to top, rgba(0, 30, 12, 0.88), transparent);
  color: #FFFFFF;
}

.t6-hero-overlay h2 {
  font-family: 'Montserrat', 'Be Vietnam Pro', sans-serif;
  font-size: 25px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.t6-hero-overlay p {
  font-size: 12.6px;
  opacity: 0.92;
  margin-top: 3px;
}

.t6-lists-wrap {
  padding: 0 34px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.t6-group-title {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 17px;
  font-weight: 800;
  color: var(--ink-900);
  margin-bottom: 8px;
}

.t6-numbered-list {
  list-style: none;
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.t6-numbered-list li {
  font-size: 13.7px;
  line-height: 1.52;
  color: var(--ink-700);
}

.t6-numbered-list strong {
  color: var(--brand-green-dark);
}

.t6-kpi-row {
  margin: 13px 34px 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
}

.t6-kpi-card {
  background: #E9F5DD;
  border-left: 3.5px solid var(--brand-green);
  border-radius: 5px;
  padding: 9px 10px;
}

.t6-kpi-val {
  font-family: 'Montserrat', 'Be Vietnam Pro', sans-serif;
  font-size: 16.5px;
  font-weight: 900;
  color: var(--brand-green-dark);
}

.t6-kpi-lbl {
  font-size: 10.6px;
  color: #183A24;
  margin-top: 2px;
  line-height: 1.32;
}

.t6-bottom-photos {
  margin: 13px 34px 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.t6-bottom-photo-card {
  position: relative;
  height: 204px;
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid #D9E2EC;
  background: #F4F6F8;
}

.t6-bottom-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.t6-bottom-photo-card.is-cutout img {
  object-fit: contain;
  padding: 10px;
}

.t6-bottom-photo-cap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 60, 24, 0.86);
  color: #FFFFFF;
  font-size: 11.2px;
  font-weight: 600;
  padding: 6px 10px;
}

/* T6-B: 3-tier Engineering Highlights (Page 19 & 27) */
.t6b-stack {
  padding: 12px 34px 36px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.t6b-block {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #F7FAF8;
  border: 1px solid #D5E2D9;
  border-left: 4px solid var(--brand-green);
  border-radius: 7px;
  padding: 14px 16px;
}

.t6b-grid {
  display: grid;
  grid-template-columns: 286px 1fr;
  gap: 18px;
  align-items: center;
  margin-top: 8px;
}

.t6b-img-frame {
  height: 215px;
  border-radius: 5px;
  overflow: hidden;
  background: #FFFFFF;
  border: 1px solid #D9E2EC;
  display: flex;
  align-items: center;
  justify-content: center;
}

.t6b-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.t6b-img-frame.contain img {
  object-fit: contain;
  padding: 10px;
}

.t6b-list {
  padding-left: 0 !important;
  gap: 9px !important;
}

.t6b-list li {
  font-size: 13.4px !important;
  line-height: 1.54 !important;
}

.t6b-green-footer-wedge {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 240px;
  height: 11px;
  background: var(--brand-green);
  clip-path: polygon(12px 0, 100% 0, 100% 100%, 0 100%);
}

/* ================= T7: COMPARISON & COMBO / MATRIX ================= */
.t7-wrap {
  padding: 12px 34px 36px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.t7-title-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2.5px solid var(--brand-green);
  padding-bottom: 8px;
}

.t7-title-bar h2 {
  font-family: 'Montserrat', 'Be Vietnam Pro', sans-serif;
  font-size: 19.5px;
  font-weight: 800;
  color: var(--brand-green);
  text-transform: uppercase;
}

.t7-title-bar span {
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-500);
  white-space: nowrap;
}

.t7-thumbs-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.t7-thumbs-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.t7-thumb-card {
  background: #F4F7F5;
  border: 1px solid #D5E2D9;
  border-radius: 6px;
  padding: 10px 8px;
  text-align: center;
}

.t7-thumb-card img {
  width: 100%;
  height: 112px;
  object-fit: contain;
}

.t7-thumbs-3 .t7-thumb-card img {
  height: 124px;
}

.t7-thumb-code {
  display: inline-block;
  background: var(--brand-green);
  color: #FFFFFF;
  font-family: 'Montserrat', sans-serif;
  font-size: 10.5px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 3px;
  margin-top: 6px;
}

.t7-thumb-name {
  font-size: 10.8px;
  font-weight: 700;
  color: var(--ink-900);
  margin-top: 4px;
  line-height: 1.28;
}

.comp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.2px;
  font-variant-numeric: tabular-nums;
  flex: 1;
}

.comp-table th {
  background: var(--brand-green);
  color: #FFFFFF;
  padding: 9px 8px;
  text-align: left;
  font-weight: 800;
  border: 1.5px solid #FFFFFF;
  font-size: 11.4px;
}

.comp-table td {
  padding: 8.5px 8px;
  border: 1.5px solid #FFFFFF;
  vertical-align: middle;
  line-height: 1.44;
}

.comp-table tr:nth-child(even) td { background: #ECF0F2; }
.comp-table tr:nth-child(odd) td { background: #F7F9FA; }
.comp-table td:first-child { font-weight: 700; color: var(--ink-900); background: #E3EAE6; width: 142px; }

.t7-note-box {
  margin-top: auto;
  background: #E9F5DD;
  border-left: 4px solid var(--brand-green);
  padding: 12px 15px;
  border-radius: 4px;
  font-size: 12.4px;
  color: #183A24;
  line-height: 1.52;
}

.t7-subtitle {
  font-size: 12.5px;
  color: var(--ink-500);
  margin-top: -6px;
}

.t7-matrix-table {
  flex: 1;
  font-size: 11.2px;
}

.t7-matrix-table td {
  padding: 9px 6px;
  vertical-align: top;
}

.t7-matrix-table td:first-child {
  width: 112px;
  font-size: 11.4px;
  vertical-align: middle;
}

.t7-legend-box {
  background: #F7FAF8;
  border: 1px solid #D5E2D9;
  border-radius: 6px;
  padding: 13px 16px;
  margin-top: 4px;
}

.t7-legend-title {
  font-size: 12.6px;
  font-weight: 800;
  color: var(--brand-green);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.t7-legend-list {
  padding-left: 0 !important;
  gap: 6px !important;
}

.t7-legend-list li {
  font-size: 12.2px !important;
  line-height: 1.48 !important;
}

/* Trang 34 (T3-SERVICE) */
.t3s-wrap {
  gap: 10px;
  justify-content: space-between;
}

.t3s-pillars-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
}

.t3s-pillar-card {
  background: #F7FAF8;
  border: 1.5px solid #C8DEC9;
  border-top: 4px solid var(--brand-green);
  border-radius: 6px;
  padding: 10px 13px;
}

.t3s-pillar-tag {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 800;
  color: var(--brand-leaf);
  letter-spacing: 0.1em;
}

.t3s-pillar-title {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--brand-green);
  margin: 2px 0 6px;
  line-height: 1.26;
}

.t3s-pillar-list {
  padding-left: 0 !important;
  gap: 4px !important;
}

.t3s-pillar-list li {
  font-size: 11.5px !important;
  line-height: 1.42 !important;
}

.t3s-subhead {
  margin-bottom: 6px;
  font-size: 13.4px;
}

/* 4 Thẻ Hiệu quả Kinh tế Đối chứng Thực địa */
.t3s-bench-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.t3s-bench-card {
  background: #F1F8F3;
  border: 1px solid #C2DEC8;
  border-top: 3px solid var(--brand-leaf);
  border-radius: 6px;
  padding: 8px 9px;
}

.t3s-bench-lbl {
  font-size: 10.2px;
  font-weight: 800;
  color: var(--brand-green);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.t3s-bench-val {
  font-family: 'Montserrat', 'Be Vietnam Pro', sans-serif;
  font-size: 12.6px;
  font-weight: 900;
  color: var(--brand-red);
  margin: 3px 0 3px;
  line-height: 1.22;
}

.t3s-bench-sub {
  font-size: 10.3px;
  line-height: 1.36;
  color: var(--ink-700);
}

.t3-coop-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.t3-coop-card {
  background: #F8FAF9;
  border: 1px solid #D5E2D9;
  border-left: 3.5px solid var(--brand-leaf);
  border-radius: 5px;
  padding: 8px 11px;
}

.t3-coop-title {
  font-size: 11.8px;
  font-weight: 800;
  color: var(--brand-green);
  margin-bottom: 2px;
}

.t3-coop-desc {
  font-size: 11px;
  line-height: 1.4;
  color: var(--ink-700);
}

.t3s-roadmap-stack {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.t3s-roadmap-row {
  display: grid;
  grid-template-columns: 186px 1fr;
  border: 1px solid #D5E2D9;
  border-radius: 6px;
  overflow: hidden;
  background: #FFFFFF;
}

.t3s-roadmap-left {
  color: #FFFFFF;
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.t3s-roadmap-phase {
  font-family: 'Montserrat', sans-serif;
  font-size: 9.6px;
  font-weight: 800;
  opacity: 0.9;
}

.t3s-roadmap-name {
  font-size: 12.8px;
  font-weight: 800;
  margin-top: 2px;
}

.t3s-roadmap-scope {
  font-size: 10.4px;
  opacity: 0.92;
  margin-top: 2px;
}

.t3s-roadmap-desc {
  padding: 9px 13px;
  font-size: 11.5px;
  line-height: 1.42;
  color: var(--ink-700);
  display: flex;
  align-items: center;
}

.t3s-commit-box {
  margin-top: 0;
  background: #F1F5F3;
  border-left: 4px solid var(--brand-red);
  padding: 10px 14px;
  border-radius: 4px;
  font-size: 11.8px;
  line-height: 1.46;
  color: var(--ink-900);
}

.t7b-card {
  border: 1.5px solid #D5E2D9;
  border-radius: 8px;
  overflow: hidden;
  background: #FAFCFB;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.t7b-card-head {
  background: var(--brand-green);
  color: #FFFFFF;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.t7b-card-head h3 {
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
}

.t7b-card-body {
  padding: 14px 16px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 16px;
  align-items: center;
  flex: 1;
}

.t7b-pair-imgs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.t7b-pair-imgs img {
  width: 100%;
  height: 162px;
  object-fit: contain;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 5px;
  padding: 6px;
}

.t7b-list {
  padding-left: 0 !important;
  gap: 10px !important;
}

.t7b-list li {
  font-size: 13px !important;
  line-height: 1.52 !important;
}

.matrix-code-pill {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: #FFFFFF;
  border: 1px solid #B7D8C2;
  color: var(--brand-green-dark);
  font-family: 'Montserrat', sans-serif;
  font-size: 9.2px;
  font-weight: 800;
  padding: 3.5px 5px;
  border-radius: 3px;
  margin: 2px 0;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.12s ease;
}

.matrix-code-pill:hover {
  background: var(--brand-green);
  color: #FFFFFF;
  border-color: var(--brand-green);
}

.matrix-pg {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-weight: 600;
  font-size: 8.4px;
  opacity: 0.78;
}

/* ================= T8: BACK COVER ================= */
.t8-back {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, #007834 0%, #006B2D 52%, #005121 100%);
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 88px 52px 68px;
  text-align: center;
  position: relative;
}

.t8-center-brand {
  margin-top: 155px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.t8-org-title {
  font-family: 'Montserrat', 'Be Vietnam Pro', sans-serif;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.28;
}

.t8-org-legal {
  font-size: 12.5px;
  opacity: 0.88;
  letter-spacing: 0.04em;
}

.t8-slogan-pill {
  margin-top: 4px;
  padding: 6px 20px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.t8-bottom-contact {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.t8-qr-row {
  display: flex;
  gap: 38px;
  justify-content: center;
}

.t8-qr-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.t8-qr-box {
  width: 116px;
  height: 116px;
  background: #FFFFFF;
  padding: 7px;
  border-radius: 6px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
}

.t8-qr-box img {
  width: 100%;
  height: 100%;
  display: block;
}

.t8-qr-label {
  font-family: 'Montserrat', 'Be Vietnam Pro', sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.t8-contact-line {
  width: 90%;
  border-top: 1px solid rgba(255, 255, 255, 0.45);
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  padding: 14px 16px;
  font-size: 13px;
  line-height: 1.75;
  font-weight: 500;
}

/* ================= PRINT / EXPORT PDF A4 ================= */
body.print-export {
  background: #FFFFFF !important;
  height: auto !important;
}

body.print-export .viewer-topbar,
body.print-export .toc-drawer,
body.print-export .nav-fab,
body.print-export .bottom-bar {
  display: none !important;
}

body.print-export .viewer-stage {
  padding: 0 !important;
  margin: 0 !important;
  gap: 0 !important;
  background: #FFFFFF !important;
  display: block !important;
  min-height: 0 !important;
}

body.print-export .spread-shell {
  width: 794px !important;
  height: 1123px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

body.print-export .spread-pair {
  position: static !important;
  width: 794px !important;
  height: 1123px !important;
  transform: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  overflow: hidden !important;
}

@media print {
  @page {
    size: 210mm 297mm;
    margin: 0;
  }

  html, body {
    background: #FFFFFF !important;
    height: auto !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  .viewer-topbar,
  .toc-drawer,
  .nav-fab,
  .bottom-bar {
    display: none !important;
  }

  .viewer-stage {
    padding: 0 !important;
    margin: 0 !important;
    gap: 0 !important;
    background: #FFFFFF !important;
    display: block !important;
    min-height: 0 !important;
  }

  .spread-shell {
    transform: none !important;
    width: 210mm !important;
    height: 297mm !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    page-break-after: always !important;
    break-after: page !important;
    page-break-inside: avoid !important;
    break-inside: avoid !important;
  }

  .spread-shell:last-child {
    page-break-after: auto !important;
    break-after: auto !important;
  }

  .spread-pair {
    position: static !important;
    width: 210mm !important;
    height: 297mm !important;
    transform: none !important;
    display: block !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    overflow: hidden !important;
  }

  .spread-pair.is-book-spread .a4-page::after {
    display: none !important;
  }

  .a4-page {
    width: 210mm !important;
    height: 297mm !important;
    overflow: hidden !important;
    page-break-after: auto !important;
    break-after: auto !important;
  }
}
