/* ─── Block root ─────────────────────────────────────────────────────────── */

.sessions-hub {
  margin: 0 auto;
  overflow-x: clip;
}

.sessions-hub p {
  margin: 0;
}

/* ─── Toolbar ────────────────────────────────────────────────────────────── */

.sessions-hub .sh-toolbar {
  position: sticky;
  top: 40px;
  z-index: 1;
  background: var(--color-white, #fff);
  border-bottom: 1px solid #b8b8b8;
  width: 100%;
  box-sizing: border-box;
}

.sessions-hub .sh-toolbar-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

/* Actions cluster (right) */

.sessions-hub .sh-toolbar-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

/* View dropdown (All sessions / My sessions) */

.sessions-hub .sh-view-dropdown {
  position: relative;
  flex-shrink: 0;
}

.sessions-hub .sh-view-dropdown[hidden] {
  display: none;
}

.sessions-hub .sh-view-toggle {
  font-family: var(--body-font-family, sans-serif);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 40px;
  padding: 0 16px 0 24px;
  border: none;
  border-radius: 12px;
  background: var(--color-gray-100, #f3f3f3);
  font-size: 14px;
  font-weight: 700;
  color: var(--color-black, #000);
  white-space: nowrap;
  cursor: pointer;
  box-sizing: border-box;
}

.sessions-hub .sh-view-toggle:hover {
  background: var(--color-gray-200, #e9e9e9);
}

.sessions-hub .sh-view-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  min-width: 100%;
  padding: 8px;
  background: var(--color-white, #fff);
  border-radius: 10px;
  box-shadow:
    0 0 2px 0 rgb(0 0 0 / 12%),
    0 2px 6px 0 rgb(0 0 0 / 4%),
    0 4px 12px 0 rgb(0 0 0 / 8%);
  box-sizing: border-box;
}

.sessions-hub .sh-view-menu.hidden {
  display: none;
}

.sessions-hub .sh-view-option {
  font-family: var(--body-font-family, sans-serif);
  text-align: left;
  padding: 10px 15px;
  border: none;
  border-radius: 6px;
  background: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-gray-800, #292929);
  white-space: nowrap;
  cursor: pointer;
}

.sessions-hub .sh-view-option:hover {
  background: var(--color-gray-100, #f5f5f5);
}

.sessions-hub .sh-view-option.active {
  font-weight: 700;
}

/* Bulk schedule download (My Sessions view only) */

.sessions-hub .sh-download-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-gray-100, #f3f3f3);
  border: none;
  color: var(--color-gray-800, #292929);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-sizing: border-box;
}

.sessions-hub .sh-download-btn[hidden] {
  display: none;
}

.sessions-hub .sh-download-btn:hover {
  background: var(--color-gray-200, #e9e9e9);
}

/* Collapsible search */

.sessions-hub .sh-search-wrap {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  min-width: 0;
}

.sessions-hub .sh-search-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-white, #fff);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-sizing: border-box;
  padding: 0;
}

.sessions-hub .sh-search-toggle:hover {
  background: var(--color-gray-100, #f3f3f3);
}

.sessions-hub .sh-icon {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.sessions-hub .sh-icon svg {
  display: block;
}

.sessions-hub .sh-search-toggle svg {
  width: 20px;
  height: 20px;
}

.sessions-hub .sh-search,
.sessions-hub .sh-search-clear {
  display: none;
}

.sessions-hub .sh-search::-webkit-search-cancel-button {
  display: none;
}

/* Search row — hidden until expanded; shown inline in the actions row */

.sessions-hub .sh-search-row {
  display: none;
  align-items: center;
}

.sessions-hub .sh-toolbar-actions:has(.sh-search-wrap.expanded) .sh-search-row {
  display: inline-flex;
  height: 40px;
  padding: 0 4px 0 14px;
  border: 2px solid var(--color-gray-900, #131313);
  border-radius: 48px;
  background: var(--color-white, #fff);
  box-sizing: border-box;
}

.sessions-hub .sh-search-row svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.sessions-hub .sh-search-row .sh-search {
  width: 200px;
  min-width: 0;
  height: 36px;
  padding: 0 6px;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--body-font-family, sans-serif);
  font-size: 14px;
  color: var(--color-gray-900, #131313);
}

.sessions-hub .sh-search-row .sh-search,
.sessions-hub .sh-search-row .sh-search-clear {
  display: block;
}

.sessions-hub .sh-search-row .sh-search-clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
}

.sessions-hub .sh-search-row .sh-search-clear:hover {
  background: var(--color-gray-100, #f3f3f3);
}

@media (min-width: 600px) {
  .sessions-hub .sh-search-wrap.expanded .sh-search-toggle {
    display: none;
  }
}

/* Filter button + wrapper */

.sessions-hub .sh-filter-wrap {
  flex: none;
}

.sessions-hub .sh-filter-btn {
  font-family: var(--body-font-family, sans-serif);
  height: 40px;
  padding: 0 24px;
  border-radius: 20px;
  background: var(--color-white, #fff);
  border: 2px solid var(--color-gray-200, #e9e9e9);
  font-size: 14px;
  font-weight: 700;
  color: var(--color-black, #000);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  white-space: nowrap;
  box-sizing: border-box;
}

.sessions-hub .sh-filter-btn svg {
  width: 18px;
  height: 18px;
}

.sessions-hub .sh-filter-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.sessions-hub .sh-filter-btn:focus-visible {
  outline: 2px solid var(--color-accent, #1473e6);
  outline-offset: 2px;
}

.sessions-hub .sh-filter-btn:hover:not(:disabled) {
  background: var(--color-gray-100, #f3f3f3);
}

/* Active/highlighted state while the filter panel is open */

.sessions-hub .sh-filter-btn[aria-expanded='true'] {
  background: var(--color-gray-200, #e9e9e9);
  border-color: var(--color-gray-800, #292929);
}

.sessions-hub .sh-filter-backdrop {
  display: none;
}

/* Filter panel (two-column overlay) */

.sessions-hub .sh-filter-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 200;
  display: flex;
  gap: 24px;
  width: min(1133px, 100%);
  max-height: min(560px, calc(100vh - 160px));
  padding: 24px;
  background: var(--color-white, #fff);
  border: 1px solid var(--color-gray-200, #dadada);
  border-radius: 20px;
  box-shadow:
    0 14px 30px rgb(0 0 0 / 10%),
    0 54px 54px rgb(0 0 0 / 9%),
    0 122px 73px rgb(0 0 0 / 5%);
  box-sizing: border-box;
}

.sessions-hub .sh-filter-panel.hidden {
  display: none;
}

/* Left column: heading, category nav, actions */

.sessions-hub .sh-filter-sidebar {
  display: flex;
  flex: 0 0 145px;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.sessions-hub .sh-filter-heading {
  margin: 0;
  font-family: var(--heading-font-family, var(--body-font-family, sans-serif));
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--color-black, #000);
}

.sessions-hub .sh-filter-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin-top: 36px;
  margin-bottom: auto;
}

.sessions-hub .sh-filter-cat {
  padding: 0;
  border: none;
  background: none;
  font-family: var(--body-font-family, sans-serif);
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  color: var(--color-black, #000);
  opacity: 0.5;
  cursor: pointer;
}

.sessions-hub .sh-filter-cat.active {
  opacity: 1;
}

.sessions-hub .sh-filter-cat:focus-visible {
  outline: 2px solid var(--color-accent, #1473e6);
  outline-offset: 2px;
}

.sessions-hub .sh-filter-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sessions-hub .sh-filter-apply,
.sessions-hub .sh-filter-reset {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: 75px;
  font-family: var(--body-font-family, sans-serif);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-sizing: border-box;
}

.sessions-hub .sh-filter-apply {
  background: var(--color-black, #000);
  border: 1px solid rgb(0 0 0 / 10%);
  color: var(--color-white, #fff);
}

.sessions-hub .sh-filter-reset {
  background: transparent;
  border: 1px solid var(--color-gray-300, #c6c6c6);
  color: var(--color-black, #000);
}

.sessions-hub .sh-filter-apply:focus-visible,
.sessions-hub .sh-filter-reset:focus-visible {
  outline: 2px solid var(--color-accent, #1473e6);
  outline-offset: 2px;
}

/* Right column: option grid for the active category */

.sessions-hub .sh-filter-options {
  flex: 1;
  min-width: 0;
  padding: 24px;
  background: var(--color-gray-100, #f3f3f3);
  border-radius: 16px;
  overflow-y: auto;
}

/* Drill-in header and save footer are mobile-only; hidden on desktop/tablet. */
.sessions-hub .sh-filter-detail-header,
.sessions-hub .sh-filter-save-actions {
  display: none;
}

.sessions-hub .sh-filter-option-grid {
  display: none;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 8px;
  align-content: flex-start;
}

.sessions-hub .sh-filter-option-grid.active {
  display: grid;
}

.sessions-hub .sh-filter-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 48px;
  padding: 8px 16px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: var(--color-white, #fff);
  font-family: var(--body-font-family, sans-serif);
  font-size: 14px;
  color: var(--color-gray-800, #292929);
  cursor: pointer;
  box-sizing: border-box;
}

.sessions-hub .sh-filter-item input[type='checkbox'] {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.sessions-hub .sh-filter-check {
  display: none;
  color: var(--color-gray-900, #131313);
}

.sessions-hub .sh-filter-item svg {
  width: 14px;
  height: 14px;
}

.sessions-hub .sh-filter-item.checked {
  border-color: #8f8f8f;
  font-weight: 700;
}

.sessions-hub .sh-filter-item.checked .sh-filter-check {
  display: inline-flex;
}

.sessions-hub .sh-filter-item:has(input:focus-visible) {
  outline: 2px solid var(--color-accent, #1473e6);
  outline-offset: 2px;
}

/* ─── Active filter tags ─────────────────────────────────────────────────── */

.sessions-hub .sh-active-filters {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 8px 32px 0;
  box-sizing: border-box;
}

.sessions-hub .sh-active-filters[hidden] {
  display: none;
}

.sessions-hub .sh-active-filters-count {
  font-family: var(--body-font-family, sans-serif);
  font-size: 12px;
  line-height: 16px;
  color: var(--color-gray-600, #505050);
}

.sessions-hub .sh-active-filters-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.sessions-hub .sh-filter-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 24px;
  padding: 0 8px 0 9px;
  border-radius: 7px;
  background: var(--color-gray-200, #e9e9e9);
  font-family: var(--body-font-family, sans-serif);
  font-size: 12px;
  line-height: 16px;
  color: var(--color-gray-800, #292929);
  white-space: nowrap;
}

.sessions-hub .sh-filter-tag-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  color: var(--color-gray-800, #292929);
}

.sessions-hub .sh-filter-see-all {
  padding: 4px 9px;
  border: none;
  border-radius: 7px;
  background: none;
  font-family: var(--body-font-family, sans-serif);
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  color: var(--color-gray-800, #292929);
  cursor: pointer;
}

.sessions-hub .sh-filter-see-all:hover {
  text-decoration: underline;
}

.sessions-hub .sh-filter-tag-remove:focus-visible,
.sessions-hub .sh-filter-see-all:focus-visible {
  outline: 2px solid var(--color-accent, #1473e6);
  outline-offset: 2px;
}

/* ─── Session list ───────────────────────────────────────────────────────── */

.sessions-hub .sh-session-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.sessions-hub .sh-no-results {
  padding: 48px 24px 100px;
  text-align: center;
}

.sessions-hub .sh-no-results p {
  font-family: var(--body-font-family, sans-serif);
  font-size: 16px;
  line-height: 1.5;
  color: #505050;
  margin: 0;
}

.sessions-hub .sh-session-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 24px 0 100px;
}

/* ─── Session card ───────────────────────────────────────────────────────── */

.sessions-hub .sh-card {
  border: 1px solid #cbcbcb;
  border-radius: 10px;
  padding: 32px 32px 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 32px;
  background: var(--color-white, #fff);
  position: relative;
  transition: box-shadow 0.15s;
}

.sessions-hub .sh-card:hover {
  box-shadow: 0 2px 12px rgb(0 0 0 / 8%);
}

.sessions-hub .sh-card[hidden] {
  display: none;
}

/* Expand/collapse button */

.sessions-hub .sh-expand-btn {
  width: 20px;
  height: 20px;
  background: none;
  transition: opacity 130ms ease;
  cursor: pointer;
  position: absolute;
  top: 9px;
  right: 9px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  flex-shrink: 0;
}

.sessions-hub .sh-expand-btn[hidden] {
  display: none;
}

.sessions-hub .sh-expand-btn svg {
  width: 20px;
  height: 20px;
  display: block;
}

.sessions-hub .sh-expand-btn:hover {
  opacity: 0.7;
}

/* ─── Left column ────────────────────────────────────────────────────────── */

.sessions-hub .sh-card-left {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  padding-right: 40px;
}

.sessions-hub .sh-card-title {
  margin: 0;
  font-size: 28px;
  font-weight: 800;
  line-height: 32px;
  color: black;
}

.sessions-hub .sh-card-time,
.sessions-hub .sh-card-location {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 16px;
  font-weight: 700;
  line-height: 20px;
  color: black;
}

/* Session-full badge */

.sessions-hub .sh-full-badge {
  display: inline-flex;
  align-items: center;
  max-width: max-content;
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
  padding: 4px 9px;
  border-radius: 7px;
  background: #f5f5f5;
  color: #292929;
  border: 1px solid #cbcbcb;
}

/* Tag pills */

.sessions-hub .sh-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.sessions-hub .sh-tag-pill {
  font-family: var(--body-font-family, sans-serif);
  border-radius: 7px;
  padding: 4px 9px;
  height: 24px;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  color: #292929;
  background: #e9e9e9;
  border: none;
  max-width: 168px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  box-sizing: border-box;
}

/* Speakers section */

.sessions-hub .sh-card-speakers {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sessions-hub .sh-speakers-label {
  font-size: 16px;
  font-weight: 700;
  line-height: 20px;
  color: black;
}

/* Speaker avatars — overlapping */

.sessions-hub .sh-speaker-avatars {
  display: flex;
  align-items: center;
  padding-right: 8px;
}

.sessions-hub .sh-avatar-btn {
  cursor: pointer;
  border-radius: 50%;
  overflow: hidden;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--color-gray-200, #e1e1e1);
  border: 2px solid var(--color-white, #fff);
  position: relative;
  padding: 0;
  transition: z-index 0s, transform 0.15s;
}

.sessions-hub .sh-avatar-btn + .sh-avatar-btn {
  margin-left: -8px;
}

.sessions-hub .sh-avatar-btn:hover {
  transform: scale(1.1);
  z-index: 1;
}

.sessions-hub .sh-avatar-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sessions-hub .sh-avatar-initials {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--color-gray-600, #555);
}

/* ─── Right column ───────────────────────────────────────────────────────── */

.sessions-hub .sh-card-right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  min-width: 0;
}

/* Description */

.sessions-hub .sh-card-desc {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.sessions-hub .sh-card-desh-text {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: black;
  overflow: hidden;
  line-clamp: 8;
  /* stylelint-disable-next-line value-no-vendor-prefix -- Safari needs -webkit-box for line clamp */
  display: -webkit-box;
  -webkit-line-clamp: 8;
  -webkit-box-orient: vertical;
}

.sessions-hub .sh-card.expanded .sh-card-desh-text {
  display: block;
  max-height: none;
  line-clamp: unset;
  -webkit-line-clamp: unset;
  overflow: visible;
}

.sessions-hub .sh-read-more {
  font-family: var(--body-font-family, sans-serif);
  color: black;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.5;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
  background: none;
  border: none;
  padding: 0;
  margin-top: 4px;
}

.sessions-hub .sh-read-more:hover {
  color: var(--color-gray-700, #444);
}

.sessions-hub .sh-read-more:focus-visible {
  outline: 2px solid var(--color-accent, #1473e6);
  outline-offset: 2px;
}

.sessions-hub .sh-card.expanded .sh-read-more {
  display: none;
}

/* ─── CTA group ──────────────────────────────────────────────────────────── */

.sessions-hub .sh-cta-group {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.sessions-hub .sh-btn {
  font-family: var(--body-font-family, sans-serif);
  height: 40px;
  padding: 0 20px 0 18px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 16px;
  line-height: 20px;
  transition: all 130ms ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  justify-content: center;
  min-width: 90px;
  width: 100%;
  box-sizing: border-box;
}

.sessions-hub .sh-btn .sh-icon svg {
  width: 22px;
  height: 22px;
}

.sessions-hub .sh-btn-register-session,
.sessions-hub .sh-btn-register-event {
  background: #3b63fb;
  color: #fff;
  border: none;
}

.sessions-hub .sh-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.sessions-hub .sh-btn-register-session:hover:not(:disabled),
.sessions-hub .sh-btn-register-event:hover:not(:disabled) {
  background: #2e50d4;
}

.sessions-hub .sh-btn-cal {
  background: transparent;
  color: #292929;
  border: 2px solid #292929;
}

.sessions-hub .sh-btn-cal:hover {
  background: var(--color-gray-100, #f5f5f5);
}

.sessions-hub .sh-registered-badge {
  font-family: var(--body-font-family, sans-serif);
  height: 40px;
  padding: 0 20px 0 18px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 16px;
  line-height: 20px;
  background: #3b63fb;
  color: #fff;
  border: 2px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 90px;
  width: 100%;
  box-sizing: border-box;
  cursor: pointer;
  transition: all 130ms ease;
}

.sessions-hub .sh-registered-badge:disabled {
  cursor: default;
}

.sessions-hub .sh-registered-badge.sh-unregister-mode {
  background: transparent;
  color: #292929;
  border-color: #292929;
}

.sessions-hub .sh-registered-badge.sh-unregister-mode:hover {
  background: var(--color-gray-100, #f5f5f5);
}

.sessions-hub .sh-registered-badge .sh-icon {
  color: #fff;
}

.sessions-hub .sh-registered-badge .sh-icon svg {
  width: 22px;
  height: 22px;
}

/* ─── Sticky event banner ────────────────────────────────────────────────── */

.sh-event-banner {
  position: sticky;
  bottom: 0;
  background: #2c2c2c;
  color: var(--color-white, #fff);
  font-family: var(--body-font-family, sans-serif);
  padding: 24px 0;
  box-shadow: 0 -4px 16px rgb(0 0 0 / 20%);
}

.sh-event-banner.hidden {
  display: none;
}

.sh-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  box-sizing: border-box;
}

.sh-banner-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sh-banner-title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  max-width: 453px;
}

.sh-banner-date {
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-white, #fff);
  display: flex;
  align-items: center;
  gap: 8px;
}

.sh-event-banner .sh-banner-date .sh-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

.sh-event-banner .sh-btn-event-register {
  background: rgb(255 255 255 / 90%);
  border: 2px solid #fff;
  color: #000;
  font-size: 19px;
  font-weight: 700;
  line-height: 24px;
  padding: 12px 24px;
  height: auto;
  border-radius: 25px;
  flex-shrink: 0;
  cursor: pointer;
  white-space: nowrap;
  width: 100%;
  box-sizing: border-box;
}

.sh-event-banner .sh-btn-event-register:hover {
  background: #fff;
}

.sh-event-banner .sh-banner-invite-only-msg,
.sh-event-banner .sh-banner-waitlist-msg {
  font-size: 16px;
  line-height: 1.4;
  max-width: 420px;
  margin: 0;
  flex-shrink: 0;
  color: var(--color-white, #fff);
  opacity: 0.95;
}

.sessions-hub .sh-invite-only-msg {
  font-size: 14px;
  line-height: 1.4;
  color: #505050;
  margin: 0;
  text-align: right;
}

/* ─── Responsive ─────────────────────────────────────────────────────────── */

/* ─── Tablet and above (≥ 600px) ────────────────────────────────────────── */

@media (min-width: 600px) {
  .sessions-hub .sh-toolbar-inner {
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
  }

  .sessions-hub .sh-btn,
  .sessions-hub .sh-registered-badge {
    width: auto;
  }
}

/* ─── Tablet banner (600px – 899px) ─────────────────────────────────────── */

@media (min-width: 600px) and (max-width: 899px) {
  .sh-event-banner {
    padding: 40px 0;
  }

  .sh-banner-inner {
    flex-direction: column;
    align-items: stretch;
    padding: 0 40px;
    gap: 32px;
  }

  .sh-event-banner .sh-btn-event-register {
    width: 100%;
  }

  .sh-banner-title {
    font-size: 28px;
  }

  .sh-banner-date {
    font-size: 18px;
  }
}

/* ─── Tablet and below (≤ 899px) ────────────────────────────────────────── */

@media (max-width: 899px) {
  .sessions-hub .sh-card-desh-text {
    -webkit-line-clamp: 4;
    line-clamp: 4;
    max-height: calc(4 * 1.5em);
  }

  .sessions-hub .sh-card {
    row-gap: 16px;
  }

  .sessions-hub .sh-filter-btn {
    width: 40px;
    padding: 0;
    border-radius: 50%;
  }

  .sessions-hub .sh-filter-btn-label {
    display: none;
  }

  .sessions-hub .sh-toolbar-actions:has(.sh-view-dropdown[hidden]) .sh-filter-wrap {
    flex: 1;
    min-width: 0;
  }

  .sessions-hub .sh-toolbar-actions:has(.sh-view-dropdown[hidden]) .sh-filter-btn {
    width: 100%;
    padding: 0 16px;
    border-radius: 20px;
  }

  .sessions-hub .sh-toolbar-actions:has(.sh-view-dropdown[hidden]) .sh-filter-btn-label {
    display: inline;
  }
}

/* ─── Desktop (≥ 900px) ──────────────────────────────────────────────────── */

@media (min-width: 900px) {
  .sessions-hub .sh-toolbar {
    top: var(--toolbar-top, 0);
  }

  .sessions-hub .sh-toolbar-inner {
    padding: 16px 32px;
  }

  .sessions-hub .sh-session-area {
    padding: 0 32px;
  }


  .sessions-hub .sh-card {
    grid-template-columns: 340px 1fr;
  }

  .sessions-hub .sh-card-left {
    padding-right: 0;
  }

  .sessions-hub .sh-cta-group {
    justify-content: flex-end;
  }

  .sh-event-banner {
    padding: 40px 0;
  }

  .sh-banner-inner {
    flex-wrap: nowrap;
    padding: 0 24px;
    gap: 56px;
    align-items: center;
  }

  .sh-event-banner .sh-btn-event-register {
    width: auto;
  }
}

/* ─── Mobile (< 600px) ───────────────────────────────────────────────────── */

@media (max-width: 599px) {
  .sessions-hub .sh-toolbar-actions {
    align-self: stretch;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .sh-banner-inner {
    flex-direction: column;
    align-items: stretch;
    padding: 0 32px;
    gap: 32px;
  }

  .sh-banner-title {
    font-size: 24px;
  }

  .sessions-hub .sh-view-dropdown {
    flex: 1;
    min-width: 0;
  }

  .sessions-hub .sh-view-toggle {
    width: 100%;
    justify-content: space-between;
  }

  .sessions-hub .sh-toolbar-actions:has(.sh-search-wrap.expanded) .sh-search-row {
    display: flex;
    flex: 1 0 100%;
    order: 99;
  }

  .sessions-hub .sh-search-row .sh-search {
    flex: 1;
    width: auto;
  }

  .sessions-hub .sh-search-wrap.expanded .sh-search-toggle {
    background: var(--color-gray-200, #e9e9e9);
  }

  .sessions-hub .sh-filter-backdrop {
    display: block;
    position: absolute;
    inset: 0;
  }

  /* Panel becomes a full-viewport overlay; its children form the bottom sheet. */
  .sessions-hub .sh-filter-panel {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: 100vw;
    max-width: none;
    max-height: none;
    padding: 0;
    background: rgb(0 0 0 / 32%);
    border: none;
    border-radius: 0;
    box-shadow: none;
  }

  .sessions-hub .sh-filter-sidebar {
    position: relative;
    z-index: 1;
    flex: none;
    width: 100%;
    gap: 24px;
    padding: 24px;
    background: var(--color-white, #fff);
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -14px 30px rgb(0 0 0 / 10%);
    box-sizing: border-box;
    max-height: 90vh;
    overflow-y: auto;
  }

  .sessions-hub .sh-filter-nav {
    flex-direction: column;
    gap: 0;
    margin-top: 0;
    margin-bottom: 0;
    border-top: 1px solid var(--color-gray-200, #dadada);
  }

  .sessions-hub .sh-filter-cat {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 4px;
    border-bottom: 1px solid var(--color-gray-200, #dadada);
    opacity: 1;
  }

  /* Right-pointing chevron affordance on each category row. */
  .sessions-hub .sh-filter-cat::after {
    content: '';
    width: 8px;
    height: 8px;
    border-top: 2px solid var(--color-gray-800, #292929);
    border-right: 2px solid var(--color-gray-800, #292929);
    transform: rotate(45deg);
  }

  .sessions-hub .sh-filter-actions {
    gap: 16px;
  }

  .sessions-hub .sh-filter-apply,
  .sessions-hub .sh-filter-reset {
    width: 100%;
    padding: 12px 24px;
  }

  /* Detail view: options pane becomes the bottom sheet, sidebar hides. */
  .sessions-hub .sh-filter-options {
    position: relative;
    z-index: 1;
    display: none;
    width: 100%;
    padding: 0;
    background: var(--color-gray-100, #f3f3f3);
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -14px 30px rgb(0 0 0 / 10%);
    box-sizing: border-box;
    max-height: 90vh;
    overflow-y: auto;
  }

  .sessions-hub .sh-filter-panel.sh-detail-open .sh-filter-sidebar {
    display: none;
  }

  .sessions-hub .sh-filter-panel.sh-detail-open .sh-filter-options {
    display: flex;
    flex-direction: column;
    padding: 24px;
  }

  .sessions-hub .sh-filter-detail-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    margin: 0 0 16px;
    padding-bottom: 8px;
  }

  .sessions-hub .sh-filter-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    border: none;
    background: none;
    cursor: pointer;
  }

  .sessions-hub .sh-filter-detail-title {
    flex: 1;
    text-align: center;
    margin-right: 24px;
    font-family: var(--body-font-family, sans-serif);
    font-size: 18px;
    font-weight: 700;
    color: var(--color-black, #000);
  }

  /* Stack option pills full-width on the detail screen. */
  .sessions-hub .sh-filter-option-grid.active {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .sessions-hub .sh-filter-save-actions {
    display: block;
    position: sticky;
    bottom: 0;
    margin: auto -24px -24px;
    padding: 24px;
    background: var(--color-white, #fff);
    border-top: 1px solid var(--color-gray-200, #dadada);
  }

  .sessions-hub .sh-filter-save {
    width: 100%;
    padding: 16px 24px;
    border: 1px solid var(--color-gray-400, #c6c6c6);
    border-radius: 75px;
    background: none;
    font-family: var(--body-font-family, sans-serif);
    font-size: 14px;
    font-weight: 700;
    color: var(--color-black, #000);
    cursor: pointer;
    box-sizing: border-box;
  }
}

/* ─── Focus indicators ───────────────────────────────────────────────────── */

.sessions-hub .sh-view-toggle:focus-visible,
.sessions-hub .sh-view-option:focus-visible,
.sessions-hub .sh-download-btn:focus-visible,
.sessions-hub .sh-search-wrap .sh-search-toggle:focus-visible,
.sessions-hub .sh-expand-btn:focus-visible,
.sessions-hub .sh-btn:focus-visible,
.sessions-hub .sh-avatar-btn:focus-visible {
  outline: 2px solid var(--color-accent, #1473e6);
  outline-offset: 2px;
}


.sh-event-banner .sh-btn-event-register:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* ─── Conflict modal ─────────────────────────────────────────────────────── */

.sh-conflict-wrapper {
  display: flex;
  flex-direction: column;
  gap: 25px;
  padding: 32px;
}

.sh-conflict-heading {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sh-conflict-title {
  font-size: 22px;
  font-weight: 800;
  line-height: 26px;
  color: #292929;
  margin: 0;
}

.sh-conflict-subtitle {
  font-size: 16px;
  font-weight: 400;
  color: #292929;
  margin: 0;
}

.sh-conflict-options {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sh-conflict-options.sh-conflict-options-pending {
  pointer-events: none;
  opacity: 0.6;
}

.sh-conflict-option {
  position: relative;
  display: flex;
  align-items: flex-start;
  min-height: 80px;
  padding: 12px 11px 12px 40px;
  background: white;
  border-radius: 10px;
  border: 2px solid transparent;
  box-shadow: 0 0 1px rgba(0 0 0 / 8%), 0 1px 4px rgba(0 0 0 / 4%), 0 2px 8px rgba(0 0 0 / 8%);
  cursor: pointer;
}

.sh-conflict-option.selected {
  border-color: #292929;
}

.sh-conflict-option:focus {
  outline: none;
}

.sh-conflict-option:focus-visible {
  outline: 2px solid var(--color-accent, #1473e6);
  outline-offset: 2px;
}

.sh-conflict-radio {
  position: absolute;
  left: 10px;
  top: 14px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #959595;
  background: white;
  flex-shrink: 0;
  box-sizing: border-box;
}

.sh-conflict-option.selected .sh-conflict-radio {
  border-color: #292929;
  border-width: 6px;
}

.sh-conflict-option-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.sh-conflict-option-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.sh-conflict-option-title {
  font-size: 18px;
  font-weight: 800;
  line-height: 22px;
  color: #292929;
  margin: 0;
}

.sh-conflict-badge {
  flex-shrink: 0;
  align-self: flex-start;
  padding: 4px 9px;
  border-radius: 7px;
  background: var(--sh-badge-info, #3b63fb);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  white-space: nowrap;
}

.sh-conflict-option-meta {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  color: #292929;
}

/* stylelint-disable-next-line no-descending-specificity -- modal renders outside .sessions-hub */
.sh-conflict-option-meta .sh-icon {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.sh-conflict-footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
}

.sh-conflict-cancel {
  font-family: var(--body-font-family, sans-serif);
  padding: 10px 20px;
  background: transparent;
  color: #292929;
  border: 2px solid #e9e9e9;
  border-radius: 20px;
  font-size: 16px;
  font-weight: 700;
  line-height: 20px;
  cursor: pointer;
}

.sh-conflict-cancel:hover {
  background: #f3f3f3;
}

.sh-conflict-confirm {
  font-family: var(--body-font-family, sans-serif);
  padding: 10px 20px;
  background: #292929;
  color: white;
  border: none;
  border-radius: 20px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  line-height: 20px;
}

.sh-conflict-confirm:hover {
  background: #404040;
}

.sh-conflict-confirm:disabled,
.sh-conflict-confirm[aria-busy='true'] {
  opacity: 0.5;
  cursor: not-allowed;
}

.sh-conflict-confirm:hover:disabled,
.sh-conflict-confirm:hover[aria-busy='true'] {
  background: #292929;
}

/* ─── Reduced motion ─────────────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  .sessions-hub .sh-card,
  .sessions-hub .sh-expand-btn,
  .sessions-hub .sh-avatar-btn,
  .sessions-hub .sh-btn {
    transition: none;
  }

  .sessions-hub .sh-avatar-btn:hover {
    transform: none;
  }
}
