/* Creataum training — print & PDF styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&family=Noto+Sans+Devanagari:wght@400;600;700&display=swap');

:root {
  --ink: #0f172a;
  --muted: #475569;
  --primary: #1e40af;
  --accent: #0d9488;
  --line: #e2e8f0;
  --hi-bg: #fef3c7;
  --hi-border: #d97706;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 11pt;
  color: var(--ink);
  line-height: 1.5;
  background: #fff;
}

.hi, .hindi {
  font-family: 'Noto Sans Devanagari', 'Inter', sans-serif;
}

/* Cover */
.cover {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  background: linear-gradient(160deg, #1e3a8a 0%, #3b82f6 50%, #0d9488 100%);
  color: white;
  page-break-after: always;
}
.cover h1 { font-size: 2.4rem; margin: 0 0 0.5rem; font-weight: 700; }
.cover .subtitle { font-size: 1.15rem; opacity: 0.95; max-width: 32rem; }
.cover .hi-title { font-size: 1.35rem; margin-top: 1.5rem; opacity: 0.9; }
.cover .meta { margin-top: 3rem; font-size: 0.85rem; opacity: 0.8; }

.content { max-width: 210mm; margin: 0 auto; padding: 12mm 15mm; }

.toc { page-break-after: always; }
.toc h2 { color: var(--primary); border-bottom: 2px solid var(--primary); padding-bottom: 0.35rem; }
.toc ol { line-height: 2; }
.toc a { color: var(--primary); text-decoration: none; }

h2.phase {
  color: var(--primary);
  font-size: 1.35rem;
  margin-top: 0;
  padding-top: 0.5rem;
  border-top: 3px solid var(--primary);
  page-break-before: always;
}
h2.phase:first-of-type { page-break-before: auto; }
h3 { font-size: 1.05rem; color: #334155; margin-top: 1.25rem; }

.hindi-box {
  background: var(--hi-bg);
  border-left: 4px solid var(--hi-border);
  padding: 12px 16px;
  margin: 12px 0 16px;
  border-radius: 0 8px 8px 0;
}
.hindi-box .label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #92400e;
  font-weight: 700;
  margin-bottom: 6px;
}
.hindi-box p { margin: 0; font-size: 1.05rem; line-height: 1.65; }

.english-box {
  background: #f8fafc;
  border: 1px solid var(--line);
  padding: 12px 16px;
  margin: 12px 0;
  border-radius: 8px;
}

.step-list { counter-reset: step; list-style: none; padding: 0; margin: 0; }
.step-list li {
  counter-increment: step;
  padding: 10px 10px 10px 48px;
  position: relative;
  border-bottom: 1px solid var(--line);
  min-height: 2.5rem;
}
.step-list li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 10px;
  width: 28px;
  height: 28px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-list li strong { color: var(--primary); }

/* Printable checklist */
.checklist-sheet {
  page-break-before: always;
  border: 2px solid var(--primary);
  border-radius: 8px;
  padding: 16px 20px;
  margin: 20px 0;
}
.checklist-sheet h3 {
  margin: 0 0 4px;
  color: var(--primary);
  font-size: 1.15rem;
}
.checklist-sheet .hi-sub { font-size: 0.95rem; color: #78350f; margin-bottom: 12px; }
.check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 0.95rem;
}
.check-box {
  width: 18px;
  height: 18px;
  border: 2px solid var(--ink);
  border-radius: 3px;
  flex-shrink: 0;
  margin-top: 2px;
}
.sign-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
  font-size: 0.85rem;
}
.sign-line {
  border-bottom: 1px solid var(--ink);
  margin-top: 28px;
  padding-bottom: 4px;
}

table.ref { width: 100%; border-collapse: collapse; font-size: 0.9rem; margin: 12px 0; }
table.ref th, table.ref td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
table.ref th { background: #f1f5f9; }

.role-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 16px 0;
}
.role-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  font-size: 0.9rem;
}
.role-card h4 { margin: 0 0 6px; color: var(--primary); font-size: 0.95rem; }

.footer-note {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
}

@media print {
  body { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .no-print { display: none !important; }
  a { color: var(--ink); text-decoration: none; }
  .cover { min-height: 0; height: 100vh; }
}

@page {
  size: A4;
  margin: 12mm 15mm;
}
