/* Support demo: mirrors SchoolMaker consultations, coaching credits, and live calendar UI. */
.hero-demo--support {
  --support-surface: white;
  --support-subtle: var(--color-neutral-50);
  --support-raised: var(--color-neutral-100);
  --support-consultation-lower: var(--color-neutral-50);
  --support-content-inline-padding: 26px;
  --support-border-strong: var(--color-neutral-300);
  --support-shadow: 0 10px 28px rgb(23 23 23 / 0.06);
  display: flex;
  height: 540px;
  position: relative;
  flex-direction: column;
  overflow: hidden;
}
@media (min-width: 1024px) {
  .hero-demo--support {
    --support-content-inline-padding: 96px;
  }
}
.hero-demo--support .hero-demo__support-layout {
  min-height: 0;
  flex: 1;
  overflow: hidden;
  background: radial-gradient(circle at 78% 8%, rgb(255 255 255 / 0.9), transparent 36%), var(--support-subtle);
}
.hero-demo--support .hero-demo__support-tabs {
  background: var(--support-surface);
}
.hero-demo--support .hero-demo__support-tab.is-active::after {
  background: var(--demo-ink);
}
.hero-demo--support .hero-demo__support-content {
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
  overflow: hidden;
  padding: 21px var(--support-content-inline-padding);
}
.hero-demo--support .hero-demo__support-content:has(> .hero-demo__support-panel--consultations:not(.hidden)) {
  overflow: auto;
  background: var(--support-surface);
}
.hero-demo--support
  .hero-demo__support-panel:not(.hidden):not(.hero-demo__support-panel--lives):not(
    .hero-demo__support-panel--consultations
  ) {
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
  overflow: auto;
}
.hero-demo--support .hero-demo__support-panel--consultations:not(.hidden) {
  display: flex;
  min-height: min-content;
  flex: 1 0 auto;
  flex-direction: column;
}
.hero-demo--support .hero-demo__consultation {
  position: relative;
  isolation: isolate;
  flex: 1 0 auto;
  min-height: min-content;
}
.hero-demo--support .hero-demo__consultation-card {
  border-color: transparent;
  background: transparent;
}
.hero-demo--support .hero-demo__consultation-actions {
  position: relative;
}
.hero-demo--support .hero-demo__consultation-done {
  position: relative;
}
.hero-demo--support [data-hero-demo-target="consultationRecording"] .hero-demo__consultation-actions::before,
.hero-demo--support .hero-demo__consultation-done::after {
  position: absolute;
  z-index: -1;
  right: calc(-1 * var(--support-content-inline-padding));
  left: calc(-1 * var(--support-content-inline-padding));
  height: 1px;
  background: var(--support-border-strong);
  box-shadow: 0 501px 0 500px var(--support-consultation-lower);
  content: "";
  pointer-events: none;
}
.hero-demo--support [data-hero-demo-target="consultationRecording"] .hero-demo__consultation-actions::before {
  top: -16px;
}
.hero-demo--support .hero-demo__consultation-done::after {
  top: 100%;
}
.hero-demo--support .hero-demo__consultation-queue {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  margin-top: auto;
}
.hero-demo--support .hero-demo__panel-title {
  min-height: 38px;
}
.hero-demo--support .hero-demo__status {
  border-color: var(--support-border-strong);
  box-shadow: 0 1px 2px rgb(23 23 23 / 0.04);
}
.hero-demo--support .hero-demo__coach-card > span:first-child > i {
  position: absolute;
  right: 1px;
  bottom: 3px;
  width: 7px;
  height: 7px;
  border: 2px solid #262626;
  border-radius: 50%;
  background: #22c55e;
}
.hero-demo__coaching-summary {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 82px;
  align-items: center;
  gap: 10px;
  margin-top: 13px;
  padding: 11px 12px;
  border: 1px solid var(--support-border-strong);
  border-radius: 11px;
  color: var(--demo-ink);
  background: var(--support-surface);
  box-shadow: var(--support-shadow);
}
.hero-demo__coaching-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 9px;
  color: white;
  background: var(--color-neutral-800);
}
.hero-demo__coaching-summary strong {
  display: block;
  font-size: 10px;
}
.hero-demo__coaching-summary p {
  overflow: hidden;
  margin-top: 2px;
  color: var(--demo-muted);
  font-size: 7px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hero-demo__session-usage {
  text-align: right;
}
.hero-demo__session-usage > span,
.hero-demo__session-usage > small {
  display: block;
}
.hero-demo__session-usage > span {
  font-size: 9px;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}
.hero-demo__session-usage > small {
  margin-top: 1px;
  color: var(--demo-muted);
  font-size: 6px;
}
.hero-demo__session-usage > i {
  display: block;
  height: 3px;
  margin-top: 5px;
  overflow: hidden;
  border-radius: 99px;
  background: var(--color-neutral-200);
}
.hero-demo__session-usage > i b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--color-neutral-700);
}
.hero-demo--support .hero-demo__coach-card {
  position: relative;
  gap: 10px;
  margin-top: 8px;
  padding: 10px 12px;
  border-color: var(--support-border-strong);
  border-radius: 11px;
}
.hero-demo--support .hero-demo__coach-card > span:first-child {
  position: relative;
}
.hero-demo--support .hero-demo__coach-card > span:first-child > i {
  border-color: white;
}
.hero-demo--support .hero-demo__coach-card small,
.hero-demo--support .hero-demo__coach-card strong {
  display: block;
}
.hero-demo--support .hero-demo__coach-card small {
  color: var(--demo-muted);
  font-size: 7px;
}
.hero-demo--support .hero-demo__coach-card strong {
  margin-top: 1px;
  font-size: 10px;
}
.hero-demo--support .hero-demo__coach-card p {
  overflow: hidden;
  max-width: 265px;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hero-demo__coach-verified {
  display: grid;
  width: 22px;
  height: 22px;
  margin-left: auto;
  place-items: center;
  border: 1px solid var(--demo-border);
  border-radius: 7px;
  color: var(--color-neutral-500);
  background: var(--support-subtle);
}
.hero-demo__schedule-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-top: 12px;
}
.hero-demo__schedule-heading > span {
  color: var(--demo-muted);
  font-size: 7px;
}
.hero-demo--support .hero-demo__time-grid {
  gap: 6px;
  margin-top: 6px;
}
.hero-demo--support .hero-demo__time-grid button {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 5px;
  border-color: var(--support-border-strong);
  box-shadow: 0 1px 2px rgb(23 23 23 / 0.03);
}
.hero-demo--support .hero-demo__time-grid small,
.hero-demo--support .hero-demo__time-grid strong,
.hero-demo--support .hero-demo__time-grid span {
  display: block;
}
.hero-demo--support .hero-demo__time-grid small {
  color: var(--demo-muted);
  font-size: 6px;
  font-weight: 600;
}
.hero-demo--support .hero-demo__time-grid strong {
  margin-top: 3px;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}
