/* БАЗОВАЯ ВЁРСТКА: размеры и адаптивность. Фирстиль находится в brand.css. */
:root {
  --bg: #f8f7f3;
  --paper: #fffefa;
  --ink: #282b27;
  --muted: #85877e;
  --line: #e7e6de;
  --accent: #ed7055;
  --radius: 18px;
  --sidebar: 236px;
  font-family: Arial, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-synthesis: none;
}
* {
  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;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.55;
}
button,
input,
textarea,
select {
  color: inherit;
}
svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: 44px;
  letter-spacing: -1.9px;
  line-height: 1.12;
  font-weight: 650;
}
h2 {
  font-size: 25px;
  letter-spacing: -0.8px;
  line-height: 1.2;
}
h3 {
  font-size: 17px;
  line-height: 1.3;
}
p {
  line-height: 1.65;
}
button {
  border: 0;
  background: none;
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid #6b7dbe;
  outline-offset: 4px;
}
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid #e4a78b;
  outline-offset: 1px;
}
::selection {
  background: #f4c29e;
}
button:disabled:focus-visible {
  outline: 0;
}
[hidden] {
  display: none !important;
}
.layout {
  display: grid;
  grid-template-columns: var(--sidebar) minmax(0, 1fr);
  min-height: 100vh;
}
.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  border-right: 1px solid var(--line);
  padding: 38px 22px 20px;
  background: #fbfaf6;
  display: flex;
  flex-direction: column;
}
.logo {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -2px;
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1;
}
.logo-symbol {
  font-size: 35px;
  background: var(--accent);
  color: #fff6e9;
  display: inline-flex;
  width: 39px;
  height: 39px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  position: relative;
  letter-spacing: -1px;
  padding-bottom: 6px;
}
.logo-symbol span {
  position: absolute;
  right: 1px;
  top: -12px;
  font-size: 29px;
  color: #dfbd4f;
}
.logo-dot {
  color: var(--accent);
  margin-left: -8px;
}
.side-caption {
  font-size: 9px;
  letter-spacing: 2px;
  color: #8e9086;
  margin: 25px 0 37px 2px;
}
.sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sidebar nav a {
  font-size: 13px;
  font-weight: 550;
  display: flex;
  gap: 11px;
  align-items: center;
  padding: 14px 13px;
  border-radius: 10px;
  color: #72766a;
  white-space: nowrap;
}
.sidebar nav a.active {
  background: #ebece4;
  color: #343d31;
}
.sidebar nav a:hover {
  background: #f0efe8;
}
.sidebar nav svg {
  width: 18px;
  height: 18px;
}
.nav-count {
  margin-left: auto;
  font-size: 11px;
}
.side-bottom {
  margin-top: auto;
}
.side-note {
  padding: 22px 12px 28px;
}
.side-note > span {
  color: #b7bc9e;
  font-size: 39px;
  display: block;
  margin-bottom: 13px;
}
.side-note b {
  font-size: 12px;
}
.side-note p {
  font-size: 11px;
  color: var(--muted);
  margin: 7px 0;
}
.profile {
  display: flex;
  align-items: center;
  text-align: left;
  gap: 9px;
  border-top: 1px solid var(--line);
  padding: 18px 0 0;
  width: 100%;
}
.profile b {
  font-size: 12px;
  display: block;
  max-width: 108px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.profile small {
  font-size: 10px;
  color: var(--muted);
  display: block;
  margin-top: 4px;
}
.profile > span:last-child {
  margin-left: auto;
}
.avatar {
  background: #dedfc9;
  color: #4d5946;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 600;
  flex-shrink: 0;
}
.avatar.small {
  width: 32px;
  height: 32px;
  font-size: 10px;
}
.c1 {
  background: #f0d5c2;
  color: #8d5c41;
}
.c2 {
  background: #ded8ec;
  color: #76618b;
}
.c3 {
  background: #e9dfa9;
  color: #756525;
}
.main-column {
  min-width: 0;
}
.topbar {
  height: 84px;
  border-bottom: 1px solid var(--line);
  padding: 0 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.breadcrumb {
  font-size: 11px;
  color: #8a8b82;
}
.breadcrumb span {
  margin: 0 11px;
  color: #c0c1b6;
}
.breadcrumb b {
  font-weight: 500;
  color: #42473e;
}
.top-tag {
  font-size: 10px;
  color: #929284;
  display: flex;
  gap: 17px;
  align-items: center;
}
.top-tag span {
  font-size: 23px;
  color: #a4ad87;
}
.topbar > .avatar {
  display: none;
}
main {
  max-width: 1480px;
  margin: auto;
  padding: 34px 44px 0;
}
.mobile-logo,
.mobile-login {
  display: none;
}
footer {
  margin: 48px 44px 0;
  padding: 23px 0;
  display: flex;
  gap: 30px;
  align-items: center;
  border-top: 1px solid var(--line);
  font-size: 10px;
  color: #96988c;
}
.footer-star {
  margin-left: auto;
  font-size: 24px;
  color: #acb395;
}
.btn {
  min-height: 45px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  transition:
    transform 0.16s,
    background 0.16s;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn svg {
  width: 16px;
  height: 16px;
}
.btn.dark {
  background: #30392d;
  color: #fffdf3;
}
.btn.dark:hover {
  background: #454f40;
}
.btn.secondary {
  background: #fffdf8;
  border: 1px solid #dedfd3;
}
.btn.full {
  width: 100%;
}
.btn.telegram {
  background: #e4f1f8;
  color: #2478a4;
}
.btn.vk {
  background: #e6edfb;
  color: #336abb;
}
.btn.unavailable {
  opacity: 0.55;
  cursor: default;
}
.unavailable span {
  font-size: 10px;
  margin-left: auto;
}
.text-link {
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  padding: 6px 0;
}
.text-link svg {
  width: 16px;
  height: 16px;
}
.text-link:hover {
  color: var(--accent);
}
.muted {
  color: var(--muted);
  font-size: 12px;
}
.tiny {
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted);
  display: block;
}
.eyebrow {
  font-size: 9px;
  letter-spacing: 1.5px;
  font-weight: 600;
  color: #777e6d;
  display: flex;
  align-items: center;
  gap: 8px;
}
.little-star {
  font-size: 18px;
  color: #dc7554;
}
.hero {
  background: #eeeee4;
  min-height: 380px;
  display: grid;
  grid-template-columns: 1.04fr 1fr;
  position: relative;
  border: 1px solid #e8e9dd;
  border-radius: var(--radius);
  overflow: hidden;
}
.hero-copy {
  padding: 35px 0 30px 34px;
  position: relative;
  z-index: 2;
}
.hero h1 {
  font-size: clamp(38px, 3.8vw, 59px);
  letter-spacing: -2.7px;
  margin: 22px 0 18px;
  line-height: 1.03;
}
.hero h1 > span {
  font-family: Georgia, serif;
  font-style: italic;
  font-weight: 400;
  color: #6b7855;
}
.hero-copy > p {
  font-size: 12px;
  line-height: 1.8;
  color: #7a7e6e;
  margin-bottom: 22px;
}
.hero-note {
  font-size: 9px;
  color: #969a86;
  margin-top: 16px;
}
.hero-art {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 380px;
  background: radial-gradient(ellipse at 45% 60%, #dfdfcb99, transparent 65%);
}
.mini-invite {
  background: #f9e2ca;
  width: 218px;
  height: 277px;
  border: 1px solid #f0d1b6;
  border-radius: 4px;
  padding: 24px 26px;
  position: relative;
  z-index: 2;
  transform: rotate(9deg);
  box-shadow:
    12px 16px 0 #b2b69a30,
    0 18px 32px #4a50351a;
}
.mini-invite:before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  border: 1px solid #cfb8a5;
  background: #fff9ed;
  transform: rotate(-18deg);
  border-radius: 4px;
}
.mini-tag {
  font-size: 7px;
  letter-spacing: 1.7px;
  color: #966b4a;
}
.mini-flower {
  font-size: 40px;
  color: #e27552;
  display: block;
  margin: 8px 0;
}
.mini-invite h2 {
  font-family: Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: 37px;
  letter-spacing: -1.8px;
  line-height: 0.95;
  margin: 6px 0 12px;
}
.mini-line {
  width: 30px;
  height: 1px;
  background: #be9d81;
}
.mini-invite p {
  font-size: 8px;
  margin: 9px 0 13px;
  color: #8e7056;
}
.mini-yes {
  display: flex;
  justify-content: space-between;
  background: #5c6b50;
  color: #fff5df;
  font-size: 9px;
  padding: 10px 12px;
  border-radius: 5px;
}
.floating-label {
  position: absolute;
  top: 34px;
  left: 28px;
  font-size: 9px;
  color: #83896c;
  transform: rotate(-8deg);
}
.hero-spark {
  position: absolute;
}
.s1 {
  font-size: 73px;
  color: #e2b85c;
  top: 60px;
  right: 22px;
  transform: rotate(10deg);
}
.s2 {
  font-size: 54px;
  color: #9b9983;
  bottom: 45px;
  left: 20px;
}
.ribbon {
  position: absolute;
  right: 16px;
  bottom: 100px;
  background: #eed478;
  color: #766229;
  border-radius: 50%;
  width: 87px;
  height: 87px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(-17deg);
  font-family: Georgia, serif;
  font-size: 17px;
  font-style: italic;
  border: 1px dashed #a3905160;
}
.rsvp-bubble {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-55%) rotate(-6deg);
  background: #fffefa;
  border: 1px solid #e7e6da;
  box-shadow: 0 6px 18px #45512e0c;
  z-index: 4;
  border-radius: 10px;
  padding: 11px 14px;
  display: flex;
  gap: 10px;
  align-items: center;
  white-space: nowrap;
  font-size: 10px;
}
.rsvp-bubble small {
  display: block;
  font-size: 8px;
  color: #929382;
  margin-top: 4px;
}
.bubble-check {
  background: #e8edde;
  color: #768367;
  border-radius: 50%;
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
}
.bottom-squiggle {
  position: absolute;
  bottom: 50px;
  right: 15px;
  font-size: 61px;
  color: #b6bc9c;
  transform: rotate(-25deg);
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 23px;
}
.section-heading h2 {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-heading p {
  font-size: 11px;
  color: var(--muted);
  margin: 8px 0 0;
}
.section-heading h1 {
  margin: 12px 0;
}
.count {
  font-family: Arial, sans-serif;
  font-size: 11px;
  border: 1px solid #dce0d0;
  color: #7b866c;
  border-radius: 6px;
  min-width: 23px;
  padding: 4px 6px;
  letter-spacing: 0;
  text-align: center;
}
.events-section {
  margin-top: 36px;
}
.first-event {
  border: 1px dashed #d8dccb;
  border-radius: 14px;
  display: flex;
  gap: 25px;
  align-items: center;
  padding: 28px;
  background: #f4f4ec;
}
.first-event h3 {
  font-size: 13px;
  margin: 0 0 8px;
}
.first-event p {
  color: #939687;
  font-size: 10px;
  line-height: 1.7;
  margin: 0;
}
.first-event .text-link {
  margin-left: auto;
  white-space: nowrap;
  font-size: 11px;
}
.empty-illustration {
  width: 68px;
  height: 68px;
  background: #e8e9d9;
  border-radius: 50%;
  font-size: 36px;
  display: grid;
  place-items: center;
  position: relative;
  color: #7c8763;
  flex-shrink: 0;
}
.empty-illustration span {
  font-size: 24px;
  position: absolute;
  top: -8px;
  right: -4px;
  color: #d8b464;
}
.templates-section {
  margin-top: 40px;
}
.templates-section .eyebrow {
  margin-bottom: 10px;
  font-size: 8px;
}
.templates-section .muted {
  font-size: 10px;
  align-self: flex-end;
  margin-bottom: 4px;
}
.template-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 19px;
}
.template-card {
  background: #fffef9;
  border: 1px solid var(--line);
  border-radius: 13px;
  overflow: hidden;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.template-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px #343c2910;
}
.template-cover {
  position: relative;
  aspect-ratio: 1.82;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}
.cover-art {
  width: 100%;
  height: 100%;
  stroke: none;
  max-height: 230px;
  display: block;
}
.template-arrow {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff9e580;
  display: grid;
  place-items: center;
  font-size: 14px;
  color: #5d5c4c;
}
.template-info {
  padding: 15px 16px 18px;
}
.template-info h3 {
  font-size: 13px;
  margin: 0 0 6px;
}
.template-info p {
  font-size: 10px;
  line-height: 1.6;
  color: #909083;
  margin: 0;
  max-width: 235px;
}
.peach {
  background: #f4d8bd;
  --cover: #f4d8bd;
}
.green {
  background: #c6d4bd;
  --cover: #c6d4bd;
}
.pink {
  background: #efd5d5;
  --cover: #efd5d5;
}
.yellow {
  background: #efe1aa;
  --cover: #efe1aa;
}
.purple {
  background: #d7d0e6;
  --cover: #d7d0e6;
}
.blue {
  background: #c7dce4;
  --cover: #c7dce4;
}
.how-strip {
  border-top: 1px solid var(--line);
  margin-top: 36px;
  padding-top: 25px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.how-strip > div {
  display: grid;
  grid-template-columns: 27px auto;
  gap: 0 9px;
}
.how-strip span {
  grid-row: span 2;
  font-size: 12px;
  color: #b0b6a0;
}
.how-strip b {
  font-size: 11px;
  font-weight: 600;
}
.how-strip p {
  font-size: 9px;
  color: #999b8e;
  margin: 7px 0 0;
}
.page-heading {
  margin: 10px 0 32px;
}
.page-heading h1 {
  margin: 15px 0;
  font-size: 43px;
}
.page-heading p {
  font-size: 13px;
  color: var(--muted);
}
.event-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 19px;
}
.event-card {
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.2s;
}
.event-card:hover {
  transform: translateY(-3px);
}
.event-cover {
  height: 170px;
  position: relative;
}
.event-cover .cover-art {
  height: 160px;
  position: absolute;
  bottom: -10px;
}
.cover-label {
  position: absolute;
  left: 15px;
  top: 14px;
  font-size: 9px;
  background: #fff9ec90;
  padding: 6px 9px;
  border-radius: 6px;
  z-index: 1;
}
.event-date {
  position: absolute;
  bottom: 13px;
  right: 13px;
  background: #fffdf0;
  border-radius: 8px;
  width: 44px;
  text-align: center;
  padding: 6px 4px;
  font-size: 9px;
}
.event-date b {
  display: block;
  font-size: 20px;
  line-height: 1.2;
}
.event-copy {
  padding: 17px;
}
.event-copy h3 {
  font-size: 15px;
  overflow-wrap: anywhere;
  margin: 0 0 10px;
}
.event-copy > p {
  font-size: 10px;
  color: #949688;
  display: flex;
  gap: 5px;
  align-items: center;
}
.event-copy > p svg {
  width: 12px;
  height: 12px;
}
.event-card-foot {
  border-top: 1px solid var(--line);
  padding-top: 13px;
  font-size: 9px;
  color: #7e8570;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.event-card-foot > span {
  display: flex;
  gap: 5px;
  align-items: center;
}
.event-card-foot svg {
  width: 13px;
  height: 13px;
}
.event-controls {
  display: flex;
  gap: 15px;
  justify-content: space-between;
  margin: 22px 0;
}
.tabs {
  display: flex;
  gap: 6px;
}
.tabs button {
  font-size: 10px;
  border-radius: 7px;
  padding: 9px 12px;
  color: #929586;
}
.tabs button.selected {
  background: #e8ebde;
  color: #4e5b42;
}
.search {
  display: flex;
  gap: 8px;
  align-items: center;
  background: #fffdf9;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 11px;
}
.search svg {
  width: 15px;
  height: 15px;
  color: #999d8f;
}
.search input {
  border: 0;
  outline: none;
  background: none;
  font-size: 11px;
  width: 150px;
}
.empty-state {
  text-align: center;
  padding: 75px 22px;
}
.empty-state > svg {
  width: 43px;
  height: 43px;
  color: #b2bba2;
  margin-bottom: 20px;
}
.empty-state h2 {
  font-size: 25px;
  margin: 10px 0;
}
.empty-state p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.9;
}
.empty-state .btn {
  margin-top: 10px;
}
.error-flower {
  font-size: 65px;
  color: #d6a98c;
  display: block;
}
.empty-state h1 {
  font-size: 30px;
}
.back-link {
  font-size: 11px;
  color: #838875;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 17px;
}
.back-link svg {
  width: 15px;
  height: 15px;
}
.compact-heading {
  margin: 0 0 26px;
}
.compact-heading h1 {
  font-size: 34px;
  letter-spacing: -1.5px;
}
.compact-heading p {
  font-size: 12px;
}
.steps {
  display: flex;
  gap: 37px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 30px;
}
.steps button {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 0 0 17px;
  font-size: 11px;
  color: #a0a394;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.steps button span {
  border: 1px solid #d7ddc9;
  border-radius: 50%;
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  font-size: 10px;
}
.steps .current {
  color: #414d37;
  border-color: #687954;
}
.steps .current span,
.steps .done span {
  background: #647454;
  color: #fff7e6;
  border-color: #647454;
}
.editor-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(250px, 0.85fr);
  gap: 34px;
  align-items: start;
}
.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.form-panel {
  padding: 27px;
}
.form-panel h2 {
  font-size: 22px;
  margin-bottom: 10px;
}
.form-panel > .muted {
  font-size: 11px;
  margin-bottom: 25px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 18px;
}
.form-grid .field {
  margin-bottom: 0;
}
.field small {
  font-size: 10px;
  font-weight: 400;
  color: #929787;
  line-height: 1.7;
}
.span2 {
  grid-column: span 2;
}
input,
textarea,
select {
  background: #fffefa;
  border: 1px solid #dddfd3;
  border-radius: 8px;
  padding: 12px 13px;
  min-width: 0;
  font-size: 12px;
  font-weight: 400;
  width: 100%;
}
input::placeholder,
textarea::placeholder {
  color: #a4a797;
  font-size: 11px;
}
textarea {
  resize: vertical;
  line-height: 1.7;
}
input[type="checkbox"],
input[type="radio"] {
  accent-color: #637550;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin: 0;
}
input:disabled {
  background: #eeeee8;
}
.template-picker {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.picker-card {
  display: flex;
  flex-wrap: wrap;
  position: relative;
  gap: 12px;
  text-align: left;
  border: 1px solid #e3e4d9;
  border-radius: 10px;
  padding: 17px 13px;
  background: #fffdf8;
  align-items: center;
  min-height: 78px;
}
.picker-card b {
  font-size: 11px;
  width: 70%;
  font-weight: 500;
}
.picker-icon {
  border-radius: 9px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  font-size: 23px;
}
.radio-dot {
  width: 12px;
  height: 12px;
  position: absolute;
  top: 12px;
  right: 10px;
  border: 1px solid #d5daca;
  border-radius: 50%;
}
.picker-card.picked {
  border-color: #71835d;
  background: #f4f5ed;
}
.picked .radio-dot {
  border: 3px solid #758661;
  background: #fff9ef;
}
.form-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 27px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.swatches {
  display: flex;
  gap: 10px;
  margin: 4px 0;
}
.swatch {
  width: 31px;
  height: 31px;
  border-radius: 50%;
  border: 3px solid var(--paper);
  outline: 1px solid transparent;
  font-size: 13px;
}
.swatch.chosen {
  outline-color: #798669;
}
.preview-column {
  position: sticky;
  top: 25px;
}
.preview-label {
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 1.25px;
  color: #959a87;
  text-align: center;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}
.live-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #9aa97d;
}
.invitation-preview {
  border: 1px solid #0000000a;
  border-radius: 14px;
  padding: 26px 21px 23px;
  position: relative;
  text-align: center;
  overflow: hidden;
  box-shadow: 0 10px 28px #474d2910;
}
.invite-eyebrow {
  letter-spacing: 2px;
  font-size: 7px;
  opacity: 0.6;
}
.invitation-preview .cover-art {
  height: 155px;
  margin: 0 auto;
  max-width: 260px;
}
.preview-copy .small-caps {
  font-size: 7px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  opacity: 0.6;
}
.preview-copy h2 {
  font-size: 30px;
  font-family: Georgia, serif;
  font-weight: 400;
  font-style: italic;
  letter-spacing: -1px;
  margin: 12px 0;
  overflow-wrap: anywhere;
}
.preview-message {
  font-size: 10px;
  line-height: 1.7;
  white-space: pre-wrap;
  margin: 12px auto 18px;
  color: #5e5c4e;
  overflow-wrap: anywhere;
}
.preview-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  border-top: 1px solid #00000013;
  padding-top: 15px;
  font-size: 9px;
  color: #696a56;
}
.preview-meta span {
  display: flex;
  gap: 6px;
  align-items: center;
}
.preview-meta svg {
  width: 12px;
  height: 12px;
}
.preview-answer {
  background: #fffaf1a0;
  border: 1px solid #fffaf180;
  border-radius: 8px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  margin-top: 23px;
}
.preview-answer svg {
  width: 15px;
  height: 15px;
}
.preview-note {
  font-size: 10px;
  color: #9a9d8d;
  text-align: center;
  margin-top: 18px;
  line-height: 1.8;
}
.checkbox {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 11px;
  line-height: 1.5;
  margin: 20px 0;
}
.checkbox small {
  display: block;
  color: #929787;
  font-size: 10px;
  margin-top: 5px;
}
.soft-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 10px;
  line-height: 1.8;
  background: #f0f2e7;
  padding: 17px;
  border-radius: 9px;
  color: #7d876d;
  margin: 20px 0 0;
}
.soft-note svg {
  width: 18px;
  height: 18px;
}
.form-error {
  color: #b6533b;
  font-size: 11px;
  line-height: 1.7;
  white-space: pre-line;
}
.form-error:not(:empty) {
  margin: 0 0 16px;
  padding: 11px;
  background: #fae9e0;
  border-radius: 7px;
}
.event-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin: 9px 0 28px;
}
.event-heading h1 {
  font-size: 36px;
  letter-spacing: -1.6px;
  margin: 14px 0 19px;
  overflow-wrap: anywhere;
}
.event-details {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 11px;
  color: #858b78;
  margin-bottom: 10px;
}
.event-details span {
  display: flex;
  gap: 7px;
  align-items: center;
}
.event-details svg {
  width: 15px;
  height: 15px;
}
.event-heading small {
  font-size: 9px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 13px;
  margin-bottom: 34px;
}
.stats-grid > div {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fffef9;
  padding: 18px;
}
.stats-grid span {
  font-size: 10px;
  color: #95998a;
  display: flex;
  align-items: center;
  gap: 6px;
}
.stats-grid b {
  font-size: 32px;
  font-weight: 500;
  display: block;
  margin-top: 14px;
  letter-spacing: -1px;
}
.dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  display: inline-block;
}
.dot.yes {
  background: #7e9863;
}
.dot.pending {
  background: #b2b4a5;
}
.dot.maybe {
  background: #d8bd62;
}
.event-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(240px, 0.8fr);
  gap: 30px;
  align-items: start;
}
.event-workspace h2 {
  font-size: 22px;
}
.event-workspace .section-heading {
  align-items: flex-start;
}
.event-workspace .section-heading p {
  max-width: 245px;
}
.event-workspace .section-heading .btn {
  white-space: nowrap;
  padding: 11px 13px;
  font-size: 10px;
}
.guest-toolbar {
  display: flex;
  gap: 12px;
  margin-bottom: 17px;
}
.guest-toolbar .search {
  flex: 1;
}
.guest-toolbar .search input {
  width: 100%;
}
.guest-toolbar select {
  font-size: 10px;
  width: 140px;
  padding: 9px;
}
.guest-row {
  display: flex;
  gap: 11px;
  align-items: center;
  padding: 17px 15px;
  border-bottom: 1px solid var(--line);
}
.guest-row:last-child {
  border: 0;
}
.guest-name {
  flex: 1;
  min-width: 0;
}
.guest-name b {
  display: block;
  font-size: 11px;
  font-weight: 600;
  overflow-wrap: anywhere;
  margin-bottom: 6px;
}
.status {
  font-size: 9px;
  color: #929586;
}
.status:before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  margin-right: 5px;
  vertical-align: middle;
}
.status.yes {
  color: #7b925d;
}
.status.maybe {
  color: #b59c4e;
}
.status.no {
  color: #c18d80;
}
.guest-actions {
  display: flex;
  align-items: center;
  gap: 5px;
}
.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: #969c88;
  border-radius: 6px;
}
.icon-btn:hover {
  background: #e9eddf;
}
.icon-btn svg {
  width: 14px;
  height: 14px;
}
.small-btn {
  font-size: 9px;
  min-height: 30px;
  padding: 7px 9px;
  gap: 6px;
  border-radius: 7px;
}
.small-btn svg {
  width: 12px;
  height: 12px;
}
.guest-comment {
  font-size: 10px;
  color: #949785;
  line-height: 1.6;
  margin: 6px 0 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.plus-tag {
  font-size: 8px;
  background: #e8eddd;
  padding: 2px 5px;
  border-radius: 3px;
  color: #83966b;
}
.event-bottom-actions {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding-top: 20px;
}
.event-bottom-actions .text-link {
  font-size: 9px;
  font-weight: 400;
}
.danger {
  color: #b38678;
}
.small-empty {
  padding: 40px 18px;
}
.small-empty h3 {
  font-size: 14px;
}
.small-empty p {
  font-size: 10px;
}
.small-empty > svg {
  width: 30px;
  height: 30px;
}
.center {
  justify-content: center;
  width: 100%;
  margin-top: 15px;
}
.loading {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -2px;
}
.loading span {
  font-size: 12px;
  font-weight: 400;
  color: #8d9481;
  margin-top: 20px;
  letter-spacing: 0;
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translate(-50%, 20px);
  background: #30392d;
  color: #fff9e9;
  padding: 14px 22px;
  border-radius: 10px;
  font-size: 12px;
  max-width: min(90vw, 500px);
  box-shadow: 0 6px 30px #30392d20;
  z-index: 50;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.2s,
    transform 0.2s;
}
#toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
dialog {
  border: 1px solid #e0e1d4;
  border-radius: 17px;
  background: #fffdf7;
  color: var(--ink);
  padding: 35px;
  width: min(470px, calc(100% - 30px));
  max-height: 90vh;
  box-shadow: 0 25px 90px #26332130;
}
dialog::backdrop {
  background: #222c2359;
  backdrop-filter: blur(3px);
}
dialog h2 {
  font-size: 26px;
  margin: 8px 20px 17px 0;
}
dialog > p {
  font-size: 12px;
  color: #8a907d;
}
dialog .eyebrow {
  font-size: 8px;
}
.dialog-close {
  position: absolute;
  top: 12px;
  right: 14px;
  font-size: 25px;
  color: #929981;
}
.dialog-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 25px;
}
.share-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 18px 0 12px;
}
.login-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.login-story {
  background: #e9ecde;
  padding: 46px 55px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}
