/* Minimal print stylesheet for work orders */

@page { margin: 0.4in; }

body.print-body {
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: #111;
  background: #fff;
  font-size: 10pt;
}

.print-container {
  max-width: 8.5in;
  margin: 0 auto;
  padding: 0.15in 0;
}

.print-order + .print-order {
  page-break-before: always;
}

.print-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px solid #ccc;
  padding-bottom: 0.25in;
  margin-bottom: 0.25in;
}

.print-logo img {
  max-height: 48px;
  width: auto;
}

.print-label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  color: #555;
  margin: 0;
}

.print-title {
  font-size: 28px;
  margin: 4px 0 0 0;
}

.print-subtitle {
  margin: 6px 0 0 0;
  color: #333;
}

.print-meta p { margin: 2px 0; }

.print-section {
  margin-bottom: 0.28in;
  page-break-inside: avoid;
}

.print-page-two { page-break-before: always; }

.print-appointment {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.25in;
}

.print-section h2 {
  font-size: 18px;
  margin: 0 0 8px 0;
  padding-bottom: 4px;
  border-bottom: 1px solid #e5e7eb;
}

.print-strong { font-weight: 600; margin: 0 0 2px 0; }

.print-section p { margin: 2px 0; }

.print-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.2in;
  margin-bottom: 0.28in;
}

.print-list {
  list-style: disc;
  padding-left: 18px;
  margin: 0;
}

.print-list-item { margin-bottom: 12px; }

.print-service-bundles {
  display: flex;
  flex-direction: column;
  gap: 0.2in;
}

.print-service-bundle {
  border: 1px solid #ddd;
  padding: 0.12in;
  border-radius: 4px;
  font-size: 9pt;
}

.print-bundle-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.08in;
}

.print-page-meta {
  display: flex;
  justify-content: space-between;
  gap: 0.2in;
  font-size: 9pt;
  margin-bottom: 0.08in;
}

.print-task-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 8px 10px;
}

.print-task-item {
  border: 1px solid #e5e7eb;
  padding: 6px 8px;
  min-height: 44px;
}

.print-task-row {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.print-checkbox {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 1px solid #111;
  margin-top: 1px;
  flex-shrink: 0;
}

.print-task-title { font-weight: 600; font-size: 8.75pt; margin: 0; }
.print-note { margin-top: 4px; }

.print-tech-line {
  display: block;
  border-bottom: 1px solid #111;
  height: 16px;
  margin-top: 10px;
}

@media print {
  a, button { display: none !important; }
}
