:root {
  color-scheme:light;
  --wine:#780e25;
  --ink:#292421;
  --muted:#655d55;
  --line:#ded6ca;
  --paper:#fff;
  --cream:#f7f3eb;
  --gold:#e6bd64;
  font:18px/1.45 system-ui,-apple-system,sans-serif;
  color:var(--ink);
  background:var(--cream)
}
* {
  box-sizing:border-box
}
[hidden] {
  display:none!important
}
body {
  margin:0
}
a {
  color:var(--wine)
}
button,input,select,textarea {
  font:inherit
}
button,a,input,select,textarea {
  touch-action:manipulation
}
button {
  min-height:44px;
  border:1px solid #9d8f82;
  border-radius:7px;
  padding:9px 15px;
  background:#fff;
  color:var(--wine);
  font-weight:650;
  cursor:pointer
}
button:hover:not(:disabled) {
  background:#f6eee4
}
button.primary {
  background:var(--wine);
  border-color:var(--wine);
  color:#fff
}
button.primary:hover:not(:disabled) {
  background:#56091a
}
button:disabled {
  opacity:.55;
  cursor:not-allowed
}
button.danger {
  color:#9b142b;
  border-color:#9b142b
}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,[tabindex]:focus-visible {
  outline:3px solid #1676b5;
  outline-offset:3px
}
.skip-link {
  position:absolute;
  left:12px;
  top:-80px;
  background:white;
  padding:12px;
  z-index:4
}
.skip-link:focus {
  top:10px
}
header {
  background:#460b18;
  color:#fff;
  display:flex;
  align-items:center;
  gap:20px;
  padding:16px max(24px,calc((100vw - 1400px)/2));
  font-size:16px
}
header .brand {
  font:bold 27px Georgia,serif;
  color:#fff;
  text-decoration:none
}
header>a:last-child {
  margin-left:auto;
  color:#fff
}
main {
  max-width:1450px;
  padding:27px 32px 48px;
  margin:auto
}
.page-heading {
  display:flex;
  justify-content:space-between;
  gap:20px;
  align-items:center
}
.eyebrow {
  font-size:12px;
  letter-spacing:.13em;
  font-weight:750;
  color:var(--muted);
  margin:0 0 5px
}
h1 {
  font:700 36px/1.2 Georgia,serif;
  margin:0
}
nav {
  display:flex;
  gap:4px;
  background:#eae3d9;
  padding:4px;
  border-radius:9px
}
nav a {
  padding:10px 16px;
  min-height:44px;
  text-decoration:none;
  font-weight:650;
  font-size:16px;
  border-radius:6px
}
nav a[aria-current] {
  background:#fff;
  box-shadow:0 1px 4px #0001
}
#queue-count {
  display:inline-block;
  background:#780e25;
  color:white;
  border-radius:20px;
  padding:0 7px;
  font-size:13px
}
.demo-note {
  font-size:14px;
  border-left:3px solid var(--gold);
  padding:8px 12px;
  background:#fff9e9;
  margin:20px 0 16px
}
.workspace-tools {
  display:flex;
  align-items:center;
  gap:10px;
  margin:0 0 16px;
  font-size:16px
}
.workspace-tools label {
  display:flex;
  align-items:center;
  gap:10px;
  margin-right:auto
}
.workspace-tools select {
  max-width:300px
}
.status-chip {
  display:inline-block;
  border-radius:20px;
  background:#f3eadc;
  color:#63451e;
  font-size:13px;
  font-weight:700;
  padding:5px 10px
}
.entry-layout {
  display:grid;
  grid-template-columns:minmax(0,1.2fr) minmax(360px,.85fr);
  gap:22px;
  align-items:start
}
fieldset {
  border:0;
  padding:0;
  margin:0;
  min-width:0
}
.panel {
  padding:19px 21px;
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:11px;
  margin-bottom:15px
}
.panel h2 {
  font-size:20px;
  margin:0 0 15px;
  display:flex;
  gap:9px;
  align-items:center
}
.panel h2>span {
  font-size:13px;
  background:#f2e8dd;
  width:24px;
  height:24px;
  border-radius:50%;
  display:grid;
  place-items:center;
  color:var(--wine)
}
h2 small {
  margin-left:auto;
  font-size:12px;
  color:var(--muted);
  font-weight:500;
  background:#f0efeb;
  padding:3px 9px;
  border-radius:20px
}
.field-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:11px 16px
}
label {
  display:block;
  font-size:16px;
  font-weight:650
}
label.wide {
  grid-column:1/-1
}
input:not([type=checkbox]),select,textarea {
  display:block;
  width:100%;
  min-width:0;
  min-height:44px;
  margin:5px 0 0;
  border:1px solid #aa9e90;
  border-radius:6px;
  padding:8px 10px;
  background:white;
  color:var(--ink);
  font-size:18px
}
textarea {
  resize:vertical
}
input::placeholder,textarea::placeholder {
  color:#7a7269;
  font-size:16px
}
input[type=checkbox] {
  width:20px;
  height:20px;
  accent-color:var(--wine);
  flex-shrink:0;
  margin:2px 0 0
}
.hint {
  font-size:14px;
  line-height:1.5;
  color:var(--muted);
  margin:11px 0 0
}
.acknowledgements label,.check-label {
  display:flex;
  gap:10px;
  align-items:flex-start;
  font-size:16px;
  font-weight:450;
  margin:11px 0
}
.field-error {
  display:block;
  color:#9e1022;
  font-size:14px;
  font-weight:550
}
.field-error:empty {
  display:none
}
[aria-invalid=true] {
  border-color:#b41c2c!important;
  background:#fff7f7!important
}
.entry-actions {
  display:flex;
  gap:10px;
  flex-wrap:wrap
}
.entry-actions .primary {
  margin-left:auto
}
#entry-message,#review-message {
  font-size:16px;
  color:#275d43;
  min-height:24px
}
.feedback,.error-summary {
  padding:14px 18px;
  background:#fff3d8;
  border:1px solid #dab46b;
  border-radius:8px;
  margin-bottom:15px
}
.error-summary {
  background:#fff4f3;
  border-color:#cc8a8a;
  color:#8b1320
}
.error-summary a {
  display:block;
  margin-top:4px
}
.flyer-workspace {
  position:sticky;
  top:18px
}
.panel-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:6px
}
.panel-heading h2 {
  margin:0
}
.flyer-workspace label {
  margin-top:15px
}
.upload-label span {
  font-weight:400;
  color:var(--muted);
  font-size:14px
}
.upload-label input {
  font-size:14px;
  padding:7px
}
input::file-selector-button {
  border:0;
  background:#eee6db;
  color:#483a32;
  padding:7px 10px;
  border-radius:4px;
  margin-right:10px;
  cursor:pointer
}
#reference-preview {
  display:flex;
  align-items:center;
  gap:10px;
  font-size:14px;
  margin-top:10px;
  overflow-wrap:anywhere
}
#reference-thumb {
  width:52px;
  height:52px;
  object-fit:contain;
  border:1px solid var(--line);
  border-radius:5px
}
#reference-preview button {
  margin-left:auto;
  font-size:14px;
  padding:5px 9px
}
.service-note {
  font-size:14px;
  background:#f4f2ed;
  padding:10px;
  border-radius:6px
}
.generation-actions {
  display:flex;
  gap:10px;
  flex-wrap:wrap
}
.generation-actions button {
  flex:1;
  font-size:16px
}
#flyer-message {
  font-size:15px;
  min-height:22px;
  margin:10px 0
}
.flyer-placeholder {
  min-height:300px;
  border:1px dashed #c5b9a9;
  background:#f9f6f0;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  color:#72675a;
  text-align:center;
  border-radius:7px;
  padding:20px
}
.flyer-placeholder>span {
  font:24px Georgia,serif
}
.flyer-placeholder>p {
  font-size:15px;
  max-width:260px
}
.flyer-image {
  display:block;
  width:100%;
  height:auto;
  border-radius:6px;
  border:1px solid #d9cec0
}
.flyer-image.small {
  max-width:300px;
  margin:auto
}
#flyer-preview:has(img) {
  padding:0;
  border:0;
  min-height:0;
  background:transparent
}
.committee-intro {
  max-width:850px
}
.committee-intro h2 {
  font:700 28px Georgia,serif
}
.committee-intro p {
  color:var(--muted)
}
.review-card {
  display:grid;
  grid-template-columns:300px 1fr;
  gap:24px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:12px;
  padding:24px;
  margin:20px 0
}
.review-card h3 {
  font:700 25px Georgia,serif;
  margin:0 0 8px
}
.review-card dl {
  display:grid;
  grid-template-columns:120px 1fr;
  gap:5px 12px;
  font-size:16px
}
.review-card dt {
  font-weight:650
}
.review-card dd {
  margin:0;
  overflow-wrap:anywhere
}
.review-card textarea {
  margin:8px 0 14px
}
.review-actions {
  display:flex;
  flex-wrap:wrap;
  gap:10px
}
.review-actions button {
  font-size:16px
}
.review-card .flyer-caption {
  font-size:14px;
  color:var(--muted)
}
.empty {
  padding:35px;
  background:#fff;
  border:1px dashed var(--line);
  border-radius:10px
}
.empty a {
  display:inline-block;
  margin-top:10px
}
.review-error {
  color:#9e1022;
  font-size:16px
}
.review-card p {
  overflow-wrap:anywhere
}
@media(min-width:1250px) {
  .field-grid {
    grid-template-columns:repeat(4,minmax(0,1fr))
  }
  .field-grid>label {
    grid-column:span 2
  }
  .field-grid>label.wide {
    grid-column:1/-1
  }
  .field-grid>label:has(#date),.field-grid>label:has(#start),.field-grid>label:has(#end) {
    grid-column:span 1
  }
  .field-grid>label:has(#category) {
    grid-column:span 1
  }
}
@media(max-width:900px) {
  main {
    padding:20px 18px
  }
  .page-heading {
    align-items:flex-start;
    flex-direction:column
  }
  .entry-layout {
    grid-template-columns:minmax(0,1fr) minmax(300px,.8fr);
    gap:14px
  }
  .panel {
    padding:16px
  }
  .workspace-tools {
    flex-wrap:wrap
  }
  .workspace-tools label {
    width:100%
  }
  .flyer-workspace {
    position:static
  }
}
@media(max-width:700px) {
  header {
    padding:15px;
    gap:10px;
    flex-wrap:wrap
  }
  header>span {
    display:none
  }
  header .brand {
    font-size:23px
  }
  header>a:last-child {
    font-size:14px
  }
  main {
    padding:20px 14px
  }
  h1 {
    font-size:32px
  }
  nav {
    width:100%
  }
  nav a {
    flex:1;
    text-align:center;
    font-size:15px;
    padding:10px
  }
  .entry-layout {
    display:flex;
    flex-direction:column
  }
  .entry-layout form,.flyer-workspace {
    width:100%
  }
  .flyer-workspace {
    order:-1
  }
  .field-grid {
    gap:12px
  }
  .workspace-tools select {
    max-width:230px
  }
  .review-card {
    grid-template-columns:1fr;
    padding:18px;
    gap:16px
  }
  .review-card>div:first-child {
    max-width:300px;
    margin:auto
  }
  .review-card dl {
    grid-template-columns:100px 1fr
  }
  .entry-actions .primary {
    margin-left:0
  }
  .panel h2 {
    font-size:20px
  }
}
/* Keep the desktop task compact while retaining full-size controls. */
.form-steps {
  display:flex;
  gap:5px;
  margin-bottom:10px
}
.form-steps button {
  font-size:16px;
  border-color:transparent;
  background:transparent;
  padding:8px 12px
}
.form-steps button[aria-current] {
  background:#fff;
  border-color:var(--line);
  box-shadow:inset 0 -3px var(--wine)
}
.flyer-workspace {
  position:static
}
.flyer-workspace .panel {
  margin-top:0
}
.flyer-workspace .panel-heading {
  margin-bottom:14px
}
.workspace-tools label {
  white-space:nowrap
}
.workspace-tools select {
  width:260px;
  max-width:260px
}
.flyer-workspace .flyer-image {
  max-width:380px;
  margin:auto
}
.flyer-workspace .flyer-image.small {
  max-width:300px
}
.flyer-placeholder {
  min-height:300px
}
#flyer-message:empty {
  display:none
}
.field-grid input,.field-grid select,.field-grid textarea {
  font-weight:400
}
.field-grid select {
  font-size:16px
}
.field-grid label:has(#price) {
  grid-column:1/-1
}
.hint {
  margin-top:8px
}
.panel {
  padding:16px 19px
}
.panel h2 {
  margin-bottom:10px
}
.field-grid {
  gap:9px 14px
}
main {
  padding-top:20px
}
.demo-note {
  margin:14px 0
}
.page-heading {
  min-height:62px
}
.workspace-tools {
  margin-bottom:12px
}
#storage-status {
  font-size:16px;
  margin:8px 0;
  color:#275d43
}
#storage-status[data-error=true] {
  color:#9e1022
}
#retry-save {
  margin-bottom:12px
}
.rsvp-preview {
  margin-top:12px;
  border-top:1px solid var(--line)
}
.rsvp-preview summary {
  padding:12px 0;
  min-height:44px;
  cursor:pointer;
  font-size:16px;
  font-weight:650;
  color:var(--wine)
}
.rsvp-preview h3 {
  font-size:20px;
  margin:8px 0
}
.rsvp-preview dt {
  font-weight:700;
  margin-top:12px
}
.rsvp-preview dd {
  margin:4px 0 14px
}
.rsvp-preview dd,.review-card dd {
  white-space:pre-line;
  overflow-wrap:anywhere
}
.announcement-choices legend {
  font-size:18px;
  font-weight:650
}
.committee-login { max-width:480px; }
.committee-login label { margin:12px 0; }
.committee-session { display:flex; align-items:center; gap:16px; flex-wrap:wrap; }
.review-checklist label { display:flex; gap:10px; align-items:flex-start; margin:12px 0; min-height:44px; font-weight:400; }
.review-checklist legend { font-weight:700; margin-top:16px; }
@media(max-width:700px) {
  .workspace-tools select {
    width:210px;
    max-width:210px
  }
  .form-steps button {
    flex:1;
    padding:8px;
    font-size:15px
  }
  .flyer-workspace {
    order:initial
  }
  .entry-actions .primary {
    margin-left:auto
  }
}

.account-page{max-width:560px}.account-page label{display:block;margin:18px 0}.account-page input{width:100%}.account-page button{margin:8px 8px 8px 0}.account-session{display:flex;align-items:center;gap:20px;flex-wrap:wrap}
