html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem var(--bs-primary);
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin: 0;
}

.app-shell {
  display: flex;
  min-height: 100vh;
}

.app-sidebar {
  width: 240px;
  flex-shrink: 0;
  background: var(--bs-light);
}

.app-sidebar .nav-link {
  color: var(--bs-body-color);
  border-radius: 0.375rem;
}

.app-sidebar .nav-link:hover {
  background: var(--bs-secondary-bg);
}

.app-sidebar .nav-link.disabled {
  opacity: 0.55;
}

.app-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.app-topbar {
  background: #fff;
}

.auth-body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, var(--bs-light) 0%, var(--bs-secondary-bg) 100%);
  padding: 1.5rem;
}

.auth-card {
  width: 100%;
  max-width: 440px;
  background: #fff;
  border: 1px solid var(--bs-border-color);
  border-radius: 0.75rem;
  padding: 2rem;
}

.auth-card .brand {
  font-weight: 700;
  color: var(--bs-body-color);
}

@media (max-width: 767.98px) {
  .app-shell {
    flex-direction: column;
  }

  .app-sidebar {
    width: 100%;
    border-right: 0 !important;
    border-bottom: 1px solid var(--bs-border-color);
  }
}

/* Marketing / public pages */

.marketing-nav .navbar-brand {
  letter-spacing: -0.01em;
  font-weight: 700;
}

.marketing-main {
  padding-bottom: 0;
}

.marketing-hero {
  background: linear-gradient(165deg, var(--bs-dark) 0%, #3a3a3a 55%, var(--bs-primary) 100%);
  color: #fff;
  border-radius: 0.375rem;
  padding: 3rem 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .marketing-hero {
    padding: 4rem 3rem;
  }
}

.marketing-hero .lead {
  color: rgba(255, 255, 255, 0.9);
  max-width: 38rem;
}

.marketing-hero .badge-soft {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.marketing-hero .btn-light {
  color: var(--bs-dark);
  font-weight: 700;
}

.marketing-hero .btn-outline-light:hover {
  color: var(--bs-dark);
}

.hero-stat {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.375rem;
  padding: 1rem 1.25rem;
}

.hero-stat .stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
}

.hero-stat .stat-label {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.75);
}

.section-heading {
  letter-spacing: -0.01em;
  font-weight: 700;
}

.section-lead {
  max-width: 42rem;
}

