/* =========================================================
   PR200 DOCUMENTATION SYSTEM
   ========================================================= */

/* ---------------------------------------------------------
   1. PAGE CONTAINER
   Controls page width and horizontal spacing
   --------------------------------------------------------- */

.pr200-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px;
  box-sizing: border-box;
}

/* ---------------------------------------------------------
   2. ARTICLE WRAPPER
   Main typography and article structure
   --------------------------------------------------------- */

.pr200-article {
  width: 100%;
  max-width: 900px;
  margin: 0 auto 40px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #222;
}

.pr200-article * {
  box-sizing: border-box;
}

/* ---------------------------------------------------------
   3. ARTICLE HEADER
   --------------------------------------------------------- */

.pr200-header {
  margin-bottom: 24px;
  padding: 34px;

  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
}

/* ---------------------------------------------------------
   4. ARTICLE BADGE
   Example: Station 4 • Troubleshooting
   --------------------------------------------------------- */

.pr200-badge {
  display: inline-block;

  margin-bottom: 14px;
  padding: 7px 12px;

  background: #f1f3f5;
  border-radius: 999px;

  font-size: 13px;
  font-weight: 600;
  line-height: 1;

  color: #555;
}

/* ---------------------------------------------------------
   5. ARTICLE TITLE
   --------------------------------------------------------- */

.pr200-title {
  margin: 0 0 16px;

  font-size: 32px;
  line-height: 1.2;
  font-weight: 700;

  color: #111;
}

/* ---------------------------------------------------------
   6. ARTICLE INTRO
   --------------------------------------------------------- */

.pr200-intro {
  margin: 0;

  font-size: 17px;
  line-height: 1.7;

  color: #555;
}

/* ---------------------------------------------------------
   7. STANDARD CONTENT CARD
   Used for Overview and individual steps
   --------------------------------------------------------- */

.pr200-card {
  margin-bottom: 24px;
  padding: 30px;

  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
}

/* ---------------------------------------------------------
   8. HEADINGS INSIDE CARDS
   --------------------------------------------------------- */

.pr200-card h2,
.pr200-card-title {
  margin: 0 0 18px;

  font-size: 24px;
  line-height: 1.3;
  font-weight: 700;

  color: #111;
}

.pr200-card h3 {
  margin: 24px 0 12px;

  font-size: 20px;
  line-height: 1.35;

  color: #111;
}

/* ---------------------------------------------------------
   9. PARAGRAPHS
   --------------------------------------------------------- */

.pr200-card p,
.pr200-note p,
.pr200-warning p,
.pr200-method p,
.pr200-final p {
  margin: 0 0 16px;
}

.pr200-card p:last-child,
.pr200-note p:last-child,
.pr200-warning p:last-child,
.pr200-method p:last-child,
.pr200-final p:last-child {
  margin-bottom: 0;
}

/* ---------------------------------------------------------
   10. STEP BADGE
   Example: STEP 1
   --------------------------------------------------------- */

.pr200-step {
  display: inline-block;

  margin-bottom: 12px;
  padding: 6px 12px;

  background: #eef7ee;
  border-radius: 999px;

  font-size: 13px;
  font-weight: 700;
  line-height: 1;

  color: #276738;
}

/* ---------------------------------------------------------
   11. VIDEO CARD
   --------------------------------------------------------- */

.pr200-video-card {
  margin-bottom: 24px;
  padding: 30px;

  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
}

.pr200-video-card h2 {
  margin: 0 0 14px;

  font-size: 24px;
  line-height: 1.3;

  color: #111;
}

.pr200-video-card p {
  margin: 0 0 20px;

  color: #555;
}

/* ---------------------------------------------------------
   12. VIDEO
   --------------------------------------------------------- */

.pr200-video {
  display: block;

  width: 100%;
  max-width: 100%;
  height: auto;

  background: #000000;
  border-radius: 10px;
}

