@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&display=swap");
:root {
  --bg: #100b14;
  --surface: #1a1420;
  --surface2: #261e2e;
  --line: #362b40;
  --ink: #faf5fc;
  --ink2: #bcaec7;
  --ink3: #a394ae;
  --brand: #ff62d5;
  --pink: #ff62d5;
  --cyan: #63dace;
  --muted: #bcaec7;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font:
    15px/1.5 Outfit,
    system-ui,
    sans-serif;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  touch-action: manipulation;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
  color: inherit;
}
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
}
input,
select,
textarea {
  width: 100%;
  padding: 11px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
}
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--brand);
  outline-offset: 1px;
}
label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin: 17px 0 7px;
}
textarea {
  resize: vertical;
  min-height: 100px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 36px;
  letter-spacing: -1.1px;
  line-height: 1.15;
}
h2 {
  font-size: 22px;
  letter-spacing: -0.5px;
}
h3 {
  font-size: 17px;
}
p {
  color: var(--ink2);
}
small,
.muted {
  color: var(--ink2);
  font-size: 12px;
}
.eyebrow {
  color: var(--brand);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;
  margin-bottom: 10px;
}
.shell {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  min-height: 100vh;
}
.sidebar {
  border-right: 1px solid var(--line);
  padding: 30px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--surface);
}
.logo {
  display: block;
  margin: 0 12px 36px;
}
.logo img {
  width: 117px;
}
.sidebar .navitem {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 10px;
  color: var(--ink2);
  font-size: 14px;
}
.navitem.active {
  color: var(--brand);
  background: color-mix(in srgb, var(--brand) 10%, transparent);
}
.navitem:hover {
  background: var(--surface2);
}
.sidebar-foot {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding: 22px 12px 0;
}
.main {
  min-width: 0;
}
.site-header {
  min-height: 76px;
  padding: 18px 36px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 15px;
  justify-content: space-between;
  background: var(--bg);
}
.site-header .crumb {
  color: var(--ink2);
  font-size: 13px;
}
.header-right {
  display: flex;
  gap: 14px;
  align-items: center;
}
.header-right a {
  font-size: 13px;
  color: var(--ink2);
}
.content {
  padding: 34px 36px;
  max-width: 1700px;
  margin: auto;
}
.page-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}
.page-title p {
  margin-top: 8px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--surface2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.btn.primary {
  background: var(--brand);
  border-color: var(--brand);
  color: #160b18;
}
.btn.small {
  padding: 7px 11px;
  font-size: 12px;
}
.btn.danger {
  color: #fa869b;
}
.btn.ghost {
  background: transparent;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 26px;
}
.stat {
  padding: 20px 23px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}
.stat small {
  display: block;
}
.stat strong {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -1px;
  display: block;
  margin-top: 6px;
}
.stat span {
  font-size: 12px;
  color: var(--ink2);
}
.calendar-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 20px;
  align-items: start;
}
.panel {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 15px;
  overflow: hidden;
}
.panel-pad {
  padding: 23px;
}
.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.toolbar-group,
.row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.toolbar select {
  width: auto;
  padding: 7px 10px;
  font-size: 12px;
}
.month-label {
  font-size: 20px;
  min-width: 160px;
}
.weekdays,
.month-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}
.weekdays {
  color: var(--ink3);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  text-align: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.day {
  min-height: 107px;
  padding: 10px 8px;
  text-align: left;
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: transparent;
  overflow: hidden;
  position: relative;
}
.day:nth-child(7n) {
  border-right: 0;
}
.day:hover {
  background: var(--surface2);
}
.day.selected {
  box-shadow: inset 0 0 0 2px var(--brand);
  background: color-mix(in srgb, var(--brand) 4%, var(--surface));
}
.day.outside {
  opacity: 0.4;
}
.day-number {
  font-size: 12px;
  display: inline-flex;
  width: 23px;
  height: 23px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-bottom: 6px;
}
.day.today .day-number {
  background: var(--brand);
  color: #160b18;
}
.event-chip {
  display: block;
  font-size: 10px;
  background: color-mix(in srgb, var(--brand) 12%, transparent);
  color: var(--brand);
  padding: 3px 5px;
  border-radius: 4px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  margin-bottom: 4px;
  border-left: 2px solid var(--brand);
}
.event-chip.recorded {
  background: color-mix(in srgb, var(--cyan) 12%, transparent);
  color: var(--cyan);
  border-color: var(--cyan);
}
.event-chip.cancelled {
  opacity: 0.5;
  text-decoration: line-through;
}
.day-total {
  font-size: 9px;
  color: var(--ink3);
}
.legend {
  display: flex;
  gap: 18px;
  padding: 14px 20px;
  color: var(--ink2);
  font-size: 11px;
}
.legend i {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  margin-right: 6px;
}
.legend i.recorded {
  background: var(--cyan);
}
.selected-date {
  margin-bottom: 18px;
}
.session-card {
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 11px;
  margin-top: 12px;
  background: var(--bg);
}
.session-card p {
  font-size: 12px;
  margin: 7px 0 12px;
}
.session-card button {
  width: 100%;
}
.pill {
  font-size: 10px;
  letter-spacing: 0.3px;
  border: 1px solid var(--line);
  color: var(--brand);
  padding: 3px 8px;
  border-radius: 50px;
  display: inline-block;
  margin-bottom: 8px;
}
.pill.recorded {
  color: var(--cyan);
}
.empty {
  text-align: center;
  padding: 44px 22px;
}
.empty .empty-icon {
  font-size: 30px;
  color: var(--brand);
  margin-bottom: 12px;
}
.empty p {
  font-size: 13px;
  margin-top: 10px;
}
.note {
  padding: 15px 18px;
  background: color-mix(in srgb, var(--brand) 7%, var(--surface));
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 12px;
  color: var(--ink2);
  margin: 18px 0;
}
.notice {
  min-height: 24px;
  margin: 14px 0;
  color: var(--cyan);
  font-size: 13px;
  overflow-wrap: anywhere;
}
.notice.error {
  color: #fa869b;
}
.access-card {
  max-width: 500px;
  margin: 60px auto;
  padding: 32px;
  text-align: center;
}
.access-card p {
  margin: 18px 0;
}
.access-card .btn {
  margin: 6px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
}
.form-grid .wide {
  grid-column: 1/-1;
}
.slot-input {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.slot-input input {
  flex: 1;
}
.actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 23px;
}
.actions.end {
  justify-content: flex-end;
}
dialog {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 0;
  width: min(640px, calc(100% - 28px));
  max-height: 90vh;
  box-shadow: 0 30px 100px #0006;
}
dialog::backdrop {
  background: #07020ab3;
  backdrop-filter: blur(3px);
}
.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 26px;
  border-bottom: 1px solid var(--line);
}
.dialog-body {
  padding: 22px 26px;
}
.dialog-head button {
  font-size: 22px;
  border: 0;
  background: none;
}
.dialog-body p {
  font-size: 13px;
}
.attendance {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  margin-top: 20px;
}
.attendance th,
.attendance td {
  padding: 12px 8px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
}
.attendance th {
  color: var(--ink2);
  font-weight: 500;
}
.table-wrap {
  overflow: auto;
}
.share-link {
  display: flex;
  gap: 8px;
  margin: 18px 0;
}
.share-link input {
  font-size: 12px;
}
.badge-count {
  font-size: 12px;
  color: var(--ink2);
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--surface2);
}
.marketing-layout {
  display: grid;
  grid-template-columns: minmax(300px, 1.1fr) minmax(280px, 1fr);
  gap: 22px;
  align-items: start;
}
.connection-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  margin-bottom: 24px;
}
.connection-bar p {
  font-size: 12px;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink3);
  display: inline-block;
  margin-right: 8px;
}
.dot.connected {
  background: var(--cyan);
}
.tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}
.tab {
  border: 0;
  background: transparent;
  color: var(--ink2);
  padding: 10px 16px;
  border-bottom: 2px solid transparent;
}
.tab.active {
  color: var(--brand);
  border-color: var(--brand);
}
.account-options {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 9px 0;
}
.account-option {
  display: flex;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 12px;
  margin: 0;
  align-items: center;
}
.account-option input {
  width: 15px;
}
.post-card {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.post-card:last-child {
  border: 0;
}
.post-copy {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 14px;
  margin: 9px 0;
  max-height: 150px;
  overflow: auto;
}
.post-meta {
  font-size: 11px;
  color: var(--ink2);
}
.post-actions {
  display: flex;
  gap: 7px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.public-shell {
  max-width: 990px;
  margin: 54px auto;
  padding: 0 22px;
}
.public-hero {
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 26px;
}
.public-hero h1 {
  font-size: 48px;
  max-width: 780px;
  margin: 12px 0 18px;
}
.public-hero p {
  max-width: 690px;
  white-space: pre-wrap;
}
.public-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(250px, 1fr);
  gap: 26px;
}
.session-choice {
  display: block;
  margin-bottom: 12px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface);
}
.session-choice .row {
  justify-content: space-between;
}
.session-choice p {
  font-size: 12px;
  margin-top: 6px;
}
.session-choice .btn {
  margin-top: 13px;
}
.watch-area {
  margin: 24px 0;
  padding: 24px;
}
.watch-area video {
  width: 100%;
  max-height: 65vh;
  background: #000;
  border-radius: 10px;
}
.timer {
  font-size: 26px;
  font-variant-numeric: tabular-nums;
  color: var(--brand);
  margin: 12px 0;
}
.wrap-copy {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.mobile-logo {
  display: none;
}
.skeleton {
  padding: 30px;
  color: var(--ink2);
}
html[data-theme="day"] .btn.primary {
  color: white;
}
@media (max-width: 1180px) {
  .calendar-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .day-panel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
  }
  .day-panel > h2,
  .day-panel > .empty,
  .day-panel > .note {
    grid-column: 1/-1;
  }
  .content {
    padding: 28px 24px;
  }
  .site-header {
    padding: 18px 24px;
  }
  .shell {
    grid-template-columns: 180px minmax(0, 1fr);
  }
  .sidebar {
    padding: 28px 10px;
  }
}
@media (max-width: 800px) {
  .shell {
    display: block;
  }
  .sidebar {
    display: flex;
    flex-direction: row;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 12px;
    gap: 4px;
    overflow: auto;
  }
  .sidebar .logo,
  .sidebar-foot {
    display: none;
  }
  .sidebar .navitem {
    padding: 8px 12px;
    white-space: nowrap;
  }
  .site-header {
    padding: 13px 20px;
    min-height: 65px;
  }
  .content {
    padding: 24px 16px;
  }
  .page-title {
    align-items: flex-start;
  }
  h1 {
    font-size: 28px;
  }
  .page-title p {
    font-size: 13px;
  }
  .stats {
    gap: 8px;
  }
  .stat {
    padding: 14px;
  }
  .stat strong {
    font-size: 26px;
  }
  .stat span {
    font-size: 10px;
  }
  .calendar-layout {
    gap: 16px;
  }
  .day {
    min-height: 91px;
    padding: 7px 4px;
  }
  .event-chip {
    font-size: 9px;
    padding: 2px;
  }
  .day-total {
    font-size: 8px;
  }
  .toolbar {
    padding: 14px;
    gap: 14px;
  }
  .month-label {
    min-width: 140px;
    font-size: 18px;
  }
  .marketing-layout,
  .public-layout {
    grid-template-columns: 1fr;
  }
  .public-hero h1 {
    font-size: 36px;
  }
  .connection-bar {
    flex-wrap: wrap;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-grid .wide {
    grid-column: auto;
  }
  .dialog-body {
    padding: 18px;
  }
  .dialog-head {
    padding: 18px;
  }
  .header-right a {
    display: none;
  }
  .day-panel {
    display: block;
  }
  .day-panel .session-card {
    margin-top: 12px;
  }
  .header-right {
    gap: 6px;
  }
  .public-shell {
    margin-top: 30px;
  }
  .share-link {
    flex-wrap: wrap;
  }
  .page-title .btn {
    padding: 10px 12px;
  }
}