.feature-card,
.diff-card,
.step-card,
.pricing-card {
  height: 100%;
  border: 1px solid var(--bs-border-color);
  border-radius: 0.375rem;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.feature-card:hover,
.diff-card:hover {
  box-shadow: 0 0.5rem 1.25rem rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.feature-icon,
.diff-icon,
.step-number {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.375rem;
  display: grid;
  place-items: center;
  font-weight: 700;
  flex-shrink: 0;
}

.feature-icon {
  background: rgba(var(--bs-primary-rgb), 0.12);
  color: var(--bs-primary);
}

.diff-icon {
  background: rgba(var(--bs-success-rgb), 0.12);
  color: var(--bs-success);
}

.step-number {
  background: var(--bs-primary);
  color: #fff;
  font-size: 0.9375rem;
}

.how-it-works {
  background: var(--bs-light);
  border-radius: 0.375rem;
  padding: 2.5rem 1.5rem;
}

.cta-band {
  background: linear-gradient(135deg, var(--bs-dark) 0%, #444 100%);
  color: #fff;
  border-radius: 0.375rem;
  padding: 2.5rem 2rem;
}

.cta-band .lead {
  color: rgba(255, 255, 255, 0.9);
}

.comparison-table th {
  font-weight: 700;
  white-space: nowrap;
}

.comparison-table .check {
  color: var(--bs-success);
  font-weight: 700;
}

.comparison-table .muted {
  color: var(--bs-secondary-color);
}

.marketing-footer {
  background: var(--bs-light);
  border-top: 1px solid var(--bs-border-color);
  margin-top: 4rem;
}

.marketing-footer a {
  color: var(--bs-body-color);
  text-decoration: none;
}

.marketing-footer a:hover {
  color: var(--bs-primary);
  text-decoration: underline;
}

.legal-page h2 {
  font-size: 1.25rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.legal-page h3 {
  font-size: 1.0625rem;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.legal-page p,
.legal-page li {
  color: var(--bs-secondary-color);
  line-height: 1.65;
}

.legal-page ul {
  padding-left: 1.25rem;
}

.legal-updated {
  font-size: 0.875rem;
}

.about-mission {
  background: var(--bs-light);
  border-left: 4px solid var(--bs-primary);
  border-radius: 0 0.375rem 0.375rem 0;
  padding: 1.5rem 1.75rem;
}

.pipeline-step {
  position: relative;
  padding-left: 3.5rem;
}

.pipeline-step::before {
  content: "";
  position: absolute;
  left: 1.25rem;
  top: 2.75rem;
  bottom: -1rem;
  width: 2px;
  background: var(--bs-border-color);
}

.pipeline-step:last-child::before {
  display: none;
}

/* Icon buttons */

.btn-icon {
  width: 2.125rem;
  height: 2.125rem;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.btn-icon.btn-sm {
  width: 1.875rem;
  height: 1.875rem;
}

.btn-icon.dropdown-toggle::after {
  display: none;
}

.table-actions {
  white-space: nowrap;
}

.meetings-bulk-bar {
  position: sticky;
  top: 0.75rem;
  z-index: 2;
}

.processing-border-detected {
  --processing-stage-color: var(--bs-secondary);
}

.processing-border-error {
  --processing-stage-color: var(--bs-danger);
}

.processing-border-transcript {
  --processing-stage-color: var(--bs-primary);
}

.processing-border-ai {
  --processing-stage-color: var(--bs-success);
}

.processing-border-reviewed {
  --processing-stage-color: var(--bs-success);
}

.processing-border-reviewed-complete {
  --processing-stage-color: var(--bs-success);
}

.processing-stage-legend > span:not(.text-secondary) {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  white-space: nowrap;
}

.processing-stage-swatch {
  display: inline-block;
  width: 0.85rem;
  height: 0.85rem;
  border: 3px solid var(--processing-stage-color);
  border-radius: 0.2rem;
  background: var(--bs-body-bg);
}

#meetings-table tbody tr[class*="processing-border-"] > td:first-child {
  border-left: 4px solid var(--processing-stage-color);
}

.dashboard-meeting-card {
  overflow: hidden;
  border-width: 3px;
  border-color: var(--processing-stage-color);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.dashboard-meeting-card:hover {
  border-color: var(--processing-stage-color);
  box-shadow: var(--bs-box-shadow-sm);
  transform: translateY(-2px);
}

.dashboard-meeting-card .stretched-link::after {
  z-index: 1;
}

.dashboard-story-lead-card {
  border-left: 4px solid var(--bs-primary);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.dashboard-story-lead-card:hover {
  border-left-color: var(--bs-primary-text-emphasis);
  box-shadow: var(--bs-box-shadow-sm);
  transform: translateY(-2px);
}

.dashboard-story-lead-card .stretched-link::after {
  z-index: 1;
}

.dashboard-story-lead-card .card-body > .small > .d-inline-flex {
  max-width: 100%;
}

.dashboard-story-lead-card .card-body > .small > .d-inline-flex > span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-story-lead-card h3 {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.meeting-event-item {
  scroll-margin-top: 1rem;
}

.meeting-event-item:target {
  border-color: var(--bs-primary);
  background: var(--bs-primary-bg-subtle);
}

.dashboard-meeting-graphic {
  position: relative;
  overflow: hidden;
  background: var(--bs-dark);
}

.dashboard-story-headline {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
  padding: 0.4rem 0;
  background: rgba(0, 0, 0, 0.78);
  color: #fff;
  font-size: 0.75rem;
  line-height: 1.2;
  white-space: nowrap;
}

.dashboard-story-headline-track {
  display: inline-flex;
  gap: 1.25rem;
  min-width: max-content;
  padding-left: 100%;
  animation: dashboard-story-headline-slide var(--ticker-animation-duration, 24s) linear infinite;
}

.dashboard-meeting-card:hover .dashboard-story-headline-track {
  animation-play-state: paused;
}

@keyframes dashboard-story-headline-slide {
  to {
    transform: translateX(-100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .dashboard-story-headline {
    padding-inline: 0.5rem;
    text-overflow: ellipsis;
  }

  .dashboard-story-headline-track {
    display: inline;
    padding-left: 0;
    animation: none;
  }
}

/* Keep the dashboard concise as the available screen width shrinks. */
@media (max-width: 767.98px) {
  .dashboard-meeting-item:nth-child(n + 5) {
    display: none;
  }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
  .dashboard-meeting-item:nth-child(n + 7) {
    display: none;
  }
}

.calendar-nav-label {
  min-width: 10rem;
}

.calendar-week-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.5rem;
}

.calendar-week-day {
  min-height: 8.5rem;
  border: 1px solid var(--bs-border-color);
  border-radius: 0.75rem;
  padding: 0.5rem;
  background: var(--bs-body-bg);
}

.calendar-week-day.is-today,
.calendar-month-day.is-today {
  border-color: var(--bs-primary);
  box-shadow: inset 0 0 0 1px var(--bs-primary);
}

.calendar-day-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.4rem;
}

.calendar-day-name {
  font-size: 0.75rem;
  color: var(--bs-secondary-color);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.calendar-day-number {
  font-weight: 600;
  font-size: 0.9rem;
}

.calendar-day-meetings {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.calendar-meeting-chip {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
  padding: 0.2rem;
  border: 2px solid var(--processing-stage-color);
  border-radius: 0.4rem;
  color: inherit;
  text-decoration: none;
  background: var(--bs-tertiary-bg);
}

.calendar-meeting-chip:hover {
  background: var(--bs-secondary-bg);
  color: inherit;
}

.calendar-meeting-thumb,
.calendar-month-thumb {
  flex: 0 0 auto;
  width: 2.25rem;
  height: 1.25rem;
  object-fit: cover;
  border-radius: 0.2rem;
  background: var(--bs-dark);
}

.calendar-meeting-thumb-empty {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--bs-secondary-color);
  font-size: 0.7rem;
}

.calendar-meeting-chip-text {
  font-size: 0.75rem;
  line-height: 1.2;
}

.calendar-page {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 6.1rem);
  min-height: 32rem;
  overflow: hidden;
}

#calendar-month-root {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scroll-snap-type: y proximity;
}

.calendar-month {
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  min-height: 100%;
  scroll-snap-align: start;
}

.calendar-month + .calendar-month {
  margin-top: 0.75rem;
}

.calendar-month-sticky {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--bs-body-bg);
}

.calendar-month-title {
  padding: 0.55rem 0.35rem 0.35rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
}

.calendar-month-header,
.calendar-month-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.calendar-month-weekday {
  padding: 0.5rem 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--bs-secondary-color);
  border-bottom: 1px solid var(--bs-border-color);
  background: var(--bs-body-bg);
}

.calendar-month-grid {
  flex: 1;
  min-height: 0;
  grid-template-rows: repeat(var(--calendar-week-count), minmax(0, 1fr));
  border-left: 1px solid var(--bs-border-color);
  border-top: 1px solid var(--bs-border-color);
}

.calendar-month-day {
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  padding: 0.45rem;
  border-right: 1px solid var(--bs-border-color);
  border-bottom: 1px solid var(--bs-border-color);
  background: var(--bs-body-bg);
}

.calendar-month-day.is-outside-month {
  background: var(--bs-tertiary-bg);
  color: var(--bs-secondary-color);
}

.calendar-month-meetings {
  position: relative;
  display: grid;
  height: calc(100% - 1.25rem);
  min-height: 0;
  gap: 0.25rem;
  margin-top: 0.2rem;
}

.calendar-month-meetings.count-1 {
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
}

.calendar-month-meetings.count-2 {
  grid-template: minmax(0, 1fr) / repeat(2, minmax(0, 1fr));
}

.calendar-month-meetings.count-4,
.calendar-month-meetings.count-5-plus {
  grid-template: repeat(2, minmax(0, 1fr)) / repeat(2, minmax(0, 1fr));
}

.calendar-month-meeting {
  display: flex;
  flex-direction: column;
  min-height: 0;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.calendar-month-meeting:hover {
  color: inherit;
}

.calendar-month-thumb-frame {
  position: relative;
  display: block;
  flex: 1;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border: 3px solid var(--processing-stage-color);
  border-radius: 0.25rem;
  background: var(--bs-dark);
}

.calendar-month-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.calendar-month-meeting-title {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.calendar-thumb-source {
  position: absolute;
  top: 0.16rem;
  left: 0.16rem;
  display: flex;
  align-items: center;
  gap: 0.2rem;
  max-width: calc(100% - 0.32rem);
  padding: 0.1rem 0.25rem 0.1rem 0.1rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.68);
  color: #fff;
  font-size: 0.55rem;
  line-height: 1;
  backdrop-filter: blur(3px);
}

.calendar-thumb-source-logo,
.calendar-popover-source-logo {
  flex: 0 0 auto;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
}

.calendar-source-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #dc3545;
  font-size: 0.6rem;
}

.calendar-story-ticker {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
  padding: 0.12rem 0;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  font-size: 0.5rem;
  line-height: 1.15;
  white-space: nowrap;
}

.calendar-story-ticker-track {
  display: inline-flex;
  gap: 0.7rem;
  min-width: max-content;
  padding-left: 100%;
  animation: calendar-story-ticker-slide var(--ticker-animation-duration, 24s) linear infinite;
}

.calendar-month-meeting:hover .calendar-story-ticker-track {
  animation-play-state: paused;
}

@keyframes calendar-story-ticker-slide {
  to {
    transform: translateX(-100%);
  }
}

.calendar-more-overlay {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.55rem;
  opacity: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.92), rgba(var(--bs-primary-rgb), 0.88));
  color: #fff;
  transition: opacity 0.15s ease;
}

.calendar-month-meetings.count-5-plus:hover .calendar-more-overlay,
.calendar-more-overlay:focus-within {
  opacity: 1;
  pointer-events: auto;
}

.calendar-more-overlay strong {
  font-size: 0.8rem;
}

.calendar-more-list {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-height: 0;
  overflow-y: auto;
}

.calendar-more-list a {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  min-width: 0;
  color: #fff;
  border-left: 3px solid var(--processing-stage-color);
  padding-left: 0.3rem;
  font-size: 0.65rem;
  text-decoration: none;
}

.calendar-more-list a:hover {
  text-decoration: underline;
}

.calendar-meeting-popover {
  --bs-popover-max-width: 24rem;
  --bs-popover-border-color: rgba(var(--bs-primary-rgb), 0.35);
  --bs-popover-header-bg: var(--bs-primary);
  --bs-popover-header-color: #fff;
  box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.2);
}

.calendar-meeting-popover .popover-header {
  padding: 0.75rem 0.9rem;
  border: 0;
  font-size: 0.9rem;
  line-height: 1.3;
}

.calendar-meeting-popover .popover-body {
  padding: 0;
}

.calendar-popover-card {
  min-width: 18rem;
  border-top: 4px solid var(--processing-stage-color);
}

.calendar-popover-hero {
  position: relative;
  overflow: hidden;
  max-height: 8rem;
  background: var(--bs-dark);
}

.calendar-popover-hero img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.calendar-popover-hero span {
  position: absolute;
  right: 0.55rem;
  bottom: 0.5rem;
  padding: 0.2rem 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: var(--processing-stage-color);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  backdrop-filter: blur(4px);
}

.calendar-popover-title {
  padding: 0.7rem 0.8rem;
  background: var(--processing-stage-color);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.3;
}

.calendar-popover-source {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 0.8rem;
  border-bottom: 1px solid var(--bs-border-color);
  background: linear-gradient(135deg, rgba(var(--bs-primary-rgb), 0.1), transparent);
  font-weight: 600;
}

.calendar-popover-source-logo {
  width: 1.6rem;
  height: 1.6rem;
}

.calendar-popover-data {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  padding: 0.75rem 0.8rem;
}

.calendar-popover-data > div {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.calendar-popover-label {
  display: block;
  color: var(--bs-secondary-color);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.calendar-popover-data strong {
  font-size: 0.78rem;
}

.calendar-popover-leads {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.65rem 0.8rem;
  border-top: 1px solid var(--bs-border-color);
  background: var(--bs-tertiary-bg);
  font-size: 0.72rem;
}

.calendar-popover-leads .fa-bolt {
  color: var(--bs-warning);
}

.calendar-popover-share {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.65rem 0.8rem;
  border-top: 1px solid var(--bs-border-color);
  font-size: 0.72rem;
}

.calendar-popover-share a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--bs-success);
  font-weight: 700;
  text-decoration: none;
}

.calendar-popover-share a:hover {
  text-decoration: underline;
}

.calendar-popover-action {
  padding: 0.6rem 0.8rem;
  border-top: 1px solid var(--bs-border-color);
  color: var(--bs-primary);
  font-size: 0.72rem;
  font-weight: 700;
  text-align: right;
}

@media (prefers-reduced-motion: reduce) {
  .calendar-story-ticker {
    padding-inline: 0.2rem;
    text-overflow: ellipsis;
  }

  .calendar-story-ticker-track {
    display: inline;
    padding-left: 0;
    animation: none;
  }
}

@media (max-width: 991.98px) {
  .calendar-week-days {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .calendar-month-day {
    min-height: 6.5rem;
  }

  .calendar-page {
    height: calc(100vh - 6.1rem);
    overflow: hidden;
  }

  #calendar-month-root {
    overflow-x: auto;
    overflow-y: auto;
  }

  .calendar-month {
    min-width: 44rem;
    min-height: 40rem;
  }
}

@media (max-width: 575.98px) {
  .calendar-week-days {
    grid-template-columns: 1fr;
  }
}

.source-logo {
  position: relative;
  width: 28px;
  height: 28px;
  background: var(--bs-tertiary-bg);
  font-size: 0.7rem;
}

/* Layered over the fallback icon so a blocked or rate-limited avatar still looks intentional. */
.source-logo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-sidebar .nav-link .fa-fw {
  width: 1.25em;
}

/* Public meeting share page */
.share-page {
  max-width: 52rem;
  margin: 0 auto;
  padding-bottom: 2rem;
}

.share-kicker {
  font-size: 0.9rem;
  color: var(--bs-secondary-color);
}

.share-title {
  font-size: clamp(1.75rem, 2.5vw + 1rem, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.share-source-logo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--bs-tertiary-bg);
}

.share-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--bs-border-color);
  border-radius: 0.75rem;
  background: var(--bs-tertiary-bg);
}

