@import url("/fonts.css");
:root {
  --paper: #f7f5ef;
  --canvas: #faf9f5;
  --ink: #302e29;
  --muted: #65635b;
  --line: #dedbd2;
  --wine: #793944;
  --wine-dark: #5b2730;
  --sage: #e2e7db;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Inter", Arial, sans-serif;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--canvas);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  vertical-align: middle;
}
button svg,
a svg {
  pointer-events: none;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
}
h1 {
  font-size: clamp(38px, 4.25vw, 62px);
  line-height: 1.08;
  letter-spacing: -2px;
  margin-bottom: 14px;
}
h2 {
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: -0.7px;
}
h3 {
  font-size: 23px;
}
p {
  line-height: 1.65;
}
button {
  border: 0;
  background: none;
}
a,
button,
input,
textarea,
select {
  outline-offset: 5px;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--wine);
}
::selection {
  background: #ddc1bc;
  color: #302e29;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 100;
  background: var(--ink);
  color: white;
  padding: 14px;
}
.skip-link:focus {
  top: 12px;
}
.wordmark {
  font-family: var(--serif);
  font-size: 46px;
  font-style: italic;
  line-height: 1;
  letter-spacing: -3px;
  color: var(--wine);
  display: inline-block;
  white-space: nowrap;
}
.brand-dot {
  color: var(--wine);
}
.eyebrow,
.edition,
.brand-caption {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  line-height: 1.5;
}
.eyebrow {
  color: var(--wine);
  margin-bottom: 15px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 14px 21px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid transparent;
  border-radius: 3px;
  transition:
    background 0.16s,
    transform 0.16s;
  white-space: nowrap;
}
.button:hover {
  transform: translateY(-1px);
}
.primary {
  background: var(--wine);
  color: #fff9f1;
}
.primary:hover {
  background: var(--wine-dark);
}
.secondary {
  border-color: var(--line);
  background: transparent;
}
.secondary:hover {
  background: #eeece5;
}
.compact {
  min-height: 40px;
  padding: 10px 15px;
  font-size: 11px;
}
.full {
  width: 100%;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
  min-height: 38px;
  color: var(--wine);
  padding: 0;
}
.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.text-link svg {
  width: 18px;
}
.text-button {
  padding: 4px 0;
  text-align: left;
  font-size: 11px;
  text-decoration: underline;
  text-underline-offset: 3px;
  min-height: 32px;
}
.small-note {
  font-size: 11px;
  color: var(--muted);
}
.fine-print {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.65;
}
.fine-print svg {
  width: 13px;
  height: 13px;
  margin-right: 5px;
}
.initial-loading {
  min-height: 100vh;
  display: grid;
  align-content: center;
  justify-content: center;
  text-align: center;
  gap: 25px;
}
.initial-loading p {
  color: var(--muted);
  font-size: 13px;
}
.studio {
  display: grid;
  grid-template-columns: 216px minmax(0, 1fr);
  min-height: 100vh;
}
.sidebar {
  border-right: 1px solid var(--line);
  padding: 42px 24px 25px 30px;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  position: sticky;
  top: 0;
  height: 100vh;
}
.brand-caption {
  font-size: 8px;
  letter-spacing: 1.55px;
  margin: 16px 0 49px;
  color: var(--muted);
}
.sidebar nav {
  display: grid;
  gap: 10px;
  margin: 0 -10px;
}
.nav-item {
  min-height: 43px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: #65625c;
  padding: 12px;
  border-radius: 3px;
}
.nav-item.active {
  background: #ece6df;
  color: var(--wine);
}
.nav-item svg {
  width: 18px;
  height: 18px;
}
.nav-item:hover {
  background: #ece6df;
}
.sidebar-bottom {
  margin-top: auto;
  color: var(--muted);
  font-size: 10px;
}
.privacy-note {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--wine);
  font-size: 10px;
}
.privacy-note svg {
  width: 13px;
  height: 13px;
}
.sidebar-bottom > p:nth-child(2) {
  margin: 12px 0 24px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}