/* ---------------------------------------------------------
   13. NOTE BLOCK
   Useful information, explanation or operator tip
   --------------------------------------------------------- */

.pr200-note {
  margin-bottom: 24px;
  padding: 24px 28px;

  background: #f8f9fa;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
}

.pr200-note h2 {
  margin: 0 0 12px;

  font-size: 22px;
  line-height: 1.3;

  color: #111;
}

/* ---------------------------------------------------------
   14. WARNING BLOCK
   Safety, machine risk or important operating limit
   --------------------------------------------------------- */

.pr200-warning {
  margin: 20px 0 24px;
  padding: 24px 28px;

  background: #fff8e6;
  border: 1px solid #f0d99b;
  border-radius: 14px;
}

.pr200-warning-title,
.pr200-warning h2 {
  margin: 0 0 12px;

  font-size: 22px;
  line-height: 1.3;

  color: #111;
}

/* ---------------------------------------------------------
   15. INLINE CALLOUT
   Important contextual instruction inside a step
   --------------------------------------------------------- */

.pr200-callout {
  margin: 20px 0;
  padding: 16px 20px;

  background: #f7f8f9;
  border-left: 4px solid #444;
  border-radius: 6px;

  line-height: 1.6;
}

/* ---------------------------------------------------------
   16. HIGHLIGHT BOX
   Used for grouped info or important summary
   --------------------------------------------------------- */

.pr200-highlight {
  margin: 18px 0;
  padding: 18px 20px;

  background: #f8f9fa;
  border-radius: 9px;
}

.pr200-highlight p:last-child {
  margin-bottom: 0;
}

/* ---------------------------------------------------------
   17. PROCESS FLOW
   Example:
   Station 4 → Station 5 → Station 6
   --------------------------------------------------------- */

.pr200-flow {
  width: 100%;

  margin: 20px 0;
  padding: 20px 24px;

  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;

  font-weight: 700;
  line-height: 1.5;
  text-align: center;

  color: #222;
}

/* ---------------------------------------------------------
   18. METHOD / RECOMMENDATION BLOCK
   Used for troubleshooting sequences or recommended process
   --------------------------------------------------------- */

.pr200-method {
  margin-bottom: 24px;
  padding: 30px;

  background: #f6faf7;
  border: 1px solid #d8e7dc;
  border-radius: 14px;
}

.pr200-method h2 {
  margin: 0 0 14px;

  font-size: 24px;
  line-height: 1.3;

  color: #111;
}

/* ---------------------------------------------------------
   19. STANDARD UNORDERED LIST
   --------------------------------------------------------- */

.pr200-list {
  margin: 0 0 20px 22px;
  padding: 0;
}

.pr200-list li {
  margin-bottom: 8px;
}

.pr200-list li:last-child {
  margin-bottom: 0;
}

/* ---------------------------------------------------------
   20. NUMBERED LIST
   --------------------------------------------------------- */

.pr200-numbered-list {
  margin: 0 0 20px 22px;
  padding: 0;
}

.pr200-numbered-list li {
  margin-bottom: 8px;
}

.pr200-numbered-list li:last-child {
  margin-bottom: 0;
}

/* ---------------------------------------------------------
   21. FINAL CHECKLIST
   --------------------------------------------------------- */

.pr200-checklist {
  margin: 0 0 20px 22px;
  padding: 0;
}

.pr200-checklist li {
  margin-bottom: 8px;
}

.pr200-checklist li:last-child {
  margin-bottom: 0;
}

/* ---------------------------------------------------------
   22. FINAL VERIFICATION BLOCK
   --------------------------------------------------------- */

.pr200-final {
  padding: 30px;

  background: #f7faf7;
  border: 1px solid #dce8dc;
  border-radius: 14px;
}

.pr200-final h2 {
  margin: 0 0 14px;

  font-size: 24px;
  line-height: 1.3;

  color: #111;
}

/* ---------------------------------------------------------
   23. TARGET RESULT
   --------------------------------------------------------- */