.share-social-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--bs-secondary-color);
  margin-right: 0.15rem;
}

.share-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 999px;
  background: #fff;
  color: #212529;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(20, 20, 20, 0.06);
  transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.share-social-btn:hover,
.share-social-btn:focus-visible {
  transform: translateY(-1px);
  color: #fff;
  outline: none;
}

.share-social-facebook:hover,
.share-social-facebook:focus-visible {
  background: #1877f2;
  border-color: #1877f2;
}

.share-social-x:hover,
.share-social-x:focus-visible {
  background: #111;
  border-color: #111;
}

.share-social-linkedin:hover,
.share-social-linkedin:focus-visible {
  background: #0a66c2;
  border-color: #0a66c2;
}

.share-social-reddit:hover,
.share-social-reddit:focus-visible {
  background: #ff4500;
  border-color: #ff4500;
}

.share-social-email:hover,
.share-social-email:focus-visible,
.share-social-copy:hover,
.share-social-copy:focus-visible,
.share-social-native:hover,
.share-social-native:focus-visible {
  background: var(--bs-primary);
  border-color: var(--bs-primary);
}

.share-player {
  border-radius: 0.75rem;
  overflow: hidden;
  background: #111;
  box-shadow: 0 12px 40px rgba(20, 20, 20, 0.12);
}

