.notes-desk { margin-top: 36px; padding: 34px; border: 1px solid var(--rule); background: white; }
.notes-heading { border-bottom: 1px solid var(--rule); margin-bottom: 28px; padding-bottom: 10px; }
.notes-heading h2 { margin-bottom: 20px; }
.notes-explainer { font-size: 18px; }
.note-field { margin-bottom: 28px; max-width: 80ch; }
.note-field label { display: block; font-size: 20px; font-weight: 600; margin: 0 0 8px; line-height: 1.5; }
.note-field p { font-size: 16px; color: var(--muted-ink); margin-bottom: 12px; }
.note-field textarea { display: block; width: 100%; resize: vertical; padding: 15px 18px; font-size: 18px; line-height: 1.65; min-height: 136px; background: #f4f5f6; color: var(--slate); border: 1px solid #89929d; border-radius: 0; }
.note-field textarea:focus { background: white; }
.notes-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.notes-actions button { min-height: 48px; padding: 11px 18px; font-size: 17px; line-height: 1.45; color: var(--slate); background: white; border: 1px solid #717b87; border-radius: 0; }
.notes-actions button:hover { background: var(--rose-light); }
.notes-actions .save-notes { color: white; background: var(--slate); border-color: var(--slate); }
.notes-actions .save-notes:hover { background: #38404b; }
.notes-actions .erase-notes { color: var(--rose-ink); border-color: var(--rose-ink); margin-left: auto; }
.notes-status { min-height: 28px; font-size: 16px; color: var(--muted-ink); margin: 18px 0 0; }

@media (max-width: 760px) {
  .notes-desk { padding: 26px 22px; margin-top: 30px; }
  .note-field textarea { padding: 12px; font-size: 17px; }
  .notes-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .notes-actions .erase-notes { margin-left: 0; }
  .notes-actions button { padding: 12px 9px; }
}

@media print {
  .notes-desk { margin: 18px 0 0; padding: 0; border: none; }
  .notes-actions, .notes-status, .notes-explainer { display: none; }
  .note-field { break-inside: avoid; margin-bottom: 20px; }
  .note-field textarea { height: auto; min-height: 100px; background: white; color: black; font-size: 16px; overflow: visible; border: 1px solid #aaa; }
  .print-note { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; border: 1px solid #aaa; padding: 12px; min-height: 80px; }
}
