.wlTabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}
.wlGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.wlGrid > label {
  display: grid;
  gap: 0.5rem;
}
.wlGrid input,
.wlGrid select,
#wlQuestion {
  width: 100%;
  min-width: 0;
}
.wlScore {
  font-size: 3rem;
  display: block;
  color: #543394;
}
.wlPre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.wlPlan {
  width: 100%;
  max-height: 65vh;
  display: block;
  margin: 1rem 0;
}
.wlGuest {
  margin: 0;
  background: #f1eefb;
  color: #231b36;
  font:
    1rem/1.6 system-ui,
    sans-serif;
}
.wlGuest main {
  max-width: 780px;
  margin: 0 auto;
  padding: 2rem 1rem;
}
.wlCard {
  background: white;
  padding: 1.25rem;
  border: 1px solid #dcd5ed;
  border-radius: 1rem;
  margin: 1rem 0;
}
.wlGuest label {
  display: grid;
  gap: 0.4rem;
  margin: 1rem 0;
}
.wlGuest input,
.wlGuest select {
  font: inherit;
  padding: 0.65rem;
  border: 1px solid #938aa8;
  border-radius: 0.5rem;
  min-width: 0;
}
.wlGuest button {
  font: inherit;
  background: #603a9a;
  color: white;
  border: 0;
  border-radius: 0.5rem;
  padding: 0.65rem 1rem;
  cursor: pointer;
}
.wlGuest button:disabled {
  opacity: 0.6;
}
.wlNotice {
  background: #ece3ff;
  border-left: 4px solid #663da6;
  padding: 1rem;
}
.wlEyebrow {
  font-size: 0.875rem;
  letter-spacing: 0.1em;
}
#wlQR {
  margin: 1rem 0;
}
progress {
  width: 100%;
  accent-color: #603a9a;
}
@media (max-width: 720px) {
  .wlGrid {
    grid-template-columns: 1fr;
  }
  .wlTabs .btn {
    flex-grow: 1;
  }
  .wlGuest main {
    padding: 1rem;
  }
  .wlMaster {
    font-size: 1rem;
  }
}
@media print {
  body:has(.wlMaster) #shell,
  body:has(#wlQR) #shell {
    display: none !important;
  }
  body:has(.wlMaster) #modal,
  body:has(#wlQR) #modal {
    position: static !important;
    background: white !important;
    display: block !important;
  }
  body:has(.wlMaster) .modal,
  body:has(#wlQR) .modal {
    max-width: 100% !important;
    max-height: none !important;
    overflow: visible !important;
    box-shadow: none !important;
  }
  .wlMaster .btn,
  #wlQR ~ .actions {
    display: none !important;
  }
  .wlMaster h3 {
    break-after: avoid;
  }
  .wlMaster p {
    font-size: 11pt;
  }
  .wlPlan {
    max-height: 400px;
  }
}