.hero-demo--support .hero-demo__time-grid span {
  margin-top: 1px;
  color: var(--color-neutral-400);
  font-size: 6px;
  font-weight: 500;
}
.hero-demo--support .hero-demo__time-grid button.is-selected small,
.hero-demo--support .hero-demo__time-grid button.is-selected span {
  color: var(--color-neutral-300);
}
.hero-demo--support .hero-demo__booking-note {
  margin-top: 8px;
  font-size: 8px;
}
.hero-demo--support .hero-demo__live-card {
  position: relative;
  gap: 13px;
  margin-top: 14px;
  overflow: hidden;
  padding: 16px 16px 15px 20px;
  border-color: var(--support-border-strong);
  box-shadow: var(--support-shadow);
}
.hero-demo__live-accent {
  position: absolute;
  top: 13px;
  bottom: 13px;
  left: 0;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: var(--color-neutral-700);
}
.hero-demo--support .hero-demo__calendar {
  width: 57px;
  height: 67px;
  border-color: var(--support-border-strong);
  background: var(--support-subtle);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.9);
}
.hero-demo--support .hero-demo__calendar small {
  order: 0;
  letter-spacing: 0.08em;
}
.hero-demo--support .hero-demo__calendar strong {
  order: 1;
  line-height: 1.05;
}
.hero-demo--support .hero-demo__calendar span {
  order: 2;
  margin-top: 2px;
  color: var(--demo-muted);
  font-size: 6px;
}
.hero-demo__live-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.hero-demo__live-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--demo-muted);
  font-size: 7px;
  font-variant-numeric: tabular-nums;
}
.hero-demo--support .hero-demo__live-card > div:last-child > strong {
  font-size: 12px;
}
.hero-demo--support .hero-demo__live-actions button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.hero-demo--support .hero-demo__replay {
  width: 100%;
  margin-top: 13px;
  padding: 10px 11px;
  border-color: var(--support-border-strong);
  text-align: left;
  box-shadow: 0 1px 3px rgb(23 23 23 / 0.04);
}
.hero-demo__replay-icon {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 8px;
  color: white;
  background: var(--color-neutral-800);
}
.hero-demo__replay-progress {
  width: 70px;
  height: 3px;
  margin-left: auto;
  overflow: hidden;
  border-radius: 99px;
  background: var(--color-neutral-200);
}
.hero-demo__replay-progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--color-neutral-600);
}

.hero-demo__coachings {
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
  overflow: auto;
}
.hero-demo__coachings-intro {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  padding: 6px 0 16px;
  text-align: center;
}
.hero-demo__coachings-intro h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.hero-demo__coachings-intro > p {
  margin-top: 6px;
  color: var(--demo-muted);
  font-size: 13px;
  line-height: 1.45;
}
.hero-demo__coachings-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}
.hero-demo__coachings-actions button {
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid var(--support-border-strong);
  border-radius: 8px;
  color: var(--demo-ink);
  background: var(--support-surface);
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 1px 2px rgb(23 23 23 / 0.04);
}
.hero-demo__coachings-actions button.is-primary {
  border-color: var(--demo-ink);
  color: white;
  background: var(--demo-ink);
}
.hero-demo__coachings-remaining {
  margin-top: 10px;
  color: var(--demo-muted);
  font-size: 12px;
}
.hero-demo__coachings-appointments {
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--support-border-strong);
  border-radius: 12px;
  background: var(--support-surface);
  box-shadow: var(--support-shadow);
}
.hero-demo__coachings-appointments h4 {
  flex-shrink: 0;
  padding: 12px 16px;
  border-bottom: 1px solid var(--demo-border);
  font-size: 14px;
  font-weight: 700;
}
.hero-demo__coachings-appointments ul {
  min-height: 0;
  overflow: auto;
  scrollbar-width: thin;
}
.hero-demo__coachings-appointments li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
}
.hero-demo__coachings-appointments li + li {
  border-top: 1px solid var(--demo-border);
}
.hero-demo__coachings-appointments strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
}
.hero-demo__coachings-appointments p {
  margin-top: 2px;
  color: var(--demo-muted);
  font-size: 12px;
}
.hero-demo__coachings-dialog {
  width: min(380px, calc(100% - 20px));
}
.hero-demo__coachings-dialog .hero-demo__step-dialog-head h3 {
  font-size: 14px;
}
.hero-demo__coachings-dialog .hero-demo__step-dialog-head p {
  font-size: 12px;
}
.hero-demo__coachings-dialog .hero-demo__step-dialog-actions button {
  flex: 0 0 auto;
  width: auto;
}
.hero-demo__coachings-offers {
  padding: 0 16px 8px;
}
.hero-demo__coachings-offer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
}
.hero-demo__coachings-offer + .hero-demo__coachings-offer {
  border-top: 1px solid var(--demo-border);
}
.hero-demo__coachings-offer strong,
.hero-demo__coachings-offer span {
  display: block;
}
.hero-demo__coachings-offer strong {
  font-size: 13px;
  font-weight: 600;
}
.hero-demo__coachings-offer span {
  margin-top: 2px;
  color: var(--demo-muted);
  font-size: 12px;
}
.hero-demo__coachings-offer button {
  flex-shrink: 0;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid var(--demo-ink);
  border-radius: 7px;
  color: white;
  background: var(--demo-ink);
  font-size: 11px;
  font-weight: 700;
  pointer-events: none;
}
.hero-demo__coachings-book {
  padding: 4px 16px 12px;
}
.hero-demo__coachings-coaches-label {
  margin-bottom: 8px;
  color: var(--demo-muted);
  font-size: 12px;
  font-weight: 600;
}
.hero-demo__coachings-coach + .hero-demo__coachings-coach {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--demo-border);
}
.hero-demo__coachings-coach-head {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-demo__coachings-coach-head > div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}
.hero-demo__coachings-coach-head strong {
  font-size: 13px;
  font-weight: 600;
}
.hero-demo__post-author .hero-demo__admin,
.hero-demo__reply-meta .hero-demo__admin,
.hero-demo__coachings-coach-head .hero-demo__admin {
  margin-left: 0;
}
.hero-demo__coachings-slots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: 8px;
}
.hero-demo__coachings-slots button {
  display: flex;
  min-height: 40px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 6px 8px;
  border: 1px solid var(--support-border-strong);
  border-radius: 8px;
  background: var(--support-surface);
  text-align: left;
  box-shadow: 0 1px 1px rgb(23 23 23 / 0.04);
}
.hero-demo__coachings-slots button strong {
  font-size: 11px;
  font-weight: 700;
}
.hero-demo__coachings-slots button span {
  margin-top: 2px;
  color: var(--demo-muted);
  font-size: 10px;
}
.hero-demo__coachings-slots button.is-selected {
  border-color: var(--demo-ink);
  background: var(--support-subtle);
}
@media (hover: hover) and (pointer: fine) {
  .hero-demo__coachings-actions button:not(.is-primary):hover,
  .hero-demo__coachings-slots button:hover:not(.is-selected) {
    background: var(--support-subtle);
  }
}

