@font-face {
  font-family: 'Kumbh Sans';
  src: url('/fonts/KumbhSans-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --paper: #fff;
  --ink: #303030;
  --accent: #b64b24;
  --accent-dark: #953917;
  --muted: #69625d;
  --line: #e4dcd6;
  --panel: #f5e9e0;
  --panel-dark: #edd9ca;
  --error: #a12222;
  font-family: 'Kumbh Sans', 'Segoe UI', Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.6;
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; }
button, input, select { font: inherit; }
a { color: var(--accent); text-underline-offset: 3px; }
button { cursor: pointer; color: inherit; }
button:disabled { cursor: default; opacity: .65; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid #2465a1; outline-offset: 4px; }
input:focus, select:focus { outline: 2px solid var(--accent); outline-offset: 2px; }
input, select { min-width: 0; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-weight: 700; }
h1 { font-size: clamp(36px, 4vw, 54px); line-height: 1.13; letter-spacing: -1.9px; margin-bottom: 22px; color: var(--accent); }
h1 em { font-style: normal; }
h2 { font-size: 27px; line-height: 1.25; letter-spacing: -.8px; }
h3 { font-size: 17px; }
p { margin-bottom: 20px; }
strong { font-weight: 700; }
[hidden] { display: none !important; }
hr { border: 0; border-top: 1px solid var(--line); margin: 26px 0; }
.site-footer, main { max-width: 1340px; margin: auto; }
main { padding: 52px 50px 72px; }
.main-grid { display: grid; grid-template-columns: minmax(0, 1fr) 410px; column-gap: 64px; align-items: start; }
.letter-column, .letter-followup { min-width: 0; }
.letter-followup { grid-column: 1; }
.eyebrow { font-size: 11px; letter-spacing: 1.3px; font-weight: 650; color: var(--muted); margin-bottom: 19px; }
.hero-description { font-size: 14px; line-height: 1.6; color: var(--muted); margin-bottom: 25px; }
.form-panel { background: var(--panel); border-top: 3px solid var(--accent); border-radius: 3px; padding: 29px 29px 25px; }
.form-heading { margin-bottom: 13px; }
.step-label { font-size: 10px; letter-spacing: 1.2px; color: #89543c; font-weight: 650; display: block; }
.form-panel h2 { margin-bottom: 10px; font-size: 29px; }
.form-intro { font-size: 13px; line-height: 1.7; color: #62574f; margin-bottom: 23px; }
form label { font-size: 12px; font-weight: 600; display: block; margin-bottom: 16px; }
input:not([type=radio]), select { display: block; width: 100%; height: 43px; margin-top: 6px; background: #fffdfb; border: 1px solid #ccb9ad; border-radius: 3px; padding: 9px 10px; color: var(--ink); font-size: 13px; }
input::placeholder { color: #887d75; font-weight: 400; }
select { font-weight: 400; }
input[type=radio] { accent-color: var(--accent); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field-row label { margin-bottom: 8px; }
.field-hint { font-size: 10px; color: #74675e; line-height: 1.65; margin-top: -8px; margin-bottom: 16px; }
#email-hint { margin-top: -9px; }
.button { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; border-radius: 3px; font-size: 12px; min-height: 45px; padding: 11px 14px; font-weight: 650; text-decoration: none; border: 1px solid var(--accent); transition: background .15s; }
.button span { font-size: 17px; line-height: 1; }
.primary { background: var(--accent); color: #fff; }
.primary:hover { background: var(--accent-dark); }
.secondary { background: transparent; color: var(--accent-dark); border-color: #c99a80; }
.secondary:hover { background: #f0ddd0; }
.sign-actions { display: grid; gap: 9px; margin-top: 22px; }
.authorization { font-size: 10px; line-height: 1.65; color: #74675e; margin: 12px 0 0; }
.privacy-summary { display: flex; align-items: flex-start; gap: 9px; margin-top: -8px; margin-bottom: 16px; }
.privacy-lock { flex: 0 0 18px; margin-top: 1px; color: #8e4020; }
.privacy-summary p { font-size: 10px; color: #6c6058; line-height: 1.8; margin: 0; }
.privacy-summary a { display: block; margin-top: 5px; color: #8e4020; }
.feedback { font-size: 12px; color: #275c3b; margin: 12px 0 0; overflow-wrap: anywhere; }
.feedback:empty { display: none; }
.feedback.error { color: var(--error); }
recipient-preview { display: block; margin: 0 0 27px; padding-top: 24px; border-top: 1px solid var(--line); }
.recipient-stage { min-height: 190px; }
.salutation { font-size: 24px; font-weight: 600; line-height: 1.3; margin-bottom: 10px; letter-spacing: -.5px; }
.recipient-description { font-size: 13px; line-height: 1.7; color: #68605a; max-width: 520px; margin: 0; }
.fade-in { animation: recipient-in .3s ease-out both; }
@keyframes recipient-in { from { opacity: 0; } to { opacity: 1; } }
.recipient-picker { display: grid; grid-template-columns: 1fr 1.5fr 1fr; gap: 0; border-bottom: 1px solid var(--line); }
.recipient-picker button { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 7px; min-height: 78px; border: 0; border-bottom: 2px solid transparent; background: transparent; padding: 11px 10px 13px; text-align: left; }
.recipient-picker button:first-child { padding-left: 0; }
.recipient-picker button[aria-pressed=true] { border-bottom-color: var(--accent); }
.recipient-number { display: block; font-size: 10px; letter-spacing: 1px; color: #998d85; }
.recipient-name { font-size: 12px; line-height: 1.45; font-weight: 550; }
.recipient-picker button[aria-pressed=true] .recipient-name, .recipient-picker button[aria-pressed=true] .recipient-number { color: var(--accent); }
.recipient-picker button[aria-pressed=true] .recipient-name { font-weight: 700; }
.recipient-picker button:hover { background: #fbf5f0; }
.recipient-source { font-size: 10px; margin: 9px 0 0; }
.recipient-source a { color: #746b65; }
.letter-body { font-size: 16px; line-height: 1.85; padding: 0 0 17px; }
.notes-link { font-size: 13px; color: var(--muted); }
.notes-page { max-width: 760px; margin: auto; overflow-wrap: anywhere; }
.notes-page h1 { margin-top: 20px; }
.letter-body > p { margin-bottom: 25px; }
.letter-end-rule { margin: 122px 0 44px; }
.estimates { font-size: 12px; margin: 23px 0; }
.estimates h2 { font-size: 14px; font-weight: 600; letter-spacing: 0; margin-bottom: 12px; }
.estimates ul { padding-left: 20px; }
.source-link, .version-note { font-size: 11px; }
.version-note { color: var(--muted); margin: 10px 0 0; }
.delivery-note { font-size: 12px; line-height: 1.75; color: var(--muted); margin: 20px 0 0; }
.site-footer { display: flex; justify-content: space-between; gap: 18px; padding: 24px 50px; border-top: 1px solid var(--line); font-size: 11px; color: var(--muted); }
.site-footer a { color: var(--muted); }
.standalone { max-width: 590px; margin: 0 auto; }
.panel { padding: 34px; background: var(--panel); border-top: 3px solid var(--accent); border-radius: 3px; }
.standalone h1 { font-size: 42px; letter-spacing: -1.5px; margin-top: 23px; }
.standalone h2 { margin-top: 14px; }
.standalone p { font-size: 14px; line-height: 1.8; }
.standalone .button { margin-top: 14px; }
.status-icon { display: grid; place-items: center; width: 46px; height: 46px; background: #ead0bf; border-radius: 3px; font-size: 26px; color: var(--accent); margin: 25px 0 20px; }
.muted { color: var(--muted); }
.text-button { display: inline-block; background: none; border: 0; padding: 7px 0; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; font-size: 12px; margin-top: 13px; }
.confirmation-banner { display: flex; align-items: center; gap: 12px; border-bottom: 1px solid #c7d5c4; padding: 12px 0 20px; color: #2c5a38; margin-bottom: 20px; font-size: 13px; }
.confirmation-banner span { font-size: 20px; }
fieldset { border: 0; padding: 0; margin: 25px 0; }
legend { font-size: 13px; font-weight: 600; margin-bottom: 10px; }
.logo-options { display: flex; gap: 25px; }
.logo-options label { display: flex; gap: 8px; align-items: center; }
.file-label input[type=file] { height: auto; padding: 13px; border-style: dashed; }
.url-field .text-button { margin: 0 0 15px; }
.logo-preview { border: 1px solid #d4b9a7; border-radius: 3px; padding: 15px; display: flex; align-items: center; gap: 25px; }
.logo-preview img { max-width: 140px; max-height: 100px; object-fit: contain; }
.privacy-page { max-width: 760px; margin: 0 auto; background: #fff; }
.privacy-page h1 { margin: 20px 0 25px; font-size: 48px; }
.privacy-page h2 { font-size: 23px; margin: 30px 0 12px; }
.privacy-page p { font-size: 14px; color: var(--muted); }
.privacy-page .lead { font-size: 18px; color: var(--ink); }
.privacy-page .button { max-width: 220px; margin-top: 30px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 15px; top: -100px; background: #fff; padding: 8px 15px; z-index: 10; }
.skip-link:focus { top: 15px; }
.loading, .notice { padding: 30px; text-align: center; }
.notice { color: var(--error); }
@media(min-width:1350px) {
  .main-grid { grid-template-columns: minmax(0, 1fr) 430px; column-gap: 76px; }
  .form-panel { padding: 30px 32px 27px; }
}
@media(max-width:1050px) {
  main { padding: 40px 30px 55px; }
  .main-grid { grid-template-columns: minmax(0, 1fr) 360px; column-gap: 36px; }
  .form-panel { padding: 25px 22px; }
  h1 { font-size: 41px; letter-spacing: -1.3px; }
  .hero-description { font-size: 13px; }
  .desktop-break { display: none; }
  .recipient-stage { min-height: 155px; }
  .recipient-picker { grid-template-columns: 1fr 1fr; gap: 0 10px; }
  .recipient-picker button { min-height: 70px; padding-left: 0; }
  .site-footer { padding: 24px 30px; }
}
@media(max-width:760px) {
  main { padding: 32px 22px 45px; }
  .main-grid { display: flex; flex-direction: column; gap: 30px; }
  .letter-column, .form-panel, .letter-followup { width: 100%; }
  .main-grid .letter-sign-link { display: none; }
  .field-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .letter-followup { overflow-wrap: anywhere; }
  h1 { font-size: clamp(34px, 6.7vw, 48px); letter-spacing: -1.3px; }
  .hero-description { font-size: 14px; margin-bottom: 22px; }
  .recipient-stage { min-height: 230px; }
  .recipient-picker { grid-template-columns: 1fr 1.5fr 1fr; gap: 0; }
  .recipient-picker button { padding: 10px 8px; min-height: 82px; }
  .recipient-picker button:first-child { padding-left: 0; }
  .recipient-name { font-size: 11px; }
  .salutation { font-size: 24px; }
  .recipient-description { font-size: 13px; }
  .letter-body { font-size: 16px; }
  .form-panel { padding: 27px 23px; }
  .form-panel h2 { font-size: 30px; }
  .field-hint, .authorization { font-size: 11px; }
  .privacy-summary p { font-size: 11px; }
  input:not([type=radio]), select { font-size: 16px; min-height: 45px; }
  .button { font-size: 13px; min-height: 48px; }
  .site-footer { padding: 22px; font-size: 10px; }
  .panel { padding: 27px 23px; }
  .standalone h1, .privacy-page h1 { font-size: 38px; }
}
@media(max-width:380px) {
  .recipient-picker { grid-template-columns: 1fr 1.5fr 1fr; }
  .recipient-stage { min-height: 280px; }
  .field-row { grid-template-columns: 1fr; gap: 5px; }
  .form-panel { padding: 24px 19px; }
  .logo-options { gap: 15px; }
}
@media(prefers-reduced-motion:reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

recipient-preview.single-recipient .recipient-stage { min-height: 0; }
recipient-preview.single-recipient .fade-in { animation: none; }
.supporting-note { margin-bottom: 36px; }
.estimates .supporting-note h2 { font-size: 20px; line-height: 1.4; }
.supporting-note h3 { font-size: 14px; margin: 24px 0 10px; }
.admin-heading, .admin-tools { display:flex; gap:24px; justify-content:space-between; align-items:center; }
.admin-heading h1 { font-size:40px; }
.admin-tools { align-items:end; margin:24px 0; }
.admin-tools label:first-child { flex:1; }
.admin-row-actions { display:flex; gap:8px; align-items:center; flex-shrink:0; }
.admin-editor { margin-top:30px; scroll-margin-top:20px; }
.admin-editor .panel { max-width:700px; }
@media(max-width:760px) { .admin-heading,.admin-tools { align-items:stretch; flex-direction:column; gap:12px; } }
.admin-tools { display:grid; grid-template-columns:minmax(200px,1fr) 180px auto; }
.admin-tools .button, .admin-heading .button, .admin-row-actions .button { width:auto; }
.admin-tools label { margin:0; }
.admin-heading > div:last-child { display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
.admin-row-actions > button { min-width:40px; min-height:40px; }
@media(max-width:760px) { .admin-tools { grid-template-columns:1fr; } }

/* Health → Ingredients table interactions, styled for the letter's admin page. */
body:has(admin-app) main { max-width:1800px; padding-inline:32px; }
admin-app { display:block; min-width:0; }
.table-help { color:var(--muted); font-size:13px; max-width:1000px; }
.admin-list { min-width:0; }
.ingredient-table-scroll { width:100%; max-width:100%; max-height:65vh; overflow:auto; overscroll-behavior-x:contain; border:1px solid var(--line); border-radius:5px; scrollbar-color:#c99a80 #f5e9e0; }
.ingredient-table { table-layout:fixed; border-collapse:separate; border-spacing:0; font-size:13px; font-variant-numeric:tabular-nums; }
.ingredient-table th,.ingredient-table td { padding:12px 14px; border-bottom:1px solid var(--line); text-align:left; white-space:nowrap; }
.ingredient-table thead { position:sticky; top:0; z-index:2; }
.ingredient-table thead th { position:relative; padding:0; background:var(--panel); border-bottom:2px solid #d6b7a3; font-weight:650; }
.ingredient-table thead button { width:100%; min-height:48px; display:flex; align-items:center; justify-content:flex-start; gap:8px; padding:10px 20px 10px 14px; border:0; background:transparent; color:inherit; font:inherit; font-weight:650; text-align:left; }
.ingredient-sort-icon { width:16px; height:16px; flex-shrink:0; color:var(--muted); }
.ingredient-table thead [data-table-sort] > span { flex:0 0 auto; }
.ingredient-column-resizer { position:absolute; right:0; top:0; bottom:0; width:14px; cursor:col-resize; touch-action:none; z-index:1; }
.ingredient-column-resizer::after { content:""; position:absolute; right:3px; top:12px; bottom:12px; width:2px; border-radius:2px; background:#c99a80; }
.ingredient-column-resizer:hover::after,.ingredient-column-resizer:focus-visible::after { background:var(--accent); }
.ingredient-column-resizer:focus-visible { outline:2px solid var(--accent); outline-offset:-2px; }
.resizing-column { user-select:none; cursor:col-resize; }
.ingredient-table td { overflow:hidden; text-overflow:ellipsis; }
.ingredient-table thead button:hover { background:var(--panel-dark); }
.ingredient-table thead [aria-sort=ascending],.ingredient-table thead [aria-sort=descending] { background:#edd9ca; color:var(--accent-dark); }
.ingredient-table tbody th { white-space:normal; overflow-wrap:anywhere; }
.ingredient-table tbody th button { padding:0; min-height:32px; border:0; background:transparent; color:var(--accent-dark); text-align:left; font:inherit; font-weight:650; }
.ingredient-table tbody tr:hover { background:#faf5f1; }
.ingredient-table tbody th:first-child { position:sticky; left:0; z-index:1; background:white; box-shadow:1px 0 var(--line); }
.ingredient-table thead th:first-child { position:sticky; left:0; z-index:3; box-shadow:1px 0 var(--line); }
.ingredient-table tbody tr:hover th:first-child { background:#faf5f1; }
.ingredient-table thead [data-table-sort]:not([data-table-sort=name]) { touch-action:pan-y; user-select:none; -webkit-user-select:none; cursor:grab; }
.ingredient-table thead .column-dragging { opacity:.55; }
.ingredient-table thead .column-dragging button { cursor:grabbing; }
.ingredient-table thead .column-drop-before { box-shadow:inset 3px 0 var(--accent); }
.ingredient-table thead .column-drop-after { box-shadow:inset -3px 0 var(--accent); }
.library-action-heading { display:block; padding:10px 14px; }
.library-empty { padding:20px; color:var(--muted); }
.signatory-logo { display:block; max-width:110px; height:36px; object-fit:contain; }
.review-badge { display:inline-block; padding:3px 10px; border-radius:20px; background:#f3eee9; font-size:12px; }
.review-badge.approved { background:#e6f2e9; color:#225f36; }
.review-badge.rejected { background:#fae9e5; color:#983d2d; }
.review-badge.archived { color:#666; }
.ingredient-table .admin-row-actions { gap:6px; }
.ingredient-table .admin-row-actions .button { min-height:36px; padding:6px 10px; }
@media(max-width:760px) {
  body:has(admin-app) main { padding:28px 16px; }
  .ingredient-table th:first-child { max-width:160px; }
}

.override-confirmation { display: flex; align-items: center; gap: 10px; }
.override-confirmation input[type=checkbox] { width: 18px; height: 18px; min-height: 18px; margin: 0; padding: 0; flex: 0 0 auto; accent-color: var(--accent); }

.mailing-list-opt-in { display: flex; align-items: center; gap: 10px; }
.mailing-list-opt-in input[type=checkbox] { width: 18px; height: 18px; min-height: 18px; margin: 0; padding: 0; flex: 0 0 auto; accent-color: var(--accent); }

.supporter-logos { margin: 0 0 32px; padding: 16px 0; outline: 1px solid transparent; border-radius: 8px; }
.supporter-logos.is-editing { outline-color: #a5adb5; }
.supporter-logo-grid { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: flex-start; gap: 24px; }
.supporter-logo { width: 168px; margin: 0; text-align: left; }
.supporter-logo figcaption { text-align: center; margin-top: 6px; font-size: 14px; line-height: 1.4; font-weight: 600; overflow-wrap: anywhere; }
.supporter-logo-grid img { display: block; width: 168px; height: 96px; padding: 5px; object-fit: contain; }
#signatures-heading { margin: 32px 0 12px; font-size: clamp(30px, 3vw, 36px); }
.supporter-logos h3 { font-size: clamp(24px, 2.2vw, 28px); line-height: 1.25; color: var(--muted); }
.letter-sign-link { margin-top: 20px; }
#sign-letter { scroll-margin-top: 24px; }


/* Edit mode preserves the public logo sizes, spacing and wrapping. */
.supporter-order-card { width: 168px; flex: 0 0 168px; outline: 1px dashed #a5adb5; outline-offset: 6px; cursor: grab; touch-action: none; user-select: none; }
.supporter-order-card img { display: block; pointer-events: none; }
.supporter-order-card.is-dragging { opacity: .45; cursor: grabbing; }
.supporter-order-card.drop-target { outline: 2px solid var(--accent); }
.supporter-logos[aria-busy="true"] .supporter-order-card { cursor: wait; }
.order-feedback { font-size: 12px; color: var(--muted); }
.order-feedback:empty { display: none; }

.signing-capacity legend { font-weight: 700; }
.signing-capacity legend { margin-bottom: 10px; }
.signing-capacity label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 15px;
  margin-bottom: 0;
  border: 1px solid #c99a80;
  border-radius: 6px;
  background: #fff8f2;
  color: #504039;
  cursor: pointer;
}
.signing-capacity label + label { margin-top: 8px; }
.signing-capacity label strong { font-size: 14px; }
.signing-capacity label:hover { border-color: var(--accent-dark); }
.signing-capacity label:has(:checked) { background: #f7dfce; border-color: var(--accent); color: var(--ink); }
.signing-capacity label:has(:focus-visible) { outline: 3px solid #2465a1; outline-offset: 3px; }
.signing-capacity input:focus-visible { outline: none; }
.signing-capacity label span { font-weight: 400; }
.signing-capacity input[type=checkbox] { flex: 0 0 18px; width: 18px; height: 18px; min-height: 18px; margin: 2px 0 0; padding: 0; accent-color: var(--accent); }

.individual-signatures { margin-top: 48px; }
.individual-signatures ul { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr)); gap: 16px; }
.individual-signatures li strong { font-weight: 800; }
.individual-signatures li span { display: block; color: var(--muted); font-size: 14px; }

.capacity-summary { margin: 2px 0 22px; padding: 14px 16px; border-left: 3px solid var(--accent); border-radius: 0 5px 5px 0; background: rgba(255, 253, 251, .6); }
.capacity-summary-title { display: block; font-size: 11px; font-weight: 700; color: var(--accent-dark); margin-bottom: 5px; }
.capacity-summary-text { margin: 0; font-size: 12px; line-height: 1.65; color: #6c6058; }
.capacity-summary.is-empty { border-left-color: #b69a86; }
.capacity-summary.is-empty .capacity-summary-title { color: #6c6058; }

/* Optional details follow the compact, warm signing form. */
.optional-page { max-width: 560px; }
.optional-page .confirmation-banner { border: 0; margin: 0 0 16px; padding: 0 4px; font-size: 12px; }
.optional-page .panel { padding: 30px; }
optional-details { display: block; }
optional-details h2 { margin: 10px 0; font-size: 28px; letter-spacing: -.7px; }
.optional-page .form-intro { margin: 0 0 26px; font-size: 13px; line-height: 1.65; color: var(--muted); }
.optional-page .field-hint { font-size: 11px; line-height: 1.6; margin-top: -5px; margin-bottom: 20px; }
.optional-logo { border-top: 1px solid var(--line); padding-top: 18px; margin: 24px 0; }
.optional-logo legend { padding: 0 10px 0 0; }
.optional-logo .logo-options { gap: 8px; margin-bottom: 14px; }
.optional-logo .logo-options label { flex: 1; justify-content: center; gap: 7px; border: 1px solid #ccb9ad; border-radius: 4px; padding: 9px 8px; margin: 0; font-size: 11px; cursor: pointer; }
.optional-logo .logo-options label:has(:checked) { border-color: var(--accent); background: #f7dfce; }
.optional-logo .file-label { font-size: 11px; }
.optional-logo input[type=file] { background: rgba(255,253,251,.6); padding: 18px 12px; }
.optional-logo input[type=file]::file-selector-button { border: 0; border-radius: 3px; background: #ead0bf; color: var(--ink); padding: 8px 10px; margin-right: 12px; cursor: pointer; }
.optional-page .mailing-list-opt-in { align-items: flex-start; border-top: 1px solid var(--line); padding-top: 20px; margin-bottom: 24px; line-height: 1.5; }
.optional-page .mailing-list-opt-in input { margin-top: 1px; }
.opt-in-hint { display: block; margin-top: 4px; font-size: 11px; font-weight: 400; color: var(--muted); }
.optional-page .skip { display: block; width: 100%; margin: 10px 0 0; text-align: center; color: var(--muted); }
@media (max-width: 600px) { .optional-page .panel { padding: 24px 20px; } }

/* Shared invitation card on the details and thank-you screens. */
.private-share { display: flex; gap: 14px; border: 1px solid #ddc8b9; border-radius: 8px; background: #fff8f2; margin-top: 28px; padding: 20px; }
.share-icon { display: grid; place-items: center; flex: 0 0 34px; height: 34px; border-radius: 50%; background: #f2dfd0; color: var(--accent); font-size: 21px; }
.share-content { min-width: 0; flex: 1; }
.private-share h3 { margin: 2px 0 7px; font-size: 14px; line-height: 1.4; }
.optional-page .private-share p { margin: 0; font-size: 12px; line-height: 1.65; color: var(--muted); overflow-wrap: anywhere; }
.optional-page .private-share .button { margin-top: 15px; min-height: 40px; background: transparent; }
.private-share .button:hover { background: #f2dfd0; }
.optional-page .private-share .share-feedback:not(:empty) { margin-top: 10px; color: #275c3b; }
.private-share .share-feedback:empty { display: none; }
@media (max-width: 400px) { .private-share { padding: 16px; gap: 10px; } .share-icon { display: none; } }

.embargo-banner { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 22px max(24px, calc((100vw - 1280px) / 2)); background: var(--panel); color: var(--ink); border-bottom: 1px solid #ddc8b9; }
.embargo-banner[hidden], .embargo-clock[hidden] { display: none; }
.embargo-tag { display: block; color: var(--accent-dark); font-size: clamp(18px, 2vw, 24px); font-weight: 800; line-height: 1.3; letter-spacing: 1px; margin-bottom: 8px; }
.embargo-copy strong { display: block; font-size: 15px; line-height: 1.5; }
.embargo-copy p { margin: 5px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; max-width: 680px; }
.embargo-clock { flex-shrink: 0; }
.embargo-clock-label { display: block; font-size: 10px; color: var(--muted); margin-bottom: 7px; }
.embargo-countdown { display: flex; gap: 8px; }
.embargo-unit { display: flex; flex-direction: column; align-items: center; min-width: 48px; padding: 6px 9px; background: #fff8f2; border: 1px solid #ddc8b9; border-radius: 5px; }
.embargo-unit b { color: var(--accent-dark); font-size: 22px; font-weight: 600; font-variant-numeric: tabular-nums; line-height: 1.25; }
.embargo-unit > span { color: var(--muted); font-size: 9px; }
@media (max-width: 700px) { .embargo-banner { flex-direction: column; align-items: flex-start; gap: 16px; padding: 20px; } .embargo-clock { display: flex; align-items: center; gap: 14px; } .embargo-clock-label { max-width: 70px; margin: 0; } .embargo-unit { min-width: 42px; } }

.optional-logo .logo-options { display: grid; grid-template-columns: 1fr; gap: 3px; margin-bottom: 14px; }
.optional-logo .logo-options label,
.optional-logo .logo-options label:first-child { justify-content: flex-start; gap: 10px; padding: 9px 10px; border: 1px solid transparent; border-radius: 4px; font-size: 12px; font-weight: 400; }
.optional-logo .logo-options label:has(:checked) { background: #f7dfce; border-color: #d9b49a; color: var(--accent-dark); font-weight: 600; }
.optional-logo .logo-options input { width: 15px; height: 15px; margin: 0; flex-shrink: 0; }
.optional-logo .logo-options label:has(:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.optional-logo { padding-top: 10px; }
.optional-logo .file-label { margin-bottom: 10px; }
.optional-logo input[type=file] { width: 100%; margin-top: 0; padding: 8px; border: 1px solid #ccb9ad; border-radius: 4px; background: #fffdfb; font-size: 11px; font-weight: 400; }
.optional-logo input[type=file]::file-selector-button { background: #f2e5db; font-size: 11px; font-weight: 600; padding: 8px 11px; }
.optional-page .optional-logo .logo-format-hint { font-size: 10px; margin: 0; }

/* Keep the optional form on a consistent vertical rhythm. */
.optional-page optional-details > h2 { margin: 0 0 24px; }
.optional-page optional-details form > label { margin-bottom: 20px; }
.optional-page .optional-logo { margin: 24px 0; }
.optional-page .optional-logo legend { margin-bottom: 8px; }
.optional-page .logo-options { margin-bottom: 0; }
.optional-page .upload-field:not([hidden]),
.optional-page .url-field:not([hidden]) { margin-top: 14px; }
.optional-page .mailing-list-opt-in { margin-top: 24px; margin-bottom: 24px; }
.optional-page form > .button.primary { margin-top: 0; }
.optional-page .private-share { margin-top: 24px; }

.letter-copies { margin: 24px 0; padding-left: 14px; border-left: 2px solid var(--line); color: var(--muted); font-size: 12px; line-height: 1.7; }
.letter-copies-label { display: block; font-size: 10px; font-weight: 700; letter-spacing: .7px; text-transform: uppercase; margin-bottom: 5px; }
.letter-copies ul { list-style: none; padding: 0; margin: 0; }

.page-intro h1 { margin-bottom: 8px; }

.order-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 20px; font-size: 12px; color: var(--muted); }
.order-done { border: 1px solid #c99a80; border-radius: 4px; padding: 5px 14px; background: #fff8f2; color: var(--accent-dark); font-size: 12px; font-weight: 600; }
.individual-order-card { width: auto; min-width: 0; padding: 10px; border-radius: 4px; }
.supporter-logos.is-editing { padding: 16px 12px; }

.page-intro { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.headline-copy { min-width: 0; }
.headline-qr { flex: 0 0 112px; text-align: center; text-decoration: none; color: var(--muted); margin-top: 3px; background: #fff; border: 1px solid var(--line); border-radius: 5px; overflow: hidden; }
.headline-qr img { display: block; width: 100%; height: auto; background: #fff; }
.headline-qr span { display: block; font-size: 9px; line-height: 1.4; padding: 0 4px 8px; }
@media (max-width: 1100px) and (min-width: 701px), (max-width: 500px) { .page-intro { flex-wrap: wrap; gap: 0; } .headline-qr { margin: 0 0 24px; } }

.mail-refresh { max-width: 160px; }
.test-mail { border: 1px solid var(--line); border-radius: 6px; margin: 12px 0; background: #fffdfb; }
.test-mail summary { cursor: pointer; padding: 16px; }
.test-mail summary span, .test-mail time { display: block; font-size: 12px; color: var(--muted); margin-top: 4px; }
.test-mail-body { border-top: 1px solid var(--line); padding: 16px; }
.test-mail pre { white-space: pre-wrap; overflow-wrap: anywhere; font-family: inherit; font-size: 13px; line-height: 1.7; }
.test-mail-body .button { max-width: 260px; }
