:root {
  --wd-ink: #302443;
  --wd-muted: #695d78;
  --wd-purple: #69409a;
  --wd-line: #e5dceb;
  --wd-canvas: #f6f3f9;
}
body {
  font-family:
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  color: var(--wd-ink);
  background: var(--wd-canvas);
  line-height: 1.55;
}
#app {
  max-width: 1240px;
  margin-inline: auto;
}
#app h1 {
  font-size: clamp(1.8rem, 4vw, 2.65rem);
  line-height: 1.16;
  letter-spacing: -0.035em;
}
#app h2 {
  font-size: 1.35rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
}
#app h3 {
  line-height: 1.35;
}
#app p {
  color: var(--wd-muted);
}
.eyebrow {
  color: var(--wd-purple);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}
#app .hero {
  background: linear-gradient(115deg, #eee5f8, #faf7fd);
  color: var(--wd-ink);
  border: 1px solid var(--wd-line);
  border-radius: 22px;
  padding: 30px;
  margin-block: 20px;
  box-shadow: none;
}
#app .hero p {
  color: var(--wd-muted);
}
#app .hero .eyebrow {
  color: var(--wd-purple);
}
#app .hero .btn.ghost {
  background: white;
  color: var(--wd-purple);
  border: 1px solid var(--wd-line);
}
#app .card,
#app .eventCard {
  border: 1px solid var(--wd-line);
  border-radius: 18px;
  box-shadow: 0 3px 14px #35204406;
  padding: 22px;
}
#app .grid,
#app .detailGrid,
#app .planningGrid {
  gap: 20px;
}
#app .card + .card {
  margin-top: 16px;
}
#app .grid > .card,
#app .detailGrid > .card {
  margin-top: 0;
}
#app .page {
  padding-block: 22px;
}
.muted {
  color: var(--wd-muted);
}
.btn {
  min-height: 46px;
  padding: 11px 18px;
  border-radius: 12px;
  font-weight: 650;
  line-height: 1.3;
}
.btn.primary {
  background: var(--wd-purple);
  color: #fff;
  border-color: var(--wd-purple);
  box-shadow: none;
}
.btn.soft {
  background: #f2edf7;
  color: #57347e;
  border: 1px solid #e4d9ed;
}
.btn.danger {
  color: #9b283d;
  background: #fff0f2;
  border: 1px solid #efc3cc;
}
.btn:hover {
  filter: brightness(0.96);
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid #8253b4;
  outline-offset: 3px;
}
input,
select,
textarea {
  border-radius: 10px;
  border-color: #cfc1dd;
  font-size: 16px;
  min-height: 46px;
}
.wdFocus {
  margin: 20px 0 26px;
  padding: 24px 28px;
  border: 1px solid #d9c6ed;
  border-left: 5px solid var(--wd-purple);
  border-radius: 18px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.wdFocus h2 {
  margin: 7px 0;
}
.wdFocus p {
  margin: 0;
}
.wdFocus .btn {
  flex-shrink: 0;
}
.stats {
  gap: 14px;
}
#app .stat {
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--wd-line);
  padding: 20px;
}
#app .stat b {
  color: var(--wd-purple);
}
.eventLink {
  border-radius: 10px;
  padding: 14px 12px;
  margin: 6px 0;
  min-height: 56px;
}
.eventLink:hover {
  background: #f6f1fa;
}
.summaryStrip {
  gap: 12px;
  background: #fff;
  border: 1px solid var(--wd-line);
  border-radius: 16px;
  padding: 20px;
}
.summaryItem b {
  color: var(--wd-purple);
}
.wdSectionGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0;
}
.wdSection {
  text-align: left;
  position: relative;
  padding: 22px;
  border: 1px solid var(--wd-line);
  border-radius: 16px;
  background: white;
  color: var(--wd-ink);
  cursor: pointer;
  display: grid;
  gap: 7px;
  font: inherit;
}
.wdSection:hover {
  border-color: #a887ca;
  background: #faf7fe;
}
.wdSection strong {
  font-size: 1.15rem;
}
.wdSection > span:not(.wdSectionNumber):not(.wdSectionArrow) {
  font-size: 0.87rem;
  color: var(--wd-muted);
}
.wdSectionNumber {
  color: #79579f;
  font-size: 0.75rem;
  font-weight: 750;
}
.wdSectionArrow {
  position: absolute;
  right: 20px;
  top: 20px;
  color: var(--wd-purple);
}
.wdWeddingActions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.wdPlanningDetails {
  margin: 0 0 24px;
  border: 1px solid var(--wd-line);
  border-radius: 18px;
  background: #fff;
}
.wdPlanningDetails > summary {
  padding: 22px;
  cursor: pointer;
  font-weight: 700;
  color: var(--wd-ink);
}
.wdPlanningDetails > summary span {
  display: block;
  font-weight: 400;
  font-size: 0.9rem;
  color: var(--wd-muted);
  margin-top: 5px;
}
.wdPlanningDetails[open] > summary {
  border-bottom: 1px solid var(--wd-line);
}
.pill {
  border-radius: 100px;
  background: #eee8f5;
  color: #563578;
  padding: 5px 11px;
  font-size: 0.78rem;
  font-weight: 700;
}
.pill[data-tone='success'] {
  background: #e5f4ed;
  color: #216247;
}
.pill[data-tone='waiting'] {
  background: #fff2d5;
  color: #805315;
}
.pill[data-tone='danger'] {
  background: #fde8ed;
  color: #9b283d;
}
.bottom {
  background: #fff;
  border-color: var(--wd-line);
  box-shadow: 0 -4px 20px #30244308;
}
.bottom button {
  color: #6c5a7e;
  min-height: 66px;
}
.bottom button.active {
  background: #eee5f8;
  color: #5f358e;
  box-shadow: none;
}
.bottom button:hover:not(.active) {
  background: #f6f1fa;
}
.bottom .menuIcon {
  width: 26px;
  height: 26px;
}
.wedone-navigation {
  background: #fff;
  border-bottom: 1px solid var(--wd-line);
}
@media (max-width: 700px) {
  #app .hero {
    padding: 24px 20px;
    margin: 14px 0;
    border-radius: 18px;
  }
  .wdFocus {
    padding: 20px;
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
  }
  .wdFocus .btn {
    width: 100%;
  }
  .wdSectionGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .wdSection {
    padding: 18px 14px;
    min-height: 132px;
  }
  .wdSectionArrow {
    right: 12px;
    top: 14px;
  }
  .wdWeddingActions .btn {
    flex: 1 1 145px;
  }
  .summaryStrip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 14px;
    gap: 8px;
  }
  .summaryItem {
    min-width: 0;
  }
  .summaryItem span {
    font-size: 0.75rem;
  }
  .summaryItem b {
    font-size: 1.3rem;
  }
  #app .card {
    padding: 18px;
  }
  .pageHead > .btn {
    width: 100%;
  }
  .bottom button {
    min-width: 0;
  }
  .bottom button span {
    font-size: 11px;
  }
  .wdPlanningDetails > summary {
    padding: 18px;
  }
  .modal .actions .btn {
    min-height: 48px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

.wdWedding > .wdPlanningDetails {
  margin-top: 24px;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