.hero-demo--support .hero-demo__support-panel--lives {
  display: flex;
  min-height: 0;
  margin: -21px calc(-1 * var(--support-content-inline-padding));
  flex: 1;
  flex-direction: column;
  overflow: hidden;
}
.hero-demo__lives {
  --lives-chrome: white;
  --lives-subtle: var(--color-neutral-50);
  --lives-active: var(--color-neutral-100);
  --lives-line: var(--color-neutral-100);
  --lives-line-strong: var(--color-neutral-200);
  --lives-control-border: var(--color-neutral-300);
  --lives-grid: var(--color-neutral-200);
  --lives-shadow: 0 1px 2px rgb(23 23 23 / 0.04);
  --lives-scroll: rgb(163 163 163 / 0.45);
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
  overflow: hidden;
  background: var(--support-surface);
  scrollbar-width: thin;
  scrollbar-color: var(--lives-scroll) transparent;
}
.hero-demo__lives-toolbar {
  position: relative;
  z-index: 1;
  display: flex;
  flex-shrink: 0;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--demo-border);
}
.hero-demo__lives-filters {
  display: flex;
  min-width: 0;
  flex: 1;
  align-items: center;
  gap: 6px;
}
.hero-demo__lives-search {
  position: relative;
  display: flex;
  min-width: 0;
  flex: 1;
  max-width: 220px;
  align-items: center;
}
.hero-demo__lives-search svg {
  position: absolute;
  left: 8px;
  color: var(--color-neutral-400);
  pointer-events: none;
}
.hero-demo__lives-search input {
  height: 30px;
  border: 1px solid var(--lives-control-border);
  border-radius: 6px;
  color: var(--demo-ink);
  background-color: var(--lives-chrome);
  font-size: 12px;
  line-height: 28px;
  box-shadow: var(--lives-shadow);
}
.hero-demo__lives-search input {
  width: 100%;
  padding: 0 8px 0 26px;
}
.hero-demo__lives-search input::placeholder {
  color: var(--color-neutral-400);
}
.hero-demo__lives-search input:focus {
  outline: none;
  border-color: var(--color-neutral-500);
  box-shadow: 0 0 0 1px var(--color-neutral-500);
}
.hero-demo__lives-views {
  display: inline-flex;
  flex-shrink: 0;
  gap: 2px;
  padding: 2px;
  border: 1px solid var(--lives-line-strong);
  border-radius: 6px;
  background: var(--lives-chrome);
  box-shadow: var(--lives-shadow);
}
.hero-demo__lives-view {
  padding: 5px 9px;
  border-radius: 4px;
  color: var(--demo-muted);
  font-size: 11px;
  font-weight: 600;
}
.hero-demo__lives-view.is-active {
  color: var(--demo-ink);
  background: var(--lives-active);
}
.hero-demo__consultation-actions button.has-pointer,
.hero-demo__lives-view.has-pointer,
.hero-demo__coachings-actions button.has-pointer {
  position: relative;
}
.hero-demo__hint-cursor {
  position: absolute;
  top: 62%;
  left: 50%;
  z-index: 4;
  width: 30px;
  height: 33px;
  pointer-events: none;
  transform-origin: top left;
  animation: bento-cursor 1.6s ease-in-out infinite;
}
.hero-demo__hint-cursor img {
  width: 30px;
  height: auto;
  filter: drop-shadow(0 1px 1px rgb(0 0 0 / 0.15));
}
@media (prefers-reduced-motion: reduce) {
  .hero-demo__hint-cursor {
    animation: none;
  }
}
.hero-demo__lives-body {
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
  overflow: auto;
}
.hero-demo__lives-list-head {
  padding: 8px 18px;
  border-bottom: 1px solid var(--demo-border);
  background: var(--lives-subtle);
  font-size: 11px;
  font-weight: 700;
}
.hero-demo__lives-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 18px 10px 30px;
  border-bottom: 1px solid var(--demo-border);
  transition: background-color 120ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .hero-demo__lives-row:hover {
    background: var(--lives-subtle);
  }
  .hero-demo__lives-view:hover:not(.is-active),
  .hero-demo__lives-range-nav button:hover,
  .hero-demo__lives-actions button:hover {
    background: var(--lives-subtle);
  }
}
.hero-demo__lives-accent {
  position: absolute;
  top: 50%;
  left: 16px;
  width: 3px;
  height: 28px;
  border-radius: 99px;
  background: var(--color-neutral-500);
  transform: translateY(-50%);
}
.hero-demo__lives-accent--sky {
  background: #0ea5e9;
}
.hero-demo__lives-accent--amber {
  background: #f59e0b;
}
.hero-demo__lives-accent--violet {
  background: #8b5cf6;
}
.hero-demo__lives-accent--teal {
  background: #14b8a6;
}
.hero-demo__lives-accent--past {
  background: var(--color-neutral-400);
}
.hero-demo__lives-row.is-past .hero-demo__lives-row-copy strong > span:last-child,
.hero-demo__lives-row.is-past .hero-demo__lives-row-copy p {
  color: var(--color-neutral-400);
  text-decoration: line-through;
}
.hero-demo__lives-row-copy {
  min-width: 0;
  flex: 1;
}
.hero-demo__lives-row-copy strong {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 6px;
  overflow: hidden;
  font-size: 13px;
  font-weight: 600;
}
.hero-demo__lives-row-copy strong > span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hero-demo__lives-row-copy p {
  overflow: hidden;
  margin-top: 3px;
  color: var(--demo-muted);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hero-demo__lives-actions {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}
.hero-demo__lives-actions button {
  display: inline-flex;
  height: 28px;
  align-items: center;
  gap: 4px;
  padding: 0 8px;
  border: 1px solid var(--lives-control-border);
  border-radius: 6px;
  color: var(--demo-muted);
  background: var(--lives-chrome);
  font-size: 10px;
  font-weight: 600;
  box-shadow: var(--lives-shadow);
}
.hero-demo__lives-empty {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 8px 18px 12px;
  padding: 8px 10px;
  border-radius: 6px;
  color: var(--demo-ink);
  background: var(--lives-active);
  font-size: 11px;
  font-weight: 600;
}
.hero-demo__lives-range {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--demo-border);
}
.hero-demo__lives-range h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.hero-demo__lives-range-nav {
  display: inline-flex;
  overflow: hidden;
  border: 1px solid var(--lives-line-strong);
  border-radius: 6px;
  background: var(--lives-chrome);
  box-shadow: var(--lives-shadow);
}
.hero-demo__lives-range-nav button {
  display: inline-flex;
  height: 28px;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  color: var(--demo-ink);
  font-size: 11px;
  font-weight: 600;
}
.hero-demo__lives-range-nav button + button {
  border-left: 1px solid var(--lives-line-strong);
}
.hero-demo__lives-range-nav button:first-child,
.hero-demo__lives-range-nav button:last-child {
  width: 28px;
  padding: 0;
}
.hero-demo__lives-week-scroll,
.hero-demo__lives-month-scroll {
  min-height: 0;
  flex: 1;
  overflow: auto;
}
.hero-demo__lives-calendar,
.hero-demo__lives-calendar > [data-lives-offset]:not(.hidden) {
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
}
.hero-demo__lives-week {
  display: grid;
  min-width: 36rem;
  grid-template-columns: 3.1rem repeat(7, minmax(0, 1fr));
  background: var(--lives-grid);
}
.hero-demo__lives-week-tz,
.hero-demo__lives-week-day {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--demo-border);
  border-right: 1px solid var(--demo-border);
  background: var(--lives-chrome);
  font-size: 11px;
  font-weight: 600;
}
.hero-demo__lives-week-tz {
  color: var(--color-neutral-400);
}
.hero-demo__lives-week-day {
  gap: 4px;
  color: var(--demo-ink);
  font-weight: 500;
}
.hero-demo__lives-week-day b {
  font-weight: 500;
}
.hero-demo__lives-week-day.is-today {
  border-bottom: 2px solid var(--demo-ink);
  color: var(--demo-ink);
}
.hero-demo__lives-week-day:nth-child(8),
.hero-demo__lives-week-col:last-child {
  border-right: 0;
}
.hero-demo__lives-week-hours,
.hero-demo__lives-week-col {
  position: relative;
  height: calc(var(--lives-hour-height) * var(--lives-hours));
  border-right: 1px solid var(--demo-border);
  background: var(--lives-chrome);
}
.hero-demo__lives-week-hours {
  background: var(--lives-subtle);
}
.hero-demo__lives-week-hours span,
.hero-demo__lives-week-col i {
  position: absolute;
  right: 0;
  left: 0;
  border-top: 1px solid var(--lives-line);
}
.hero-demo__lives-week-hours span {
  padding-right: 6px;
  color: var(--color-neutral-400);
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  text-align: right;
  transform: translateY(-50%);
}
.hero-demo__lives-now {
  position: absolute;
  right: -1px;
  left: -1px;
  z-index: 3;
  border-top: 2px solid var(--demo-ink);
  pointer-events: none;
}
.hero-demo__lives-now i {
  position: absolute;
  top: -5px;
  left: -4px;
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 50%;
  background: var(--demo-ink);
}
.hero-demo__lives-event {
  position: absolute;
  right: 3px;
  left: 3px;
  z-index: 1;
  display: flex;
  overflow: hidden;
  flex-direction: column;
  gap: 3px;
  padding: 4px 5px;
  border-left-width: 3px;
  border-left-style: solid;
  border-radius: 0 4px 4px 0;
  font-size: 10px;
  line-height: 1.2;
}
.hero-demo__lives-event strong,
.hero-demo__lives-event small,
.hero-demo__lives-chip {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hero-demo__lives-event strong {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 4px;
  font-weight: 700;
}
.hero-demo__lives-event strong > span:last-child,
.hero-demo__lives-chip > span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hero-demo__lives-event--sky {
  border-left-color: #0ea5e9;
  color: #0c4a6e;
  background: #f0f9ff;
}
.hero-demo__lives-event--amber {
  border-left-color: #f59e0b;
  color: #78350f;
  background: #fffbeb;
}
.hero-demo__lives-event--violet {
  border-left-color: #8b5cf6;
  color: #4c1d95;
  background: #f5f3ff;
}
.hero-demo__lives-event--teal {
  border-left-color: #14b8a6;
  color: #134e4a;
  background: #f0fdfa;
}
.hero-demo__lives-event--past {
  border-left-color: var(--color-neutral-300);
  color: var(--color-neutral-400);
  background: var(--color-neutral-50);
}
.hero-demo__lives-event.is-past strong > span:last-child,
.hero-demo__lives-event.is-past small,
.hero-demo__lives-chip.is-past > span:last-child {
  text-decoration: line-through;
}
.hero-demo__lives-month {
  display: grid;
  min-width: 36rem;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}
.hero-demo__lives-month-dow,
.hero-demo__lives-month-cell {
  border-bottom: 1px solid var(--demo-border);
  border-right: 1px solid var(--demo-border);
  background: var(--lives-chrome);
}
.hero-demo__lives-month-dow {
  padding: 6px 8px;
  color: var(--demo-muted);
  font-size: 11px;
  font-weight: 600;
  text-align: right;
}
.hero-demo__lives-month-cell {
  display: flex;
  min-height: 64px;
  flex-direction: column;
  align-items: stretch;
  padding: 4px;
}
.hero-demo__lives-month-dow:nth-child(7n),
.hero-demo__lives-month-cell:nth-child(7n) {
  border-right: 0;
}
.hero-demo__lives-month-cell.is-muted {
  background: var(--lives-subtle);
}
.hero-demo__lives-month-num {
  display: flex;
  height: 16px;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 3px;
  color: var(--demo-ink);
  font-size: 11px;
  font-weight: 600;
}
.hero-demo__lives-month-cell.is-muted .hero-demo__lives-month-num {
  color: var(--color-neutral-400);
}
.hero-demo__lives-month-cell.is-today .hero-demo__lives-month-num {
  width: 16px;
  margin-left: auto;
  justify-content: center;
  border-radius: 0.375rem;
  color: var(--lives-chrome);
  background: var(--demo-ink);
}
.hero-demo__lives-chip {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 4px;
  margin-top: 1px;
  padding: 2px 4px;
  border-left-width: 3px;
  border-left-style: solid;
  border-radius: 0 3px 3px 0;
  font-size: 9px;
  font-weight: 700;
}
.hero-demo__lives-recurring {
  display: inline-flex;
  height: 16px;
  min-width: 16px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border-radius: 999px;
  line-height: 1;
}
.hero-demo__lives-recurring svg {
  width: 10px;
  height: 10px;
}
.hero-demo__lives-row .hero-demo__lives-recurring {
  height: 18px;
  min-width: 18px;
  padding: 0 6px;
}
.hero-demo__lives-row .hero-demo__lives-recurring svg {
  width: 12px;
  height: 12px;
}
.hero-demo__lives-recurring--sky {
  color: #075985;
  background: #e0f2fe;
}
.hero-demo__lives-recurring--amber {
  color: #92400e;
  background: #fef3c7;
}
.hero-demo__lives-recurring--violet {
  color: #5b21b6;
  background: #ede9fe;
}
.hero-demo__lives-recurring--teal {
  color: #115e59;
  background: #ccfbf1;
}
.hero-demo__lives-recurring--past {
  color: var(--color-neutral-400);
  background: var(--color-neutral-100);
}
.hero-demo__lives-chip .hero-demo__lives-recurring {
  height: 12px;
  min-width: 12px;
  padding: 0 3px;
}
.hero-demo__lives-chip .hero-demo__lives-recurring svg {
  width: 8px;
  height: 8px;
}
.hero-demo__lives-more {
  margin-top: auto;
  color: var(--demo-muted);
  font-size: 9px;
  font-weight: 600;
  text-align: center;
}
.hero-demo__lives-body,
.hero-demo__lives-week-scroll,
.hero-demo__lives-month-scroll {
  scrollbar-width: thin;
  scrollbar-color: var(--lives-scroll) transparent;
}
.hero-demo__lives-body::-webkit-scrollbar,
.hero-demo__lives-week-scroll::-webkit-scrollbar,
.hero-demo__lives-month-scroll::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
.hero-demo__lives-body::-webkit-scrollbar-track,
.hero-demo__lives-week-scroll::-webkit-scrollbar-track,
.hero-demo__lives-month-scroll::-webkit-scrollbar-track {
  background: transparent;
}
.hero-demo__lives-body::-webkit-scrollbar-thumb,
.hero-demo__lives-week-scroll::-webkit-scrollbar-thumb,
.hero-demo__lives-month-scroll::-webkit-scrollbar-thumb {
  border-radius: 99px;
  background: var(--lives-scroll);
}

.dark .hero-demo--support {
  --support-surface: #202020;
  --support-subtle: var(--color-neutral-800);
  --support-raised: var(--color-neutral-700);
  --support-consultation-lower: var(--color-neutral-800);
  --support-border-strong: var(--color-neutral-600);
  --support-shadow: 0 12px 30px rgb(0 0 0 / 0.2);
}
.dark .hero-demo--support .hero-demo__support-layout {
  background: radial-gradient(circle at 78% 8%, rgb(64 64 64 / 0.38), transparent 38%), var(--color-neutral-800);
}
.dark .hero-demo--support .hero-demo__support-tabs {
  background: var(--support-surface);
  border-color: var(--color-neutral-700);
}
.dark .hero-demo--support .hero-demo__support-tab.is-active::after {
  background: var(--color-neutral-100);
}
.dark .hero-demo--support .hero-demo__coach-verified {
  border-color: var(--color-neutral-600);
  color: var(--color-neutral-300);
  background: var(--color-neutral-800);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.04);
}
.dark .hero-demo--support .hero-demo__coaching-summary,
.dark .hero-demo--support .hero-demo__coach-card,
.dark .hero-demo--support .hero-demo__live-card,
.dark .hero-demo--support .hero-demo__replay,
.dark .hero-demo--support .hero-demo__consultation-card,
.dark .hero-demo--support .hero-demo__consultation-actions button,
.dark .hero-demo--support .hero-demo__consultation-queue,
.dark .hero-demo--support .hero-demo__consultation-row-actions span,
.dark .hero-demo--support .hero-demo__time-grid button {
  border-color: var(--color-neutral-600);
  color: var(--color-neutral-100);
  background: var(--color-neutral-900);
}
.dark .hero-demo--support .hero-demo__consultation-actions button.is-primary {
  border-color: var(--color-neutral-100);
  color: var(--color-neutral-900);
  background: var(--color-neutral-100);
}
.dark .hero-demo--support .hero-demo__consultation-card {
  border-color: transparent;
  background: transparent;
}
.dark .hero-demo--support .hero-demo__time-grid button.is-selected {
  border-color: var(--color-neutral-400);
  background: var(--color-neutral-700);
}
.dark .hero-demo--support .hero-demo__coaching-icon,
.dark .hero-demo--support .hero-demo__replay-icon {
  color: var(--color-neutral-900);
  background: var(--color-neutral-100);
}
.dark .hero-demo--support .hero-demo__session-usage > i,
.dark .hero-demo--support .hero-demo__replay-progress {
  background: var(--color-neutral-700);
}
.dark .hero-demo--support .hero-demo__session-usage > i b,
.dark .hero-demo--support .hero-demo__replay-progress i,
.dark .hero-demo--support .hero-demo__live-accent {
  background: var(--color-neutral-300);
}
.dark .hero-demo--support .hero-demo__coach-card > span:first-child > i {
  border-color: var(--color-neutral-900);
}
.dark .hero-demo--support .hero-demo__calendar {
  border-color: var(--color-neutral-600);
  background: var(--color-neutral-800);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.04);
}
.dark .hero-demo--support .hero-demo__live-actions button.is-primary {
  border-color: var(--color-neutral-100);
  background: var(--color-neutral-100);
}
.dark .hero-demo__consultation-dot::before,
.dark .hero-demo__consultation-dot i {
  background: var(--color-red-400);
}
.dark .hero-demo__consultation-tag {
  color: var(--color-neutral-200);
  background: var(--color-neutral-800);
}
.dark .hero-demo__consultation-body {
  color: var(--color-neutral-300);
}
.dark .hero-demo__consultation-cam {
  border-color: var(--color-neutral-900);
  box-shadow: 0 0 0 1px var(--color-neutral-700);
}
.dark .hero-demo__consultation-wave {
  border-color: rgb(255 255 255 / var(--wave-line));
  background: rgb(255 255 255 / 0.05);
}
.dark .hero-demo__consultation-queue li > i {
  background: var(--color-neutral-700);
}
.dark .hero-demo__consultation-row-actions span.is-danger {
  color: #f87171;
}
.dark .hero-demo__lives {
  --lives-chrome: #202020;
  --lives-subtle: var(--color-neutral-800);
  --lives-active: rgb(255 255 255 / 0.08);
  --lives-line: rgb(255 255 255 / 0.06);
  --lives-line-strong: rgb(255 255 255 / 0.1);
  --lives-control-border: var(--color-neutral-600);
  --lives-grid: rgb(255 255 255 / 0.08);
  --lives-shadow: inset 0 1px 0 rgb(255 255 255 / 0.04);
  --lives-scroll: rgb(163 163 163 / 0.28);
  --demo-border: rgb(255 255 255 / 0.1);
  background: #202020;
}
.dark .hero-demo__lives-toolbar {
  background: var(--color-neutral-800);
}
.dark .hero-demo__lives-view.is-active {
  background: rgb(255 255 255 / 0.16);
}
.dark .hero-demo__lives-search input:focus {
  border-color: var(--color-neutral-400);
  box-shadow: 0 0 0 1px var(--color-neutral-400);
}
.dark .hero-demo__lives-actions button {
  color: var(--color-neutral-200);
}
.dark .hero-demo__lives-event--sky {
  border-left-color: #0ea5e9;
  color: #e0f2fe;
  background: #0c4a6e;
}
.dark .hero-demo__lives-event--amber {
  border-left-color: #f59e0b;
  color: #fde68a;
  background: #78350f;
}
.dark .hero-demo__lives-event--violet {
  border-left-color: #8b5cf6;
  color: #ede9fe;
  background: #4c1d95;
}
.dark .hero-demo__lives-event--teal {
  border-left-color: #14b8a6;
  color: #ccfbf1;
  background: #134e4a;
}
.dark .hero-demo__lives-accent--past {
  background: var(--color-neutral-500);
}
.dark .hero-demo__lives-row.is-past .hero-demo__lives-row-copy strong > span:last-child,
.dark .hero-demo__lives-row.is-past .hero-demo__lives-row-copy p {
  color: var(--color-neutral-500);
}
.dark .hero-demo__lives-event--past {
  border-left-color: var(--color-neutral-600);
  color: var(--color-neutral-400);
  background: var(--color-neutral-800);
}
.dark .hero-demo__lives-recurring--sky {
  color: #e0f2fe;
  background: #075985;
}
.dark .hero-demo__lives-recurring--amber {
  color: #fde68a;
  background: #92400e;
}
.dark .hero-demo__lives-recurring--violet {
  color: #ede9fe;
  background: #5b21b6;
}
.dark .hero-demo__lives-recurring--teal {
  color: #ccfbf1;
  background: #115e59;
}
.dark .hero-demo__lives-recurring--past {
  color: var(--color-neutral-400);
  background: var(--color-neutral-700);
}
.dark .hero-demo__coachings-actions button.is-primary,
.dark .hero-demo__coachings-offer button {
  border-color: var(--color-neutral-100);
  color: var(--color-neutral-900);
  background: var(--color-neutral-100);
}
.dark .hero-demo__coachings-slots button.is-selected {
  border-color: var(--color-neutral-100);
  background: var(--color-neutral-800);
}

