.lume-bed {
  display: block;
  border-top: 1px solid rgba(18, 16, 20, 0.55);
  border-radius: 2px;
}
.lume-bed:last-of-type { border-bottom: 1px solid rgba(18, 16, 20, 0.55); }

.lume-bed > summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 11px;
  padding: 14px 18px;
  cursor: pointer;
  color: #121014;
  list-style: none;
  -webkit-tap-highlight-color: transparent;
}
.lume-bed > summary::-webkit-details-marker { display: none; }
.lume-bed > summary:focus-visible {
  outline: 2px solid #b0004e;
  outline-offset: -3px;
}

.lume-bed > summary > :first-child {
  margin: 0;
  font-size: inherit;
  line-height: 1.35;
}

.lume-contents {
  box-sizing: border-box;
  padding: 11px 18px 14px;
  color: #121014;
}
.lume-contents > :first-child { margin-top: 0; }
.lume-contents > :last-child { margin-bottom: 0; }

.lume-bed.lume-lit .lume-contents {
  overflow: hidden;
  will-change: height;
}

.lume-bed > summary::after {
  content: "";
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  background:
    linear-gradient(#b0004e, #b0004e) center / 100% 2px no-repeat,
    linear-gradient(#b0004e, #b0004e) center / 2px 100% no-repeat;
  transform: rotate(0deg);
  transition: transform 432ms cubic-bezier(0.16, 0.84, 0.44, 1), background-size 432ms cubic-bezier(0.16, 0.84, 0.44, 1);
}
.lume-bed[open] > summary::after {
  background-size: 100% 0%, 2px 100%;
  transform: rotate(90deg);
}
@media (prefers-reduced-motion: reduce) {
  .lume-bed > summary::after,
  .lume-bed > summary::before,
  .lume-bed > summary { transition: none; }
}
