:root {
  --ink: #2d2d2d;
  --muted: #5f6368;
  --accent: #39799f;
  --line: #dedede;
  --bg: #fff;
  --orange: #39799f;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font:
    14px 'DM Sans',
    sans-serif;
}
button,
input,
select {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #39799f;
  outline-offset: 3px;
}
a {
  color: inherit;
  text-decoration: none;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 242px;
  background: #fff;
  border-right: 1px solid var(--line);
  padding: 35px 23px;
  display: flex;
  flex-direction: column;
  z-index: 5;
}
.logo {
  font-family: Manrope, sans-serif;
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -1.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo span {
  color: var(--accent);
}
.logo-mark {
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #fff !important;
  width: 31px;
  height: 34px;
  font-size: 21px;
  border-radius: 10px 4px 10px 4px;
}
.workspace {
  background: #f5f6f2;
  border: 1px solid var(--line);
  padding: 13px 10px;
  border-radius: 9px;
  margin: 35px 0 29px;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
}
.workspace b {
  display: block;
  margin-bottom: 3px;
}
.workspace small {
  color: var(--muted);
}
.nav-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.8px;
  color: #626a64;
  margin: 0 12px 12px;
}
.nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.nav button {
  border: 0;
  background: transparent;
  text-align: left;
  padding: 13px 14px;
  border-radius: 7px;
  color: #5f6861;
  display: flex;
  align-items: center;
  gap: 13px;
}
.nav button.active {
  background: #eaf5fc;
  color: var(--accent);
  font-weight: 700;
}
.icon {
  width: 19px;
  height: 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.badge-count {
  margin-left: auto;
  background: #f0f0f0;
  border-radius: 5px;
  padding: 2px 6px;
  font-size: 10px;
}
.side-bottom {
  margin-top: auto;
}
.help {
  background: #f8f6f0;
  border-radius: 10px;
  padding: 18px;
  margin: 25px 0 18px;
}
.help b {
  display: block;
  font-size: 12px;
  margin: 10px 0 7px;
}
.help p {
  font-size: 11px;
  line-height: 1.8;
  color: #626a63;
  margin: 0 0 10px;
}
.help button {
  background: white;
  border: 1px solid #e5e4dc;
  border-radius: 5px;
  padding: 8px 10px;
  font-size: 11px;
}
.mode {
  border: 1px solid var(--line);
  background: white;
  border-radius: 7px;
  padding: 10px;
  width: 100%;
  font-size: 11px;
  color: #6f7b71;
}
.shell {
  margin-left: 242px;
}
.topbar {
  height: 88px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 0 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.crumb {
  color: #616a63;
  font-size: 12px;
}
.crumb span {
  color: #37463c;
  margin-left: 13px;
}
.top-right {
  display: flex;
  align-items: center;
  gap: 23px;
}
.demo {
  font-size: 10px;
  color: #285e7d;
  background: #eaf5fc;
  padding: 5px 9px;
  border-radius: 4px;
}
.notification {
  border: 0;
  background: none;
  color: #647269;
  position: relative;
}
.notification:after {
  content: '';
  width: 5px;
  height: 5px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #d49a68;
  position: absolute;
  right: 6px;
  top: 0;
}
.avatar {
  width: 35px;
  height: 35px;
  background: #eadfcf;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #7b654e;
  font-size: 11px;
  font-weight: 700;
}
.profile {
  display: flex;
  align-items: center;
  gap: 10px;
}
.profile b {
  font-size: 12px;
}
.profile small {
  display: block;
  font-size: 10px;
  color: #626a64;
  margin-top: 3px;
}
main {
  max-width: 1450px;
  margin: auto;
  padding: 33px 42px;
}
.heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 26px;
}
.eyebrow {
  font-size: 10px;
  color: #5f6961;
  letter-spacing: 1.8px;
  font-weight: 700;
}
.heading h1 {
  font-family: Manrope, sans-serif;
  font-size: 27px;
  font-weight: 750;
  letter-spacing: -1px;
  margin: 8px 0;
}
.heading p {
  color: #626a63;
  font-size: 12px;
  margin: 8px 0 0;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: white;
  border-radius: 6px;
  padding: 11px 16px;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink);
}
.btn.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.btn.light {
  background: #fff6f7;
  color: #a52e45;
}
.btn .icon {
  width: 15px;
  height: 15px;
}
.hero {
  border-radius: 12px;
  overflow: hidden;
  min-height: 245px;
  display: flex;
  justify-content: space-between;
  position: relative;
  background: #e5f3fc;
  margin-bottom: 23px;
}
.hero-content {
  padding: 29px 34px;
  z-index: 1;
  max-width: 65%;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  font-weight: 650;
  padding: 5px 8px;
  border-radius: 4px;
  background: #fff9e7;
  color: #8e7752;
}
.hero h2 {
  font-family: Georgia, serif;
  font-size: 37px;
  font-weight: 400;
  margin: 18px 0 13px;
  letter-spacing: -1px;
}
.hero-meta {
  display: flex;
  gap: 18px;
  font-size: 11px;
  color: #677466;
  align-items: center;
  flex-wrap: wrap;
}
.hero-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.hero-meta .icon {
  width: 14px;
  height: 14px;
}
.hero-actions {
  display: flex;
  gap: 9px;
  margin-top: 24px;
}
.hero-art {
  position: absolute;
  inset: 0 0 0 49%;
  background:
    linear-gradient(90deg, #e5f3fc 0%, #e5f3fc10 50%),
    url('https://images.unsplash.com/photo-1519741497674-611481863552?auto=format&fit=crop&w=1100&q=85')
      center 49% / cover;
}
.countdown {
  position: absolute;
  right: 26px;
  bottom: 23px;
  background: #ffffffed;
  border-radius: 8px;
  padding: 12px 19px;
  text-align: center;
  backdrop-filter: blur(10px);
  z-index: 1;
}
.countdown b {
  font:
    29px Georgia,
    serif;
  display: block;
}
.countdown span {
  font-size: 9px;
  color: #879081;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 17px;
  margin: 0 0 27px;
}
.stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 19px 19px 16px;
}
.stat-head {
  display: flex;
  justify-content: space-between;
  color: #5e685f;
  font-size: 11px;
  align-items: center;
}
.stat-head .icon {
  background: #eaf5fc;
  padding: 8px;
  width: 33px;
  height: 33px;
  border-radius: 8px;
  color: #39799f;
}
.stat strong {
  font-family: Manrope, sans-serif;
  font-size: 29px;
  font-weight: 750;
  letter-spacing: -1px;
  display: block;
  margin: 5px 0 7px;
}
.stat small {
  font-size: 10px;
  color: #9aa294;
}
.stat small em {
  font-style: normal;
  color: #5d9364;
}
.grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(270px, 1fr);
  gap: 23px;
}
.grid.grid-one {
  grid-template-columns: minmax(0, 1fr);
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 22px;
  padding: 23px;
}
.card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 21px;
  gap: 10px;
}
.card h3 {
  font-family: Manrope, sans-serif;
  font-size: 14px;
  letter-spacing: -0.25px;
  margin: 0;
  font-weight: 750;
}
.text-link {
  font-size: 10px;
  color: var(--accent);
  border: 0;
  background: none;
  cursor: pointer;
  white-space: nowrap;
}
.muted {
  color: #8c968c;
  font-size: 11px;
  line-height: 1.7;
}
.next {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #faf8f1;
  border: 1px solid #f2eadc;
  border-radius: 8px;
  padding: 17px;
}
.next-symbol {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #eee8d8;
  display: grid;
  place-items: center;
  color: #a38b58;
}
.next b {
  font-size: 12px;
  display: block;
  margin-bottom: 5px;
}
.next p {
  font-size: 10px;
  color: #938d7b;
  line-height: 1.6;
  margin: 0;
}
.next button {
  margin-left: auto;
}
.steps {
  display: flex;
  justify-content: space-between;
  margin-top: 24px;
}
.step {
  font-size: 9px;
  color: #9a9f94;
  display: flex;
  align-items: center;
  gap: 6px;
}
.step span {
  width: 18px;
  height: 18px;
  border: 1px solid #dce3d9;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 8px;
}
.step.done span {
  color: white;
  background: #39799f;
  border-color: #39799f;
}
.step.current {
  color: #326689;
}
.progress {
  height: 4px;
  background: #e4f0f7;
  border-radius: 5px;
  margin-top: 14px;
  overflow: hidden;
}
.progress i {
  display: block;
  height: 100%;
  background: #91ad83;
  width: 66%;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 11px;
}
th {
  font-size: 9px;
  color: #959e94;
  font-weight: 500;
  border-bottom: 1px solid var(--line);
  padding: 0 0 12px;
}
td {
  padding: 14px 0;
  border-bottom: 1px solid #f0f1ed;
}
tr:last-child td {
  border: 0;
}
.person {
  display: flex;
  align-items: center;
  gap: 9px;
}
.person .avatar {
  width: 29px;
  height: 29px;
  font-size: 9px;
  background: #f0eee4;
}
.person small {
  display: block;
  color: #a0a69c;
  font-size: 9px;
  margin-top: 3px;
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 7px;
  border-radius: 4px;
  font-size: 9px;
  background: #edf4e9;
  color: #658a55;
}
.status.wait {
  background: #fbf4e5;
  color: #b19452;
}
.status.off {
  background: #f9ece9;
  color: #b97c70;
}
.site-preview {
  height: 140px;
  background: #eee9df;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  margin-bottom: 14px;
}
.mini-page {
  height: 165px;
  width: 76%;
  background: #fffcf5;
  text-align: center;
  box-shadow: 0 4px 15px #665c491b;
  padding: 17px;
  transform: translateY(28px);
}
.mini-page small {
  font-size: 6px;
  letter-spacing: 1px;
  color: #8e947d;
}
.mini-page h4 {
  font:
    23px Georgia,
    serif;
  margin: 13px 0 8px;
  color: #6c7456;
}
.mini-page p {
  font-size: 7px;
  color: #939a85;
}
.mini-flower {
  font-size: 27px;
  color: #a1a87a;
}
.domain {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  gap: 8px;
  margin-bottom: 16px;
}
.domain .status {
  font-size: 8px;
}
.wide {
  width: 100%;
}
.activity {
  display: flex;
  gap: 10px;
  margin-bottom: 19px;
}
.activity:last-child {
  margin: 0;
}
.activity-dot {
  width: 27px;
  height: 27px;
  background: #eaf5fc;
  color: #39799f;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.activity-dot .icon {
  width: 12px;
  height: 12px;
}
.activity p {
  font-size: 10px;
  margin: 0;
  line-height: 1.6;
}
.activity small {
  color: #a2aa9e;
  font-size: 9px;
}
.footer {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: #a0a79b;
  padding: 2px 0 20px;
}
.toolbar {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.search {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 11px 13px;
  min-width: 240px;
  background: #fff;
  outline-color: #39799f;
}
.event-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.event-card {
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
}
.event-cover {
  height: 160px;
  background: #e5f3fc;
  display: grid;
  place-items: center;
  font:
    35px Georgia,
    serif;
  color: #9d6670;
}
.event-cover.wedding {
  background:
    linear-gradient(#0001, #0001),
    url('https://images.unsplash.com/photo-1519741497674-611481863552?auto=format&fit=crop&w=600&q=80')
      center/cover;
}
.event-body {
  padding: 20px;
}
.event-body h3 {
  font:
    23px Georgia,
    serif;
  margin: 14px 0;
}
.event-body .btn {
  margin-top: 16px;
}
.empty {
  padding: 45px;
  text-align: center;
  color: #87927f;
}
.editor-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}
.field {
  display: block;
  margin-bottom: 17px;
  font-size: 11px;
  font-weight: 600;
}
.field input,
.field select {
  display: block;
  width: 100%;
  padding: 12px;
  border: 1px solid #dfe5dc;
  border-radius: 6px;
  margin-top: 7px;
  background: #fff;
  color: var(--ink);
}
.page-preview {
  padding: 50px 20px;
  background: #f6f2e7;
  border: 8px solid #fff;
  text-align: center;
  border-radius: 12px;
  box-shadow: 0 2px 20px #23372408;
}
.page-preview h2 {
  font:
    45px Georgia,
    serif;
  color: #697754;
}
.page-preview p {
  font-size: 12px;
  line-height: 1.8;
  color: #939581;
}
.chart {
  height: 170px;
  display: flex;
  align-items: end;
  gap: 17px;
  padding: 20px 0 0;
}
.bar-group {
  height: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: center;
  gap: 8px;
}
.bar {
  background: #9bcbe6;
  width: 100%;
  max-width: 30px;
  border-radius: 4px 4px 0 0;
}
.bar-group:nth-child(6) .bar {
  background: #39799f;
}
.bar-group small {
  font-size: 9px;
  color: #9aa394;
}
.modal-overlay {
  position: fixed;
  inset: 0;
  background: #1b302b66;
  backdrop-filter: blur(3px);
  display: grid;
  place-items: center;
  z-index: 20;
  padding: 20px;
}
.modal-box {
  max-width: 480px;
  width: 100%;
  background: white;
  border-radius: 14px;
  padding: 28px;
  max-height: 90vh;
  overflow: auto;
}
.modal-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}
.modal-title h2 {
  font-size: 20px;
  margin: 0;
}
.close {
  border: 0;
  background: #f4f5f0;
  border-radius: 50%;
  width: 28px;
  height: 28px;
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: min(440px, calc(100vw - 32px));
  background: #254a37;
  color: white;
  padding: 13px 20px;
  border-radius: 10px;
  box-shadow: 0 8px 24px #0000003d;
  font-size: 14px;
  line-height: 1.45;
  text-align: center;
  overflow-wrap: anywhere;
  cursor: pointer;
  z-index: 30;
  display: none;
}
#toast.toast-in {
  animation: toast-in 0.22s ease-out;
}
@keyframes toast-in {
  from {
    opacity: 0;
    transform: translate(-50%, 10px);
  }
}
@media (prefers-reduced-motion: reduce) {
  #toast.toast-in {
    animation: none;
  }
}
.mobile-toggle {
  display: none;
}
.notice {
  font-size: 11px;
  padding: 13px;
  border-radius: 7px;
  background: #f8f3e6;
  color: #9a865e;
  margin-bottom: 22px;
}
.actions {
  display: flex;
  gap: 7px;
}
.row-action {
  border: 0;
  background: #f3f5ef;
  color: #58724f;
  border-radius: 4px;
  padding: 6px;
  font-size: 10px;
}
@media (min-width: 1500px) {
  main {
    padding-top: 40px;
  }
  .hero {
    min-height: 280px;
  }
  .hero-content {
    padding-top: 38px;
  }
}
@media (max-width: 1100px) {
  .sidebar {
    width: 205px;
    padding: 30px 16px;
  }
  .shell {
    margin-left: 205px;
  }
  .topbar {
    padding: 0 25px;
  }
  main {
    padding: 26px 25px;
  }
  .grid {
    grid-template-columns: 1.4fr 1fr;
  }
  .hero h2 {
    font-size: 31px;
  }
  .hero-content {
    padding: 26px;
    max-width: 75%;
  }
  .stats {
    gap: 10px;
  }
  .stat {
    padding: 14px;
  }
  .next {
    flex-wrap: wrap;
  }
  .next button {
    margin-left: 60px;
  }
  .event-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 780px) {
  .sidebar {
    display: none;
    width: 235px;
    box-shadow: 10px 0 30px #0002;
  }
  .sidebar.open {
    display: flex;
  }
  .shell {
    margin-left: 0;
  }
  .topbar {
    height: 68px;
    padding: 0 20px;
  }
  .mobile-toggle {
    display: block;
    border: 0;
    background: none;
    margin-right: 12px;
  }
  .crumb {
    display: flex;
    align-items: center;
  }
  .top-right {
    gap: 12px;
  }
  .profile div:not(.avatar),
  .demo {
    display: none;
  }
  main {
    padding: 23px 18px;
  }
  .heading {
    gap: 10px;
  }
  .heading h1 {
    font-size: 23px;
  }
  .heading p {
    max-width: 220px;
    line-height: 1.6;
  }
  .heading > .btn {
    padding: 10px;
    font-size: 10px;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid,
  .editor-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    min-height: 280px;
  }
  .hero h2 {
    font-size: 30px;
  }
  .hero-content {
    max-width: 90%;
    padding: 25px 20px;
  }
  .hero-art {
    left: 35%;
    opacity: 0.45;
  }
  .hero-meta {
    gap: 9px;
  }
  .countdown {
    right: 14px;
    bottom: 16px;
    padding: 9px 13px;
  }
  .countdown b {
    font-size: 23px;
  }
  .hero-actions {
    max-width: 225px;
    flex-wrap: wrap;
  }
  .hero-actions .btn {
    font-size: 10px;
  }
  .card {
    padding: 18px;
  }
  .event-list {
    grid-template-columns: 1fr;
  }
  .footer {
    font-size: 8px;
  }
  .table-scroll {
    overflow: auto;
  }
  td,
  th {
    padding-right: 15px;
    white-space: nowrap;
  }
  .steps {
    gap: 7px;
  }
  .step {
    font-size: 8px;
  }
  .search {
    min-width: 180px;
    flex: 1;
  }
  .toolbar {
    gap: 8px;
  }
  .logo {
    font-size: 25px;
  }
}
.event-switcher {
  margin: 30px 0 25px;
  padding: 13px 10px;
  background: #f3f6f0;
  border: 1px solid #e2e9dd;
  border-radius: 9px;
}
.event-switcher label {
  display: block;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #7d8e75;
  margin-bottom: 9px;
}
.event-select-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
}
.event-select-wrap .icon {
  width: 16px;
  height: 16px;
}
.event-select-wrap select {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  font-weight: 700;
  font-size: 12px;
  color: var(--ink);
  padding: 6px 0;
  cursor: pointer;
  outline-color: #39799f;
}
.event-switcher small {
  display: block;
  font-size: 9px;
  color: #626b63;
  margin-top: 7px;
}
.account-nav {
  margin-top: 24px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.sidebar {
  overflow-y: auto;
}
.hero-art.celebration {
  background:
    linear-gradient(90deg, #e5f3fc, #e5f3fc00),
    radial-gradient(ellipse at 70% 30%, #e9c48d 0 12%, transparent 12.5%),
    radial-gradient(ellipse at 90% 65%, #c6ceac 0 18%, transparent 18.5%),
    radial-gradient(ellipse at 45% 55%, #e5bfab 0 20%, transparent 20.5%), #ebe5d8;
}
.stat strong {
  font-size: 26px;
}
.crumb {
  min-width: 0;
}
.crumb > span {
  white-space: nowrap;
}
.sidebar .help {
  margin-top: 18px;
}
@media (max-height: 850px) {
  .sidebar {
    padding-top: 24px;
    padding-bottom: 20px;
  }
  .sidebar .help {
    display: none;
  }
  .side-bottom {
    padding-top: 20px;
  }
  .event-switcher {
    margin-top: 24px;
  }
  .nav button {
    padding: 11px 12px;
  }
}
@media (max-width: 780px) {
  .crumb {
    font-size: 10px;
    max-width: 65%;
    flex-wrap: wrap;
  }
  .crumb > span {
    margin-left: 0;
  }
  .event-switcher {
    margin-top: 20px;
  }
  .stat strong {
    font-size: 23px;
  }
}
.template-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.template-choice {
  text-align: left;
  border: 1px solid var(--line);
  background: white;
  border-radius: 9px;
  overflow: hidden;
  padding: 0;
}
.template-choice.selected {
  border: 2px solid var(--accent);
}
.template-swatch {
  height: 145px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  padding: 18px;
}
.template-swatch > span {
  font-size: 30px;
}
.template-swatch > b {
  font:
    23px Georgia,
    serif;
}
.template-swatch > small {
  font-size: 8px;
}
.template-swatch.celebration {
  border-radius: 50% 50% 0 0;
}
.template-swatch.minimal > b {
  font:
    700 21px Manrope,
    sans-serif;
}
.template-caption {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  padding: 13px;
  font-size: 10px;
}
.template-caption span {
  color: var(--accent);
  font-size: 9px;
}
.admin-templates .template-admin {
  padding: 15px;
  margin: 0;
}
.template-admin .template-swatch {
  border-radius: 6px;
  margin-bottom: 20px;
}
.admin-templates .actions {
  flex-wrap: wrap;
}
.admin-templates + .card {
  margin-top: 24px;
}
.invitation {
  background: var(--invite-bg);
  color: var(--invite-text);
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
}
.invite-content {
  padding: 35px 25px;
}
.invite-ornament {
  font-size: 40px;
  color: var(--invite-accent);
  margin: 0 0 20px;
}
.invite-eyebrow {
  font-size: 10px !important;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.invitation h2 {
  font:
    42px Georgia,
    serif;
  margin: 26px 0;
  color: var(--invite-accent);
  overflow-wrap: anywhere;
}
.invite-rule {
  height: 1px;
  width: 65px;
  background: var(--invite-accent);
  opacity: 0.4;
  margin: 25px auto;
}
.invitation p {
  font-size: 12px;
  line-height: 1.9;
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.invite-date {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 10px !important;
}
.invite-message {
  margin: 24px auto;
  max-width: 360px;
}
.invite-cover {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}
.invite-signature {
  display: block;
  font-size: 8px;
  letter-spacing: 1px;
  opacity: 0.55;
  margin-top: 28px;
}
.invitation-celebration .invite-content {
  background:
    radial-gradient(circle at 8% 8%, #ddb87055 0 8%, transparent 8.5%),
    radial-gradient(circle at 98% 50%, #ddb87033 0 12%, transparent 12.5%);
}
.invitation-celebration h2 {
  font-style: italic;
  font-size: 46px;
}
.invitation-minimal {
  text-align: left;
}
.invitation-minimal h2 {
  font:
    750 35px Manrope,
    sans-serif;
  letter-spacing: -1px;
}
.invitation-minimal .invite-rule {
  margin-left: 0;
}
.invitation-minimal .invite-message {
  margin-left: 0;
}
.invite-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin-bottom: 25px;
}
.invite-gallery img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 5px;
}
.editor-preview {
  align-self: start;
  position: sticky;
  top: 20px;
}
.preview-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 9px;
  letter-spacing: 1px;
  color: #899782;
  margin: 0 0 15px;
}
.preview-label > span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.preview-label .icon {
  width: 13px;
  height: 13px;
}
.field textarea {
  display: block;
  width: 100%;
  border: 1px solid #dfe5dc;
  border-radius: 6px;
  margin-top: 7px;
  padding: 12px;
  font: inherit;
  font-weight: 400;
  color: var(--ink);
  resize: vertical;
}
.field > small {
  display: block;
  font-weight: 400;
  color: #929b8b;
  font-size: 10px;
  margin-top: 7px;
  line-height: 1.6;
}
.field input[type='file'] {
  font-size: 10px;
  background: #f8f9f5;
  cursor: pointer;
}
.media-single {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}
.media-single img {
  width: 70px;
  height: 60px;
  object-fit: contain;
  background: #f5f5ee;
  border-radius: 5px;
}
.media-gallery {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.media-gallery > div {
  position: relative;
}
.media-gallery img {
  width: 65px;
  height: 65px;
  object-fit: cover;
  border-radius: 5px;
}
.media-gallery button {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 50%;
  width: 20px;
  height: 20px;
}
.address-input {
  display: flex;
  align-items: center;
  gap: 8px;
}
.address-input span {
  font-weight: 400;
  color: #7f8d78;
  white-space: nowrap;
}
.color-fields {
  display: flex;
  gap: 20px;
}
.color-fields input {
  width: 65px;
  height: 42px;
  padding: 4px;
}
.check-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
  margin-bottom: 22px;
  font-size: 11px;
}
.check-field {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  margin-bottom: 22px;
}
.mini-invitation {
  height: 145px;
  overflow: hidden;
  border-radius: 6px;
  margin-bottom: 18px;
}
.mini-invitation .invitation {
  transform: scale(0.6);
  transform-origin: top left;
  width: 166.667%;
  pointer-events: none;
}
.mini-invitation .invite-content {
  padding: 15px 25px;
}
.mini-invitation .invite-ornament {
  margin-bottom: 5px;
}
.mini-invitation h2 {
  font-size: 30px;
  margin: 15px 0;
}
.mini-invitation .invite-cover {
  height: 100px;
}
.modal-box:has(.invitation) {
  max-width: 550px;
}
.modal-box:has(#template-form) {
  max-width: 570px;
}
@media (max-width: 1000px) {
  .admin-templates {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .template-caption {
    flex-direction: column;
  }
  .heading > .actions {
    flex-wrap: wrap;
    justify-content: end;
  }
}
@media (max-width: 780px) {
  .template-grid {
    grid-template-columns: 1fr;
  }
  .template-choice {
    display: grid;
    grid-template-columns: 120px 1fr;
  }
  .template-swatch {
    height: 110px;
    padding: 10px;
  }
  .template-swatch > b {
    font-size: 18px;
  }
  .template-caption {
    justify-content: center;
    padding: 15px;
  }
  .template-swatch > small {
    font-size: 7px;
  }
  .admin-templates {
    grid-template-columns: 1fr;
  }
  .heading:has(> .actions) {
    align-items: start;
    flex-direction: column;
  }
  .heading > .actions {
    justify-content: start;
  }
  .editor-preview {
    position: static;
  }
  .invitation h2 {
    font-size: 35px;
  }
}
.guest-tabs {
  display: flex;
  gap: 28px;
  justify-content: center;
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 7px 7px 0 0;
  padding: 0 20px;
  background: #f9faf8;
}
.guest-tabs button {
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  padding: 15px 3px;
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #626a64;
}
.guest-tabs button.active {
  border-color: #39799f;
  color: #343c36;
}
.guest-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 13px 0;
}
.guest-toolbar label {
  font-size: 11px;
  color: #626a64;
}
.guest-toolbar .search {
  min-width: 260px;
  border-radius: 30px;
  padding: 10px 14px;
}
.inline-select {
  max-width: 150px;
  border: 0;
  background: transparent;
  color: #353c36;
  padding: 8px 3px;
  cursor: pointer;
  font-size: 11px;
}
.inline-select.secondary {
  color: #626262;
}
.guest-table-group {
  font-weight: 650;
  padding: 16px 0 10px;
  color: #3c433e;
  border-bottom: 1px solid #eceeea;
}
.guest-table-group small {
  font-weight: 400;
  color: #626262;
}
.guest-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 18px;
}
.guest-actions-left,
.guest-actions-right {
  display: flex;
  gap: 9px;
  align-items: center;
}
.guest-actions .btn {
  font-size: 10px;
}
.guest-summaries {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  padding: 6px 0 22px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.guest-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: #5f6861;
}
.guest-summary .icon {
  width: 32px;
  height: 32px;
  color: #ba6d68;
}
.guest-summary b {
  font-size: 17px;
  color: #303a32;
}
.guest-summary small {
  display: block;
  font-size: 10px;
}
.guest-group {
  font-weight: 700;
  padding: 15px 0 8px;
  font-size: 12px;
}
.guest-group small {
  font-weight: 400;
  color: #626a64;
}
.public-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px max(6vw, 24px);
  background: white;
}
.public-top > div {
  display: flex;
  gap: 10px;
}
.public-hero {
  max-width: 1120px;
  margin: 55px auto 0;
  padding: 70px 30px 80px;
  text-align: center;
  border-radius: 20px;
  background:
    radial-gradient(ellipse at 80% 18%, #cee9f8 0, transparent 25%),
    radial-gradient(ellipse at 16% 75%, #e2f2fc 0, transparent 27%), #f3f9fd;
}
.public-hero h1,
.empty-start h1 {
  font:
    750 clamp(38px, 6vw, 68px)/1.08 Manrope,
    sans-serif;
  letter-spacing: -3px;
  margin: 23px 0;
}
.public-hero > p,
.empty-start > p {
  max-width: 600px;
  margin: 0 auto 28px;
  color: #758176;
  line-height: 1.8;
}
.public-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 750px;
  margin: 60px auto 0;
}
.public-cards > div {
  background: #ffffffd9;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  padding: 22px;
  font-size: 25px;
  color: #68815f;
}
.public-cards b,
.public-cards small {
  display: block;
  color: var(--ink);
  font-size: 12px;
  margin-top: 10px;
}
.public-cards small {
  font-size: 10px;
  color: #626a63;
}
.public-footer {
  text-align: center;
  padding: 40px;
  color: #5d655f;
  font-size: 11px;
}
.empty-start {
  text-align: center;
  padding: 100px 20px;
}
.empty-start h1 {
  font-size: 40px;
}
.empty-start > p {
  margin-bottom: 30px;
}
@media (max-width: 700px) {
  .public-hero {
    margin: 16px;
    padding: 55px 18px;
  }
  .public-cards {
    grid-template-columns: 1fr;
    margin-top: 35px;
  }
  .public-hero h1 {
    letter-spacing: -2px;
  }
}
.auth-page {
  min-height: 100vh;
  padding: 27px max(6vw, 24px);
  background: radial-gradient(ellipse at 15% 80%, #d7ecfa 0, transparent 26%), #f7f8f4;
}
.auth-page > .logo {
  width: max-content;
}
.auth-layout {
  max-width: 1050px;
  min-height: calc(100vh - 145px);
  margin: 20px auto;
  display: grid;
  grid-template-columns: 1fr 440px;
  align-items: center;
  gap: 70px;
}
.auth-aside {
  padding: 35px 0;
}
.auth-aside h1 {
  max-width: 520px;
  font:
    750 clamp(38px, 5vw, 60px)/1.08 Manrope,
    sans-serif;
  letter-spacing: -2.5px;
  margin: 22px 0;
}
.auth-aside p {
  max-width: 440px;
  color: #5f6861;
  line-height: 1.9;
}
.auth-flowers {
  margin-top: 60px;
  color: #39799f;
  font-size: 36px;
  letter-spacing: 14px;
}
.auth-flowers span {
  color: var(--accent);
}
.auth-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 38px;
  box-shadow: 0 18px 55px #3343330c;
}
.auth-card h2 {
  font:
    750 30px Manrope,
    sans-serif;
  letter-spacing: -1px;
  margin: 13px 0 8px;
}
.auth-intro {
  color: #626a63;
  margin: 0 0 26px;
  font-size: 12px;
}
.auth-card .field {
  margin-bottom: 18px;
}
.auth-card .field input {
  height: 46px;
  margin-top: 8px;
  border: 1px solid #e1e6df;
  border-radius: 6px;
  padding: 0 13px;
}
.auth-submit {
  height: 46px;
  margin-top: 5px;
}
.auth-switch {
  text-align: center;
  color: #5f6661;
  font-size: 11px;
  margin: 20px 0;
}
.text-link {
  border: 0;
  background: none;
  color: var(--accent);
  font-weight: 700;
  padding: 0;
}
.auth-back {
  display: block;
  text-align: center;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  color: #5d665f;
  font-size: 11px;
}
.auth-footer {
  text-align: center;
  color: #5d655f;
  font-size: 11px;
  padding: 8px;
}
.auth-card .field input:focus {
  outline: 2px solid #c6e4f5;
  border-color: #39799f;
}
@media (max-width: 760px) {
  .auth-layout {
    grid-template-columns: 1fr;
    gap: 18px;
    max-width: 440px;
    margin: 30px auto;
  }
  .auth-aside {
    text-align: center;
    padding: 14px 0;
  }
  .auth-aside h1 {
    font-size: 38px;
    margin: 14px auto;
  }
  .auth-aside p {
    margin: 0 auto;
  }
  .auth-flowers {
    display: none;
  }
  .auth-card {
    padding: 28px 23px;
  }
}
.user-menu {
  position: relative;
}
.user-menu summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  color: #37423a;
}
.user-menu summary::-webkit-details-marker {
  display: none;
}
.user-menu summary > span:nth-child(2) {
  font-size: 12px;
}
.user-menu summary > span:nth-child(2) b,
.user-menu summary > span:nth-child(2) small {
  display: block;
}
.user-menu summary small {
  font-size: 10px;
  color: #626a64;
  margin-top: 3px;
}
.user-menu summary > b:last-child {
  color: #89948b;
  font-size: 13px;
}
.user-menu-panel {
  position: absolute;
  z-index: 20;
  right: 0;
  top: calc(100% + 12px);
  width: 220px;
  padding: 10px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 9px;
  box-shadow: 0 12px 35px #26342618;
}
.user-menu-panel small {
  display: block;
  padding: 8px 9px;
  color: #879188;
  overflow-wrap: anywhere;
}
.user-menu-panel button {
  width: 100%;
  text-align: left;
  border: 0;
  border-radius: 6px;
  padding: 10px;
  background: white;
  color: #8b4848;
  font-size: 12px;
}
.user-menu-panel button:hover {
  background: #faf1ef;
}
.progress i,
.bar {
  background: #39799f !important;
}
.bar-group:not(:nth-child(6)) .bar {
  background: #9bcbe6 !important;
}
/* Navigation principale horizontale avec icônes */
.sidebar {
  position: relative;
  inset: auto;
  width: 100%;
  height: auto;
  min-height: 0;
  background: #fff;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 10px clamp(18px, 3vw, 44px) 0;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: 48px auto;
  align-items: center;
  column-gap: 24px;
  z-index: 10;
}
.sidebar > .logo {
  grid-column: 1;
  grid-row: 1;
  font-size: 25px;
}
.sidebar > .workspace,
.sidebar > .event-switcher {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}
.sidebar > .workspace {
  display: flex;
  gap: 9px;
}
.sidebar > .workspace .icon {
  color: var(--accent);
}
.sidebar > .workspace small,
.sidebar > .event-switcher > small {
  display: none;
}
.sidebar > .event-switcher > label {
  font-size: 9px;
  color: #626a64;
  letter-spacing: 1px;
}
.event-select-wrap {
  display: flex;
  align-items: center;
  gap: 7px;
}
.event-select-wrap select {
  max-width: 260px;
  border: 0;
  background: transparent;
  font-weight: 650;
  color: var(--ink);
}
.sidebar > .nav-label,
.sidebar > .account-nav,
.sidebar > .side-bottom {
  display: none;
}
.sidebar > .nav {
  grid-column: 1/-1;
  grid-row: 2;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: #edb1ba transparent;
}
.sidebar > .nav button {
  position: relative;
  min-width: 92px;
  min-height: 70px;
  padding: 10px 12px 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  text-align: center;
  white-space: nowrap;
  border-radius: 0;
  color: #565b57;
  font-size: 11px;
}
.sidebar > .nav button .icon {
  width: 23px;
  height: 23px;
}
.sidebar > .nav button.active {
  background: transparent;
  color: var(--accent);
  font-weight: 700;
}
.sidebar > .nav button.active:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 12px;
  right: 12px;
  height: 3px;
  border-radius: 4px 4px 0 0;
  background: var(--accent);
}
.shell {
  margin: 0;
  min-width: 0;
}
.topbar {
  height: 65px;
}
.mobile-toggle {
  display: none !important;
}
@media (max-width: 780px) {
  .sidebar {
    display: grid;
    width: 100%;
    padding: 8px 14px 0;
    grid-template-columns: auto 1fr;
    grid-template-rows: 45px auto;
    box-shadow: none;
  }
  .sidebar.open {
    display: grid;
  }
  .sidebar > .logo {
    font-size: 22px;
  }
  .sidebar > .workspace {
    font-size: 10px;
  }
  .sidebar > .nav {
    gap: 2px;
  }
  .sidebar > .nav button {
    min-width: 78px;
    min-height: 66px;
    font-size: 9px;
    padding: 8px 7px 10px;
  }
  .sidebar > .nav button .icon {
    width: 21px;
    height: 21px;
  }
  .topbar {
    padding: 0 18px;
  }
  .top-right {
    gap: 9px;
  }
  .user-menu summary > span:nth-child(2) {
    display: none;
  }
  .mobile-toggle {
    display: none !important;
  }
}
/* Navigation clarifiée : marque, événement actif, puis outils */
.sidebar {
  padding-left: clamp(24px, 3.7vw, 56px);
  padding-right: clamp(24px, 3.7vw, 56px);
  grid-template-rows: 52px 72px;
  column-gap: 28px;
}
.sidebar > .logo {
  font-size: 26px;
  gap: 9px;
}
.sidebar > .logo .logo-mark {
  width: 34px;
  height: 36px;
  border-radius: 9px 4px 9px 4px;
}
.sidebar > .workspace {
  min-width: 190px;
  justify-content: flex-end;
  padding: 0 4px;
}
.sidebar > .event-switcher {
  min-width: 260px;
  text-align: right;
}
.sidebar > .event-switcher > label {
  display: block;
  margin: 0 28px 2px 0;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1.15px;
  color: #626a64;
}
.event-select-wrap {
  justify-content: flex-end;
}
.event-select-wrap select {
  max-width: 290px;
  padding: 5px 4px;
  font-size: 12px;
  cursor: pointer;
}
.sidebar > .nav {
  width: 100%;
  max-width: 1100px;
  justify-self: start;
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: none;
}
.sidebar > .nav::-webkit-scrollbar {
  display: none;
}
.sidebar > .nav button {
  flex: 0 0 112px;
  min-width: 112px;
  height: 72px;
  gap: 6px;
  padding: 8px 9px 11px;
  font-size: 11px;
  letter-spacing: 0.05px;
  color: #555d57;
  transition:
    color 0.15s,
    background 0.15s;
}
.sidebar > .nav button:hover {
  background: #f2f8fc;
  color: #285e7d;
}
.sidebar > .nav button.active {
  color: var(--accent);
}
.sidebar > .nav button.active:after {
  left: 12px;
  right: 12px;
  height: 3px;
}
.sidebar > .nav button .icon {
  width: 22px;
  height: 22px;
}
.sidebar > .nav button .badge-count {
  position: absolute;
  top: 8px;
  right: 20px;
  margin: 0;
  padding: 2px 5px;
  font-size: 9px;
  color: #555;
  background: #f0f0f0;
}
.sidebar:not(:has(.workspace)) > .nav button[data-nav='events'] {
  margin-left: 15px;
  border-left: 1px solid var(--line);
  padding-left: 20px;
}
.topbar {
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.crumb {
  font-size: 12px;
  color: #525a54;
}
.crumb span {
  color: #313833;
}
.top-right {
  gap: 20px;
}
@media (max-width: 780px) {
  .sidebar {
    padding: 7px 14px 0;
    grid-template-rows: 43px 66px;
    column-gap: 10px;
  }
  .sidebar > .logo {
    font-size: 22px;
  }
  .sidebar > .logo .logo-mark {
    width: 30px;
    height: 32px;
  }
  .sidebar > .workspace {
    min-width: 0;
    font-size: 10px;
  }
  .sidebar > .event-switcher {
    min-width: 0;
  }
  .sidebar > .event-switcher > label {
    font-size: 7px;
    margin-right: 20px;
  }
  .event-select-wrap select {
    max-width: 180px;
    font-size: 11px;
  }
  .sidebar > .nav button {
    flex: 0 0 92px;
    min-width: 92px;
    height: 66px;
    font-size: 9px;
    padding: 7px 5px 9px;
  }
  .sidebar:not(:has(.workspace)) > .nav button[data-nav='events'] {
    margin-left: 4px;
    padding-left: 10px;
  }
  .topbar {
    height: 58px;
  }
  .top-right {
    gap: 12px;
  }
}

/* On a phone the bottom bars of the studio (steps, actions) stay readable: the message sits above them */
@media (max-width: 899px) {
  #toast {
    bottom: calc(env(safe-area-inset-bottom, 0px) + 150px);
    max-width: calc(100vw - 32px);
    text-align: center;
  }
}
