/* ==========================================================================
   Dedicated A4 Print Dossier — Decoupled from Web Interactive Experience
   ========================================================================== */

@page {
  size: A4;
  margin: 10mm;
}

* {
  -webkit-print-color-adjust: exact !important;
  print-color-adjust: exact !important;
  box-shadow: none !important;
}

html,
body {
  background: #ffffff !important;
  color: #1F1A16 !important;
  font-family: 'Be Vietnam Pro', system-ui, sans-serif;
  font-size: 9.2pt;
  line-height: 1.48;
  margin: 0;
  padding: 0;
}

.web-app {
  display: none !important;
}

.print-dossier {
  display: block !important;
  color: #1F1A16;
}

/* Header */
.pd-header {
  display: grid;
  grid-template-columns: 1.38fr 0.72fr;
  gap: 6mm;
  align-items: start;
  padding: 3mm 5mm;
  border-radius: 3mm;
  background: #1F1A16;
  color: #F1ECE3;
  margin-bottom: 5mm;
}

.pd-kicker {
  font-size: 7.5pt;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #D9A441;
}

.pd-header h1 {
  font-family: 'Archivo', 'Be Vietnam Pro', sans-serif; font-stretch: 108%;
  font-size: 26pt;
  font-weight: 400;
  line-height: 1.1;
  margin-top: 1.5mm;
  color: #ffffff;
}

.pd-role {
  font-size: 10pt;
  font-weight: 600;
  color: #D9A441;
  margin-top: 1.5mm;
}

.pd-summary {
  font-size: 8.6pt;
  line-height: 1.45;
  color: #D5CCBC;
  margin-top: 2mm;
}

.pd-contact-box {
  background: rgba(255, 255, 255, 0.06);
  border: 0.5pt solid rgba(217, 164, 65, 0.35);
  border-radius: 2mm;
  padding: 2mm 3mm;
  display: flex;
  flex-direction: column;
  gap: 2mm;
}

.pd-contact-box span {
  display: block;
  font-size: 6.8pt;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #B8AB9C;
}

.pd-contact-box strong {
  font-size: 8.8pt;
  color: #F1ECE3;
}

/* Sections */
.pd-section {
  margin-bottom: 3.8mm;
}

.pd-break-before {
  break-before: page;
  page-break-before: always;
}

.pd-section h2 {
  font-family: 'Archivo', 'Be Vietnam Pro', sans-serif; font-stretch: 108%;
  font-size: 14pt;
  font-weight: 620;
  color: #1F1A16;
  padding-bottom: 1.5mm;
  margin-bottom: 2mm;
  border-bottom: 1pt solid #1F1A16;
  break-after: avoid;
}

.pd-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3mm;
}

.pd-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.8mm;
}

.pd-card {
  border: 0.6pt solid #DED6C8;
  border-top: 1.8pt solid #A8321C;
  border-radius: 2mm;
  padding: 2mm 3mm;
  background: #FAF7F1;
  break-inside: avoid;
}

.pd-card h3 {
  font-family: 'Archivo', 'Be Vietnam Pro', sans-serif; font-stretch: 108%;
  font-size: 11.2pt;
  font-weight: 500;
  color: #1F1A16;
}

.pd-card h3 em {
  font-size: 8.8pt;
  color: #64584E;
}

.pd-sub {
  font-size: 8pt;
  font-weight: 700;
  color: #A8321C;
  margin: 0.8mm 0 1.2mm;
}

.pd-card p {
  font-size: 8.4pt;
  line-height: 1.42;
  color: #3A302A;
}

.pd-disclaimer {
  margin-top: 2.5mm;
  font-size: 7.8pt;
  color: #64584E;
  background: #F4EFE6;
  padding: 2mm 3mm;
  border-radius: 1.5mm;
}

/* Company Experience Blocks */
.pd-company {
  border: 0.6pt solid #DED6C8;
  border-radius: 2mm;
  overflow: hidden;
  margin-bottom: 2.4mm;
  break-inside: avoid;
}

.pd-company-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 4mm;
  padding: 2.4mm 3.5mm;
  background: #EFE9DE;
  border-bottom: 0.6pt solid #DED6C8;
}

