@import url("./fonts.css");
:root {
  font-family: Inter, Arial, sans-serif;
  color: #342e30;
  background: #faf9f7;
  font-synthesis: none;
  --brand: #742e44;
  --brand-soft: #f7edf0;
  --line: #e7e2df;
  --muted: #817779;
  --canvas: #eee9e4;
  --heading: "DM Serif Display", Georgia, serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 17px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: white;
  color: inherit;
  font-size: 13px;
  font-weight: 550;
  cursor: pointer;
  text-decoration: none;
  line-height: 1.3;
  transition:
    background 0.15s,
    border-color 0.15s;
}
button:hover,
.button:hover {
  background: #f3efec;
  border-color: #cdbfc3;
}
button:disabled {
  cursor: wait;
  opacity: 0.55;
}
button svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
button.primary,
.button.primary {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
button.primary:hover,
.button.primary:hover {
  filter: brightness(1.08);
}
button.quiet,
.button.quiet {
  background: transparent;
}
button.text-button,
.button.text-button {
  background: transparent;
  border-color: transparent;
  padding-inline: 10px;
}
button.text-button:hover,
.button.text-button:hover {
  background: var(--brand-soft);
}
button.icon-button {
  width: 38px;
  min-height: 38px;
  padding: 8px;
  border: 0;
  background: transparent;
}
button.icon-button span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.wide {
  width: 100%;
  margin-top: 12px;
}
.danger {
  color: #a22a34;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid #8dacc7;
  outline-offset: 3px;
}
a {
  color: var(--brand);
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-family: var(--heading);
  font-weight: 400;
}
h1 {
  font-size: 32px;
  letter-spacing: -0.6px;
  margin-bottom: 10px;
}
h2 {
  font-size: 25px;
}
h3 {
  font-size: 21px;
}
p {
  line-height: 1.6;
}
small,
.note {
  font-size: 12px;
  line-height: 1.55;
  color: var(--muted);
}
.muted {
  color: var(--muted);
  font-size: 14px;
}
.error {
  color: #a22a34 !important;
}
.top {
  height: 76px;
  display: flex;
  align-items: center;
  gap: 27px;
  padding: 0 28px;
  border-bottom: 1px solid var(--line);
  background: #fff;
  position: relative;
  z-index: 10;
}
.brand {
  font-family: var(--heading);
  font-size: 27px;
  font-weight: 600;
  letter-spacing: -1px;
  text-decoration: none;
  color: var(--brand);
}
.top nav {
  font-size: 13px;
}
.my-invitations {
  color: #5d5357;
  text-decoration: none;
  padding-left: 24px;
  border-left: 1px solid var(--line);
}
.document-title {
  margin: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 12px;
  max-width: 360px;
  overflow: hidden;
}
.document-title > span:first-child {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  font-weight: 550;
}
.save-status {
  font-size: 11px;
  color: var(--muted);
  cursor: pointer;
}
.header-actions {
  display: flex;
  gap: 9px;
  align-items: center;
}
.studio {
  display: grid;
  grid-template-columns: minmax(380px, 450px) 1fr;
  height: calc(100dvh - 149px);
  min-height: 520px;
}
.editor-panel {
  background: #fff;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
  min-height: 0;
}
.section-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
  padding: 9px 13px 0;
  gap: 3px;
}
.section-tab {
  flex-direction: column;
  gap: 7px;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  padding: 12px 2px 15px;
  background: transparent;
  font-size: 10px;
  color: var(--muted);
  min-height: 71px;
}
.section-tab svg {
  width: 20px;
  height: 20px;
}
.section-tab[aria-current="step"] {
  color: var(--brand);
  border-bottom-color: var(--brand);
  background: linear-gradient(transparent, var(--brand-soft));
}
.editor-form {
  padding: 28px 31px 32px;
  overflow-y: auto;
  min-height: 0;
  scrollbar-width: thin;
}
.form-section[hidden],
[hidden] {
  display: none !important;
}
.section-intro {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 26px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  font-weight: 550;
  margin-bottom: 19px;
  min-width: 0;
}
.field > span {
  line-height: 1.4;
}
.field input,
.field select,
.field textarea,
.modal > input {
  width: 100%;
  min-width: 0;
  background: #fff;
  border: 1px solid #dfd9d7;
  border-radius: 8px;
  padding: 11px 12px;
  min-height: 42px;
  color: #433a3e;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
}
.field textarea {
  resize: vertical;
  min-height: 91px;
}
.field textarea[name="message"] {
  min-height: 100px;
}
.field input::placeholder,
.field textarea::placeholder {
  color: #aaa0a2;
}
.field small {
  font-weight: 400;
}
.pair {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 12px;
}
.preview-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  padding: 24px 34px;
  background: var(--canvas);
  overflow: auto;
  position: relative;
}
.stage-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-size: 11px;
  color: #7d7372;
  margin-bottom: 18px;
}
.live-label {
  display: flex;
  align-items: center;
  gap: 6px;
}
.live-label:before {
  content: "";
  width: 5px;
  height: 5px;
  background: #658364;
  border-radius: 50%;
}
.card {
  position: relative;
  container-type: inline-size;
  background: var(--paper, #fff8ee);
  color: var(--ink, #742e44);
  overflow: hidden;
  isolation: isolate;
}
.card > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2/3;
  object-fit: cover;
}
.editor-card {
  width: min(100%, calc((100dvh - 300px) * 0.6667));
  min-width: 250px;
  max-width: 430px;
  flex-shrink: 0;
  border-radius: 3px;
  box-shadow:
    0 18px 45px #5a413024,
    0 2px 4px #5a41301a;
}
.card-copy {
  position: absolute;
  inset: 28% 14% 25%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}
.card-copy .overline {
  font-size: 2.15cqw;
  line-height: 1.4;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 5cqw;
}
.card-copy h2 {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 10.2cqw;
  line-height: 1.03;
  letter-spacing: -0.04em;
  margin: 0 0 3cqw;
  overflow-wrap: anywhere;
  max-width: 100%;
  font-weight: 400;
}
.card-copy h3 {
  font-size: 3.5cqw;
  line-height: 1.4;
  margin: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.card-copy p {
  font-size: 2.65cqw;
  line-height: 1.55;
  margin: 0 0 1.7cqw;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.card-copy .rule {
  height: 1px;
  width: 10cqw;
  background: var(--accent, #b78d60);
  margin: 4cqw auto;
}
.card[data-font="romantic"] .card-copy h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-size: 11.2cqw;
}
.card[data-font="modern"] .card-copy h2,
.card[data-font="modern"] .card-copy h3 {
  font-family: Inter, Arial, sans-serif;
  font-weight: 400;
  letter-spacing: -0.045em;
}
.save-date {
  margin-top: 23px;
  background: transparent;
  border: 0;
  color: #716365;
  font-size: 12px;
}
.stage-note {
  font-family: var(--heading);
  font-style: italic;
  color: #988585;
  font-size: 14px;
  margin: 7px 0 0;
}
.editor-footer {
  min-height: 73px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 14px 28px;
  background: #fff;
  border-top: 1px solid var(--line);
  position: relative;
  z-index: 10;
}
.footer-note {
  margin-right: auto;
  font-size: 12px;
  color: var(--muted);
  font-family: var(--heading);
  font-style: italic;
}
.theme-picker {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 15px 0 26px;
}
.theme-choice {
  padding: 5px;
  min-width: 0;
  flex-direction: column;
  gap: 8px;
  font-size: 10px;
  line-height: 1.4;
  background: #faf8f6;
  border-radius: 8px;
}
.theme-choice img {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
  border-radius: 4px;
}
.theme-choice > span {
  padding: 2px 0 4px;
}
.theme-choice[aria-pressed="true"] {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  background: var(--brand-soft);
  color: var(--brand);
}
.form-section > h2 {
  font-size: 21px;
  margin-top: 22px;
}
.games-card {
  padding: 20px;
  background: var(--brand-soft);
  border-radius: 10px;
  margin-top: 24px;
}
.games-card h2 {
  font-size: 23px;
  margin-bottom: 8px;
}
.games-card p {
  font-size: 12px;
  margin-bottom: 0;
}
.guest-summary .seat-total {
  font-family: var(--heading);
  font-size: 19px;
  color: var(--ink, inherit);
  margin: 14px 0 0;
}
.app-bridge {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 20px;
}
.app-bridge h3 {
  font-size: 15px;
  margin-bottom: 6px;
}
.app-bridge .actions {
  margin-top: 10px;
}
.guest-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 17px 0 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
}
.guest-stats > div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.guest-stats strong {
  font-family: var(--heading);
  font-size: 27px;
  font-weight: 400;
  color: var(--brand);
}
.guest-stats span {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.4;
}
.guest-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.guest-heading h2 {
  font-size: 22px;
  margin: 0;
}
.guest-heading button {
  font-size: 11px;
  padding: 8px 10px;
}
.guest-empty {
  text-align: center;
  border: 1px dashed #dcd3ce;
  border-radius: 10px;
  padding: 29px 18px;
  margin: 22px 0 30px;
}
.guest-empty > svg {
  width: 27px;
  height: 27px;
  stroke: #967c7e;
  fill: none;
  stroke-width: 1.3;
}
.guest-empty h3 {
  font-size: 20px;
  line-height: 1.2;
  margin: 14px 0 8px;
}
.guest-empty p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
.guest-row {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  height: 33px;
  width: 33px;
  flex-shrink: 0;
  color: var(--brand);
  background: var(--brand-soft);
  font-family: var(--heading);
}
.guest-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
  flex: 1;
}
.guest-info strong {
  font-size: 12px;
  font-weight: 550;
  overflow-wrap: anywhere;
}
.guest-info .note {
  font-size: 10px;
  overflow-wrap: anywhere;
}
.badge {
  display: inline-block;
  font-size: 10px;
  color: #967144;
  background: #f9f0e2;
  padding: 4px 7px;
  border-radius: 4px;
  width: max-content;
  max-width: 100%;
}
.badge.yes,
.badge.published {
  background: #edf2e9;
  color: #486a4d;
}
.badge.no {
  background: #f4eeee;
  color: #8a6b6b;
}
.guest-actions {
  display: flex;
  flex-direction: column;
}
.guest-actions button {
  font-size: 10px;
  min-height: 29px;
  padding: 5px;
}
.toast {
  position: fixed;
  bottom: 88px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 90;
  max-width: min(90vw, 560px);
  background: #fff;
  padding: 14px 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 6px 30px #251c2024;
  font-size: 13px;
  line-height: 1.5;
}
.modal {
  width: min(480px, calc(100% - 32px));
  max-height: calc(100dvh - 48px);
  overflow: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 17px;
  padding: 26px;
  color: #342e30;
  box-shadow: 0 28px 100px #24182133;
}
.modal::backdrop {
  background: #29222766;
  backdrop-filter: blur(3px);
}
.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.modal-head h2 {
  font-size: 28px;
  line-height: 1.15;
  margin: 5px 0 0;
}
.modal-head .icon-button {
  margin: -5px -8px 0 0;
  flex-shrink: 0;
}
.modal .muted {
  font-size: 13px;
}
.form-feedback {
  font-size: 12px;
  color: var(--brand);
  margin: 15px 0 0;
  line-height: 1.55;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.live-url {
  display: block;
  border: 1px solid var(--line);
  padding: 15px;
  border-radius: 9px;
  background: #faf8f6;
  text-decoration: none;
  overflow-wrap: anywhere;
  font-size: 14px;
  margin: 22px 0 16px;
}
.published-modal > h3 {
  margin: 29px 0 0;
}
.preview-modal {
  width: min(480px, calc(100% - 26px));
  padding: 20px;
  background: #f7f3ef;
}
.preview-modal .card {
  border-radius: 4px;
}
.event-detail {
  padding: 28px 18px;
  display: grid;
  gap: 22px;
}
.event-detail h3 {
  font-size: 24px;
  margin-bottom: 6px;
}
.event-detail p {
  white-space: pre-line;
  font-size: 14px;
  margin: 0;
}
.event-detail .actions {
  margin-top: 6px;
}
.library {
  max-width: 1160px;
  margin: auto;
  padding: 55px 40px 80px;
}
.library-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9b7c78;
  margin: 0 0 12px;
}
.library h1 {
  font-size: 42px;
  margin: 0;
}
.sign-in-banner {
  background: var(--brand-soft);
  border-radius: 10px;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
}
.sign-in-banner p {
  font-size: 13px;
  margin: 0;
}
.library-empty {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 65px;
  align-items: center;
  padding: 45px 60px;
  background: #f0eae3;
  border-radius: 16px;
}
.library-empty img {
  width: 100%;
  box-shadow: 0 12px 30px #3c222222;
  transform: rotate(-4deg);
  border-radius: 3px;
}
.library-empty h2 {
  font-size: 37px;
  line-height: 1.15;
  max-width: 430px;
}
.library-empty p {
  font-size: 14px;
  color: #7e6e6b;
  max-width: 380px;
  margin: 20px 0 26px;
}
.invitation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.invitation-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
  overflow: hidden;
}
.library-art {
  width: 100%;
  height: 260px;
  background: var(--canvas);
  padding: 19px 52px;
}
.library-art > img {
  height: 100%;
  object-fit: cover;
}
.library-art .card-copy {
  inset: 27% 27% 24%;
}
.library-art .card-copy h2 {
  font-size: 6cqw;
}
.library-art .card-copy h3 {
  font-size: 2.3cqw;
}
.library-art .card-copy p {
  font-size: 1.65cqw;
}
.library-art .card-copy .overline {
  font-size: 1.2cqw;
  margin-bottom: 2cqw;
}
.library-art .card-copy .rule {
  margin: 2cqw auto;
  width: 7cqw;
}
.library-card-body {
  padding: 22px;
}
.library-card-body h2 {
  font-size: 25px;
  margin: 14px 0 8px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}