@media (max-width: 639px) {
  .hero-demo--support {
    --support-content-inline-padding: 12px;
  }
  .hero-demo--support .hero-demo__support-content {
    padding: 12px;
  }
  .hero-demo--support .hero-demo__support-panel--lives {
    min-height: 0;
    margin: -12px;
  }
  .hero-demo__consultation-status {
    padding: 0 14px;
  }
  .hero-demo__consultation-stage {
    margin-top: 4px;
  }
  .hero-demo__consultation-card {
    padding: 12px;
  }
  .hero-demo__consultation-card h3 {
    padding-right: 72px;
    font-size: 13px;
  }
  .hero-demo__consultation-row-actions {
    display: none;
  }
  .hero-demo__consultation-queue li {
    grid-template-columns: max-content 1px 22px minmax(0, 1fr);
  }
  .hero-demo__consultation-cam-wrap {
    --cam-size: 64px;
    --cam-wave: 2px;
    --cam-pulse: 10px;
    top: calc(-18px - var(--cam-pulse));
  }
  .hero-demo__consultation-cam {
    border-width: 3px;
  }
  [data-hero-demo-target="consultationRecording"] .hero-demo__consultation-actions {
    flex-wrap: nowrap;
    align-items: stretch;
  }
  [data-hero-demo-target="consultationRecording"] .hero-demo__consultation-actions button:not(.is-primary) {
    width: 34px;
    min-width: 34px;
    padding: 0;
    justify-content: center;
  }
  [data-hero-demo-target="consultationRecording"] .hero-demo__consultation-actions button:not(.is-primary) span {
    display: none;
  }
  [data-hero-demo-target="consultationRecording"] .hero-demo__consultation-actions button.is-primary {
    flex: 0 0 auto;
    white-space: nowrap;
  }
  .hero-demo__consultation-action-full {
    display: none;
  }
  .hero-demo__consultation-action-short {
    display: inline;
  }
  .hero-demo__consultation-done h3 {
    font-size: 18px;
  }
  .hero-demo__coaching-summary {
    grid-template-columns: 34px minmax(0, 1fr);
  }
  .hero-demo__session-usage {
    display: none;
  }
  .hero-demo--support .hero-demo__coach-card {
    display: none;
  }
  .hero-demo--support .hero-demo__time-grid button {
    padding: 7px 3px;
  }
  .hero-demo--support .hero-demo__time-grid small {
    font-size: 5px;
  }
  .hero-demo--support .hero-demo__live-card {
    padding: 12px 10px 12px 15px;
  }
  .hero-demo--support .hero-demo__live-card p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
  .hero-demo__replay-progress {
    display: none;
  }
  .hero-demo__lives-filters {
    display: none;
  }
  .hero-demo__lives-actions button > span:last-child {
    display: none;
  }
  .hero-demo__lives-actions button {
    width: 26px;
    padding: 0;
    justify-content: center;
  }
  .hero-demo__lives-range h4 {
    font-size: 11px;
  }
  .hero-demo__lives-month-cell {
    min-height: 56px;
  }
  .hero-demo__coachings-actions {
    flex-direction: column;
  }
  .hero-demo__coachings-actions button {
    width: 100%;
  }
  .hero-demo__coachings-slots {
    grid-template-columns: 1fr;
  }
}