.pd-company-head h3 {
  font-family: 'Archivo', 'Be Vietnam Pro', sans-serif; font-stretch: 108%;
  font-size: 12.5pt;
  font-weight: 500;
  color: #1F1A16;
}

.pd-company-head span {
  font-size: 8pt;
  font-weight: 600;
  color: #A8321C;
}

.pd-bullets {
  margin: 0;
  padding: 1.8mm 3mm 2mm 6mm;
}

.pd-bullets li {
  font-size: 8.5pt;
  line-height: 1.44;
  color: #2A221E;
}

.pd-bullets li + li {
  margin-top: 0.7mm;
}

.pd-bullets strong {
  color: #1F1A16;
}

/* Mini capabilities & steps */
.pd-mini {
  border: 0.6pt solid #DED6C8;
  border-radius: 2mm;
  padding: 2.8mm 3mm;
  background: #FAF7F1;
  break-inside: avoid;
}

.pd-mini h4 {
  font-size: 9pt;
  font-weight: 700;
  color: #1F1A16;
  margin-bottom: 1mm;
}

.pd-mini p {
  font-size: 8pt;
  line-height: 1.4;
  color: #5A4E45;
}

.pd-steps {
  margin-top: 3.2mm;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5mm;
  break-inside: avoid;
}

.pd-steps div {
  background: #1F1A16;
  color: #F1ECE3;
  padding: 2.6mm 3mm;
  border-radius: 2mm;
}

.pd-steps strong {
  display: block;
  font-size: 8.4pt;
  color: #D9A441;
  margin-bottom: 0.8mm;
}

.pd-steps span {
  font-size: 7.8pt;
  line-height: 1.36;
  color: #D8CFBF;
}

/* Gỡ các quy tắc của bản web khỏi bản in */
.print-dossier h2 { max-width: none; text-wrap: wrap; letter-spacing: 0; line-height: 1.2; }
html, body { background: #fff !important; color: #1F1A16 !important; }
.print-dossier h2, .print-dossier h1 { text-shadow: none !important; }

.pd-team-lead {
  font-size: 8.3pt;
  line-height: 1.4;
  color: #3A302A;
  margin-bottom: 2.2mm;
}
.pd-team-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3mm;
  break-inside: avoid;
}
.pd-team-col {
  border: 0.6pt solid #DED6C8;
  border-top: 1.8pt solid #0F6E76;
  border-radius: 2mm;
  padding: 2.6mm 3.2mm;
  background: #FAF7F1;
}
.pd-team-partner {
  border-top-color: #842646;
}
.pd-team-col h3 {
  font-family: 'Archivo', 'Be Vietnam Pro', sans-serif;
  font-stretch: 106%;
  font-size: 9.8pt;
  font-weight: 650;
  color: #1F1A16;
  margin-bottom: 1.2mm;
}
.pd-team-col .pd-bullets {
  padding: 0 0 0 4.5mm;
}
.pd-team-col .pd-bullets li {
  font-size: 8pt;
  line-height: 1.38;
}

