/* Booking page: extends the app's design system (css/app.css). */

#book .page-body,
#view-admin .page-body {
  padding-bottom: 32px;
}
.admin-unlock {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
}
.admin-badge {
  align-self: center;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: 8px 0 18px;
  border-radius: 22px;
  background: color-mix(in srgb, var(--blue) 18%, transparent);
  color: var(--blue);
}
.admin-badge .icon {
  width: 36px;
  height: 36px;
}
.admin-unlock .sheet-status {
  text-align: center;
  margin-bottom: 20px;
}
.week-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 8px 4px 12px;
}
.summary-line .dot {
  display: inline-block;
  vertical-align: 1px;
  margin-right: 4px;
}
.time-lead {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 54px;
  line-height: 1.05;
}
.time-lead b {
  font-family: var(--rounded);
  font-size: 19px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.time-lead small {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  opacity: 0.8;
}
.tint-orange {
  color: var(--orange);
}
.tint-blue {
  color: var(--blue);
}
.tint-gray {
  color: var(--gray);
}
.badge-text {
  color: var(--orange);
  font-weight: 600;
}
.tag .icon {
  width: 14px;
  height: 14px;
  stroke-width: 3;
  margin-right: 3px;
}
.tag-green {
  background: color-mix(in srgb, var(--green) 20%, transparent);
  color: var(--green-text);
}
.tag-red {
  background: color-mix(in srgb, var(--red) 18%, transparent);
  color: var(--red-text);
}
.tag-gray {
  background: var(--fill-3);
  color: var(--label-2);
}
.session-hero {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 4px 4px 20px;
}
.sh-venue {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.sh-time {
  font-size: 17px;
  color: var(--label-2);
}
.sh-note {
  align-self: flex-start;
  margin-top: 4px;
  padding: 6px 12px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--orange) 18%, transparent);
  color: var(--orange);
  font-weight: 600;
  font-size: 15px;
}
.sh-cap {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
  font-size: 14px;
  color: var(--label-2);
}
.sheet-status {
  margin: 0 4px 14px;
  font-size: 15px;
  color: var(--label-2);
  line-height: 1.4;
}
.sheet-status.warn {
  color: var(--orange);
  font-weight: 600;
}
.sheet-body > .btn-block {
  margin-bottom: 24px;
}
.tone-danger-text {
  color: var(--red);
}
.you {
  color: var(--blue);
  font-weight: 600;
  font-size: 14px;
}
.org-on {
  background: color-mix(in srgb, var(--green) 22%, transparent) !important;
  color: var(--green) !important;
}
.center-foot {
  text-align: center;
  padding: 0 12px;
}
.badge-text.changed {
  color: var(--blue);
}
.badge-text.lessons {
  color: var(--indigo);
}
.tint-purple {
  color: var(--purple);
}

/* organiser editor */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 0;
}
.chip {
  min-height: 36px;
  padding: 0 14px;
  border-radius: 18px;
  background: var(--fill-3);
  color: var(--blue);
  font-weight: 600;
  font-size: 15px;
}
.row .inline-input {
  flex: 0 0 auto;
  width: auto;
  min-height: 40px;
  padding: 0 10px;
  border-radius: 8px;
  background: var(--fill-3);
  color: var(--blue);
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.row .inline-input.num {
  width: 72px;
}
.seg-row {
  width: 100%;
  padding: 10px 0;
}
.seg-row .segmented button {
  padding: 0 2px;
  font-size: 14px;
}
.lesson-edit .row-title {
  display: flex;
  min-width: 0;
}
.lesson-edit .slots-label {
  margin-right: 6px;
}
.lesson-edit .icon-btn {
  margin-left: 4px;
}
.lesson-edit .icon-btn .icon {
  color: var(--red);
}
.badge-text.purple {
  color: var(--purple);
}

/* attendance */
.att-btn {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  min-height: 34px;
  padding: 0;
  border-radius: 50%;
  border: 2px solid var(--label-3);
  background: transparent;
  color: var(--label-2);
  font-family: var(--rounded);
  font-weight: 700;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}
.att-btn.on {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}
.att-btn .icon {
  width: 18px;
  height: 18px;
  stroke-width: 3;
}
.att-btn.muted:not(.on) {
  border-style: dashed;
}
.row .att-btn {
  min-width: 34px;
}
.btn-green {
  background: var(--green) !important;
  color: #fff !important;
}
.checked-in {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: var(--tap);
  margin: 0 0 14px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--green) 18%, transparent);
  color: var(--green-text);
  font-weight: 700;
  font-size: 17px;
}
.checked-in .icon {
  width: 22px;
  height: 22px;
}
.big-check {
  display: grid;
  place-items: center;
  margin-bottom: 8px;
  color: var(--green);
}
.big-check .icon {
  width: 64px;
  height: 64px;
}
.qr-title {
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}
.qr-count {
  margin-top: 14px;
  text-align: center;
  font-size: 17px;
  font-weight: 600;
  color: var(--green-text);
}
.stat-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 0 0 22px;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 12px 4px;
  border-radius: 14px;
  background: var(--cell);
  min-width: 0;
}
.stat b {
  font-family: var(--rounded);
  font-size: 22px;
  font-variant-numeric: tabular-nums;
}
.stat span {
  font-size: 12px;
  color: var(--label-2);
}
.stat.warn b,
.noshow {
  color: var(--red-text, var(--red));
  font-weight: 600;
}
.round-tabs {
  margin: 0 0 18px;
}

.field-label {
  width: 128px;
  flex: none;
  font-weight: 600;
}