/* Community hero — mirrors the SchoolMaker front-office forum shell. */
.hero-demo--community {
  --community-accent: #0f766e;
  --community-accent-soft: #f0fdfa;
  overflow: hidden;
}

.hero-demo--community .hero-demo__community-shell {
  height: 540px;
  background: var(--color-neutral-50);
}

.hero-demo--community .hero-demo__directory-row > svg {
  fill: currentColor;
}
.hero-demo--community .hero-demo__community-layout {
  grid-template-columns: minmax(0, 1.8fr) minmax(190px, 0.72fr);
  height: 540px;
  background: var(--color-neutral-50);
}

.hero-demo--community .hero-demo__feed {
  padding: 15px 18px 22px;
}

.hero-demo--community .hero-avatar {
  border: 0;
  box-shadow: none;
}

.hero-demo--community .hero-demo__composer {
  padding: 9px 11px;
  border-radius: 9px;
  box-shadow: 0 1px 3px rgb(23 23 23 / 0.04);
}

.hero-demo--community .hero-demo__composer > span:not(.hero-demo__composer-plus) {
  color: var(--color-neutral-500);
  font-size: 10px;
  font-weight: 500;
}

.hero-demo--community .hero-demo__composer-plus {
  width: 25px;
  height: 25px;
  border: 0;
  border-radius: 6px;
  color: var(--color-neutral-500);
}