.pd-section { break-inside: auto; }
.pd-section h2, .pd-section h3, .pd-section h4 { break-after: avoid; margin: 4mm 0 1mm; }
.pd-section p { margin: 1mm 0; }
.pd-section li, .pd-section tr, .pd-card { break-inside: avoid; }
.pd-section ol, .pd-section ul { padding-left: 5mm; }
.pd-section .measure { width:100%; border-collapse:collapse; }
.pd-section th, .pd-section td { padding:2mm; border-bottom:1px solid #aaa; text-align:left; }
.pd-section header { display:block; }

.pd-section:last-child { break-inside: avoid; }
.pd-section:last-child a { display: inline-block; margin: 1mm 4mm 1mm 0; }
.pd-section dd { margin-left: 0; font-weight: 600; }
.pd-section dt { margin-top: 2mm; }

/* Bản in đồng bộ với web (11/2026) */
.pd-header h1 { margin: 1.5mm 0 0; }
.pd-header p { margin: 0; }
.pd-clients { color: #D9A441 !important; font-weight: 600; }
.pd-contact-box div { display: block; }
.pd-section h2 { margin-top: 0; }
.pd-card h3 { margin: 0 0 1mm; }
.pd-quote { margin: 0; border: 0.6pt solid #DED6C8; border-left: 1.8pt solid #0F6E76; border-radius: 2mm; padding: 2.4mm 3mm; background: #FAF7F1; break-inside: avoid; }
.pd-quote blockquote { margin: 0; font-size: 8.3pt; line-height: 1.42; color: #2A221E; }
.pd-quote figcaption { margin-top: 1.6mm; font-size: 7.6pt; color: #64584E; }
.pd-quote figcaption strong { display: block; color: #1F1A16; font-size: 8.4pt; }
.pd-company-head h3 { margin: 0; }
.pd-company .pd-measure { margin: 0 3mm; width: calc(100% - 6mm); font-size: 8.2pt; }
.pd-measure th { background: #EFE9DE; font-size: 7.8pt; }
.pd-measure th, .pd-measure td { padding: 1.2mm 2mm; border-bottom: 0.5pt solid #DED6C8; }
.pd-note { font-size: 7.6pt !important; color: #64584E !important; margin: 1.6mm 3mm 2mm !important; }
.pd-team-col .pd-note, .pd-contact .pd-note { margin: 1.6mm 0 0 !important; }
.pd-grid-2 > .pd-company { margin-bottom: 2.4mm; }
.pd-mini h4 { margin: 0 0 1mm; }
.pd-mini .pd-bullets { padding: 1mm 0 0 4.5mm; }
.pd-mini .pd-bullets li { font-size: 8pt; }
.pd-h3 { font-size: 10.5pt; font-weight: 650; color: #1F1A16; }
.pd-steps-7 { grid-template-columns: repeat(7, 1fr); gap: 1.6mm; list-style: none; padding: 0 !important; margin: 1.5mm 0 0; }
.pd-steps-7 li { background: #1F1A16; color: #F1ECE3; padding: 2mm 2.2mm; border-radius: 2mm; }
.pd-steps-7 strong { display: block; color: #D9A441; font-size: 9pt; margin-bottom: 0.6mm; }
.pd-steps-7 span { font-size: 7.4pt; line-height: 1.32; color: #E3DACB; }
.pd-research { padding: 0 0 0 5mm !important; }
.pd-contact { border: 0.8pt solid #1F1A16; border-radius: 3mm; padding: 3mm 4mm; }
.pd-contact-line { font-size: 9pt; margin-top: 2mm !important; }
.pd-contact-line span { font-size: 7pt; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #64584E; margin-left: 4mm; }
.pd-contact-line span:first-child { margin-left: 0; }
.pd-header h1 { font-size: 21pt; }
.pd-header { margin-bottom: 4mm; }
.pd-section { margin-bottom: 3mm; }
.pd-header h1 { font-size: 19pt; }
.pd-header { padding: 2.6mm 5mm; }
.pd-card h3 { font-size: 10.2pt; line-height: 1.25; }
.pd-card p { font-size: 8pt; line-height: 1.36; }
.pd-quote { padding: 2mm 2.8mm; }
.pd-quote blockquote { font-size: 7.9pt; line-height: 1.36; }
.pd-mini { padding: 2.2mm 2.8mm; }
.pd-mini p, .pd-mini .pd-bullets li { font-size: 7.7pt; line-height: 1.34; }
.pd-section h2 { font-size: 13pt; margin-bottom: 1.6mm; padding-bottom: 1mm; }
.pd-disclaimer { margin-top: 2mm; padding: 1.6mm 3mm; }
.pd-steps-7 li { padding: 1.6mm 2mm; }
.pd-h3 { margin: 2.6mm 0 0 !important; }
/* Dấu thanh chồng (ổ, ẫ) cao hơn dòng: chừa chỗ để không bị in lọt sang cuối trang trước */
.pd-break-before { padding-top: 2mm; }
.print-dossier h1, .print-dossier h2, .print-dossier h3 { line-height: 1.3; }
.pd-card .pd-k { font-size: 6.6pt !important; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #64584E !important; margin: 1.2mm 0 0 !important; }
.pd-card .pd-k:first-child { margin-top: 0 !important; }
.pd-card .pd-k { margin-top: .6mm !important; }
.pd-quote blockquote { font-size: 7.7pt; }
.pd-lpd { margin: 1.2mm 0 0 !important; }