.pr200-result {
  margin-top: 20px;
  padding: 17px 19px;

  background: #ffffff;
  border-left: 4px solid #333;
  border-radius: 6px;
}

/* ---------------------------------------------------------
   24. TECHNICAL VALUE
   Example: 4 PSI / 500 ms / 2–3 mm
   --------------------------------------------------------- */

.pr200-value {
  font-weight: 700;
  white-space: nowrap;
}

/* ---------------------------------------------------------
   25. HMI PATH
   Example: Filling → Initial Setup → Filling Jog Mode
   --------------------------------------------------------- */

.pr200-path {
  display: inline-block;

  padding: 4px 8px;

  background: #f1f3f5;
  border-radius: 5px;

  font-weight: 600;
  line-height: 1.4;

  color: #222;
}

/* ---------------------------------------------------------
   26. LINKS INSIDE DOCUMENTATION
   --------------------------------------------------------- */

.pr200-article a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pr200-article a:hover {
  text-decoration-thickness: 2px;
}

/* ---------------------------------------------------------
   27. STRONG TEXT
   --------------------------------------------------------- */

.pr200-article strong {
  font-weight: 700;
}

/* ---------------------------------------------------------
   28. MEDIA / IMAGES
   Future-proofing for screenshots and diagrams
   --------------------------------------------------------- */

.pr200-article img {
  display: block;

  max-width: 100%;
  height: auto;

  margin: 20px auto;

  border-radius: 10px;
}

/* ---------------------------------------------------------
   29. TABLES
   Future-proofing if documentation uses tables
   --------------------------------------------------------- */

.pr200-article table {
  width: 100%;

  margin: 20px 0;

  border-collapse: collapse;
}

.pr200-article th,
.pr200-article td {
  padding: 12px 14px;

  border: 1px solid #e5e7eb;

  text-align: left;
  vertical-align: top;
}

.pr200-article th {
  background: #f8f9fa;
  font-weight: 700;
}

/* ---------------------------------------------------------
   30. RESPONSIVE TABLE WRAPPER
   Optional:
   <div class="pr200-table-wrap">...</div>
   --------------------------------------------------------- */

.pr200-table-wrap {
  width: 100%;
  overflow-x: auto;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 768px) {
  .pr200-container {
    padding: 28px 18px;
  }

  .pr200-article {
    font-size: 15px;
  }

  .pr200-header,
  .pr200-card,
  .pr200-video-card,
  .pr200-method,
  .pr200-final {
    padding: 22px;
  }

  .pr200-note,
  .pr200-warning {
    padding: 20px;
  }

  .pr200-title {
    font-size: 27px;
  }

  .pr200-intro {
    font-size: 16px;
  }

  .pr200-card h2,
  .pr200-card-title,
  .pr200-video-card h2,
  .pr200-method h2,
  .pr200-final h2 {
    font-size: 22px;
  }

  .pr200-note h2,
  .pr200-warning h2,
  .pr200-warning-title {
    font-size: 20px;
  }

  .pr200-flow {
    padding: 16px 18px;
  }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 480px) {
  .pr200-container {
    padding: 20px 12px;
  }

  .pr200-header,
  .pr200-card,
  .pr200-video-card,
  .pr200-method,
  .pr200-final {
    padding: 18px;
    border-radius: 10px;
  }

  .pr200-note,
  .pr200-warning {
    padding: 18px;
    border-radius: 10px;
  }

  .pr200-title {
    font-size: 24px;
  }

  .pr200-intro {
    font-size: 16px;
  }

  .pr200-card h2,
  .pr200-video-card h2,
  .pr200-method h2,
  .pr200-final h2 {
    font-size: 21px;
  }

  .pr200-step,
  .pr200-badge {
    font-size: 12px;
  }

  .pr200-flow {
    padding: 14px 16px;
    font-size: 14px;
  }

  .pr200-callout,
  .pr200-result {
    padding: 14px 16px;
  }
}