.account {
  display: flex;
  align-items: center;
  gap: 10px;
}
.avatar {
  width: 32px;
  height: 32px;
  background: #e8e4da;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  color: var(--wine);
  font-size: 17px;
}
.account strong {
  font-size: 11px;
  color: var(--ink);
  font-weight: 500;
}
.account .text-button {
  display: block;
  color: var(--muted);
  font-size: 10px;
  min-height: 20px;
}
.workspace {
  padding: 48px 56px 24px;
  max-width: 1510px;
  width: 100%;
  margin: auto;
}
.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 32px;
}
.page-header h1 {
  margin: 0;
}
.page-header .eyebrow {
  margin-bottom: 12px;
}
.intro-panel {
  background: #eeebe2;
  min-height: 315px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  position: relative;
  overflow: hidden;
  border: 1px solid #e7e2d7;
}
.intro-copy {
  padding: 34px 42px;
  z-index: 1;
}
.edition {
  font-size: 8px;
  letter-spacing: 1.6px;
  color: var(--muted);
  display: block;
  margin-bottom: 17px;
}
.intro-copy h2 {
  font-size: 38px;
  letter-spacing: -1.15px;
  margin-bottom: 15px;
}
.intro-copy p {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 14px;
  line-height: 1.8;
}
.stationery {
  width: 340px;
  height: 278px;
  position: relative;
  align-self: end;
  justify-self: center;
  transform: rotate(-7deg) translateY(31px);
  --card: #faf6e9;
  --accent: #793944;
}
.letter-peek {
  position: absolute;
  left: 28px;
  top: 0;
  width: 284px;
  height: 243px;
  background: var(--card);
  border: 1px solid #ddd3bc;
  outline: 1px solid var(--accent);
  outline-offset: -12px;
  box-shadow: 0 4px 15px #48392115;
  text-align: center;
  padding: 27px 25px;
  color: var(--accent);
  transform: rotate(11deg);
}
.letter-to {
  font-size: 7px;
  letter-spacing: 2px;
}
.letter-peek p {
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1.06;
  margin: 22px 0 16px;
  font-style: italic;
}
.letter-mark {
  font-family: var(--serif);
  font-size: 11px;
  font-style: italic;
}
.envelope-body {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 340px;
  height: 170px;
  background: #e6ddc9;
  box-shadow: 0 10px 25px #493d2920;
  overflow: hidden;
  border: 1px solid #d3c8b2;
}
.envelope-body:before,
.envelope-body:after {
  content: "";
  position: absolute;
  inset: 0;
  background: #eee6d4;
  clip-path: polygon(0 0, 55% 55%, 0 100%);
}
.envelope-body:after {
  transform: scaleX(-1);
}
.envelope-fold {
  position: absolute;
  inset: 0;
  z-index: 1;
  clip-path: polygon(0 100%, 50% 34%, 100% 100%);
  background: #f2ead8;
}
.seal {
  position: absolute;
  z-index: 2;
  left: calc(50% - 21px);
  top: 68px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: var(--wine);
  color: #ead9cd;
  border: 3px double #98545c;
  border-radius: 50%;
  font-family: var(--serif);
  font-style: italic;
  font-size: 26px;
  box-shadow: 1px 3px 3px #34241625;
}
.invitation-section {
  margin-top: 38px;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 19px;
}
.section-heading h2 {
  font-size: 25px;
  margin: 0;
}
.count {
  font: 10px var(--sans);
  color: var(--muted);
  vertical-align: middle;
  margin-left: 10px;
}
.filter-bar {
  display: flex;
  gap: 25px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 0;
}
.filter {
  font-size: 11px;
  padding: 7px 0 13px;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  min-height: 37px;
}
.filter.selected {
  color: var(--wine);
  border-bottom-color: var(--wine);
}
.table-head,
.invitation-row {
  display: grid;
  grid-template-columns:
    minmax(220px, 1.8fr) minmax(105px, 0.7fr) minmax(130px, 0.8fr)
    22px;
  gap: 16px;
  align-items: center;
}
.table-head {
  font-size: 8px;
  letter-spacing: 1.5px;
  color: var(--muted);
  padding: 18px 0 9px;
}
.invitation-row {
  min-height: 83px;
  border-bottom: 1px solid var(--line);
  transition: background 0.15s;
}
.invitation-row:hover {
  background: #f0ede5;
}
.row-title {
  display: flex;
  align-items: center;
  gap: 15px;
  min-width: 0;
}
.row-title strong {
  font-size: 13px;
  font-weight: 500;
  display: block;
  overflow-wrap: anywhere;
}
.row-title small {
  font-size: 10px;
  color: var(--muted);
  display: block;
  margin-top: 7px;
}
.mini-letter {
  width: 39px;
  height: 43px;
  background: #ede7dd;
  color: var(--wine);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.mini-letter svg {
  width: 20px;
}
.row-date {
  font-size: 11px;
  color: var(--muted);
}
.status {
  font-size: 10px;
  color: #6a6559;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}
.status i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.status.accepted {
  color: #4c6849;
}
.status.sent,
.status.opened,
.status.published {
  color: #876436;
}
.status.declined,
.status.expired {
  color: var(--wine);
}
.row-arrow svg {
  width: 17px;
  color: var(--muted);
}
.empty-state {
  display: flex;
  align-items: center;
  gap: 23px;
  padding: 29px 0 30px;
  border-bottom: 1px solid var(--line);
}
.empty-state h3 {
  font-size: 22px;
  margin: 0 0 6px;
}
.empty-state p {
  font-size: 11px;
  color: var(--muted);
  margin: 0;
}
.empty-state > .text-link {
  margin-left: auto;
}
.empty-letter {
  border: 1px solid var(--line);
  width: 48px;
  height: 56px;
  display: grid;
  place-items: center;
  color: var(--wine);
}
.empty-letter svg {
  width: 24px;
}
.collection-section {
  margin-top: 43px;
}
.collection-section .section-heading {
  align-items: end;
}
.collection-section .eyebrow {
  font-size: 8px;
  margin-bottom: 8px;
}
.template-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.template {
  padding: 0;
  text-align: left;
  display: block;
  width: 100%;
}
.template-art {
  position: relative;
  min-height: 197px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 27px 15px;
  background: #eee5d8;
  color: var(--wine);
  outline: 1px solid #ae887b;
  outline-offset: -11px;
  transition: transform 0.2s;
}
.template:hover .template-art {
  transform: translateY(-4px);
}
.specimen-top,
.specimen-bottom {
  font-size: 6px;
  letter-spacing: 1.3px;
}
.template-art p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 28px;
  text-align: center;
  line-height: 1.12;
  margin: 19px 0;
  letter-spacing: -0.5px;
}
.nocturne {
  background: #293a3c;
  color: #f0e9d8;
  --card: #293a3c;
  --accent: #f0e9d8;
  --recipient-bg: #233739;
  --recipient-ink: #f1ecdf;
  --recipient-muted: #bdc8c3;
  --recipient-line: #536566;
  --recipient-accent: #e1c6a4;
}
.garden {
  background: #e0e4d5;
  color: #3b5340;
  --card: #e0e4d5;
  --accent: #3b5340;
  --recipient-bg: #e7eadf;
  --recipient-ink: #304635;
  --recipient-muted: #53634f;
  --recipient-line: #bfc9b9;
  --recipient-accent: #36533b;
}
.template-art.nocturne {
  outline-color: #778783;
}
.template-art.garden {
  outline-color: #9aaa8b;
}
.template-meta {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
  padding: 15px 0;
}
.template-meta strong {
  display: block;
  font-size: 11px;
  font-weight: 500;
}
.template-meta small {
  display: block;
  font-size: 7px;
  color: var(--muted);
  letter-spacing: 1px;
  margin-top: 7px;
}
.template-meta svg {
  width: 17px;
  color: var(--muted);
}
.studio-footer {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  margin-top: 27px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 8px;
  letter-spacing: 1.2px;
  color: var(--muted);
}
.studio-footer a {
  letter-spacing: 0;
  text-decoration: underline;
}
.page-intro {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 35px;
  max-width: 650px;
}
.blank-start {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 35px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  margin-top: 42px;
}
.blank-start h2 {
  margin-bottom: 10px;
}
.blank-start p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.auth-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.auth-art {
  padding: 48px 64px;
  background: #eee9de;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 780px;
}
.auth-art > div {
  margin: auto 0;
  padding-top: 65px;
}
.auth-art h1 {
  font-size: 76px;
  margin-bottom: 25px;
}
.auth-art h1 em {
  color: var(--wine);
  font-weight: 400;
}
.auth-art .stationery {
  margin: 25px auto 30px;
  transform: rotate(-7deg);
}
.auth-footnote {
  font-size: 10px;
  color: var(--muted);
  margin: 25px 0 0;
}
.auth-main {
  padding: 45px 10%;
  display: flex;
  flex-direction: column;
}
.back-link {
  font-size: 11px;
  color: var(--muted);
}
.auth-form {
  margin: auto 0;
  padding: 55px 0;
  max-width: 400px;
  width: 100%;
  align-self: center;
}
.auth-form h2 {
  font-size: 36px;
}
.auth-form > p {
  color: var(--muted);
  font-size: 12px;
}
.auth-form form {
  margin-top: 28px;
}
.auth-switch {
  font-size: 12px;
  margin: 22px 0;
}
.auth-switch a {
  color: var(--wine);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.auth-form .fine-print {
  margin-top: 36px;
  font-size: 10px;
}
.auth-form .eyebrow {
  color: var(--wine);
  font-size: 9px;
}
label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  margin-bottom: 21px;
  line-height: 1.5;
}
input:not([type="checkbox"]):not([type="file"]),
textarea,
select {
  display: block;
  width: 100%;
  border: 1px solid #d9d6cc;
  border-radius: 3px;
  background: #fcfbf8;
  padding: 13px 14px;
  color: var(--ink);
  font-size: 12px;
  margin-top: 8px;
  min-height: 44px;
}
input::placeholder,
textarea::placeholder {
  color: #918c81;
}
textarea {
  resize: vertical;
  line-height: 1.6;
  min-height: 86px;
}
select {
  appearance: auto;
}
input:focus,
textarea:focus,
select:focus {
  border-color: var(--wine);
}
.form-error {
  color: #9b303d;
  font-size: 12px;
  line-height: 1.6;
  margin: 13px 0;
  white-space: pre-wrap;
}
.form-error:empty {
  display: none;
}
.field-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.field-hint {
  font-weight: 400;
  font-size: 10px;
  line-height: 1.6;
  color: var(--muted);
  display: block;
  margin: -11px 0 23px;
}
label .field-hint {
  margin: 6px 0 0;
}
.check-label {
  display: flex;
  gap: 12px;
  margin-bottom: 26px;
  align-items: flex-start;
}
.check-label input {
  width: 17px;
  height: 17px;
  accent-color: var(--wine);
  margin: 0;
  flex-shrink: 0;
}
.check-label small {
  display: block;
  font-size: 10px;
  font-weight: 400;
  color: var(--muted);
  margin-top: 7px;
}
.upload-label {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.upload-label span {
  font-size: 10px;
  font-weight: 400;
  color: var(--muted);
  display: block;
  margin: 4px 0 12px;
}
input[type="file"] {
  font-size: 11px;
  width: 100%;
}
input[type="file"]::file-selector-button {
  border: 1px solid var(--line);
  padding: 10px 13px;
  background: #efebe1;
  color: var(--ink);
  margin-right: 10px;
  border-radius: 3px;
  cursor: pointer;
}
.uploaded-photo {
  display: flex;
  align-items: center;
  gap: 20px;
}
.uploaded-photo img {
  width: 100px;
  height: 100px;
  object-fit: cover;
}
.editor-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 25px;
  margin-bottom: 35px;
}
.editor-header > .text-link {
  color: var(--muted);
  font-weight: 400;
  font-size: 11px;
}
.editor-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.editor-actions .small-note {
  font-size: 10px;
  margin-right: 7px;
}
.editor-title h1 {
  font-size: 46px;
}
.editor-title > p:last-child {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 30px;
}
.editor-grid {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(260px, 330px);
  gap: 54px;
  align-items: start;
}
.editor-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
}
.editor-tab {
  flex: 1;
  padding: 0 7px 14px 0;
  font-size: 10px;
  text-align: left;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  min-height: 47px;
  white-space: nowrap;
}
.editor-tab span {
  display: block;
  font-size: 8px;
  margin-bottom: 7px;
}
.editor-tab.active {
  border-color: var(--wine);
  color: var(--wine);
}
.form-step > .eyebrow {
  font-size: 8px;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}
