.print-button {
  display: inline-block;
  background: #0f8f8c;
  color: white;
  border: 0;
  padding: 14px 22px;
  border-radius: 8px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  margin: 10px 12px 0 0;
}

.print-button:hover {
  background: #0b7471;
}

.download-note {
  color: #5f6b7a;
  margin-bottom: 18px;
}

.custom-note {
  display: inline-block;
  margin: 0 0 14px;
  padding: 10px 12px;
  border-left: 4px solid #0f8f8c;
  border-radius: 6px;
  background: #ecfeff;
  color: #0f4f4d;
  font-weight: 700;
}

.printable-sheet {
  background: #fff;
  color: #111827;
  border: 2px solid #111827;
  border-radius: 8px;
  padding: 24px;
  margin-top: 22px;
}

.printable-sheet h3 {
  margin: 0 0 6px;
  font-size: 28px;
  line-height: 1.15;
  text-align: center;
}

.sheet-subtitle {
  margin: 0 0 20px;
  text-align: center;
  color: #4b5563;
}

.editable-print-text {
  border-radius: 6px;
  outline: 1px dashed transparent;
  outline-offset: 4px;
}

.editable-print-text:hover,
.editable-print-text:focus {
  outline-color: #0f8f8c;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.field {
  min-height: 38px;
  border-bottom: 1px solid #111827;
  font-weight: 700;
}

.worksheet-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 14px;
}

.worksheet-table th,
.worksheet-table td {
  border: 1px solid #111827;
  padding: 10px;
  height: 42px;
  text-align: left;
  vertical-align: top;
}

.worksheet-table th {
  background: #eef2ff;
  font-size: 14px;
}

.worksheet-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 14px;
}

.worksheet-box {
  min-height: 120px;
  border: 1px solid #111827;
  padding: 12px;
}

.worksheet-box strong {
  display: block;
  margin-bottom: 8px;
}

.checklist-columns {
  columns: 2;
  padding-left: 20px;
}

.checklist-columns li {
  break-inside: avoid;
  margin-bottom: 10px;
}

.checklist-with-boxes {
  list-style: none;
  padding-left: 0;
}

.checklist-with-boxes li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.checklist-with-boxes .check-box {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border: 2px solid #172033;
  border-radius: 3px;
}

.faq-section h3 {
  margin: 18px 0 6px;
  font-size: 20px;
  line-height: 1.25;
}

.faq-section p {
  margin: 0 0 14px;
  color: #5f6b7a;
}

@media (max-width: 700px) {
  .field-row,
  .worksheet-grid {
    grid-template-columns: 1fr;
  }

  .checklist-columns {
    columns: 1;
  }
}

@media print {
  @page {
    margin: 0.45in;
  }

  header,
  footer,
  nav,
  .card:not(.download-box),
  .button,
  .print-button,
  .download-box > h2,
  .download-note,
  .custom-note {
    display: none !important;
  }

  body {
    background: white !important;
    color: #111827 !important;
  }

  main {
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .download-box,
  .card.download-box {
    display: block !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    background: white !important;
  }

  .printable-sheet {
    margin: 0 !important;
    border-radius: 0 !important;
    page-break-inside: avoid;
  }

  .editable-print-text,
  .editable-print-text:hover,
  .editable-print-text:focus {
    outline: 0 !important;
  }
}
