.bt-log-page .bt-template-hero { padding: 105px 0 20px; background: none; border: 0; }
.bt-log-page .bt-breadcrumbs ol { margin-bottom: 14px; }
.bt-log-page .bt-template-title { margin: 0 0 12px; font-size: clamp(2.1rem, 4vw, 3.4rem); line-height: 1.08; }
.bt-log-page .bt-template-answer { font-size: 1.05rem; }
.bt-log-page .bt-log-editor { padding: 24px 0 40px; }
.bt-log-page .bt-log-sheet { max-width: 820px; margin: 20px 0 0; border-radius: 2px; }
.bt-log-sheet fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.bt-log-sheet h2 { margin: 0 0 20px; font-size: 1.4rem; }
.bt-log-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.bt-log-field { display: block; margin-top: 14px; color: #202820; font-weight: 600; }
.bt-log-meta .bt-log-field { margin: 0; }
.bt-log-field input, .bt-log-field select, .bt-log-field textarea { display: block; box-sizing: border-box; width: 100%; min-width: 0; min-height: 44px; margin-top: 5px; padding: 8px 2px; border: 0; border-bottom: 1px solid #6c756e; border-radius: 0; color: #202820; background: #fff; font: 400 1rem/1.4 var(--font-body); }
.bt-log-field textarea { min-height: 4.8em; resize: vertical; }
.bt-log-field input:focus-visible, .bt-log-field select:focus-visible, .bt-log-field textarea:focus-visible, .bt-log-print:focus-visible { outline: 3px solid #174e38; outline-offset: 2px; }
.bt-log-print { padding: 12px 20px; border: 1px solid #204b39; border-radius: 4px; color: #fff; background: #204b39; font: 600 1rem/1.3 var(--font-body); cursor: pointer; }
.bt-log-print:disabled { opacity: .6; cursor: not-allowed; }
.bt-log-controls { margin-top: 24px; }
.bt-log-hint p { margin: 0 0 12px; }
.bt-log-print-value, .bt-log-writing-lines { display: none; }
.bt-log-page #how-title + ol { padding-inline-start: 1.5em; }
@media (max-width: 700px) {
  .bt-log-page .bt-template-hero { padding-top: 100px; }
  .bt-log-meta { grid-template-columns: 1fr; }
}
@page { margin: 12mm; }
@media print {
  body.bt-log-page { background: #fff; color: #000; }
  .bt-log-page > .skip-link, .bt-log-page > .navbar, .bt-log-page > .footer,
  .bt-log-page .bt-template-hero, .bt-log-page .bt-log-controls, .bt-log-page .bt-log-hint,
  .bt-log-page main > section:not(.bt-log-editor), .bt-log-page .bt-log-field input,
  .bt-log-page .bt-log-field select, .bt-log-page .bt-log-field textarea { display: none !important; }
  .bt-log-page .bt-template-section { padding: 0; border: 0; }
  .bt-log-page .bt-container { width: 100%; margin: 0; }
  .bt-log-page .bt-log-sheet { display: flex; flex-direction: column; box-sizing: border-box; height: 250mm; max-width: none; margin: 0; padding: 0; border: 0; box-shadow: none; }
  .bt-log-page .bt-template-section .bt-log-sheet h2 { margin: 0 0 4mm; font: bold 16pt/1.2 sans-serif; color: #000; }
  .bt-log-sheet fieldset { flex: 1; min-height: 0; }
  .bt-log-fields { display: flex; flex-direction: column; height: 100%; }
  .bt-log-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4mm; }
  .bt-log-field { margin: 0; color: #000; font: bold 10pt/1.2 sans-serif; break-inside: avoid; }
  .bt-log-print-value { display: block; min-height: 5mm; padding: 1mm 0; border-bottom: .2mm solid #737373; font: normal 9pt/1.2 sans-serif; overflow-wrap: anywhere; white-space: normal; }
  .bt-log-entry { display: flex; flex: 1; flex-direction: column; min-height: 0; padding-top: 3mm; }
  .bt-log-entry .bt-log-print-value { min-height: 0; border: 0; font-size: 8pt; }
  .bt-log-writing-lines { display: flex; flex: 1; flex-direction: column; min-height: 12mm; }
  .bt-log-writing-lines span { flex: 1; border-bottom: .2mm solid #737373; }
}
