.lvbm-overlay.luvia-living-sheet-overlay {
  place-items: end center !important;
  padding-bottom: 0 !important;
}
.lvbm-overlay .luvia-living-sheet {
  width: min(900px, 100%) !important;
  max-height: min(90dvh, 920px) !important;
  border-radius: 30px 30px 0 0 !important;
  background: linear-gradient(
    155deg,
    rgba(255, 255, 255, 0.995),
    rgba(244, 251, 250, 0.99) 58%,
    rgba(255, 243, 240, 0.99)
  ) !important;
  color: #102d3f !important;
}
.lvbm-sheet {
  background: linear-gradient(
    155deg,
    rgba(255, 255, 255, 0.99),
    rgba(244, 251, 250, 0.98) 58%,
    rgba(255, 243, 240, 0.98)
  );
  color: #102d3f;
  border: 1px solid rgba(66, 126, 138, 0.16);
  padding: clamp(20px, 4vw, 44px);
  font-family: Inter, Arial, sans-serif;
}
.lvbm-sheet > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(16, 45, 63, 0.12);
}
.lvbm-sheet > header small,
.lvbm-copy small {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #c35f82;
  font-weight: 800;
}
.lvbm-sheet h2 {
  font-size: clamp(1.8rem, 4vw, 3.7rem);
  line-height: 0.98;
  margin: 0.35rem 0 0.75rem;
  max-width: 16ch;
}
.lvbm-sheet h3 {
  font-size: clamp(1.45rem, 3vw, 2.4rem);
  margin: 0.35rem 0;
}
.lvbm-sheet p {
  color: #647d8e;
  line-height: 1.55;
  max-width: 72ch;
}
.lvbm-sheet > header > button {
  border: 1px solid rgba(16, 45, 63, 0.12);
  border-radius: 50%;
  background: #fff;
  width: 52px;
  height: 52px;
  font-size: 1.7rem;
  flex: none;
}
.lvbm-overview {
  padding-top: 24px;
}
.lvbm-overview dl {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.lvbm-overview dl > div,
.lvbm-overview aside {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(16, 45, 63, 0.1);
}
.lvbm-overview dt {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #738998;
}
.lvbm-overview dd {
  margin: 0.5rem 0 0;
  font-weight: 800;
}
.lvbm-overview aside {
  margin: 16px 0;
}
.lvbm-overview nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.lvbm-sheet button {
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid rgba(16, 45, 63, 0.15);
  background: #fff;
  color: #102d3f;
  font-weight: 800;
  cursor: pointer;
}
.lvbm-sheet button.is-primary {
  background: #12384d;
  color: #fff;
  box-shadow: 0 14px 32px rgba(18, 56, 77, 0.16);
}
.lvbm-sheet button.is-danger {
  color: #c84645;
  border-color: rgba(200, 70, 69, 0.26);
}
.lvbm-sheet form {
  padding-top: 24px;
}
.lvbm-back {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  min-height: 36px !important;
}
.lvbm-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.lvbm-sheet label {
  display: grid;
  gap: 7px;
  margin: 14px 0;
  font-weight: 750;
}
.lvbm-sheet label span {
  font-weight: 400;
  color: #718796;
}
.lvbm-sheet label.is-wide {
  grid-column: 1/-1;
}
.lvbm-sheet input,
.lvbm-sheet textarea {
  box-sizing: border-box;
  width: 100%;
  min-height: 54px;
  padding: 13px 15px;
  border-radius: 16px;
  border: 1px solid rgba(16, 45, 63, 0.16);
  background: rgba(255, 255, 255, 0.88);
  font: inherit;
  color: #102d3f;
}
.lvbm-sheet textarea {
  min-height: 112px;
  resize: vertical;
}
.lvbm-status {
  padding: 14px 16px !important;
  border-radius: 16px;
  background: #fff0ed;
  color: #a23e3e !important;
  font-weight: 700;
}
.lvbm-sheet form > button[type="submit"] {
  margin-top: 8px;
}
@media (max-width: 720px) {
  .lvbm-overlay .luvia-living-sheet {
    border-radius: 26px 26px 0 0 !important;
  }
  .lvbm-sheet {
    padding: 20px 16px calc(20px + env(safe-area-inset-bottom));
  }
  .lvbm-sheet > header p {
    font-size: 0.9rem;
  }
  .lvbm-overview dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .lvbm-fields {
    grid-template-columns: 1fr 1fr;
  }
  .lvbm-fields label:last-child {
    grid-column: 1/-1;
  }
  .lvbm-overview nav {
    display: grid;
  }
  .lvbm-overview nav button {
    width: 100%;
  }
}