.library-card-body .note {
  font-size: 11px;
  margin: 0;
}
.attending {
  font-size: 11px;
  color: #63815c;
  margin: 14px 0 16px;
}
.library-card-body .actions {
  gap: 3px;
}
.library-card-body .actions button,
.library-card-body .actions a {
  font-size: 12px;
}
.event-page {
  max-width: 540px;
  margin: auto;
  padding: 40px 20px 80px;
  min-height: calc(100dvh - 76px);
}
.event-page .card {
  border-radius: 8px;
  box-shadow: 0 10px 40px #39201d14;
}
.event-page .event-detail {
  padding: 36px 14px;
}
.envelope {
  display: flex;
  position: relative;
  flex-direction: column;
  justify-content: center;
  gap: 38px;
  width: 100%;
  min-height: 440px;
  margin: 50px auto;
  background: #efe6da;
  border: 1px solid #e0d4c5;
  border-radius: 8px;
  box-shadow: 0 20px 45px #41332418;
  overflow: hidden;
}
.envelope:before {
  content: "";
  position: absolute;
  width: 75%;
  aspect-ratio: 1;
  top: -48%;
  left: 12.5%;
  transform: rotate(45deg);
  border-right: 1px solid #dccfbd;
  border-bottom: 1px solid #dccfbd;
  background: #f6efe6;
  box-shadow: 8px 8px 22px #6c4d2d0c;
}
.envelope:hover {
  background: #f3eadd;
}
.envelope-to,
.envelope-cta,
.wax-seal {
  position: relative;
  z-index: 1;
}
.envelope-to {
  font-family: var(--heading);
  font-size: 26px;
  line-height: 1.3;
  margin-top: 20px;
}
.wax-seal {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  background: var(--seal);
  border-radius: 50%;
  color: #f4e2c0;
  border: 5px double #d3a4706b;
  box-shadow: 0 5px 14px #4e242644;
  font-family: var(--heading);
  font-size: 32px;
}
.envelope-cta {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: #866b62;
}
.opened {
  animation: reveal 0.6s ease both;
}
.rsvp-form {
  background: #fff;
  padding: 29px 25px;
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-top: 12px;
}
.rsvp-form h2 {
  font-size: 32px;
  margin-bottom: 10px;
}
.rsvp-form .muted {
  font-size: 12px;
}
.rsvp-choice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 25px 0;
}
.rsvp-choice [aria-pressed="true"] {
  border-color: var(--brand);
  background: var(--brand-soft);
  color: var(--brand);
}
.rsvp-choice button {
  font-size: 12px;
  min-height: 52px;
}
.rsvp-guests > p {
  font-size: 13px;
}
.guest-check {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.guest-check input {
  accent-color: var(--brand);
  width: 19px;
  height: 19px;
}
.rsvp-guests {
  margin-bottom: 24px;
}
.rsvp-form .fields {
  margin-top: 18px;
}
.rsvp-next {
  margin-top: 20px;
}
.empty-state {
  margin: 50px;
  font-size: 14px;
}
@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (min-width: 1500px) {
  .studio {
    grid-template-columns: 490px 1fr;
  }
  .editor-form {
    padding-inline: 45px;
  }
  .preview-stage {
    padding-inline: 55px;
  }
  .editor-card {
    max-width: 470px;
  }
}
@media (max-width: 1000px) {
  .top {
    padding-inline: 20px;
    gap: 16px;
  }
  .document-title {
    max-width: 190px;
  }
  .my-invitations {
    padding-left: 16px;
  }
  .studio {
    grid-template-columns: 390px 1fr;
  }
  .editor-form {
    padding: 25px;
  }
  .preview-stage {
    padding: 22px;
  }
  .header-actions button {
    padding-inline: 12px;
  }
  .library {
    padding: 40px 25px;
  }
  .invitation-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .top {
    height: 65px;
    gap: 15px;
    padding: 0 16px;
  }
  .brand {
    font-size: 25px;
  }
  .top nav {
    font-size: 11px;
  }
  .my-invitations {
    border: 0;
    padding: 0;
  }
  .document-title {
    display: none;
  }
  .header-actions {
    margin-left: auto;
    gap: 2px;
  }
  .header-actions > .quiet {
    display: none;
  }
  .header-actions .primary {
    min-height: 36px;
    font-size: 11px;
    padding: 8px 12px;
  }
  .header-actions .text-button {
    font-size: 11px;
    padding: 8px;
    min-height: 36px;
  }
  .studio {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 0;
    padding-bottom: 76px;
  }
  .editor-panel {
    border-right: 0;
    order: 2;
  }
  .section-tabs {
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 5;
    padding-inline: 12px;
  }
  .section-tab {
    min-height: 64px;
    padding: 10px 2px;
    font-size: 10px;
  }
  .editor-form {
    overflow: visible;
    padding: 27px 24px 35px;
  }
  .preview-stage {
    order: 1;
    padding: 18px 24px 20px;
    overflow: visible;
    min-height: 0;
  }
  .stage-head {
    margin-bottom: 15px;
    font-size: 10px;
  }
  .editor-card {
    width: 200px;
    min-width: 0;
    max-width: none;
  }
  .save-date {
    margin-top: 11px;
    padding: 6px;
    min-height: 28px;
    font-size: 11px;
  }
  .stage-note {
    display: none;
  }
  .editor-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    min-height: 72px;
    padding: 12px 13px calc(12px + env(safe-area-inset-bottom));
    gap: 5px;
    box-shadow: 0 -3px 20px #3525220a;
  }
  .editor-footer button {
    font-size: 11px;
    padding: 10px 12px;
    min-height: 42px;
  }
  .editor-footer .primary {
    margin-left: auto;
  }
  .editor-footer .footer-note {
    display: none;
  }
  .form-section h1 {
    font-size: 30px;
  }
  .theme-picker {
    gap: 13px;
  }
  .theme-choice {
    font-size: 11px;
  }
  .modal {
    padding: 23px;
    max-height: calc(100dvh - 32px);
  }
  .modal-head h2 {
    font-size: 26px;
  }
  .library {
    padding: 34px 20px 60px;
  }
  .library h1 {
    font-size: 34px;
  }
  .library-heading {
    align-items: flex-start;
    margin-bottom: 24px;
  }
  .library-heading > .button {
    font-size: 11px;
    max-width: 115px;
    text-align: center;
    margin-top: 8px;
  }
  .library .eyebrow {
    font-size: 8px;
    letter-spacing: 0.09em;
  }
  .sign-in-banner {
    padding: 14px;
    gap: 12px;
  }
  .sign-in-banner p {
    font-size: 11px;
  }
  .sign-in-banner button {
    font-size: 11px;
    flex-shrink: 0;
  }
  .library-empty {
    grid-template-columns: 110px 1fr;
    gap: 22px;
    padding: 25px 20px;
  }
  .library-empty h2 {
    font-size: 25px;
  }
  .library-empty p {
    font-size: 11px;
    margin: 14px 0;
  }
  .library-empty .button {
    font-size: 11px;
  }
  .invitation-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .library-art {
    height: auto;
    aspect-ratio: 1.25;
    padding: 25px 26%;
  }
  .library-art .card-copy {
    inset: 27% 28% 24%;
  }
  .library-art .card-copy h2 {
    font-size: 5.5cqw;
  }
  .event-page {
    padding: 20px 15px 50px;
  }
  .event-page .card {
    border-radius: 5px;
  }
  .event-detail {
    padding-inline: 10px;
  }
  .envelope {
    min-height: 390px;
    margin-top: 30px;
  }
  .envelope-to {
    font-size: 25px;
  }
  .rsvp-form {
    padding: 26px 20px;
  }
  .toast {
    bottom: 90px;
    min-width: 250px;
  }
  .field input,
  .field select,
  .field textarea {
    font-size: 16px;
  }
  .field > span {
    font-size: 12px;
  }
  .pair {
    grid-template-columns: 1.1fr 1fr;
  }
  .preview-modal {
    padding: 17px;
  }
  .library-card-body h2 {
    font-size: 27px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.mobile-save-status {
  display: none;
}
@media (max-width: 760px) {
  .mobile-save-status {
    display: block;
    position: absolute;
    top: -22px;
    left: 0;
    right: 0;
    height: 22px;
    text-align: center;
    font-size: 10px;
    line-height: 22px;
    background: #fff;
    color: var(--muted);
    border-top: 1px solid var(--line);
  }
}
