.cpg-note-sheet {
  position: relative;
  min-width: 0;
  padding: clamp(23px, 3.25vw, 50px);
  background: var(--paper);
  border: 1px solid var(--rule);
  box-shadow: 3px 4px 0 var(--board), 4px 5px 0 var(--rule);
}
.cpg-note-sheet::before {
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: repeating-linear-gradient(115deg, var(--band) 0 12px, var(--paper) 12px 20px, var(--verm) 20px 32px, var(--paper) 32px 40px);
  content: "";
}
.cpg-note-sheet h2 {
  margin: 0;
  font: 700 clamp(35px, 3.3vw, 52px)/1 var(--display);
  letter-spacing: -.025em;
}
.cpg-note-fields { display: grid; gap: 17px; margin-top: 20px; }
.cpg-note-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; font-weight: 600; }
.cpg-note-field small, .cpg-note-notice, .cpg-note-hint { color: var(--soft); font-size: 15px; font-weight: 400; }
.cpg-note-hint { margin-top: -12px; }
.cpg-note-sheet :is(input, select, textarea) {
  width: 100%;
  min-width: 0;
  min-height: 45px;
  padding: 9px 10px;
  border: 1px solid var(--rule);
  border-radius: 2px;
  background: #fffef8;
  color: var(--ink);
  font: 400 17px/1.4 var(--body);
}
.cpg-note-sheet textarea { resize: vertical; }
.cpg-note-notice, #note-draft > p, .cpg-note-sheet noscript p { margin: 16px 0; }
.cpg-note-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 17px; }
.cpg-note-text-action {
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: .22em;
}
.cpg-note-address { overflow-wrap: anywhere; }
#note-status:empty { margin: 0; }
@media (max-width: 420px) {
  .cpg-note-sheet { padding-inline: 17px; }
}