.share-section-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid var(--bs-border-color);
}

.share-description,
.share-prose,
.share-draft {
  white-space: pre-wrap;
  line-height: 1.65;
}

.share-agenda {
  font-size: 0.9rem;
  background: var(--bs-tertiary-bg);
  border: 1px solid var(--bs-border-color);
  border-radius: 0.65rem;
  padding: 1rem 1.1rem;
  white-space: pre-wrap;
}

.share-empty {
  border: 1px dashed var(--bs-border-color);
  border-radius: 0.65rem;
  padding: 1.25rem;
  color: var(--bs-secondary-color);
  background: var(--bs-tertiary-bg);
}

.share-event-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.share-event {
  border: 1px solid var(--bs-border-color);
  border-radius: 0.65rem;
  padding: 0.85rem 1rem;
  background: #fff;
}

.share-draft {
  border: 1px solid var(--bs-border-color);
  border-radius: 0.65rem;
  padding: 1.1rem 1.2rem;
  background: var(--bs-tertiary-bg);
}

.share-marketing {
  margin-top: 2.5rem;
  border-radius: 1rem;
  background:
    linear-gradient(145deg, rgba(33, 37, 41, 0.04), rgba(33, 37, 41, 0.01)),
    linear-gradient(180deg, #f8f6f2 0%, #f1eee7 100%);
  border: 1px solid rgba(33, 37, 41, 0.08);
  overflow: hidden;
}

.share-marketing-inner {
  padding: 1.75rem 1.5rem;
}

.share-marketing-brand {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bs-primary);
  margin: 0;
}

@media (min-width: 768px) {
  .share-marketing-inner {
    padding: 2.25rem 2rem;
  }
}

/* Topic cloud */
.topic-cloud {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.85rem 1.25rem;
  line-height: 1.35;
}

.topic-cloud-radial {
  position: relative;
  display: block;
  min-height: 380px;
  overflow: hidden;
}

.topic-cloud-compact.topic-cloud-radial {
  min-height: 240px;
}

.topic-cloud-item {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35em;
  color: var(--bs-body-color);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: color 0.15s ease, transform 0.15s ease;
}

.topic-cloud-radial .topic-cloud-item {
  position: absolute;
  white-space: nowrap;
  opacity: 0;
}

.topic-cloud-radial.topic-cloud-ready .topic-cloud-item {
  opacity: 1;
}

.topic-cloud-item:hover,
.topic-cloud-item:focus-visible {
  color: var(--bs-primary);
  transform: translateY(-1px);
}

.topic-cloud-count {
  font-size: 0.55em;
  font-weight: 500;
  color: var(--bs-secondary-color);
  vertical-align: super;
}

.topic-cloud-item:hover .topic-cloud-count,
.topic-cloud-item:focus-visible .topic-cloud-count {
  color: var(--bs-primary);
}