.login-story > div {
  padding: 30px 0;
  max-width: 520px;
  margin: auto;
  width: 100%;
}
.login-story h1 {
  font-size: clamp(50px, 5.5vw, 82px);
  line-height: 1;
  letter-spacing: -3.5px;
  margin: 24px 0;
}
.login-story em {
  color: #75845e;
  font-family: Georgia, serif;
  font-weight: 400;
}
.login-story p {
  font-size: 13px;
  color: #899375;
}
.login-story > small {
  font-size: 10px;
  color: #939c80;
}
.login-art {
  height: 175px;
  position: relative;
  margin-top: 20px;
  color: #e6af78;
  font-size: 180px;
  line-height: 1;
}
.login-art span {
  font-size: 105px;
  position: absolute;
  top: 38px;
  left: 120px;
  color: #8c9a73;
  transform: rotate(-10deg);
}
.login-art b {
  font-family: Georgia, serif;
  font-size: 23px;
  font-style: italic;
  font-weight: 400;
  position: absolute;
  top: 70px;
  left: 233px;
  color: #707f58;
  white-space: nowrap;
  transform: rotate(-10deg);
}
.login-form-side {
  padding: 40px 50px;
}
.login-form {
  max-width: 340px;
  margin: 45px auto;
}
.login-form h2 {
  font-size: 33px;
  letter-spacing: -1.3px;
  margin: 18px 0;
}
.login-form > p {
  font-size: 12px;
  line-height: 1.8;
  color: #969a88;
  margin: 15px 0 25px;
}
.login-form > .btn {
  margin-bottom: 11px;
  justify-content: space-between;
}
.login-form .field {
  margin-bottom: 14px;
  font-size: 10px;
}
.divider {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #a4a998;
  font-size: 9px;
  margin: 19px 0;
}
.divider:before,
.divider:after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e0e4d6;
}
.login-form .tiny {
  font-size: 9px;
  margin-top: 11px;
  text-align: center;
}
.demo-access {
  border-top: 1px dashed #dce0d0;
  padding-top: 20px;
  margin-top: 26px;
}
.demo-access > span {
  font-size: 8px;
  letter-spacing: 1px;
  color: #a0a68f;
  display: block;
  margin-bottom: 12px;
}
.demo-access > small {
  font-size: 9px;
  color: #969d87;
  display: block;
  line-height: 1.6;
  margin-top: 11px;
}
.connection-note {
  font-size: 10px !important;
  color: #a1a68f !important;
  background: #eff0e5;
  padding: 12px;
}
.invite-page {
  min-height: 100vh;
  background: color-mix(in srgb, var(--cover) 28%, #fffdf5);
}
.invite-page > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 50px;
}
.invite-page > header .logo {
  font-size: 29px;
}
.invite-page > header .logo-symbol {
  width: 33px;
  height: 33px;
  font-size: 29px;
}
.invite-container {
  max-width: 760px;
  padding: 28px 25px 50px;
}
.invite-topline {
  text-align: center;
  font-size: 9px;
  letter-spacing: 1.8px;
  color: #8c917c;
  margin-bottom: 22px;
}
.invite-card {
  border: 1px solid #e2dfd4;
  background: #fffdf7;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px #4d513512;
}
.invite-art {
  height: 220px;
  position: relative;
  display: flex;
  justify-content: center;
}
.invite-art .cover-art {
  max-width: 355px;
  height: 220px;
  max-height: 220px;
}
.invite-seal {
  position: absolute;
  right: 40px;
  bottom: -25px;
  background: #f2d878;
  color: #867333;
  border-radius: 50%;
  width: 85px;
  height: 85px;
  display: grid;
  place-content: center;
  text-align: center;
  line-height: 1.05;
  transform: rotate(13deg);
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 22px;
  border: 1px dashed #b79a5a80;
}
.invite-content {
  padding: 37px 58px 25px;
}
.invite-content h1 {
  font-family: Georgia, serif;
  font-weight: 400;
  font-style: italic;
  font-size: 48px;
  margin: 18px 0;
  letter-spacing: -1.8px;
  overflow-wrap: anywhere;
}
.personal-greeting {
  font-size: 15px;
  color: #757e61;
  margin: 0 0 14px;
}
.invitation-message {
  white-space: pre-wrap;
  font-size: 13px;
  line-height: 1.9;
  color: #7f8471;
  overflow-wrap: anywhere;
}
.invite-details {
  display: flex;
  flex-direction: column;
  gap: 21px;
  border-block: 1px solid #e8e6da;
  padding: 23px 0;
  margin: 25px 0;
}
.invite-details > div {
  display: flex;
  gap: 15px;
}
.invite-details svg {
  color: #929c7f;
  width: 20px;
  height: 20px;
}
.invite-details b {
  display: block;
  font-size: 13px;
  font-weight: 500;
}
.invite-details small {
  display: block;
  font-size: 10px;
  line-height: 1.7;
  color: #9b9f8c;
  margin-top: 4px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.host-sign {
  display: flex;
  align-items: center;
  gap: 11px;
}
.host-sign small {
  font-size: 9px;
  color: #a1a590;
  display: block;
  margin-bottom: 6px;
}
.host-sign b {
  font-size: 12px;
  font-weight: 500;
}
.rsvp-section {
  margin-top: 30px;
  border-radius: 11px;
  padding: 23px;
  background: #f4f4e9;
}
.rsvp-section h3 {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 15px;
}
.rsvp-section > p {
  font-size: 11px;
  color: #9a9d87;
}
.rsvp-options {
  display: flex;
  gap: 7px;
  margin-bottom: 20px;
}
.rsvp-option {
  font-size: 10px;
  border: 1px solid #dfe3d2;
  background: #fffef6;
  border-radius: 7px;
  padding: 12px 8px;
  display: flex;
  gap: 6px;
  align-items: center;
  cursor: pointer;
  flex: 1;
  justify-content: center;
  white-space: nowrap;
}
.rsvp-option input {
  width: 11px;
  height: 11px;
}
.rsvp-option.checked {
  background: #e7edda;
  border-color: #99a97d;
  color: #667d46;
}
.rsvp-section .field {
  font-size: 10px;
}
.invite-private {
  font-size: 9px;
  color: #acaf9b;
  text-align: center;
  line-height: 1.7;
  margin: 20px 0 0;
}
.invite-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 10px;
  color: #939b80;
  margin-top: 25px;
}
.invite-bottom b {
  font-size: 15px;
  color: #667451;
  letter-spacing: -0.5px;
}
.invite-bottom span {
  border-left: 1px solid #d4d8c3;
  margin-left: 9px;
  padding-left: 14px;
  font-size: 9px;
}
@media (min-width: 1550px) {
  :root {
    --sidebar: 255px;
  }
  .hero {
    min-height: 425px;
  }
  .hero-art {
    min-height: 425px;
  }
  .hero-copy {
    padding: 43px;
  }
  .hero-copy > p {
    font-size: 14px;
  }
  .template-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  .template-cover {
    aspect-ratio: 1.3;
  }
  .template-info p {
    font-size: 10px;
  }
  .template-info h3 {
    font-size: 12px;
  }
  .event-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 1150px) {
  :root {
    --sidebar: 205px;
  }
  .sidebar {
    padding: 32px 16px 20px;
  }
  .sidebar .logo {
    font-size: 31px;
  }
  .topbar {
    padding: 0 28px;
  }
  main {
    padding: 28px 28px 0;
  }
  footer {
    margin-inline: 28px;
  }
  .hero-copy {
    padding: 30px 0 25px 25px;
  }
  .hero h1 {
    font-size: 44px;
  }
  .hero-art {
    min-height: 370px;
  }
  .s1 {
    right: 10px;
    font-size: 55px;
  }
  .ribbon {
    right: 0;
    width: 70px;
    height: 70px;
    font-size: 14px;
  }
  .mini-invite {
    width: 192px;
    height: 261px;
    padding: 23px;
  }
  .floating-label {
    left: 10px;
    font-size: 8px;
  }
  .hero-copy .eyebrow {
    font-size: 7px;
  }
  .first-event {
    padding: 23px 18px;
    gap: 17px;
  }
  .first-event .text-link {
    font-size: 10px;
  }
  .first-event p {
    font-size: 9px;
  }
  .template-grid {
    gap: 13px;
  }
  .template-info {
    padding: 13px;
  }
  .template-info h3 {
    font-size: 12px;
  }
  .template-info p {
    font-size: 9px;
  }
  .hide-mobile {
    display: none;
  }
  .editor-layout {
    gap: 20px;
    grid-template-columns: minmax(0, 1.2fr) minmax(230px, 0.8fr);
  }
  .form-panel {
    padding: 23px;
  }
  .event-workspace {
    grid-template-columns: minmax(0, 1fr) 235px;
    gap: 20px;
  }
  .event-workspace .section-heading {
    flex-direction: column;
  }
  .event-workspace .section-heading .btn {
    width: 100%;
  }
  .guest-actions {
    gap: 0;
  }
  .guest-row {
    padding: 13px 10px;
    gap: 9px;
  }
  .guest-row .avatar {
    width: 30px;
    height: 30px;
    font-size: 10px;
  }
  .small-btn {
    font-size: 9px;
    padding: 7px;
  }
  .small-btn svg {
    display: none;
  }
  .guest-name b {
    font-size: 10px;
  }
  .stats-grid > div {
    padding: 15px 12px;
  }
  .stats-grid span {
    font-size: 9px;
  }
  .event-controls {
    flex-wrap: wrap;
  }
  .event-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 850px) {
  :root {
    --sidebar: 175px;
  }
  .sidebar {
    padding-inline: 12px;
  }
  .sidebar .logo {
    font-size: 26px;
    gap: 6px;
  }
  .sidebar .logo-symbol {
    width: 33px;
    height: 33px;
    font-size: 29px;
  }
  .sidebar nav a {
    font-size: 11px;
    gap: 8px;
    padding: 12px 8px;
  }
  .side-caption {
    font-size: 7px;
    letter-spacing: 1.5px;
  }
  .side-note {
    padding-inline: 6px;
  }
  .side-note b {
    font-size: 10px;
  }
  .side-note p {
    font-size: 9px;
  }
  .top-tag {
    display: none;
  }
  .topbar {
    height: 70px;
    padding-inline: 22px;
  }
  main {
    padding: 23px 22px 0;
  }
  footer {
    margin-inline: 22px;
  }
  .hero {
    grid-template-columns: 1fr 0.8fr;
  }
  .hero h1 {
    font-size: 38px;
    letter-spacing: -2px;
  }
  .hero-copy {
    padding: 25px 0 25px 22px;
  }
  .hero-copy > p {
    font-size: 10px;
  }
  .hero .eyebrow {
    font-size: 6px;
    letter-spacing: 0.8px;
  }
  .hero-art {
    min-height: 340px;
  }
  .mini-invite {
    width: 150px;
    height: 235px;
    padding: 18px;
  }
  .mini-invite h2 {
    font-size: 32px;
  }
  .mini-flower {
    font-size: 33px;
  }
  .mini-tag {
    font-size: 5px;
  }
  .floating-label {
    display: none;
  }
  .ribbon {
    width: 60px;
    height: 60px;
    font-size: 12px;
    right: 2px;
    bottom: 93px;
  }
  .rsvp-bubble {
    font-size: 8px;
    padding: 9px;
    left: 45%;
    bottom: 24px;
  }
  .rsvp-bubble small {
    font-size: 6px;
  }
  .bubble-check {
    width: 22px;
    height: 22px;
  }
  .s1 {
    top: 30px;
    font-size: 45px;
    right: 12px;
  }
  .s2 {
    left: -5px;
    font-size: 38px;
    bottom: 46px;
  }
  .hero-note {
    font-size: 7px;
  }
  .bottom-squiggle {
    font-size: 42px;
  }
  .first-event {
    flex-wrap: wrap;
  }
  .first-event .text-link {
    margin-left: 84px;
    margin-top: -10px;
  }
  .first-event h3 {
    font-size: 11px;
  }
  .first-event .empty-illustration {
    width: 51px;
    height: 51px;
    font-size: 27px;
  }
  .first-event > div:nth-child(2) {
    flex: 1;
  }
  .first-event p br {
    display: none;
  }
  .template-grid {
    gap: 11px;
  }
  .template-info p {
    font-size: 8px;
  }
  .template-info h3 {
    font-size: 10px;
  }
  .template-info {
    padding: 11px;
  }
  .template-arrow {
    width: 19px;
    height: 19px;
    font-size: 12px;
    right: 8px;
    top: 8px;
  }
  .template-cover {
    aspect-ratio: 1.45;
  }
  .section-heading h2 {
    font-size: 21px;
  }
  .section-heading p {
    font-size: 10px;
  }
  .how-strip {
    gap: 10px;
  }
  .how-strip b {
    font-size: 9px;
  }
  .how-strip p {
    font-size: 8px;
  }
  .how-strip > div {
    grid-template-columns: 19px auto;
    gap: 0 5px;
  }
  .editor-layout {
    grid-template-columns: 1fr;
  }
  .preview-column {
    position: static;
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
  }
  .editor-layout > .preview-column {
    display: none;
  }
  .compact-heading h1 {
    font-size: 30px;
  }
  .event-workspace {
    grid-template-columns: 1fr;
  }
  .event-workspace > .preview-column {
    display: none;
  }
  .event-workspace .section-heading {
    flex-direction: row;
  }
  .event-workspace .section-heading .btn {
    width: auto;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .event-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .event-heading h1 {
    font-size: 31px;
  }
  .guest-name b {
    font-size: 12px;
  }
  .guest-row {
    padding: 17px 14px;
  }
  .guest-row .avatar {
    width: 35px;
    height: 35px;
  }
  .login-story {
    padding: 35px 30px;
  }
  .login-form-side {
    padding: 30px;
  }
  .login-story h1 {
    font-size: 58px;
  }
  .login-form h2 {
    font-size: 29px;
  }
  .login-art b {
    left: 100px;
    top: 140px;
  }
  .login-story .eyebrow {
    font-size: 7px;
  }
}
@media (max-width: 600px) {
  .layout {
    display: block;
  }
  .sidebar {
    height: auto;
    position: sticky;
    top: 0;
    z-index: 10;
    width: 100%;
    padding: 0;
    background: #fbfaf6f5;
    backdrop-filter: blur(10px);
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .sidebar > .logo,
  .side-caption,
  .side-bottom {
    display: none;
  }
  .sidebar nav {
    flex-direction: row;
    gap: 5px;
    justify-content: center;
    padding: 9px 12px;
  }
  .sidebar nav a {
    padding: 10px 12px;
    font-size: 10px;
    gap: 6px;
    border-radius: 7px;
  }
  .sidebar nav svg {
    width: 15px;
    height: 15px;
  }
  .nav-count {
    font-size: 9px;
  }
  .topbar {
    height: 64px;
    padding: 0 20px;
    border-bottom: 0;
  }
  .breadcrumb,
  .top-tag {
    display: none;
  }
  .mobile-logo {
    display: block;
    font-size: 25px;
    font-weight: 800;
    letter-spacing: -1.6px;
  }
  .topbar > .avatar {
    display: flex;
  }
  .mobile-login {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: #758263;
  }
  .topbar > .avatar {
    cursor: pointer;
  }
  .topbar {
    position: relative;
  }
  .topbar:has(.avatar):after {
    content: "";
  }
  .layout main {
    padding: 0 17px;
  }
  .hero {
    min-height: 460px;
    grid-template-columns: 1fr;
  }
  .hero-copy {
    padding: 27px 26px 0;
  }
  .hero .eyebrow {
    font-size: 7px;
    letter-spacing: 1px;
  }
  .hero h1 {
    font-size: 48px;
    margin: 18px 0 14px;
  }
  .hero h1 br {
    display: none;
  }
  .hero h1 > span {
    display: block;
  }
  .hero-copy > p {
    font-size: 11px;
    line-height: 1.7;
    margin-bottom: 17px;
  }
  .hero-copy > p br {
    display: none;
  }
  .hero-copy > p {
    max-width: 245px;
  }
  .hero-copy .btn {
    min-height: 42px;
    padding: 11px 16px;
    font-size: 11px;
  }
  .hero-note {
    font-size: 8px;
    max-width: 175px;
    line-height: 1.6;
  }
  .hero-art {
    position: absolute;
    right: 7px;
    bottom: 10px;
    width: 190px;
    height: 200px;
    min-height: 0;
    pointer-events: none;
  }
  .mini-invite {
    width: 132px;
    height: 180px;
    padding: 15px;
    transform: rotate(10deg);
    margin-bottom: 10px;
  }
  .mini-invite h2 {
    font-size: 26px;
    margin: 5px 0 8px;
  }
  .mini-flower {
    font-size: 24px;
    margin: 5px 0;
  }
  .mini-tag {
    font-size: 4px;
  }
  .mini-invite p {
    font-size: 6px;
    margin: 7px 0;
  }
  .mini-yes {
    font-size: 6px;
    padding: 7px;
  }
  .rsvp-bubble {
    padding: 8px;
    font-size: 7px;
    bottom: 0;
    left: 41%;
    transform: translateX(-50%) rotate(-7deg);
  }
  .rsvp-bubble small {
    font-size: 5px;
  }
  .s1 {
    font-size: 38px;
    top: 1px;
    right: 1px;
  }
  .s2 {
    font-size: 30px;
    bottom: 20px;
    left: 5px;
  }
  .ribbon {
    width: 51px;
    height: 51px;
    right: 0;
    bottom: 48px;
    font-size: 10px;
  }
  .bottom-squiggle {
    display: none;
  }
  .events-section {
    margin-top: 27px;
  }
  .section-heading {
    margin-bottom: 18px;
    gap: 12px;
  }
  .section-heading h2 {
    font-size: 21px;
  }
  .section-heading p {
    font-size: 10px;
    line-height: 1.6;
  }
  .section-heading .btn {
    min-height: 36px;
    font-size: 9px;
    padding: 9px 11px;
    gap: 5px;
  }
  .section-heading .btn svg {
    width: 13px;
    height: 13px;
  }
  .first-event {
    padding: 21px 16px;
    gap: 15px;
  }
  .first-event h3 {
    font-size: 12px;
    line-height: 1.5;
  }
  .first-event p {
    font-size: 9px;
  }
  .first-event .text-link {
    margin-left: 66px;
    margin-top: -6px;
  }
  .empty-illustration {
    width: 47px !important;
    height: 47px !important;
  }
  .templates-section {
    margin-top: 30px;
  }
  .templates-section .eyebrow {
    font-size: 7px;
  }
  .template-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .template-info {
    padding: 13px;
  }
  .template-info h3 {
    font-size: 12px;
  }
  .template-info p {
    font-size: 9px;
  }
  .template-cover {
    aspect-ratio: 1.5;
  }
  .template-arrow {
    top: 10px;
    right: 10px;
  }
  .how-strip {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 26px;
    padding-top: 24px;
  }
  .how-strip > div {
    grid-template-columns: 27px auto;
    gap: 0 9px;
  }
  .how-strip b {
    font-size: 11px;
  }
  .how-strip p {
    font-size: 9px;
    margin-top: 5px;
  }
  footer {
    margin: 30px 17px 0;
    font-size: 8px;
    padding: 17px 0;
    gap: 15px;
  }
  footer > span:nth-child(2) {
    font-size: 7px;
  }
  .footer-star {
    font-size: 18px;
  }
  .page-heading {
    margin-top: 20px;
  }
  .page-heading h1 {
    font-size: 31px;
  }
  .event-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .event-cover {
    height: 190px;
  }
  .event-cover .cover-art {
    height: 180px;
  }
  .event-copy h3 {
    font-size: 17px;
  }
  .event-copy > p {
    font-size: 11px;
  }
  .event-card-foot {
    font-size: 10px;
  }
  .event-controls {
    gap: 12px;
  }
  .event-controls .search {
    width: 100%;
  }
  .event-controls .search input {
    width: 100%;
  }
  .tabs {
    gap: 0;
  }
  .tabs button {
    font-size: 10px;
    padding: 9px 11px;
  }
  .count {
    font-size: 9px;
    min-width: 20px;
  }
  .back-link {
    margin-top: 10px;
  }
  .compact-heading h1 {
    font-size: 29px;
  }
  .compact-heading .eyebrow {
    font-size: 7px;
  }
  .compact-heading p {
    font-size: 11px;
  }
  .steps {
    gap: 23px;
    margin-bottom: 20px;
  }
  .steps button {
    font-size: 10px;
    gap: 7px;
    padding-bottom: 13px;
  }
  .steps button span {
    width: 21px;
    height: 21px;
  }
  .form-panel {
    padding: 21px 18px;
  }
  .form-panel h2 {
    font-size: 22px;
  }
  .form-panel > .muted {
    font-size: 10px;
  }
  .picker-card {
    padding: 14px 10px;
    gap: 9px;
    min-height: 95px;
    align-content: center;
  }
  .picker-card b {
    font-size: 11px;
    width: 100%;
  }
  .picker-icon {
    width: 30px;
    height: 30px;
    font-size: 20px;
  }
  .template-picker {
    gap: 10px;
  }
  .form-grid {
    gap: 15px 11px;
  }
  .field {
    font-size: 10px;
  }
  input,
  textarea,
  select {
    font-size: 13px;
    padding: 11px;
  }
  input[type="date"],
  input[type="time"] {
    font-size: 12px;
    max-width: 100%;
  }
  .field small {
    font-size: 9px;
  }
  .form-actions .btn {
    font-size: 11px;
  }
  .form-actions {
    padding-top: 20px;
  }
  .event-heading {
    margin-top: 7px;
    margin-bottom: 21px;
    gap: 15px;
  }
  .event-heading h1 {
    font-size: 29px;
  }
  .event-heading .eyebrow {
    font-size: 7px;
  }
  .event-details {
    font-size: 10px;
    gap: 10px;
    flex-direction: column;
  }
  .event-heading .btn {
    min-height: 35px;
    padding: 9px 13px;
    font-size: 10px;
  }
  .stats-grid {
    gap: 10px;
    margin-bottom: 25px;
  }
  .stats-grid > div {
    padding: 16px;
  }
  .stats-grid span {
    font-size: 9px;
  }
  .stats-grid b {
    font-size: 30px;
    margin-top: 10px;
  }
  .event-workspace .section-heading .btn {
    font-size: 9px;
    min-height: 36px;
    white-space: normal;
  }
  .event-workspace .section-heading {
    gap: 15px;
  }
  .event-workspace .section-heading h2 {
    font-size: 21px;
  }
  .event-workspace .section-heading p {
    font-size: 9px;
  }
  .guest-toolbar {
    gap: 8px;
  }
  .guest-toolbar select {
    width: 120px;
    font-size: 9px;
  }
  .guest-row {
    padding: 15px 10px;
    gap: 9px;
  }
  .guest-row .avatar {
    width: 31px;
    height: 31px;
    font-size: 10px;
  }
  .guest-name b {
    font-size: 10px;
  }
  .guest-actions .small-btn {
    padding: 7px;
    font-size: 8px;
  }
  .guest-actions .icon-btn {
    width: 26px;
  }
  .guest-actions .icon-btn svg {
    width: 13px;
  }
  .guest-comment {
    font-size: 9px;
  }
  .guest-name .status {
    font-size: 8px;
  }
  .event-bottom-actions .text-link {
    font-size: 8px;
    gap: 5px;
  }
  .event-bottom-actions svg {
    width: 13px;
  }
  .login-layout {
    display: block;
  }
  .login-story {
    display: none;
  }
  .login-form-side {
    padding: 25px 25px;
  }
  .login-form {
    margin: 28px auto;
    max-width: 360px;
  }
  .login-form h2 {
    font-size: 34px;
  }
  .login-form-side > .back-link {
    margin-top: 0;
  }
  .login-form > .eyebrow {
    font-size: 8px;
  }
  .login-form > p {
    font-size: 12px;
  }
  .login-form .field {
    font-size: 11px;
  }
  .login-form input {
    font-size: 16px;
  }
  .invite-page > header {
    padding: 23px 21px;
  }
  .invite-page > header .logo {
    font-size: 26px;
  }
  .invite-page > header .logo-symbol {
    width: 30px;
    height: 30px;
    font-size: 25px;
  }
  .invite-page > header .text-link {
    font-size: 9px;
  }
  .invite-page > header .text-link svg {
    width: 12px;
  }
  .invite-container {
    padding: 12px 13px 30px;
  }
  .invite-topline {
    font-size: 7px;
    letter-spacing: 1.2px;
    line-height: 1.7;
    margin: 5px 15px 18px;
  }
  .invite-art {
    height: 190px;
  }
  .invite-art .cover-art {
    height: 190px;
    max-width: 290px;
  }
  .invite-seal {
    width: 64px;
    height: 64px;
    font-size: 18px;
    right: 25px;
    bottom: -20px;
  }
  .invite-content {
    padding: 31px 23px 23px;
  }
  .invite-content h1 {
    font-size: 37px;
    letter-spacing: -1.3px;
    line-height: 1.12;
  }
  .invite-content > .eyebrow {
    font-size: 8px;
  }
  .personal-greeting {
    font-size: 13px;
  }
  .invitation-message {
    font-size: 12px;
  }
  .invite-details {
    margin: 22px 0;
    padding: 21px 0;
  }
  .invite-details b {
    font-size: 12px;
  }
  .rsvp-section {
    padding: 18px 14px;
    margin-top: 25px;
  }
  .rsvp-section h3 {
    font-size: 17px;
  }
  .rsvp-options {
    gap: 5px;
  }
  .rsvp-option {
    font-size: 9px;
    gap: 4px;
    padding: 11px 6px;
  }
  .rsvp-option input {
    width: 10px;
    height: 10px;
  }
  .rsvp-section .checkbox {
    font-size: 10px;
  }
  .rsvp-section .btn {
    font-size: 10px;
    min-height: 42px;
    padding: 11px;
  }
  .rsvp-section textarea {
    font-size: 12px;
  }
  .invite-private {
    font-size: 8px;
  }
  .invite-bottom {
    font-size: 8px;
    gap: 5px;
  }
  .invite-bottom b {
    font-size: 13px;
  }
  .invite-bottom span {
    font-size: 7px;
    margin-left: 5px;
    padding-left: 9px;
  }
  dialog {
    padding: 29px 23px;
  }
  dialog h2 {
    font-size: 24px;
  }
  dialog .field {
    font-size: 11px;
  }
  dialog input,
  dialog textarea {
    font-size: 14px;
  }
  dialog .eyebrow {
    font-size: 7px;
  }
  .share-grid .btn {
    font-size: 11px;
  }
  .empty-state h1 {
    font-size: 27px;
  }
  .empty-state {
    padding: 55px 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
