body { margin: 0; background: #e6e6e6; color: #000; font: 12pt/1.5 Calibri, Carlito, "Segoe UI", Arial, sans-serif; }
.letter-shell { max-width: 46rem; margin: 2rem auto; padding: 3rem 4rem; background: #fff; box-shadow: 0 0 6px rgba(0,0,0,.3); }
h1 { font-family: "Calibri Light", Calibri, Carlito, Arial, sans-serif; font-size: 22pt; font-weight: normal; line-height: 1.2; margin: 0 0 .5rem; color: #000; }
h1 span { font-size: 16pt; }
h2 { font-size: 14pt; font-weight: normal; color: #000; margin: 1.5rem 0 .4rem; }
.eyebrow { display: none; }
.letter-credits { color: #000; font-size: 11pt; }
.letter-credits span { display: block; }
.letter-body { margin-top: 1.5rem; }
.letter-body p { margin: 0 0 .8rem; text-align: justify; text-indent: 2em; }
a { color: #0563c1; }
.letter-sidebar { margin-top: 2rem; border-top: 1px solid #bbb; padding-top: 1rem; }
section { margin-bottom: 1.5rem; }
button { font: inherit; padding: .3rem .9rem; cursor: pointer; background: #f3f3f3; border: 1px solid #999; border-radius: 2px; }
.primary-button { background: #2f5496; color: #fff; border-color: #2f5496; }
.primary-button:hover:not(:disabled) { background: #1f3f7a; }
.primary-button:disabled { background: #8fa3c8; color: #fff; border-color: #8fa3c8; }
button:disabled { cursor: default; color: #777; }
.text-button, .dialog-close { background: none; border: 0; color: #0563c1; text-decoration: underline; padding: 0; }
.text-button {
  border: 1px solid #0563c1;
  border-radius: 3px;
  background: #f2f7fc;
  font-weight: 700;
  padding: .45rem .8rem;
  text-decoration: none;
}
.text-button:hover { background: #e2edf8; }
.signer-count { display: inline-block; font-size: 1.5em; margin: .25rem 0; padding: .15em .5em; border-radius: 4px; background: #f2f7fc; }
.featured-including { margin: .75rem 0 .25rem; font-weight: 700; }
.signer-list, .full-signer-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .25rem 2rem;
  padding-left: 1.5rem;
}
.signers-heading, .signers-dialog-heading { display: flex; justify-content: space-between; align-items: baseline; }
.signing-status, .admin-status, .comment-status { margin: .5rem 0 0; }
.is-error { color: #b00; }
.is-success { color: #2e7d32; }
.signers-dialog { box-sizing: border-box; width: min(90vw, 52rem); max-width: none; max-height: 80vh; border: 1px solid #999; }
.featured-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: .5rem; }
.featured-reorder-controls { display: flex; align-items: flex-start; gap: .2rem; }
.featured-reorder-controls button { padding: .2rem .45rem; }
.featured-drag-handle { cursor: grab; }
.featured-drag-handle:active { cursor: grabbing; }
.featured-row.is-dragging { opacity: .45; }
.comment-form { margin: 1rem 0; }
.comment-edit-notice { margin: .5rem 0; color: #555; font-style: italic; }
.comment-form textarea { width: 100%; box-sizing: border-box; padding: .5rem; font-family: inherit; font-size: inherit; border: 1px solid #999; border-radius: 2px; resize: vertical; }
.comment-form button { margin-top: .5rem; }
.comments-list { margin-top: 1rem; }
.comment-item { margin-bottom: 1rem; padding: .75rem; background: #f9f9f9; border-left: 3px solid #2f5496; border-radius: 2px; }
.comment-header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .5rem; }
.comment-author { font-weight: 700; color: #2f5496; }
.comment-date { font-size: 10pt; color: #666; }
.comment-text { margin: .5rem 0; color: #000; line-height: 1.5; }
.comment-actions { display: flex; gap: .5rem; margin-top: .5rem; }
.comment-delete { background: none; border: 0; color: #b00; text-decoration: underline; padding: 0; font-size: 10pt; cursor: pointer; }
.comment-delete:hover { text-decoration: none; }
.comment-approve { background: #e8f5e9; border-color: #2e7d32; color: #2e7d32; }
.comment-reject { background: #fff3f3; border-color: #b00; color: #b00; }
.comment-edit { background: none; border: 0; color: #0563c1; text-decoration: underline; padding: 0; font-size: 10pt; cursor: pointer; }
.empty-comments { font-style: italic; color: #666; margin: 1rem 0; }
.letter-footer { margin-top: 2rem; font-size: 10pt; color: #000; text-align: center; }
@media (max-width: 700px) { .letter-shell { margin: 0; padding: 1.5rem 1.2rem; box-shadow: none; } .letter-body p { text-align: left; } }
[hidden] { display: none !important; }