.hero-demo--community .hero-demo__composer-plus svg {
  width: 18px;
  height: 18px;
}

.hero-demo--community .hero-demo__post {
  position: relative;
  margin-top: 10px;
  padding: 13px;
  border-radius: 9px;
  box-shadow: 0 1px 3px rgb(23 23 23 / 0.035);
}

.hero-demo--community .hero-demo__post-unread {
  position: relative;
  display: inline-flex;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  vertical-align: 1px;
}

.hero-demo--community .hero-demo__post-unread i,
.hero-demo--community .hero-demo__post-unread b {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #22c55e;
}

.hero-demo--community .hero-demo__post-unread i {
  opacity: 0.65;
  animation: hero-community-ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes hero-community-ping {
  75%,
  100% {
    opacity: 0;
    transform: scale(2);
  }
}

.hero-demo--community .hero-demo__post-head {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.hero-demo--community .hero-demo__post-author {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 5px;
}

.hero-demo--community .hero-demo__post-author strong {
  overflow: hidden;
  color: var(--demo-ink);
  font-size: 10px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-demo--community .hero-demo__post-meta {
  margin-top: 1px;
  gap: 4px;
  font-size: 7.5px;
}

.hero-demo--community .hero-demo__author-badge {
  width: 17px;
  height: 17px;
  border-radius: 5px;
  font-size: 10px;
}

.hero-demo--community .hero-demo__post-content {
  margin-left: 43px;
}

.hero-demo--community .hero-demo__post h3 {
  margin-top: 6px;
  color: var(--demo-ink);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.005em;
}

.hero-demo--community .hero-demo__post-body {
  margin-top: 3px;
  font-size: 8.5px;
  line-height: 1.5;
}

.hero-demo--community .hero-demo__post-actions {
  margin-top: 9px;
  margin-left: 43px;
}

.hero-demo--community .hero-demo__post-actions > button,
.hero-demo--community .hero-demo__reactions {
  min-height: 27px;
  border-radius: 6px;
}

.hero-demo--community .hero-demo__reaction-trigger {
  position: relative;
}

.hero-demo--community .hero-demo__comment-action svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.hero-demo--community .hero-demo__thread {
  --thread-line-top: -78px; /* fallback; measured from the parent avatar in JS */
  --thread-rail-x: -28px;
  position: relative;
  margin: 10px 0 0 43px;
}

.hero-demo--community .hero-demo__thread-line {
  position: absolute;
  z-index: 0;
  top: var(--thread-line-top);
  left: calc(var(--thread-rail-x) - 4px);
  width: 8px;
  height: calc(10px - var(--thread-line-top));
  cursor: pointer;
}

.hero-demo--community .hero-demo__thread-line::before {
  position: absolute;
  inset-block: 0;
  left: 4px;
  border-left: 1px solid var(--color-neutral-200);
  content: "";
}

.hero-demo--community .hero-demo__thread-toggle {
  position: absolute;
  z-index: 2;
  top: 0;
  left: calc(var(--thread-rail-x) - 8px);
  display: grid;
  width: 16px;
  height: 16px;
  place-items: center;
  border: 1px solid var(--color-neutral-300);
  border-radius: 999px;
  color: var(--color-neutral-400);
  background: white;
  font-size: 10px;
  font-weight: 700;
}

.hero-demo--community .hero-demo__thread-toggle > span {
  position: relative;
  display: block;
  width: 8px;
  height: 8px;
}

.hero-demo--community .hero-demo__thread-toggle > span::before,
.hero-demo--community .hero-demo__thread-toggle > span::after {
  position: absolute;
  top: 3.5px;
  left: 0;
  width: 8px;
  border-top: 1.5px solid currentColor;
  content: "";
}

.hero-demo--community .hero-demo__thread-toggle > span::after {
  opacity: 0;
  transform: rotate(90deg);
}

.hero-demo--community .hero-demo__thread.is-collapsed .hero-demo__thread-toggle > span::after {
  opacity: 1;
}

.hero-demo--community .hero-demo__thread.is-collapsed .hero-demo__thread-line {
  bottom: auto;
  height: calc(8px - var(--thread-line-top));
}

.hero-demo--community .hero-demo__thread.is-collapsed .hero-demo__thread-line::before {
  border-left-style: dashed;
  border-color: var(--color-neutral-300);
}

.hero-demo--community .hero-demo__thread-collapsed {
  padding: 3px 0 4px 10px;
  color: var(--color-neutral-500);
  font-size: 11px;
  font-style: italic;
  font-weight: 500;
  text-align: left;
}

.hero-demo--community .hero-demo__thread-content {
  margin-top: 10px;
}

.hero-demo--community .hero-demo__thread-toggle:focus-visible {
  outline: 2px solid var(--color-neutral-400);
  outline-offset: 2px;
}

@media (hover: hover) and (pointer: fine) {
  .hero-demo--community .hero-demo__thread-toggle:hover {
    border-color: var(--color-neutral-400);
    color: var(--color-neutral-700);
    background: var(--color-neutral-100);
  }

  .hero-demo--community .hero-demo__thread-collapsed:hover {
    color: var(--color-neutral-700);
  }

  .hero-demo--community
    .hero-demo__thread:has(
      .hero-demo__thread-line:hover,
      .hero-demo__thread-toggle:hover,
      .hero-demo__thread-elbow:hover
    )
    .hero-demo__thread-line::before,
  .hero-demo--community
    .hero-demo__thread:has(
      .hero-demo__thread-line:hover,
      .hero-demo__thread-toggle:hover,
      .hero-demo__thread-elbow:hover
    )
    .hero-demo__thread-elbow,
  .hero-demo--community
    .hero-demo__thread:has(
      .hero-demo__thread-line:hover,
      .hero-demo__thread-toggle:hover,
      .hero-demo__thread-elbow:hover
    )
    .hero-demo__reply-preview:not(:last-child)::after {
    border-color: var(--color-neutral-300);
  }
}

.hero-demo--community .hero-demo__reply-preview {
  position: relative;
  margin: 0;
  padding: 8px 0 2px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.hero-demo--community .hero-demo__thread-elbow {
  position: absolute;
  z-index: 1;
  top: 0;
  left: var(--thread-rail-x);
  width: 28px;
  height: 22px;
  border-bottom: 1px solid var(--color-neutral-200);
  border-left: 1px solid var(--color-neutral-200);
  border-bottom-left-radius: 13px;
  cursor: pointer;
}

.hero-demo--community .hero-demo__reply-preview:not(:last-child)::after {
  position: absolute;
  z-index: 0;
  top: 12px;
  bottom: -4px;
  left: var(--thread-rail-x);
  border-left: 1px solid var(--color-neutral-200);
  content: "";
}

.hero-demo--community .hero-demo__reply-preview + .hero-demo__reply-preview {
  margin-top: 4px;
}

.hero-demo--community .hero-demo__reply-preview p {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
}

.hero-demo--community .hero-demo__reply-meta {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  line-height: 1;
}

.hero-demo--community .hero-demo__reply-meta strong {
  line-height: 1;
}

.hero-demo--community .hero-demo__reply-preview small {
  color: var(--color-neutral-400);
  font-size: 7px;
  line-height: 1;
}

.hero-demo--community .hero-demo__admin {
  background: var(--color-neutral-100);
  color: var(--color-neutral-600);
}

.hero-demo--community .hero-demo__poll {
  margin-top: 9px;
}

.hero-demo--community .hero-demo__poll-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  color: var(--color-neutral-600);
  font-size: 7.5px;
}

.hero-demo--community .hero-demo__poll-head strong {
  color: var(--color-neutral-700);
  font-size: 9px;
  font-weight: 700;
}

.hero-demo--community .hero-demo__poll-options {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 5px;
}

.hero-demo--community .hero-demo__poll-option {
  position: relative;
  min-height: 38px;
  overflow: hidden;
  border: 1px solid var(--color-neutral-300);
  border-radius: 6px;
  color: var(--color-neutral-700);
  background: white;
  box-shadow: 0 1px 2px rgb(23 23 23 / 0.04);
  text-align: left;
}

.hero-demo--community .hero-demo__poll-option.is-selected {
  border-color: var(--color-neutral-400);
}

.hero-demo--community .hero-demo__poll-result {
  position: absolute;
  inset-block: 0;
  left: 0;
  width: var(--poll-result);
  background: var(--color-neutral-100);
  transition: width 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-demo--community .hero-demo__poll-option.is-selected .hero-demo__poll-result {
  background: var(--color-neutral-200);
}

.hero-demo--community .hero-demo__poll-option-content {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 4px 8px;
}

.hero-demo--community .hero-demo__poll-option-label {
  font-size: 8px;
  font-weight: 600;
  line-height: 1.3;
}

.hero-demo--community .hero-demo__poll-summary {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: flex-end;
  gap: 1px;
}

.hero-demo--community .hero-demo__poll-voters {
  display: flex;
  padding-right: 1px;
}

.hero-demo--community .hero-demo__poll-voters .hero-avatar {
  width: 18px;
  height: 18px;
  margin-left: -5px;
  border: 0;
  box-shadow: none;
}

.hero-demo--community .hero-demo__poll-voters [data-community-poll-current-user] {
  transition:
    opacity 300ms cubic-bezier(0.2, 0, 0, 1),
    transform 300ms cubic-bezier(0.2, 0, 0, 1),
    filter 300ms cubic-bezier(0.2, 0, 0, 1);
}

.hero-demo--community .hero-demo__poll-voters [data-community-poll-current-user].is-poll-vote-entering {
  opacity: 0;
  transform: scale(0.25);
  filter: blur(4px);
}

.hero-demo--community .hero-demo__poll-voters .hero-avatar:first-child {
  margin-left: 0;
}

.hero-demo--community .hero-demo__poll-summary small {
  color: var(--color-neutral-600);
  font-size: 6.5px;
  font-weight: 600;
}

.hero-demo--community .hero-demo__poll-summary b {
  font-weight: inherit;
  font-variant-numeric: tabular-nums;
}

@media (prefers-reduced-motion: reduce) {
  .hero-demo--community .hero-demo__poll-voters [data-community-poll-current-user] {
    transition: none;
  }
}

.hero-demo--community .hero-demo__post--compact {
  align-items: flex-start;
}

.hero-demo--community .hero-demo__post--compact .hero-demo__post-meta {
  display: flex;
}

.hero-demo--community .hero-demo__post--compact h3,
.hero-demo--community .hero-demo__post--compact .hero-demo__post-actions,
.hero-demo--community .hero-demo__post--compact .hero-demo__post-body,
.hero-demo--community .hero-demo__post--compact .hero-demo__thread {
  margin-left: 0;
}

.hero-demo--community .hero-demo__community-rail {
  padding: 15px 14px;
  background: rgb(250 250 250 / 0.82);
}

.hero-demo--community .hero-demo__rail-card {
  margin-bottom: 9px;
  padding: 11px;
  border-radius: 9px;
  box-shadow: 0 1px 2px rgb(23 23 23 / 0.025);
}

.hero-demo--community .hero-demo__rail-title {
  margin: 0;
  color: var(--demo-ink);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: none;
}

.hero-demo--community .hero-demo__spaces button {
  border: 1px solid transparent;
  cursor: pointer;
}

.hero-demo--community .hero-demo__spaces button.is-active {
  border-color: var(--color-neutral-200);
  color: var(--demo-ink);
  background: var(--color-neutral-50);
  box-shadow: 0 1px 2px rgb(23 23 23 / 0.03);
}

.hero-demo--community .hero-demo__reaction-chip {
  border: 1px solid transparent;
  box-shadow: none;
}

.hero-demo--community .hero-demo__reaction-chip.is-selected {
  border-color: var(--color-neutral-200);
  box-shadow: none;
}

.hero-demo--community .hero-demo__directory-row > svg {
  color: var(--color-neutral-700);
}

.hero-demo--community .hero-demo__directory-row {
  grid-template-columns: 16px minmax(0, 1fr) auto;
  gap: 6px;
  cursor: pointer;
}

.hero-demo--community .hero-demo__directory {
  gap: 3px;
}

.hero-demo--community .hero-demo__directory-row > svg {
  width: 14px;
  height: 14px;
}

.hero-demo--community .hero-demo__directory-row strong {
  font-size: 9px;
  font-weight: 600;
}

.hero-demo--community .hero-demo__directory-row em {
  color: var(--color-neutral-600);
  font-size: 8px;
  font-weight: 600;
}

.hero-demo--community .hero-demo__leaderboard .hero-demo__rail-title {
  display: flex;
  align-items: baseline;
  gap: 3px;
}

.hero-demo--community .hero-demo__leaderboard .hero-demo__rail-title small {
  color: var(--color-neutral-500);
  font-size: 8px;
  font-weight: 500;
}

.hero-demo--community .hero-demo__leaderboard-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
}

.hero-demo--community .hero-demo__leaderboard-list li {
  display: grid;
  grid-template-columns: 20px 20px minmax(0, 1fr) auto;
  align-items: center;
  gap: 5px;
  min-width: 0;
  padding: 2px;
  border: 1px solid transparent;
  border-radius: 7px;
  transition:
    border-color 150ms ease,
    background-color 150ms ease;
}

.hero-demo--community .hero-demo__leaderboard-list .hero-avatar {
  width: 20px;
  height: 20px;
  border: 0;
  box-shadow: none;
}

.hero-demo--community .hero-demo__leaderboard-rank {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--color-neutral-600);
  font-size: 8px;
  font-weight: 700;
}

.hero-demo--community .hero-demo__leaderboard-rank--1 {
  border-color: rgb(214 167 43 / 0.6);
  color: #713f12;
  background: rgb(253 230 138 / 0.6);
}

.hero-demo--community .hero-demo__leaderboard-rank--2 {
  border-color: rgb(148 163 184 / 0.6);
  color: #334155;
  background: rgb(226 232 240 / 0.6);
}

.hero-demo--community .hero-demo__leaderboard-rank--3 {
  border-color: rgb(196 122 66 / 0.6);
  color: #7c2d12;
  background: rgb(254 215 170 / 0.6);
}

.hero-demo--community .hero-demo__leaderboard-name {
  overflow: hidden;
  color: var(--color-neutral-700);
  font-size: 9px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-demo--community .hero-demo__leaderboard-points {
  padding: 3px 4px;
  border: 1px solid var(--color-neutral-200);
  border-radius: 5px;
  color: var(--color-neutral-700);
  background: white;
  font-size: 7px;
  font-weight: 600;
  white-space: nowrap;
}

.hero-demo--community .hero-demo__online-pulse {
  position: relative;
  display: inline-flex;
  width: 5px;
  height: 5px;
}

.hero-demo--community .hero-demo__online-pulse i,
.hero-demo--community .hero-demo__online-pulse b {
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: none;
}

.hero-demo--community .hero-demo__online-pulse i {
  opacity: 0.7;
  animation: hero-community-ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@media (hover: hover) and (pointer: fine) {
  .hero-demo--community .hero-demo__post:hover {
    transform: none;
    background: white;
    box-shadow: 0 7px 18px rgb(23 23 23 / 0.1);
  }

  .hero-demo--community .hero-demo__composer:hover {
    transform: none;
  }

  .hero-demo--community .hero-demo__composer-plus:hover {
    color: var(--color-neutral-700);
  }
  .hero-demo--community .hero-demo__spaces button:hover,
  .hero-demo--community .hero-demo__directory-row:hover {
    border-color: var(--color-neutral-200);
    background: var(--color-neutral-50);
  }
  .hero-demo--community .hero-demo__spaces button:hover,
  .hero-demo--community .hero-demo__directory-row:hover {
    color: var(--color-neutral-950);
  }
  .hero-demo--community .hero-demo__leaderboard-list li:hover .hero-demo__leaderboard-name {
    color: var(--color-neutral-950);
  }
}

.hero-demo--community .hero-demo__composer:active {
  transform: scale(0.995);
}

.dark .hero-demo--community {
  --community-accent: #5eead4;
  --community-accent-soft: rgb(20 184 166 / 0.12);
  --demo-border: var(--color-neutral-700);
}

.dark .hero-demo--community .hero-demo__community-shell,
.dark .hero-demo--community .hero-demo__community-layout {
  background: #202020;
}

.dark .hero-demo--community .hero-demo__composer,
.dark .hero-demo--community .hero-demo__post,
.dark .hero-demo--community .hero-demo__author-badge,
.dark .hero-demo--community .hero-demo__reactions,
.dark .hero-demo--community .hero-demo__reaction-picker,
.dark .hero-demo--community .hero-demo__post-actions > button,
.dark .hero-demo--community .hero-demo__rail-card {
  border-color: var(--color-neutral-700);
  background: var(--color-neutral-900);
  box-shadow:
    0 2px 8px rgb(0 0 0 / 0.15),
    inset 0 1px 0 rgb(255 255 255 / 0.02);
}

.dark .hero-demo--community .hero-demo__post-author strong,
.dark .hero-demo--community .hero-demo__post h3,
.dark .hero-demo--community .hero-demo__directory-row strong,
.dark .hero-demo--community .hero-demo__rail-title {
  color: var(--color-neutral-100);
}

.dark .hero-demo--community .hero-demo__reaction-trigger {
  color: var(--color-neutral-300);
}

.dark .hero-demo--community .hero-demo__post-body,
.dark .hero-demo--community .hero-demo__reply-preview,
.dark .hero-demo--community .hero-demo__spaces button,
.dark .hero-demo--community .hero-demo__leaderboard-name {
  color: var(--color-neutral-300);
}

.dark .hero-demo--community .hero-demo__poll-head,
.dark .hero-demo--community .hero-demo__poll-head strong,
.dark .hero-demo--community .hero-demo__poll-option,
.dark .hero-demo--community .hero-demo__poll-summary small {
  color: var(--color-neutral-300);
}

.dark .hero-demo--community .hero-demo__poll-option {
  border-color: var(--color-neutral-700);
  background: var(--color-neutral-900);
}

.dark .hero-demo--community .hero-demo__poll-option.is-selected {
  border-color: var(--color-neutral-500);
}

.dark .hero-demo--community .hero-demo__poll-result {
  background: rgb(64 64 64 / 0.55);
}

.dark .hero-demo--community .hero-demo__poll-option.is-selected .hero-demo__poll-result {
  background: rgb(82 82 82 / 0.55);
}

.dark .hero-demo--community .hero-demo__leaderboard .hero-demo__rail-title small {
  color: var(--color-neutral-300);
}

.dark .hero-demo--community .hero-demo__leaderboard-rank {
  color: var(--color-neutral-400);
}

.dark .hero-demo--community .hero-demo__leaderboard-rank--1 {
  border-color: rgb(251 191 36 / 0.6);
  color: #fef3c7;
  background: rgb(120 53 15 / 0.6);
}

.dark .hero-demo--community .hero-demo__leaderboard-rank--2 {
  border-color: rgb(148 163 184 / 0.6);
  color: #f1f5f9;
  background: rgb(71 85 105 / 0.6);
}

.dark .hero-demo--community .hero-demo__leaderboard-rank--3 {
  border-color: rgb(217 119 69 / 0.6);
  color: #ffedd5;
  background: rgb(124 45 18 / 0.6);
}

.dark .hero-demo--community .hero-demo__leaderboard-points {
  border-color: var(--color-neutral-700);
  color: var(--color-neutral-300);
  background: var(--color-neutral-900);
}

.dark .hero-demo--community .hero-demo__reply-preview {
  background: transparent;
}

.dark .hero-demo--community .hero-demo__admin {
  color: var(--color-neutral-300);
  background: var(--color-neutral-700);
}

.dark .hero-demo--community .hero-demo__thread-line::before,
.dark .hero-demo--community .hero-demo__thread-elbow,
.dark .hero-demo--community .hero-demo__reply-preview:not(:last-child)::after {
  border-color: var(--color-neutral-700);
}

.dark .hero-demo--community .hero-demo__thread-toggle {
  border-color: var(--color-neutral-600);
  color: var(--color-neutral-400);
  background: var(--color-neutral-900);
}

.dark .hero-demo--community .hero-demo__thread-collapsed {
  color: var(--color-neutral-400);
}

.dark .hero-demo--community .hero-demo__community-rail {
  background: #202020;
}

.dark .hero-demo--community .hero-demo__directory-row em {
  color: var(--color-neutral-300);
}

.dark .hero-demo--community .hero-demo__directory-row > svg {
  color: var(--color-neutral-100);
}

.dark .hero-demo--community .hero-demo__spaces button.is-active,
.dark .hero-demo--community .hero-demo__reaction-chip.is-selected {
  border-color: var(--color-neutral-700);
  color: var(--color-neutral-100);
  background: var(--color-neutral-800);
}

.dark .hero-demo--community .hero-demo__reaction-chip:not(.is-selected) {
  border-color: transparent;
}

.dark .hero-demo--community .hero-avatar {
  border: 0;
  box-shadow: none;
}

@media (max-width: 767px) {
  .hero-demo--community .hero-demo__community-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-demo--community .hero-demo__community-rail {
    display: none;
  }
}

@media (hover: hover) and (pointer: fine) {
  .dark .hero-demo--community .hero-demo__post:hover,
  .dark .hero-demo--community .hero-demo__composer:hover {
    border-color: var(--color-neutral-600);
    background: var(--color-neutral-800);
  }
  .dark .hero-demo--community .hero-demo__composer-plus:hover {
    color: var(--color-neutral-100);
  }
  .dark .hero-demo--community .hero-demo__spaces button:hover,
  .dark .hero-demo--community .hero-demo__directory-row:hover {
    border-color: var(--color-neutral-700);
    background: var(--color-neutral-800);
  }
  .dark .hero-demo--community .hero-demo__spaces button:hover,
  .dark .hero-demo--community .hero-demo__directory-row:hover {
    color: var(--color-neutral-100);
  }
  .dark .hero-demo--community .hero-demo__leaderboard-list li:hover .hero-demo__leaderboard-name {
    color: white;
  }
}

@media (max-width: 639px) {
  .hero-demo--community .hero-demo__reaction-picker {
    grid-template-columns: repeat(3, 25px);
    width: auto;
  }
  .hero-demo--community .hero-demo__reaction-picker:not(.hidden) {
    display: grid;
  }
  .hero-demo--community .hero-demo__community-layout {
    height: 540px;
    min-height: 0;
  }
  .hero-demo--community .hero-demo__feed {
    height: 540px;
    padding: 11px 12px 18px;
  }
  .hero-demo--community .hero-demo__post--compact {
    display: flex;
  }
  .hero-demo--community .hero-demo__post h3 {
    font-size: 12px;
  }
  .hero-demo--community .hero-demo__post-body,
  .hero-demo--community .hero-demo__reply-preview {
    font-size: 9px;
  }
}

#blog-post-content :is(h2, h3, h4) {
  scroll-margin-top: calc(var(--app-header-height, 4rem) + 1rem);
}

