/* Let's Meet: booking pages and manager pages. Colors come from the site / theme variables. */
.meet-narrow { max-width: 640px !important; }
.meet-staff { text-align: right; font-size: .9rem; }
.meet-description { white-space: pre-line; overflow-wrap: anywhere; }

.meet-notes { white-space: pre-line; border-left: 4px solid #E2D4F3; padding-left: .75rem; overflow-wrap: anywhere; }

.meet-code-input { text-transform: uppercase; letter-spacing: .15em; max-width: 14rem; }

.meet-day { font-weight: 700; margin: 1rem 0 .35rem; }
.meet-day:first-of-type { margin-top: .25rem; }
.meet-times { display: flex; flex-direction: column; gap: .4rem; }
.meet-time {
  display: flex; align-items: center; gap: .75rem;
  border: 1px solid #cfc8da; border-radius: 8px; padding: .7rem .8rem; cursor: pointer; background: #fff;
}
.meet-time input { flex: none; margin: 0; width: 1.15rem; height: 1.15rem; }
.meet-time:has(input:checked) { border-color: #643c9c; background: #f1ecfa; box-shadow: 0 0 0 1px #643c9c; }
.meet-clock { display: block; font-weight: 600; }
.meet-where { display: block; font-size: .85rem; color: #6b6580; }

.meet-summary { border: 2px solid #643c9c; border-radius: 8px; padding: .85rem 1rem; margin-bottom: 1rem; overflow-wrap: anywhere; }
.meet-cancelled { border-color: #bbb; color: #6b6580; text-decoration: line-through; }

.meet-change > summary { list-style: none; display: inline-block; cursor: pointer; }
.meet-change > summary::-webkit-details-marker { display: none; }
.meet-change > summary.btn-link { color: var(--brand); }

/* Manager pages */
.meet-visit {
  display: block; border: 1px solid #d9d3e3; border-radius: 8px; padding: .75rem 1rem; margin-bottom: .6rem;
  text-decoration: none; color: inherit; overflow-wrap: anywhere;
}
.meet-visit:hover { border-color: #643c9c; color: inherit; background: #faf8fd; }

.meet-share { border: 1px solid #d9d3e3; border-radius: 8px; padding: .85rem 1rem; }
.meet-code { font-size: 1.8rem; font-weight: 700; letter-spacing: .18em; font-family: Consolas, "Courier New", monospace; }

.meet-slot { border-top: 1px solid #e3dfe9; padding: .6rem 0; display: grid; grid-template-columns: 11rem minmax(0, 1fr) auto; gap: .25rem 1rem; align-items: start; overflow-wrap: anywhere; }
.meet-slot.past { opacity: .6; }
.meet-slot-actions { text-align: right; }
.meet-slot-actions details { text-align: left; }
.meet-slot-actions summary { cursor: pointer; color: #643c9c; text-align: right; }
.meet-slot-panel { margin-top: .5rem; width: 17rem; max-width: 100%; display: flex; flex-direction: column; gap: .75rem; }
.meet-slot-panel .btn { white-space: nowrap; }
.meet-open { color: #6b6580; }

@media (max-width: 640px) {
  .meet-slot { grid-template-columns: minmax(0, 1fr); }
  .meet-slot-actions, .meet-slot-actions summary { text-align: left; }
  .meet-slot-panel { width: 100%; }
}
