@font-face {
  font-family: Lexend;
  src: url('/assets/lexend.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root { color-scheme: light; font: 16px/1.55 Lexend, system-ui, sans-serif; color: #172934; background: #f6f5f1; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; }
.mast { display: flex; align-items: center; justify-content: space-between; padding: 22px clamp(20px, 6vw, 90px); border-bottom: 1px solid #d9ddda; background: #fbfaf7; }
.brand { display: inline-flex; align-items: center; gap: .65rem; color: inherit; text-decoration: none; font-weight: 660; font-size: 1.35rem; letter-spacing: -.04em; }
.brand img { border-radius: 8px; }
main { padding: clamp(35px, 11vh, 110px) 16px 3rem; }
.panel { width: 100%; max-width: 510px; padding: clamp(26px, 5vw, 48px); margin: auto; background: #fff; border: 1px solid #cfd6d5; border-radius: 15px; box-shadow: 0 6px 24px #283a4010; }
h1 { margin: 0; font-size: clamp(1.85rem, 5vw, 2.55rem); letter-spacing: -.055em; line-height: 1.12; overflow-wrap: anywhere; }
.desc { margin: 16px 0 26px; color: #495d67; overflow-wrap: anywhere; }
.owner { margin: -19px 0 25px; overflow-wrap: anywhere; }
.actions { display: grid; gap: .65rem; }
a { color: #145a71; }
.button { display: inline-flex; justify-content: center; align-items: center; text-align: center; padding: 11px 18px; width: 100%; min-height: 46px; background: #194d62; color: white; border: 1px solid #194d62; border-radius: 7px; text-decoration: none; font: inherit; font-weight: 570; cursor: pointer; }
.button:hover { background: #123a49; }
.secondary { background: white; color: #194d62; border-color: #9baeb5; }
.secondary:hover { background: #edf3f3; }
.existing, .exit { border-top: 1px solid #dce2e1; margin: 25px 0 0; padding-top: 20px; font-size: .91rem; }
.existing a { font-weight: 600; }
label { display: block; margin-bottom: 6px; font-weight: 550; }
input, textarea, .batch-choice select { display: block; width: 100%; font: inherit; background: white; color: inherit; padding: 11px 12px; border: 1px solid #8b9da7; border-radius: 6px; margin-bottom: 18px; }
.text-button { padding: 3px 0; border: 0; background: none; color: #145a71; font: inherit; text-decoration: underline; cursor: pointer; }
.error { color: #94372d; }
:focus-visible { outline: 3px solid #2988ad; outline-offset: 3px; }

.staff-link { color: #435962; font-size: .85rem; text-underline-offset: 3px; }

.editor { max-width: 690px; }
textarea { resize: vertical; min-height: 9rem; }
.draft-entry { padding: 0 0 24px; margin: 0 0 24px; border-bottom: 1px solid #dce2e1; }
.draft-entry h2 { margin: 0 0 10px; font-size: 1.2rem; }
.draft-entry p { margin: 0 0 14px; overflow-wrap: anywhere; }
.back { display: inline-block; margin: 0 0 20px; }
.preview-label { margin: 0 0 8px; color: #495d67; }
.message-body { margin: 24px 0; white-space: pre-wrap; overflow-wrap: anywhere; }

.audience .file-choice { margin: 18px 0; }
.audience input[type="file"] { max-width: 100%; min-width: 0; }
.batch-choice summary { padding-block: 11px; cursor: pointer; font-weight: 650; }
.batch-choice label { overflow-wrap: anywhere; }
.audience .actions { margin: 24px 0 12px; }
.audience button:disabled { opacity: .6; cursor: default; }
.audience dl { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 16px; }
.audience dt, .audience dd { padding: 7px 0; border-bottom: 1px solid #dce2e1; }
.audience dd { margin: 0; font-variant-numeric: tabular-nums; font-weight: 650; text-align: right; }

.newsletter-list { list-style: none; padding: 0; margin: 1rem 0; }
.newsletter-list li { padding: .75rem 0; border-bottom: 1px solid #dce2e1; overflow-wrap: anywhere; }
.newsletter-list time { display: block; margin-top: .25rem; color: #495d67; font-size: .9rem; }

.draft-files, .archive-removal { border-top: 1px solid #dce2e1; margin-top: 1.5rem; }
.draft-files summary, .archive-removal summary { padding: .85rem 0; cursor: pointer; font-weight: 650; }
.draft-files input, .draft-files button { max-width: 100%; }
.draft-files p { overflow-wrap: anywhere; }

[hidden] { display: none !important; }
#draft-save-status:empty { display: none; }
