:root {
  font: 1rem/1.55 system-ui, sans-serif;
  color: #1f2132;
  background: #fff;
}
body { max-width: 44rem; margin: 2rem auto; padding: 0 1rem; }
h1 { font-size: clamp(1.5rem, 5vw, 2.2rem); line-height: 1.25; margin: 0; }
header p { margin: .5rem 0 1rem; }
.sheet-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.sheet-actions > a, .sheet-actions > button {
  display: inline-flex; align-items: center; min-height: 44px; padding: .3rem .7rem;
  box-sizing: border-box; border: 1px solid #34436b; border-radius: .45rem;
  color: #192947; background: #eef4ff; font: inherit;
}
.sheet-actions > button[hidden] { display: none; }
.sheet-actions > button { cursor: pointer; }
.sheet-actions > :focus-visible { outline: 2px solid #123f98; outline-offset: 3px; }
.fields { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.fields i, .write-line { display: inline-block; width: 8rem; border-bottom: 1px solid #555; }
.write-line { display: block; width: 100%; height: 1.45rem; }
ol { padding-inline-start: 1.6rem; }
li { margin: 0 0 .65rem; break-inside: avoid; }
li p { margin: 0; }
footer { margin-top: 1rem; font-size: .85rem; color: #424451; }

@page { margin: 0.6in; }
@media print {
  :root { color: #000; font-size: 11pt; }
  body { max-width: none; margin: 0; padding: 0; }
  h1 { font-size: 18pt; }
  .sheet-actions { display: none; }
  .write-line { height: 0.28in; }
  footer { color: #333; }
}