.form-step h2 {
  font-size: 29px;
  margin-bottom: 10px;
}
.form-intro {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 24px;
}
.editor-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 30px;
}
.editor-bottom .fine-print {
  font-size: 9px;
}
.editor-bottom .text-link {
  font-size: 10px;
}
.preview-aside {
  position: sticky;
  top: 25px;
}
.preview-label {
  display: flex;
  justify-content: space-between;
  font-size: 7px;
  letter-spacing: 1.2px;
  color: var(--muted);
  margin-bottom: 17px;
}
.phone-preview {
  background: #f6f0e4;
  color: var(--wine);
  border: 6px solid #e7e3db;
  border-radius: 28px;
  min-height: 560px;
  box-shadow: 0 8px 22px #30281909;
  overflow: hidden;
}
.phone-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 21px;
  font-size: 9px;
}
.phone-top span:nth-child(2) {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
}
.phone-preview.nocturne {
  background: #293a3c;
  color: #f0e9d8;
}
.phone-preview.garden {
  background: #e0e4d5;
  color: #3b5340;
}
.invitation-opening {
  text-align: center;
  padding: 51px 26px 27px;
  overflow-wrap: anywhere;
}
.invitation-opening .eyebrow {
  font-size: 8px;
  letter-spacing: 2px;
  color: inherit;
}
.little-rule {
  width: 33px;
  height: 1px;
  background: currentColor;
  display: block;
  margin: 25px auto;
  opacity: 0.6;
}
.invitation-opening h2 {
  font-size: 38px;
  line-height: 1.12;
  margin: 27px 0;
  letter-spacing: -1px;
}
.invitation-note {
  font-size: 11px;
  line-height: 1.9;
  opacity: 0.8;
  white-space: pre-wrap;
}
.signature {
  font-family: var(--serif);
  font-style: italic;
  font-size: 24px;
  margin: 24px 0 35px;
  line-height: 1.3;
  display: block;
}
.preview-cta {
  border: 1px solid currentColor;
  border-radius: 2px;
  font-size: 10px;
  padding: 13px 27px;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: 8px;
}
.preview-cta svg {
  width: 15px;
}
.invitation-fine {
  font-size: 10px;
  line-height: 1.8;
  opacity: 0.7;
  margin: 22px 0 0;
}
.preview-caption {
  text-align: center;
  font-size: 9px;
  color: var(--muted);
  margin: 17px 0;
  line-height: 1.8;
}
.question-editor {
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-bottom: 28px;
}
.question-tools {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 15px;
}
.question-tools > span {
  font-size: 8px;
  letter-spacing: 1px;
  color: var(--muted);
}
.question-tools > div {
  display: flex;
}
.icon-button {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: var(--muted);
}
.icon-button svg {
  width: 16px;
}
.icon-button:hover {
  background: #ece7dd;
}
.question-editor label {
  margin-bottom: 15px;
}
.theme-picker {
  display: grid;
  gap: 12px;
}
.theme-choice {
  border: 1px solid var(--line);
  padding: 13px;
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
  font-size: 12px;
  border-radius: 3px;
}
.theme-choice.selected {
  border-color: var(--wine);
}
.theme-choice svg {
  margin-left: auto;
  width: 17px;
  color: var(--wine);
}
.theme-swatch {
  width: 50px;
  height: 54px;
  display: grid;
  place-items: center;
  background: #eee5d8;
  color: var(--wine);
  font-family: var(--serif);
  font-size: 25px;
}
.theme-swatch.nocturne {
  background: #293a3c;
  color: #f0e9d8;
}
.theme-swatch.garden {
  background: #e0e4d5;
  color: #3b5340;
}
.publishing-note {
  display: flex;
  gap: 13px;
  padding: 23px 0;
  margin: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.publishing-note > svg {
  color: var(--wine);
  width: 17px;
}
.publishing-note strong {
  font-size: 12px;
  font-weight: 500;
}
.publishing-note p {
  font-size: 11px;
  color: var(--muted);
  margin: 8px 0 0;
}
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 65px;
}
.detail-layout h1 {
  font-size: 45px;
  overflow-wrap: anywhere;
}
.detail-layout .page-intro {
  font-size: 12px;
  margin-bottom: 20px;
}
.detail-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}
.detail-actions .button {
  font-size: 11px;
  padding: 12px 17px;
}
.share-panel {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 23px 0;
}
.share-panel .eyebrow {
  font-size: 8px;
  margin-bottom: 10px;
}
.share-link {
  display: flex;
  gap: 8px;
}
.share-link input {
  margin: 0 !important;
  min-width: 0;
  font-size: 10px !important;
}
.share-panel > p:last-child {
  color: var(--muted);
  font-size: 9px;
  margin: 13px 0 0;
  display: flex;
  align-items: center;
  gap: 7px;
}
.share-panel > p svg {
  width: 12px;
  height: 12px;
}
.timeline {
  padding: 27px 0;
}
.timeline > div {
  display: grid;
  grid-template-columns: 12px 1fr auto;
  gap: 13px;
  align-items: center;
  position: relative;
  min-height: 48px;
}
.timeline > div:not(:last-child):after {
  content: "";
  position: absolute;
  top: 29px;
  left: 4px;
  height: 36px;
  border-left: 1px solid var(--line);
}
.timeline strong {
  font-size: 11px;
  font-weight: 400;
}
.timeline > div > span:last-child {
  font-size: 9px;
  color: var(--muted);
}
.timeline-dot {
  width: 9px;
  height: 9px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--canvas);
  z-index: 1;
}
.timeline-dot.done {
  background: var(--wine);
  border-color: var(--wine);
}
.response-panel {
  border: 1px solid #d5ddca;
  background: #eff1e8;
  padding: 25px;
  margin: 5px 0 25px;
}
.response-panel h2 {
  font-size: 30px;
  margin-bottom: 15px;
}
.response-panel .eyebrow {
  font-size: 8px;
  color: #506344;
}
.response-panel blockquote {
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.5;
  font-style: italic;
  margin: 20px 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.response-panel dl {
  margin: 0;
}
.response-panel dl > div {
  border-top: 1px solid #d5ddca;
  padding: 15px 0 0;
  margin-top: 15px;
}
.response-panel dt {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.6;
}
.response-panel dd {
  font-size: 12px;
  margin: 7px 0 0;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.manage-actions {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  display: flex;
  gap: 24px;
}
.manage-actions button {
  color: var(--muted);
  font-size: 10px;
}
.detail-layout > .fine-print {
  font-size: 9px;
}
.detail-preview {
  position: sticky;
  top: 30px;
  align-self: start;
}
.detail-preview .phone-preview {
  min-height: 570px;
}
.recipient-page {
  --recipient-bg: #f6f0e4;
  --recipient-ink: #743744;
  --recipient-muted: #755c55;
  --recipient-line: #d5c6b6;
  --recipient-accent: #743744;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--recipient-bg);
  color: var(--recipient-ink);
}
.recipient-page.nocturne {
  --recipient-bg: #233739;
  --recipient-ink: #f1ecdf;
  --recipient-muted: #bdc8c3;
  --recipient-line: #536566;
  --recipient-accent: #e1c6a4;
}
.recipient-page.garden {
  --recipient-bg: #e7eadf;
  --recipient-ink: #304635;
  --recipient-muted: #53634f;
  --recipient-line: #bfc9b9;
  --recipient-accent: #36533b;
}
.recipient-page :focus-visible {
  outline-color: var(--recipient-accent);
}
.recipient-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px 48px;
  color: var(--recipient-ink);
}
.recipient-header .wordmark,
.recipient-header .brand-dot {
  color: inherit;
}
.recipient-header .wordmark {
  font-size: 32px;
}
.recipient-header > span:last-child:not(.wordmark) {
  font-size: 8px;
  letter-spacing: 2px;
}
.journey {
  max-width: 510px;
  width: 100%;
  margin: auto;
  padding: 35px 30px 60px;
  text-align: center;
  outline: none !important;
  position: relative;
  animation: arrive 0.35s ease;
  overflow-wrap: anywhere;
}
.journey h1 {
  font-size: 62px;
  line-height: 1.08;
  letter-spacing: -2px;
  white-space: pre-line;
  margin: 25px 0;
}
.journey .eyebrow {
  color: inherit;
  font-size: 9px;
  letter-spacing: 2.2px;
}
.journey-copy {
  font-size: 13px;
  color: var(--recipient-muted);
  line-height: 1.9;
  max-width: 345px;
  margin: 25px auto;
  white-space: pre-wrap;
}
.journey-copy.small {
  font-size: 12px;
}
.journey .signature {
  font-size: 27px;
  margin-bottom: 40px;
}
.journey-button {
  background: var(--recipient-accent);
  color: var(--recipient-bg);
  min-width: 190px;
  gap: 24px;
  font-size: 12px;
  margin-top: 8px;
  min-height: 49px;
}
.journey-button:hover {
  filter: brightness(0.92);
}
.journey-button:focus-visible {
  outline-color: var(--recipient-ink);
}
.journey .invitation-fine {
  color: var(--recipient-muted);
  opacity: 1;
  font-size: 9px;
}
.recipient-footer {
  padding: 24px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 7px;
  letter-spacing: 1.5px;
  border-top: 1px solid var(--recipient-line);
  margin: 0 32px;
  gap: 15px;
  color: var(--recipient-muted);
}
.recipient-footer a {
  text-decoration: underline;
  text-underline-offset: 4px;
  font-size: 9px;
  letter-spacing: 0;
}
.progress-dots {
  display: flex;
  gap: 7px;
}
.progress-dots i {
  width: 5px;
  height: 5px;
  background: transparent;
  border: 1px solid var(--recipient-muted);
  border-radius: 50%;
}
.progress-dots i.filled {
  background: var(--recipient-muted);
}
.journey-back {
  position: absolute;
  top: 0;
  left: 28px;
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  color: var(--recipient-muted);
}
.journey-back svg {
  width: 19px;
}
.journey h1.question-heading {
  font-size: 42px;
  line-height: 1.15;
  margin: 24px 0 20px;
  letter-spacing: -1px;
}
.journey-hint {
  font-size: 11px;
  color: var(--recipient-muted);
  line-height: 1.8;
  margin: 20px auto 25px;
  max-width: 310px;
}
.answer-options,
.decision-options {
  display: grid;
  gap: 11px;
  margin: 27px 0;
}
.answer-option {
  border: 1px solid var(--recipient-line);
  border-radius: 3px;
  padding: 15px 17px;
  min-height: 54px;
  display: flex;
  align-items: center;
  gap: 15px;
  text-align: left;
  color: var(--recipient-ink);
  font-size: 12px;
  line-height: 1.6;
  transition:
    background 0.12s,
    border-color 0.12s;
}
.answer-option:hover {
  border-color: var(--recipient-ink);
}
.answer-option.chosen {
  border-color: var(--recipient-ink);
  background: color-mix(in srgb, var(--recipient-ink) 8%, transparent);
}
.answer-option svg {
  width: 17px;
  margin-left: auto;
}
.answer-letter {
  width: 24px;
  height: 24px;
  border: 1px solid var(--recipient-line);
  font-size: 9px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 50%;
}
.journey-skip {
  display: block;
  margin: 13px auto 0;
  color: var(--recipient-muted);
  font-size: 10px;
  text-decoration: underline;
  text-underline-offset: 4px;
  min-height: 38px;
}
.journey-text {
  background: transparent !important;
  color: var(--recipient-ink) !important;
  border-color: var(--recipient-line) !important;
  min-height: 118px;
  line-height: 1.8;
  margin: 0 0 22px !important;
  text-align: start;
  font-size: 12px !important;
}
.journey-text::placeholder {
  color: var(--recipient-muted);
}
.journey-note-label {
  text-align: left;
  font-size: 11px;
  margin: 30px 0 12px;
}
.journey-note-label span {
  font-weight: 400;
  color: var(--recipient-muted);
}
.plan-summary {
  border-top: 1px solid var(--recipient-line);
  border-bottom: 1px solid var(--recipient-line);
  padding: 22px 0;
  text-align: left;
  margin: 26px 0;
}
.plan-summary > p {
  font-family: var(--serif);
  font-size: 23px;
  margin-bottom: 18px;
}
.plan-summary > div,
.reveal-ticket > div:not(.ticket-perforation) {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  line-height: 1.6;
  color: var(--recipient-muted);
  margin-top: 12px;
}
.plan-summary svg,
.reveal-ticket svg {
  width: 16px;
  height: 16px;
}
.personal-photo {
  margin: 25px auto;
  max-width: 275px;
  padding: 9px;
  background: #fffaf0;
  box-shadow: 0 3px 13px #30251512;
  transform: rotate(-2deg);
}
.personal-photo img {
  width: 100%;
  max-height: 280px;
  object-fit: contain;
  display: block;
}
.preview-banner {
  background: var(--ink);
  color: #f8f2e5;
  padding: 12px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 9px;
  letter-spacing: 1px;
  gap: 15px;
}
.preview-banner button {
  color: inherit;
  font-size: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.preview-banner svg {
  width: 16px;
}
.reveal-ticket {
  border: 1px solid var(--recipient-line);
  padding: 25px 26px 19px;
  text-align: left;
  margin: 30px 0 20px;
  position: relative;
}
.ticket-top {
  font-size: 9px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
.reveal-ticket h2 {
  font-size: 28px;
  line-height: 1.2;
  margin: 17px 0 23px;
}
.ticket-perforation {
  border-top: 1px dashed var(--recipient-line);
  margin: 24px -26px 19px;
}
.countdown {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0;
}
.countdown strong {
  font-family: var(--serif);
  font-size: 41px;
  line-height: 1;
  font-weight: 400;
}
.countdown > span {
  font-size: 10px;
  line-height: 1.6;
  color: var(--recipient-muted);
}
.reveal-actions {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 8px;
}
.reveal-actions .text-link {
  color: var(--recipient-ink);
  font-size: 11px;
}
.journey > .text-link {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}
.privacy-page {
  max-width: 650px;
  padding: 45px 0;
}
.privacy-page h1 {
  margin-bottom: 40px;
}
.privacy-page h2 {
  font-size: 26px;
  margin: 29px 0 15px;
}
.privacy-page p:not(.eyebrow) {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.9;
}
.nocturne .form-error {
  color: #ffc0b8;
}
#toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 20px);
  padding: 15px 22px;
  color: #faf7ed;
  background: #333e35;
  box-shadow: 0 4px 20px #0002;
  z-index: 100;
  max-width: calc(100vw - 32px);
  width: max-content;
  font-size: 12px;
  line-height: 1.7;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.18s,
    transform 0.18s;
  border-radius: 3px;
}
#toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
@keyframes arrive {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (min-width: 1500px) {
  .workspace {
    padding-left: 72px;
    padding-right: 72px;
  }
  .intro-panel {
    min-height: 350px;
  }
  .intro-copy {
    padding-top: 42px;
  }
  .stationery {
    transform: scale(1.1) rotate(-7deg) translateY(29px);
  }
}
@media (max-width: 1200px) {
  .studio {
    grid-template-columns: 185px minmax(0, 1fr);
  }
  .sidebar {
    padding: 35px 20px;
  }
  .workspace {
    padding: 38px 32px 24px;
  }
  .intro-copy {
    padding: 30px;
  }
  .intro-copy h2 {
    font-size: 33px;
  }
  .stationery {
    transform: scale(0.88) rotate(-7deg) translate(3px, 33px);
    transform-origin: bottom center;
  }
  .intro-panel {
    min-height: 296px;
  }
  .editor-grid {
    gap: 27px;
    grid-template-columns: minmax(300px, 1fr) 270px;
  }
  .editor-tabs {
    gap: 4px;
  }
  .editor-tab {
    font-size: 9px;
  }
  .phone-preview {
    min-height: 540px;
  }
  .invitation-opening {
    padding: 44px 20px 25px;
  }
  .invitation-opening h2 {
    font-size: 33px;
  }
  .detail-layout {
    gap: 35px;
    grid-template-columns: minmax(0, 1fr) 275px;
  }
  .editor-actions .small-note {
    display: none;
  }
  .auth-art {
    padding: 45px;
  }
  .auth-art h1 {
    font-size: 66px;
  }
  .auth-main {
    padding: 40px 9%;
  }
  .template-art p {
    font-size: 25px;
  }
}
@media (max-width: 1000px) {
  .studio {
    grid-template-columns: 165px minmax(0, 1fr);
  }
  .sidebar {
    padding: 32px 17px;
  }
  .sidebar .wordmark {
    font-size: 39px;
  }
  .brand-caption {
    font-size: 6px;
    letter-spacing: 1px;
  }
  .nav-item {
    font-size: 10px;
    gap: 8px;
  }
  .sidebar-bottom {
    font-size: 9px;
  }
  .workspace {
    padding: 34px 25px 24px;
  }
  .page-header {
    gap: 15px;
  }
  .page-header h1 {
    font-size: 43px;
  }
  .page-header .button {
    padding: 12px;
    font-size: 10px;
  }
  .page-header .eyebrow {
    font-size: 8px;
  }
  .intro-copy {
    padding: 30px 25px;
  }
  .intro-copy h2 {
    font-size: 31px;
  }
  .intro-copy p {
    font-size: 10px;
  }
  .stationery {
    transform: scale(0.75) rotate(-7deg) translate(18px, 34px);
    margin-left: -35px;
  }
  .intro-panel {
    grid-template-columns: 1.2fr 1fr;
    min-height: 281px;
  }
  .intro-copy .edition {
    font-size: 7px;
  }
  .section-heading .small-note {
    font-size: 9px;
  }
  .template-grid {
    gap: 13px;
  }
  .template-art {
    min-height: 174px;
    padding: 24px 12px;
  }
  .template-art p {
    font-size: 23px;
  }
  .specimen-top,
  .specimen-bottom {
    font-size: 5px;
    letter-spacing: 1px;
  }
  .table-head,
  .invitation-row {
    grid-template-columns: minmax(190px, 1.8fr) 85px 108px 15px;
    gap: 10px;
  }
  .row-title strong {
    font-size: 11px;
  }
  .row-title small {
    font-size: 9px;
  }
  .row-date,
  .status {
    font-size: 9px;
  }
  .mini-letter {
    width: 31px;
    height: 39px;
  }
  .editor-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .preview-aside {
    display: none;
  }
  .detail-layout {
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 24px;
  }
  .detail-layout h1 {
    font-size: 38px;
  }
  .detail-preview .invitation-opening {
    padding: 50px 17px 25px;
  }
  .detail-preview .invitation-opening h2 {
    font-size: 30px;
  }
  .share-link {
    flex-wrap: wrap;
  }
  .share-link .button {
    width: 100%;
  }
  .auth-art {
    padding: 35px;
  }
  .auth-art h1 {
    font-size: 57px;
  }
  .auth-art .stationery {
    margin-left: -20px;
    transform: scale(0.86) rotate(-7deg);
  }
  .auth-main {
    padding: 35px 8%;
  }
  .auth-form h2 {
    font-size: 31px;
  }
}
@media (max-width: 760px) {
  .studio {
    display: block;
  }
  .sidebar {
    height: auto;
    position: relative;
    padding: 19px 23px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
  }
  .sidebar .wordmark {
    font-size: 35px;
    grid-row: 1;
  }
  .brand-caption {
    display: none;
  }
  .sidebar nav {
    grid-row: 2;
    grid-column: 1/-1;
    display: flex;
    gap: 24px;
    margin: 19px 0 0;
  }
  .nav-item {
    font-size: 11px;
    padding: 11px 0;
    border-radius: 0;
    gap: 7px;
  }
  .nav-item.active {
    background: transparent;
    border-bottom: 2px solid var(--wine);
  }
  .nav-item svg {
    width: 16px;
  }
  .sidebar-bottom {
    grid-row: 1;
    grid-column: 2;
  }
  .sidebar-bottom > p {
    display: none !important;
  }
  .sidebar-bottom > .text-link {
    font-size: 10px;
    min-height: 32px;
  }
  .sidebar-bottom > .text-link svg {
    display: none;
  }
  .account {
    gap: 8px;
  }
  .account .avatar {
    width: 27px;
    height: 27px;
    font-size: 14px;
  }
  .account strong {
    font-size: 10px;
  }
  .account .text-button {
    font-size: 9px;
  }
  .workspace {
    padding: 30px 23px 22px;
  }
  .page-header {
    margin-bottom: 24px;
  }
  .page-header h1 {
    font-size: 37px;
    letter-spacing: -1.3px;
  }
  .page-header .eyebrow {
    font-size: 7px;
    letter-spacing: 1.3px;
    margin-bottom: 10px;
  }
  .page-header .button {
    font-size: 9px;
    min-height: 38px;
    padding: 10px;
    gap: 6px;
  }
  .page-header .button svg {
    width: 14px;
  }
  .intro-panel {
    min-height: 270px;
  }
  .intro-copy {
    padding: 25px 22px;
    min-width: 0;
  }
  .intro-copy h2 {
    font-size: 29px;
  }
  .intro-copy p {
    font-size: 10px;
  }
  .intro-copy .text-link {
    font-size: 10px;
  }
  .stationery {
    transform: scale(0.78) rotate(-7deg) translate(15px, 35px);
    margin-left: -40px;
  }
  .section-heading h2 {
    font-size: 24px;
  }
  .section-heading .small-note {
    display: none;
  }
  .invitation-section {
    margin-top: 30px;
  }
  .collection-section {
    margin-top: 33px;
  }
  .collection-section .section-heading .text-link {
    font-size: 9px;
    gap: 7px;
  }
  .collection-section .section-heading .text-link svg {
    width: 14px;
  }
  .template-art {
    min-height: 175px;
  }
  .table-head,
  .invitation-row {
    grid-template-columns: minmax(190px, 1.8fr) 85px 108px 15px;
  }
  .editor-header {
    margin-bottom: 26px;
    padding-bottom: 18px;
  }
  .editor-actions {
    gap: 7px;
  }
  .editor-actions .button {
    font-size: 9px;
    padding: 9px;
    gap: 5px;
  }
  .editor-actions svg {
    width: 14px;
  }
  .editor-header > .text-link {
    font-size: 10px;
    gap: 6px;
  }
  .editor-title h1 {
    font-size: 39px;
  }
  .editor-title .eyebrow {
    font-size: 8px;
  }
  .editor-tabs {
    margin-top: 2px;
    gap: 5px;
  }
  .editor-tab {
    font-size: 11px;
  }
  .editor-tab span {
    font-size: 8px;
  }
  .detail-layout {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .detail-preview {
    display: none;
  }
  .detail-layout h1 {
    font-size: 41px;
  }
  .share-link {
    flex-wrap: nowrap;
  }
  .share-link .button {
    width: auto;
  }
  .timeline > div {
    min-height: 54px;
  }
  .auth-layout {
    grid-template-columns: 1fr;
  }
  .auth-art {
    min-height: auto;
    padding: 27px;
    display: block;
  }
  .auth-art > div {
    padding: 25px 0 0;
  }
  .auth-art .eyebrow {
    font-size: 8px;
  }
  .auth-art h1 {
    font-size: 46px;
    line-height: 1.03;
    margin: 0;
  }
  .auth-art h1 br {
    display: none;
  }
  .auth-art .stationery,
  .auth-footnote {
    display: none;
  }
  .auth-art .wordmark {
    font-size: 33px;
  }
  .auth-main {
    padding: 20px 28px 45px;
  }
  .auth-form {
    padding: 40px 0 0;
    margin: 0 auto;
  }
  .auth-form h2 {
    font-size: 33px;
  }
  .auth-form .fine-print {
    margin: 25px 0 0;
  }
  .auth-form .eyebrow {
    font-size: 8px;
  }
  .blank-start {
    align-items: flex-start;
    flex-direction: column;
    gap: 23px;
  }
  .page-intro {
    font-size: 12px;
  }
  .privacy-page {
    padding-top: 32px;
  }
  .privacy-page h1 {
    font-size: 40px;
  }
  .recipient-header {
    padding: 25px 27px;
  }
  .recipient-header .wordmark {
    font-size: 31px;
  }
  .recipient-header > span:last-child:not(.wordmark) {
    font-size: 6px;
    letter-spacing: 1.5px;
  }
  .recipient-footer {
    padding: 20px 5px;
    margin: 0 25px;
    font-size: 6px;
    letter-spacing: 1px;
  }
  .journey {
    padding: 45px 27px 50px;
    max-width: 475px;
  }
  .journey h1 {
    font-size: 55px;
    letter-spacing: -1.7px;
  }
  .journey-copy {
    font-size: 12px;
    max-width: 315px;
  }
  .journey .eyebrow {
    font-size: 8px;
  }
  .journey h1.question-heading {
    font-size: 39px;
  }
  .journey-back {
    left: 22px;
    top: 0;
  }
  .preview-banner {
    padding: 12px 17px;
    font-size: 7px;
    letter-spacing: 0.5px;
  }
  .preview-banner button {
    font-size: 9px;
  }
  .reveal-ticket h2 {
    font-size: 27px;
  }
  .reveal-ticket {
    padding: 24px;
  }
  .ticket-perforation {
    margin-left: -24px;
    margin-right: -24px;
  }
  .empty-state {
    gap: 15px;
  }
  .empty-state h3 {
    font-size: 21px;
  }
  .empty-state p {
    font-size: 10px;
  }
  .empty-letter {
    display: none;
  }
  .empty-state > .text-link {
    flex-shrink: 0;
  }
  .form-step h2 {
    font-size: 29px;
  }
}
@media (max-width: 540px) {
  .workspace {
    padding: 28px 20px 20px;
  }
  .page-header {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 19px;
  }
  .page-header .button {
    font-size: 10px;
    min-height: 40px;
    padding: 11px 14px;
  }
  .page-header h1 {
    font-size: 39px;
  }
  .intro-panel {
    display: block;
    min-height: 410px;
  }
  .intro-copy {
    padding: 27px 25px;
  }
  .intro-copy h2 {
    font-size: 33px;
  }
  .intro-copy p {
    font-size: 11px;
    max-width: 220px;
  }
  .intro-copy .edition {
    font-size: 7px;
  }
  .intro-copy .text-link {
    font-size: 11px;
  }
  .intro-panel .stationery {
    position: absolute;
    right: -31px;
    bottom: -26px;
    transform: scale(0.62) rotate(-10deg);
    transform-origin: bottom right;
    margin: 0;
  }
  .intro-copy .text-link {
    margin-top: 1px;
  }
  .intro-panel .intro-copy {
    padding-bottom: 144px;
  }
  .section-heading h2 {
    font-size: 24px;
  }
  .count {
    font-size: 9px;
    margin-left: 4px;
  }
  .filter-bar {
    gap: 22px;
  }
  .filter {
    font-size: 10px;
  }
  .table-head {
    display: none;
  }
  .invitation-row {
    grid-template-columns: minmax(0, 1fr) auto 13px;
    gap: 10px;
    min-height: 83px;
  }
  .row-date {
    display: none;
  }
  .row-title {
    gap: 11px;
  }
  .row-title strong {
    font-size: 11px;
    line-height: 1.5;
  }
  .row-title small {
    font-size: 9px;
    margin-top: 4px;
  }
  .row-title .mini-letter {
    width: 32px;
    height: 40px;
  }
  .status {
    font-size: 8px;
    gap: 4px;
  }
  .status i {
    width: 4px;
    height: 4px;
  }
  .row-arrow svg {
    width: 14px;
  }
  .template-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .template-art {
    min-height: 230px;
    outline-offset: -13px;
    padding: 30px;
  }
  .template-art p {
    font-size: 37px;
    letter-spacing: -0.6px;
  }
  .specimen-top,
  .specimen-bottom {
    font-size: 7px;
    letter-spacing: 1.6px;
  }
  .template-meta {
    padding: 13px 0 0;
  }
  .template-meta strong {
    font-size: 12px;
  }
  .template-meta small {
    font-size: 8px;
  }
  .collection-section .section-heading {
    display: block;
  }
  .collection-section .section-heading .text-link {
    margin-top: 8px;
    font-size: 10px;
  }
  .collection-section .eyebrow {
    font-size: 7px;
  }
  .studio-footer {
    font-size: 6px;
    gap: 10px;
    letter-spacing: 1px;
    padding-top: 18px;
  }
  .studio-footer a {
    font-size: 8px;
  }
  .empty-state {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px;
  }
  .empty-state > .text-link {
    margin: 0;
  }
  .empty-state h3 {
    font-size: 22px;
  }
  .editor-header {
    gap: 10px;
    flex-wrap: wrap;
  }
  .editor-actions {
    margin-left: auto;
  }
  .editor-title h1 {
    font-size: 38px;
  }
  .editor-title > p:last-child {
    margin-bottom: 24px;
  }
  .editor-tab {
    font-size: 9px;
    padding-right: 0;
  }
  .field-pair {
    gap: 13px;
  }
  .form-step h2 {
    font-size: 27px;
  }
  .editor-bottom {
    align-items: start;
  }
  .editor-bottom .fine-print {
    max-width: 100px;
  }
  .editor-bottom .text-link {
    font-size: 10px;
    gap: 7px;
  }
  .manage-actions {
    gap: 24px;
    flex-wrap: wrap;
  }
  .detail-layout h1 {
    font-size: 39px;
  }
  .detail-actions .button {
    font-size: 10px;
  }
  .share-panel > p:last-child {
    align-items: flex-start;
  }
  .share-panel > p svg {
    flex-shrink: 0;
    margin-top: 3px;
  }
  .response-panel {
    padding: 22px;
  }
  .recipient-page {
    min-height: 100svh;
  }
  .journey h1 {
    font-size: 48px;
    line-height: 1.12;
  }
  .journey h1.question-heading {
    font-size: 36px;
  }
  .journey .signature {
    font-size: 25px;
  }
  .journey-copy {
    font-size: 12px;
  }
  .opening-step {
    padding-top: 39px;
  }
  .journey .little-rule {
    margin: 25px auto;
  }
  .journey .invitation-fine {
    font-size: 9px;
  }
  .journey-button {
    min-height: 49px;
  }
  .answer-option {
    font-size: 12px;
    min-height: 56px;
  }
  .plan-summary > div,
  .reveal-ticket > div:not(.ticket-perforation) {
    font-size: 11px;
  }
  .journey-note-label {
    font-size: 10px;
  }
  .preview-banner {
    padding: 12px;
  }
  .auth-art h1 {
    font-size: 41px;
  }
  .auth-form h2 {
    font-size: 32px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Comfortable phone reading and controls; 16px inputs prevent iOS focus zoom. */
@media (max-width: 760px) {
  input:not([type="checkbox"]):not([type="file"]),
  textarea,
  select {
    font-size: 16px;
  }
  label {
    font-size: 12px;
  }
  .field-hint,
  .fine-print {
    font-size: 11px;
  }
  .form-intro,
  .editor-title > p:last-child {
    font-size: 12px;
  }
  .journey-copy {
    font-size: 14px;
  }
  .journey-hint {
    font-size: 12px;
  }
  .journey-text {
    font-size: 16px !important;
  }
  .answer-option {
    font-size: 14px;
  }
  .journey-button {
    font-size: 13px;
  }
  .journey .invitation-fine {
    font-size: 11px;
  }
  .journey-note-label {
    font-size: 12px;
  }
  .plan-summary > div,
  .reveal-ticket > div:not(.ticket-perforation) {
    font-size: 12px;
  }
  .journey-skip {
    font-size: 11px;
    min-height: 44px;
  }
  .nav-item {
    min-height: 44px;
  }
  .icon-button {
    width: 44px;
    height: 44px;
  }
}
@media (min-width: 761px) {
  .recipient-page:has(.preview-banner) .journey {
    max-width: 390px;
  }
  .recipient-page:has(.preview-banner) .journey h1 {
    font-size: 48px;
  }
  .recipient-page:has(.preview-banner) .journey h1.question-heading {
    font-size: 36px;
  }
}

.phone-preview .invitation-fine {
  opacity: 1;
}
.recipient-page .fine-print {
  color: var(--recipient-muted);
}
.form-step > .button + .fine-print {
  margin-top: 12px;
}
.credit-strip {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin: -10px 0 24px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  color: var(--muted);
}
.credit-strip strong {
  font-weight: 500;
  color: var(--wine);
}
.credit-strip a {
  color: var(--wine);
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
}
.credit-strip svg {
  width: 15px;
}
.account-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
}
.business-panel {
  border: 1px solid var(--line);
  padding: 28px;
}
.business-panel p {
  font-size: 13px;
  color: var(--muted);
}
.business-panel h2 {
  font-size: 29px;
}
.business-panel .fine-print,
.delivery-notice {
  font-size: 11px !important;
}
.business-panel strong {
  overflow-wrap: anywhere;
}
.business-panel form {
  margin-top: 23px;
}
.admin-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.2fr);
  gap: 35px;
  align-items: start;
}
.admin-layout h2 {
  font-size: 28px;
}
.order-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.order-row strong {
  display: block;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.order-row small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-top: 7px;
  overflow-wrap: anywhere;
}
.order-row > div {
  min-width: 0;
}
.order-row button {
  flex-shrink: 0;
}
.order-row > span {
  white-space: nowrap;
}
.empty-record {
  padding: 25px 0;
  color: var(--muted);
  font-size: 13px;
}
.customer-heading {
  margin-top: 38px;
}
.issued-card {
  margin-top: 25px;
  border-top: 1px solid var(--line);
  padding-top: 25px;
}
.activation-page {
  max-width: 610px;
  margin: 35px auto 80px;
}
.activation-page h1 {
  font-size: 53px;
}
.activation-page > p {
  font-size: 14px;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.activation-page > .eyebrow {
  color: var(--wine);
  font-size: 10px;
}
.activation-page .publishing-note p {
  font-size: 12px;
}
.music-setting {
  margin-top: 28px;
}
.credit-publish-note {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
}
.credit-publish-note strong {
  color: var(--wine);
}
.music-toggle {
  color: var(--recipient-ink);
  border: 1px solid var(--recipient-line);
  padding: 10px 13px;
  font-size: 11px;
  border-radius: 3px;
  min-height: 44px;
}
.recipient-header:has(.music-toggle) > span:nth-child(2) {
  margin-left: auto;
  margin-right: 22px;
}
@media (max-width: 1000px) {
  .account-columns,
  .admin-layout {
    grid-template-columns: 1fr;
  }
  .admin-layout {
    gap: 32px;
  }
}
@media (max-width: 760px) {
  .sidebar nav {
    gap: 15px;
    flex-wrap: wrap;
  }
  .nav-item {
    font-size: 10px;
  }
  .credit-strip {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
    font-size: 12px;
  }
  .business-panel {
    padding: 23px;
  }
  .business-panel p {
    font-size: 13px;
  }
  .activation-page {
    margin: 15px auto 50px;
  }
  .activation-page h1 {
    font-size: 41px;
  }
  .recipient-header:has(.music-toggle) > span:nth-child(2) {
    display: none;
  }
  .music-toggle {
    font-size: 11px;
    min-width: 108px;
  }
  .order-row {
    gap: 12px;
    font-size: 12px;
  }
  .order-row button {
    font-size: 10px;
  }
  .order-row small {
    font-size: 10px;
  }
  .admin-layout .business-panel {
    padding: 22px;
  }
  .sidebar nav .nav-item:last-child {
    padding-right: 0;
  }
}
