@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,300&display=swap');

:root {
  --bg-void: #030508;
  --bg-deep: #070b12;
  --bg-surface: #0d1520;
  --bg-glass: rgba(13, 21, 32, 0.6);
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.06);

  --accent-cyan: #00d4ff;
  --accent-teal: #00b4a0;
  --accent-violet: #7c3aed;
  --accent-rose: #f43f5e;
  --accent-amber: #f59e0b;

  --text-primary: #f0f6ff;
  --text-secondary: #8fa3bc;
  --text-muted: #445566;

  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-glow: rgba(0, 212, 255, 0.3);

  --glow-cyan: 0 0 40px rgba(0, 212, 255, 0.15);
  --glow-teal: 0 0 40px rgba(0, 180, 160, 0.15);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg-void);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

/* Room polish: compact live meeting layout */
.room-page {
  background: linear-gradient(180deg, #f7f9fd 0%, #edf2fb 100%);
}

.meeting-shell {
  width: min(1680px, calc(100% - 20px));
  margin: 10px auto;
  border-radius: 26px;
  border: 1px solid rgba(226, 232, 240, 0.92);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 44px rgba(15, 23, 42, 0.08);
}

.room-topbar {
  min-height: 74px;
  padding: 10px 16px;
  gap: 12px;
  flex-wrap: nowrap;
}

.room-topbar-left,
.room-topbar-right {
  gap: 9px;
  flex-wrap: nowrap;
}

.room-session-meta {
  gap: 0.2rem;
  padding-left: 16px;
}

.room-session-title {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
}

.room-session-subtitle {
  font-size: 0.78rem;
  color: #475569;
}

.room-id-badge {
  min-height: 42px;
  border-radius: 14px;
  gap: 8px;
}

.room-id-value {
  font-size: 1.1rem;
  font-weight: 800;
  color: #0f172a;
}

.room-id-copy-btn {
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 10px;
  background: rgba(99, 102, 241, 0.08);
  color: #4f46e5;
  cursor: pointer;
}

.room-mode-tabs {
  gap: 0.35rem;
  margin-left: 18px;
  padding: 0.28rem;
  border-radius: 18px;
  border: 1px solid rgba(226, 232, 240, 0.92);
  background: #f8fafc;
}

.room-mode-tab {
  min-width: 110px;
  height: 44px;
  border-radius: 14px;
  font-weight: 700;
}

.room-mode-tab.active::after {
  bottom: -6px;
}

.room-topbar-right {
  position: relative;
}

.room-topbar-layout-wrap {
  position: relative;
}

.room-layout-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 240px;
  padding: 10px;
  border-radius: 18px;
  border: 1px solid rgba(226, 232, 240, 0.96);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
  display: grid;
  grid-gap: 6px;
  gap: 6px;
  z-index: 40;
}

.room-layout-menu-item,
.room-layout-menu-reset {
  min-height: 40px;
  border: 1px solid rgba(226, 232, 240, 0.96);
  border-radius: 12px;
  background: #fff;
  color: #334155;
  font-size: 0.8rem;
  font-weight: 700;
  text-align: left;
  padding: 0 12px;
  cursor: pointer;
}

.room-layout-menu-item.active {
  border-color: rgba(99, 102, 241, 0.24);
  background: linear-gradient(180deg, rgba(238, 242, 255, 0.95) 0%, rgba(248, 250, 252, 0.98) 100%);
  color: #4338ca;
}

.room-layout-menu-reset {
  justify-content: center;
  text-align: center;
}

.room-topbar-pill,
.room-topbar-icon-btn,
.room-host-chip {
  min-height: 38px;
  border-radius: 13px;
}

.room-topbar-pill {
  padding: 0 0.78rem;
  font-size: 0.8rem;
}

.room-topbar-pill-count,
.room-topbar-pill-layout {
  background: #fff;
}

.room-topbar-icon-btn {
  width: 38px;
}

.room-host-avatar {
  width: 30px;
  height: 30px;
}

.connection-status {
  min-height: 40px;
  padding: 0.45rem 0.72rem;
  border-radius: 12px;
}

.room-call-timer {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(254, 202, 202, 0.9);
  background: #fff;
  color: #0f172a;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.room-call-timer-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #f43f5e;
  box-shadow: 0 0 0 5px rgba(244, 63, 94, 0.12);
}

.room-content {
  grid-template-columns: minmax(0, 1fr) minmax(296px, 22vw);
  gap: 0;
  min-height: calc(100vh - 124px);
  background: #f5f8fd;
}

.room-main-column {
  min-width: 0;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.webinar-host-strip {
  min-height: 58px;
  padding: 10px 14px;
  border-radius: 18px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.webinar-host-strip-copy {
  gap: 10px;
}

.webinar-host-strip-kicker {
  font-size: 0.9rem;
  font-weight: 800;
  color: #0f172a;
}

.webinar-host-strip-meta {
  gap: 10px;
  flex-wrap: wrap;
  color: #475569;
  font-size: 0.8rem;
}

.webinar-host-strip-meta span::before {
  opacity: 0.5;
}

.webinar-host-strip-pill {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.1);
  color: #7c3aed;
  font-weight: 700;
}

.webinar-host-strip-actions {
  gap: 8px;
  flex-wrap: wrap;
  min-width: 0;
}

.webinar-host-pill {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}

.video-area {
  flex: 1 1;
  min-height: 0;
  padding: 0;
  gap: 14px;
  background: transparent;
}

.meeting-stage-insights,
.meeting-gallery-head {
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.meeting-stage-insights {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 14px;
}

.meeting-stage-insights-premium {
  margin-bottom: 10px;
  padding: 12px 16px;
  border: 1px solid rgba(226, 232, 240, 0.94);
  background: rgba(255, 255, 255, 0.95);
}

.meeting-stage-live-row,
.meeting-stage-layout-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
  overflow-x: auto;
}

.meeting-stage-insights-copy {
  min-width: 0;
  flex: 1 1;
  display: grid;
  grid-gap: 8px;
  gap: 8px;
}

.meeting-stage-layout-row {
  justify-content: flex-start;
}

.meeting-stage-layout-chip {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(226, 232, 240, 0.96);
  background: #fff;
  color: #475569;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
}

.meeting-stage-layout-chip.active {
  border-color: rgba(99, 102, 241, 0.24);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(168, 85, 247, 0.12));
  color: #4338ca;
}

.meeting-stage-live-pill {
  min-height: 28px;
  padding: 0 11px;
  font-size: 0.76rem;
}

.meeting-stage-live-metric {
  white-space: nowrap;
  font-size: 0.8rem;
}

.meeting-stage-layout-label {
  flex: 0 0 auto;
  margin-right: 2px;
}

.meeting-stage-insights-metrics {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.meeting-stage-insights-metrics span {
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.78rem;
}

.meeting-grid-switcher {
  padding: 0.18rem;
  gap: 0.2rem;
  border-radius: 14px;
}

.meeting-gallery-head {
  padding: 10px 14px;
}

.meeting-gallery-kicker {
  font-size: 0.84rem;
  font-weight: 700;
}

.meeting-grid-switcher-btn {
  min-width: 32px;
  height: 32px;
  border-radius: 10px;
}

.meeting-stage-host-banner {
  margin-top: 0.55rem;
  padding: 0.8rem 1rem;
  gap: 0.6rem;
  border-radius: 18px;
}

.meeting-stage-host-banner-copy {
  gap: 0.18rem;
}

.meeting-stage-host-banner strong {
  font-size: 0.96rem;
  line-height: 1.25;
}

.meeting-stage-host-banner span {
  font-size: 0.8rem;
  line-height: 1.45;
}

.meeting-stage-host-banner-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.meeting-stage-host-action {
  min-height: 34px;
  padding: 0 0.75rem;
  font-size: 0.76rem;
  border-radius: 10px;
}

.video-grid,
.video-stage-layout,
.webinar-stage-shell {
  padding: 8px;
  border-radius: 22px;
  background: linear-gradient(180deg, #08111f 0%, #0f1a2f 100%);
  border: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.sensera-spotlight-layout {
  position: relative;
  min-height: min(72vh, 760px);
}

.sensera-spotlight-main {
  min-height: min(72vh, 760px);
}

.sensera-spotlight-pip-stack {
  position: absolute;
  top: 18px;
  right: 18px;
  width: min(22vw, 260px);
  display: grid;
  grid-gap: 12px;
  gap: 12px;
  z-index: 3;
}

.sensera-spotlight-pip .video-tile {
  min-height: 150px;
}

.sensera-presentation-layout {
  display: grid;
  grid-gap: 14px;
  gap: 14px;
}

.sensera-presentation-stage {
  position: relative;
  min-height: min(68vh, 720px);
}

.sensera-presentation-pip {
  position: absolute;
  top: 18px;
  right: 18px;
  width: min(21vw, 240px);
  z-index: 3;
}

.sensera-presentation-pip .video-tile {
  min-height: 150px;
}

.sensera-presentation-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(144px, 180px);
  grid-gap: 12px;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.sensera-presentation-thumb .video-tile {
  min-height: 112px;
}

.sensera-presentation-overflow {
  min-height: 112px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  padding: 14px;
  color: #e2e8f0;
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-weight: 700;
}

.sensera-grid-layout {
  min-height: min(68vh, 760px);
}

.video-tile {
  border-radius: 18px;
  border: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.video-tile-actions {
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.meeting-face-layout {
  flex: 1 1;
  display: grid;
  grid-template-columns: minmax(0, 1.36fr) minmax(280px, 0.92fr);
  grid-gap: 14px;
  gap: 14px;
  min-height: 0;
}

.meeting-face-feature,
.meeting-speaker-main {
  min-width: 0;
  min-height: 0;
}

.meeting-face-feature .video-tile-stage,
.meeting-speaker-main .video-tile-stage {
  min-height: min(66vh, 720px);
}

.meeting-face-side-grid {
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-gap: 14px;
  gap: 14px;
}

.meeting-face-layout-count-3 .meeting-face-side-grid {
  grid-template-columns: 1fr;
  grid-auto-rows: minmax(0, 1fr);
}

.meeting-face-layout-count-5 .meeting-face-side-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: minmax(0, 1fr);
}

.meeting-face-side-grid .video-tile {
  min-height: 0;
}

.meeting-speaker-shell {
  flex: 1 1;
  min-height: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  grid-gap: 14px;
  gap: 14px;
}

.meeting-speaker-filmstrip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(172px, 220px);
  grid-gap: 12px;
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 4px;
}

.meeting-speaker-filmstrip .video-tile {
  min-height: 128px;
}

.video-grid.video-grid-count-2,
.video-grid.video-grid-count-4 {
  max-width: 1120px;
  margin: 0 auto;
  width: 100%;
}

.video-tile:hover .video-tile-actions,
.video-tile:focus-within .video-tile-actions {
  opacity: 1;
  transform: translateY(0);
}

.video-action-btn {
  min-height: 28px;
  padding: 0 10px;
  font-size: 0.74rem;
  border-radius: 10px;
}

.video-tile-placeholder-waiting {
  gap: 14px;
}

.sidebar-participant-summary {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) minmax(0, auto);
  align-items: start;
  grid-gap: 0.7rem;
  gap: 0.7rem;
  min-width: 0;
  overflow: hidden;
}

.sidebar-participant-summary-copy {
  min-width: 0;
}

.sidebar-participant-status-icons {
  display: flex;
  align-items: center;
  gap: 0.38rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  min-width: 0;
  max-width: none;
}

.sidebar-status-icon {
  min-width: 26px;
  height: 26px;
  padding: 0 0.5rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(248, 250, 252, 0.95);
  border: 1px solid rgba(226, 232, 240, 0.95);
  color: #64748b;
  font-size: 0.78rem;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.04);
}

.sidebar-status-icon.is-live {
  color: #22c55e;
}

.sidebar-breakout-pill-row {
  display: grid;
  grid-gap: 0.5rem;
  gap: 0.5rem;
}

.sidebar-breakout-pill {
  min-height: 36px;
  padding: 0.55rem 0.8rem;
  border-radius: 12px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  background: rgba(255, 255, 255, 0.96);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  color: #334155;
  font-size: 0.78rem;
  font-weight: 700;
}

.sidebar-breakout-pill.is-active {
  border-color: rgba(99, 102, 241, 0.18);
  box-shadow: 0 10px 24px rgba(99, 102, 241, 0.08);
}

.sidebar-breakout-count {
  min-width: 22px;
  height: 22px;
  padding: 0 0.45rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(248, 250, 252, 0.98);
  border: 1px solid rgba(226, 232, 240, 0.98);
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 800;
}

.sidebar-room-controls-list {
  display: grid;
  grid-gap: 0.55rem;
  gap: 0.55rem;
}

.sidebar-room-control-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 16px;
  align-items: center;
  grid-gap: 0.7rem;
  gap: 0.7rem;
  padding: 0.55rem 0;
}

.sidebar-room-control-item + .sidebar-room-control-item {
  border-top: 1px solid rgba(226, 232, 240, 0.82);
}

.sidebar-room-control-icon {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.98) 0%, rgba(241, 245, 249, 0.98) 100%);
  border: 1px solid rgba(226, 232, 240, 0.96);
  color: #64748b;
  font-size: 0.92rem;
}

.sidebar-room-control-copy {
  display: grid;
  grid-gap: 0.12rem;
  gap: 0.12rem;
  min-width: 0;
}

.sidebar-room-control-copy strong {
  font-size: 0.82rem;
  color: #0f172a;
  font-weight: 700;
}

.sidebar-room-control-copy span {
  font-size: 0.76rem;
  color: #64748b;
}

.sidebar-room-control-arrow {
  color: #94a3b8;
  font-size: 1.05rem;
  line-height: 1;
}

.sidebar-copy-link-btn {
  width: 100%;
  min-height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(196, 181, 253, 0.52);
  background: rgba(255, 255, 255, 0.98);
  color: #6d28d9;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(124, 58, 237, 0.06);
}

.sidebar-copy-link-btn:hover {
  background: rgba(250, 245, 255, 0.98);
}

.waiting-stage-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.waiting-stage-btn {
  height: 38px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.waiting-stage-btn-success {
  border-color: rgba(16, 185, 129, 0.4);
  color: #34d399;
}

.waiting-stage-btn-danger {
  border-color: rgba(248, 113, 113, 0.4);
  color: #f87171;
}

.controls-bar {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 10px;
  justify-content: flex-start;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 8px 10px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(226, 232, 240, 0.92);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
  scrollbar-width: thin;
  max-width: -moz-fit-content;
  max-width: fit-content;
  margin: 8px auto 0;
  padding: 10px 12px;
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.controls-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.controls-divider {
  width: 1px;
  height: 38px;
  background: rgba(203, 213, 225, 0.8);
  flex: 0 0 auto;
}

.controls-spacer {
  flex: 1 0 16px;
  min-width: 16px;
}

.ctrl-btn[data-label] {
  width: 62px;
  height: 66px;
  padding-top: 8px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.95);
}

.ctrl-btn[data-label]::after {
  bottom: 7px;
  font-size: 0.61rem;
  color: #334155;
}

.ctrl-btn[data-compact="true"] {
  width: 44px;
  height: 44px;
  border-radius: 12px;
}

.ctrl-btn.active {
  color: #4f46e5;
  border-color: rgba(99, 102, 241, 0.32);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.08);
}

.ctrl-btn.danger,
.ctrl-btn-leave {
  background: linear-gradient(180deg, #fff1f2 0%, #ffe4e6 100%);
  border-color: rgba(244, 63, 94, 0.22);
  color: #e11d48;
}

.ctrl-btn:disabled,
.ctrl-btn[disabled] {
  color: #94a3b8;
  border-color: rgba(226, 232, 240, 0.95);
  background: #f8fafc;
}

.ctrl-select-card {
  display: grid;
  grid-gap: 4px;
  gap: 4px;
  min-width: 0;
  padding: 9px 10px 8px;
  border-radius: 14px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  background: #fff;
  flex: 0 0 auto;
}

.ctrl-select-card-label {
  font-size: 0.68rem;
  line-height: 1;
  font-weight: 700;
  color: #334155;
}

.meeting-lang-select {
  min-width: 0;
  height: 20px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #64748b;
  font-size: 0.74rem;
  outline: none;
}

.ctrl-btn-leave {
  min-width: 58px;
  background: linear-gradient(180deg, #ef4444 0%, #dc2626 100%);
  border-color: rgba(220, 38, 38, 0.85);
  color: #fff;
}

.ctrl-btn-leave::after {
  color: rgba(255, 255, 255, 0.95);
}

.room-sidebar {
  min-width: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.98) 100%);
  border-left: 1px solid rgba(226, 232, 240, 0.92);
}

.sidebar-tabs {
  gap: 6px;
  padding: 14px 14px 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.sidebar-tab {
  min-height: 38px;
  padding: 8px 12px;
  font-size: 0.8rem;
  border-radius: 999px;
  white-space: nowrap;
}

.sidebar-content {
  padding: 12px 14px 14px;
}

.room-sidebar .participant-item {
  padding: 10px;
  border-radius: 12px;
}

.room-sidebar .participant-name {
  font-size: 0.86rem;
}

.room-sidebar .participant-role {
  font-size: 0.72rem;
  line-height: 1.35;
}

.sidebar-card,
.sidebar-card-chat-head,
.sidebar-chat-settings-card,
.sidebar-chat-thread-card,
.sidebar-chat-composer-card {
  border-radius: 20px;
}

.controls-more-wrap {
  position: relative;
}

.controls-more-menu {
  position: absolute;
  right: 0;
  bottom: calc(100% + 10px);
  width: min(240px, calc(100vw - 32px));
  padding: 10px;
  border-radius: 16px;
  border: 1px solid rgba(226, 232, 240, 0.96);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.12);
  display: grid;
  grid-gap: 8px;
  gap: 8px;
  z-index: 40;
}

.controls-more-menu-title {
  font-size: 0.76rem;
  font-weight: 800;
  color: #0f172a;
}

.controls-more-language {
  width: 100%;
}

.controls-more-item {
  width: 100%;
  min-height: 38px;
  border-radius: 12px;
  border: 1px solid rgba(226, 232, 240, 0.92);
  background: #fff;
  color: #334155;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0 12px;
  text-align: left;
  cursor: pointer;
}

.controls-more-item:hover {
  border-color: rgba(129, 140, 248, 0.28);
  background: #f8fbff;
}

.mobile-recording-disclaimer {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(104px + env(safe-area-inset-bottom, 0px));
  z-index: 1760;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 10px 12px;
  border-radius: 18px;
  border: 1px solid rgba(244, 63, 94, 0.28);
  background: rgba(255, 241, 242, 0.96);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.18);
  color: #881337;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.mobile-recording-disclaimer-dot {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: #e11d48;
  box-shadow: 0 0 0 6px rgba(225, 29, 72, 0.12);
  animation: pulse 1.5s infinite;
}

.mobile-recording-disclaimer-copy {
  min-width: 0;
  display: grid;
  grid-gap: 2px;
  gap: 2px;
}

.mobile-recording-disclaimer-copy strong {
  font-size: 0.84rem;
  line-height: 1.15;
  font-weight: 900;
}

.mobile-recording-disclaimer-copy span {
  font-size: 0.74rem;
  line-height: 1.3;
  color: #9f1239;
}

.mobile-recording-disclaimer-btn {
  flex: 0 0 auto;
  min-width: 44px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(225, 29, 72, 0.25);
  background: #fff;
  color: #be123c;
  font-size: 0.78rem;
  font-weight: 900;
  cursor: pointer;
}

@media (max-width: 1180px) {
  .room-content {
    grid-template-columns: minmax(0, 1fr);
  }

  .meeting-face-layout {
    grid-template-columns: 1fr;
  }

  .meeting-face-side-grid,
  .meeting-face-layout-count-5 .meeting-face-side-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .room-sidebar:not(.mobile-drawer) {
    position: fixed;
    right: 12px;
    top: 96px;
    bottom: 12px;
    width: min(480px, calc(100vw - 24px));
    z-index: 30;
    border-radius: 22px;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.16);
    transform: translateX(calc(100% + 20px));
    transition: transform 0.22s ease;
  }

  .room-sidebar:not(.mobile-drawer).open,
  .room-sidebar.mobile-drawer.open {
    transform: translateX(0);
  }

  .controls-bar {
    padding-right: 10px;
  }

  .sensera-spotlight-pip-stack,
  .sensera-presentation-pip {
    position: static;
    width: auto;
  }

  .sensera-spotlight-layout,
  .sensera-presentation-layout {
    display: grid;
    grid-gap: 12px;
    gap: 12px;
  }
}

@media (max-width: 900px) {
  .room-topbar {
    min-height: 72px;
    padding: 10px 12px;
    gap: 8px;
  }

  .room-mode-tab {
    min-width: 92px;
  }

  .webinar-host-strip {
    padding: 10px 12px;
  }

  .room-main-column {
    padding: 12px;
  }

  .meeting-face-side-grid,
  .meeting-face-layout-count-5 .meeting-face-side-grid,
  .meeting-speaker-filmstrip {
    grid-template-columns: 1fr;
    grid-auto-flow: row;
    grid-auto-columns: unset;
  }

  .controls-bar {
    gap: 10px;
    border-radius: 18px;
  }

  .room-mode-tabs {
    display: none;
  }

  .room-topbar {
    overflow-x: auto;
  }

  .room-topbar-right {
    gap: 8px;
  }
}

input[type="checkbox"] {
  accent-color: var(--accent-cyan);
}

.cookie-consent-shell {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 1200;
  pointer-events: none;
}

.cookie-consent-panel {
  width: min(980px, 100%);
  margin: 0 auto;
  background: rgba(8, 12, 18, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.35);
  border-radius: 14px;
  padding: 1rem;
  display: grid;
  grid-gap: 0.95rem;
  gap: 0.95rem;
  pointer-events: auto;
}

.cookie-consent-title {
  font-weight: 700;
  font-size: 1rem;
}

.cookie-consent-text,
.cookie-consent-summary {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.cookie-consent-summary {
  margin-top: 0.45rem;
}

.cookie-consent-options,
.cookie-settings-list {
  display: grid;
  grid-gap: 0.75rem;
  gap: 0.75rem;
}

.cookie-consent-option,
.cookie-settings-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.85rem 0.9rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.cookie-consent-option strong,
.cookie-settings-item strong {
  display: block;
  font-size: 0.95rem;
}

.cookie-consent-option small,
.cookie-settings-item small {
  display: block;
  color: var(--text-secondary);
  font-size: 0.83rem;
  line-height: 1.45;
  margin-top: 0.2rem;
}

.cookie-consent-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  flex-wrap: wrap;
}

@media (max-width: 720px) {
  .cookie-consent-shell {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
  }

  .cookie-consent-option,
  .cookie-settings-item {
    gap: 0.75rem;
  }

  .cookie-consent-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
}

.landing.light-dashboard {
  min-height: 100vh;
  background: #d9d9d9;
  padding: 2rem 1rem 4rem;
  color: #171717;
}

.light-shell {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}

.light-phone {
  width: 100%;
  background: linear-gradient(180deg, #fff7dd 0%, #fff 65%);
  border-radius: 32px;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.12);
  overflow: hidden;
}

.light-home {
  padding: 2rem 2rem 2.5rem;
  position: relative;
}

.light-home-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.light-home-header h1 {
  font-size: 1.75rem;
  line-height: 1.1;
  margin-bottom: 0.25rem;
  color: #1f1f1f;
}

.light-home-header p {
  font-size: 0.9rem;
  color: #6b7280;
}

.light-refresh {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f4e9ff;
  color: #7c3aed;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 700;
}

.light-quick-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-gap: 0.9rem;
  gap: 0.9rem;
  margin-bottom: 1.25rem;
}

.light-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.75fr);
  grid-gap: 1.5rem;
  gap: 1.5rem;
  align-items: start;
}

.light-main-column,
.light-side-column {
  min-width: 0;
}

.light-side-column .light-section {
  padding: 0;
}

.light-quick-card {
  text-decoration: none;
  color: #3f3f46;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
  font-size: 0.76rem;
  font-weight: 600;
}

.light-quick-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #fff;
}

.light-quick-icon.purple { background: #6d28d9; }
.light-quick-icon.green { background: #22c55e; }
.light-quick-icon.amber { background: #fbbf24; }

.light-link-card {
  background: linear-gradient(135deg, #6d28d9, #7c3aed 65%, #8b5cf6);
  color: #fff;
  border-radius: 18px;
  padding: 1rem;
  margin-bottom: 1.35rem;
  box-shadow: 0 18px 30px rgba(109, 40, 217, 0.22);
}

.light-link-title {
  font-size: 0.84rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
}

.light-link-url {
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.85rem;
  word-break: break-all;
}

.light-link-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.95rem;
}

.light-mini-btn,
.light-share-btn,
.light-primary-btn,
.light-secondary-btn,
.light-chip {
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.light-mini-btn {
  background: #facc15;
  color: #2a2a2a;
  border-radius: 8px;
  padding: 0.55rem 1rem;
  font-weight: 700;
}

.light-share-btn {
  background: transparent;
  color: #ede9fe;
  font-weight: 600;
}

.light-join-form {
  display: grid;
  grid-gap: 0.75rem;
  gap: 0.75rem;
}

.light-input {
  width: 100%;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 0 0.9rem;
  outline: none;
}

.light-input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.light-form-actions {
  display: flex;
  gap: 0.75rem;
}

.light-primary-btn,
.light-secondary-btn {
  flex: 1 1;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 700;
}

.light-primary-btn {
  background: #facc15;
  color: #1f2937;
}

.light-secondary-btn {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.light-quick-rooms {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.95rem;
}

.light-chip {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  padding: 0.42rem 0.75rem;
  font-size: 0.72rem;
}

.light-section-head {
  margin-bottom: 0.9rem;
}

.light-section-head h2 {
  font-size: 1rem;
  color: #18181b;
  margin-bottom: 0.7rem;
}

.light-tabs {
  display: flex;
  gap: 0.5rem;
  background: #f1f1f4;
  padding: 0.25rem;
  border-radius: 12px;
}

.light-tabs button {
  flex: 1 1;
  border: none;
  background: transparent;
  border-radius: 10px;
  padding: 0.6rem 0.75rem;
  color: #71717a;
  font-weight: 600;
  cursor: pointer;
}

.light-tabs button.active {
  background: #6d28d9;
  color: #fff;
}

.light-history-illustration {
  min-height: 240px;
  border-radius: 18px;
  background: #fafafa;
  border: 1px dashed #d4d4d8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  margin-bottom: 1rem;
}

.light-history-list {
  display: grid;
  grid-gap: 0.75rem;
  gap: 0.75rem;
}

.light-history-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-gap: 0.65rem;
  gap: 0.65rem;
  margin-bottom: 0.9rem;
}

.light-history-summary-card {
  border-radius: 16px;
  padding: 0.8rem 0.9rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #ececf2;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
  display: grid;
  grid-gap: 0.16rem;
  gap: 0.16rem;
}

.light-history-summary-card span {
  color: #64748b;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
}

.light-history-summary-card strong {
  color: #0f172a;
  font-size: 0.94rem;
}

.light-history-card {
  background: #fff;
  border-radius: 14px;
  padding: 0.95rem 1rem;
  border: 1px solid #ececf2;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.light-history-card strong {
  color: #18181b;
  font-size: 0.9rem;
}

.light-history-card span {
  color: #71717a;
  font-size: 0.8rem;
}

.light-history-card-action {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
}

.light-hero-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-gap: 0.85rem;
  gap: 0.85rem;
  margin-top: 1.35rem;
}

.light-hero-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
}

.light-workspace-card {
  max-width: 320px;
  border-radius: 22px;
  padding: 1rem 1.05rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.92) 0%, rgba(248,250,252,0.92) 100%);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
  display: grid;
  grid-gap: 0.28rem;
  gap: 0.28rem;
}

.light-workspace-card span {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #6d28d9;
}

.light-workspace-card strong {
  font-size: 1rem;
  color: #0f172a;
}

.light-workspace-card small {
  color: #64748b;
  font-size: 0.8rem;
  line-height: 1.45;
}

.light-hero-metric {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 18px;
  padding: 0.9rem 1rem;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.06);
  display: grid;
  grid-gap: 0.18rem;
  gap: 0.18rem;
}

.light-hero-metric span {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6d28d9;
}

.light-hero-metric strong {
  color: #0f172a;
  font-size: 0.96rem;
}

.light-hero-metric small {
  color: #64748b;
  font-size: 0.8rem;
  line-height: 1.45;
}

.light-hero-note-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-gap: 0.85rem;
  gap: 0.85rem;
  margin-top: 1rem;
}

.light-hero-note-card {
  border-radius: 18px;
  padding: 0.95rem 1rem;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
  display: grid;
  grid-gap: 0.25rem;
  gap: 0.25rem;
}

.light-hero-note-card strong {
  color: #0f172a;
  font-size: 0.9rem;
}

.light-hero-note-card span {
  color: #64748b;
  font-size: 0.78rem;
  line-height: 1.45;
}

.light-link-card-premium {
  position: relative;
  overflow: hidden;
}

.light-link-card-premium::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, #0ea5e9, #2563eb, #7c3aed);
}

.light-link-hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.light-link-status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.2);
  color: #f8fafc;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

.light-link-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.22);
}

.light-profile-strip {
  display: grid;
  grid-gap: 0.9rem;
  gap: 0.9rem;
  margin-top: 1rem;
}

.light-profile-summary {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.14);
}

.light-profile-avatar {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0ea5e9, #7c3aed);
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  flex-shrink: 0;
}

.light-profile-summary strong {
  display: block;
  color: #fff;
  font-size: 0.92rem;
}

.light-profile-summary span {
  display: block;
  margin-top: 0.18rem;
  color: rgba(255,255,255,0.78);
  font-size: 0.78rem;
  line-height: 1.45;
}

.light-profile-badges {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-gap: 0.7rem;
  gap: 0.7rem;
}

.light-profile-badge {
  padding: 0.82rem 0.9rem;
  border-radius: 16px;
  background: rgba(255,255,255,0.94);
  border: 1px solid rgba(231, 237, 245, 0.9);
  display: grid;
  grid-gap: 0.22rem;
  gap: 0.22rem;
}

.light-profile-badge span {
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.light-profile-badge strong {
  color: #0f172a;
  font-size: 0.88rem;
}

.light-profile-badge small {
  color: #64748b;
  font-size: 0.76rem;
  line-height: 1.42;
}

.light-dashboard-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-gap: 0.8rem;
  gap: 0.8rem;
  margin-top: 1rem;
}

.light-dashboard-stat {
  border-radius: 18px;
  padding: 0.95rem 1rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid #e7edf5;
  display: grid;
  grid-gap: 0.25rem;
  gap: 0.25rem;
}

.light-dashboard-stat span {
  color: #64748b;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.light-dashboard-stat strong {
  color: #0f172a;
  font-size: 0.98rem;
}

.light-dashboard-stat small {
  color: #64748b;
  font-size: 0.78rem;
  line-height: 1.45;
}

.light-account-menu-wrap {
  position: relative;
  flex: 0 0 auto;
}

.light-overflow-btn {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.16);
  color: #fff;
  font-size: 1.55rem;
  line-height: 1;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.14);
}

.light-overflow-menu {
  position: absolute;
  top: calc(100% + 0.55rem);
  left: 0;
  min-width: 220px;
  padding: 0.4rem;
  border-radius: 18px;
  background: rgba(255,255,255,0.98);
  border: 1px solid #e7edf5;
  box-shadow: 0 22px 42px rgba(15, 23, 42, 0.14);
  z-index: 30;
  display: grid;
  grid-gap: 0.25rem;
  gap: 0.25rem;
}

.light-overflow-link {
  display: block;
  padding: 0.78rem 0.88rem;
  border-radius: 14px;
  color: #0f172a;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
}

.light-overflow-link:hover {
  background: #f5f3ff;
  color: #6d28d9;
}

.light-journey-note {
  margin-top: 0.95rem;
  color: #64748b;
  font-size: 0.79rem;
  line-height: 1.5;
}

.light-bottom-nav {
  display: none;
}

@media (max-width: 920px) {
  .light-dashboard {
    padding: 1rem 0.75rem 2rem;
  }

  .light-phone {
    width: min(100%, 430px);
    border: 14px solid #151515;
    border-radius: 44px;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.18);
  }

  .light-home {
    padding: 1.2rem 1rem 5.5rem;
  }

  .light-dashboard-grid {
    grid-template-columns: 1fr;
  }

  .light-hero-topline,
  .light-hero-strip,
  .light-dashboard-stats,
  .light-hero-note-row,
  .light-profile-badges,
  .light-history-summary {
    grid-template-columns: 1fr;
  }

  .light-link-hero,
  .light-history-card-action,
  .light-profile-summary {
    flex-direction: column;
    align-items: stretch;
  }

  .meeting-stage-insights {
    flex-direction: column;
    align-items: stretch;
  }

  .meeting-stage-insights-metrics {
    justify-content: flex-start;
  }

  .light-history-illustration {
    min-height: 150px;
  }

  .light-workspace-card {
    max-width: none;
  }

  .prejoin-shell {
    max-height: none !important;
  }

  .prejoin-topbar-actions {
    width: 100%;
    justify-content: space-between;
  }

  .light-bottom-nav {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    background: #fff;
    border-radius: 18px;
    border: 1px solid #ececf2;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 0.6rem 0.35rem;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
  }

  .prejoin-quick-controls {
    grid-template-columns: 1fr;
  }

  .prejoin-status-strip,
  .prejoin-ready-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .prejoin-footer-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .prejoin-footer-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
  }
}

.light-bottom-nav {
  background: #fff;
  border-radius: 18px;
  border: 1px solid #ececf2;
  padding: 0.6rem 0.35rem;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.light-bottom-nav a {
  text-decoration: none;
  color: #71717a;
  font-size: 0.68rem;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

.light-bottom-nav a span {
  font-size: 1rem;
}

.light-bottom-nav a.active {
  color: #6d28d9;
}

.light-page {
  width: 100%;
}

.auth-shell {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background:
    radial-gradient(circle at top left, rgba(14, 165, 233, 0.14), transparent 28%),
    radial-gradient(circle at bottom right, rgba(56, 189, 248, 0.12), transparent 26%),
    linear-gradient(180deg, #eef4fb 0%, #f8fafc 100%);
}

.auth-shell-loading {
  color: #475569;
  font-family: var(--font-body);
  font-size: 0.95rem;
}

.auth-frame {
  width: min(1180px, 100%);
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(340px, 0.94fr) minmax(0, 1.06fr);
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(203, 213, 225, 0.8);
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(15, 23, 42, 0.12);
}

.auth-brand-panel {
  position: relative;
  padding: 2rem 2.15rem;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #1ba8ec 0%, #0ea5e9 55%, #0284c7 100%);
  color: #fff;
}

.auth-brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
}

.auth-brand-mark::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 18px rgba(255, 255, 255, 0.2);
}

.auth-brand-copy {
  margin-top: 4.8rem;
}

.auth-brand-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
}

.auth-brand-copy h1 {
  margin-top: 1.2rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 2.8vw, 3rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.auth-brand-copy p {
  margin-top: 1rem;
  max-width: 34ch;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.96rem;
  line-height: 1.7;
}

.auth-brand-features {
  display: grid;
  grid-gap: 0.9rem;
  gap: 0.9rem;
  margin-top: 2.4rem;
}

.auth-brand-feature {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.9rem;
}

.auth-brand-feature-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.12);
  position: relative;
  flex: 0 0 22px;
}

.auth-brand-feature-dot::after {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
}

.auth-brand-quote {
  margin-top: auto;
  padding: 1rem 1.05rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.auth-brand-quote p {
  color: #fff;
  font-size: 0.88rem;
  line-height: 1.65;
}

.auth-brand-quote span {
  display: block;
  margin-top: 0.8rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.76rem;
  font-weight: 700;
}

.auth-form-panel {
  padding: 1.5rem 2rem 1.25rem;
  display: flex;
  flex-direction: column;
  background: #fff;
}

.auth-panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.auth-panel-badge {
  font-size: 0.78rem;
  color: #94a3b8;
  font-weight: 700;
}

.auth-panel-link {
  font-size: 0.8rem;
  color: #64748b;
  text-decoration: none;
  font-weight: 700;
}

.auth-panel-link:hover,
.auth-inline-link:hover,
.auth-footer-copy a:hover,
.auth-bottom-links a:hover {
  color: #0284c7;
}

.auth-form-wrap {
  width: min(430px, 100%);
  margin: auto;
}

.auth-form-header h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1.04;
  letter-spacing: -0.04em;
  color: #0f172a;
}

.auth-form-header p {
  margin-top: 0.55rem;
  color: #64748b;
  font-size: 0.92rem;
}

.auth-provider-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-gap: 0.75rem;
  gap: 0.75rem;
  margin-top: 1.35rem;
}

.auth-provider-pill {
  height: 46px;
  border-radius: 14px;
  border: 1px solid #dbe2ea;
  background: #fff;
  color: #0f172a;
  font-family: inherit;
  font-weight: 700;
}

.auth-provider-pill-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
}

.auth-provider-pill-link:hover {
  border-color: #cbd5e1;
  transform: translateY(-1px);
}

.auth-provider-brand {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 900;
  color: #0f172a;
  background: linear-gradient(135deg, #fef3c7, #dbeafe);
}

.auth-provider-note {
  margin-top: 0.8rem;
  color: #64748b;
  font-size: 0.82rem;
  line-height: 1.5;
}

.auth-form-grid {
  display: grid;
  grid-gap: 1rem;
  gap: 1rem;
  margin-top: 1.3rem;
}

.auth-field {
  display: grid;
  grid-gap: 0.45rem;
  gap: 0.45rem;
}

.auth-field label {
  color: #475569;
  font-size: 0.82rem;
  font-weight: 700;
}

.auth-field input {
  width: 100%;
  height: 48px;
  border-radius: 14px;
  border: 1px solid #dbe2ea;
  background: #fff;
  padding: 0 0.95rem;
  outline: none;
  font: inherit;
  color: #0f172a;
}

.auth-field input:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.12);
}

.auth-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: -0.15rem;
}

.auth-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #64748b;
  font-size: 0.8rem;
}

.auth-inline-link,
.auth-footer-copy a,
.auth-bottom-links a {
  color: #0ea5e9;
  text-decoration: none;
  font-weight: 700;
}

.auth-error {
  border-radius: 14px;
  border: 1px solid #fecdd3;
  background: #fff1f2;
  color: #be123c;
  padding: 0.8rem 0.95rem;
  font-size: 0.84rem;
}

.auth-submit-btn,
.auth-secondary-btn,
.auth-sso-btn {
  width: 100%;
  border: none;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  cursor: pointer;
}

.auth-submit-btn {
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, #1ba8ec, #0284c7);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 16px 28px rgba(14, 165, 233, 0.22);
}

.auth-submit-btn:disabled,
.auth-secondary-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.auth-secondary-btn {
  margin-top: 0.95rem;
  height: 46px;
  border-radius: 14px;
  border: 1px solid #dbe2ea;
  background: #fff;
  color: #334155;
  font-weight: 700;
}

.auth-sso-btn {
  min-height: 46px;
  border-radius: 14px;
  border: 1px solid #dbe2ea;
  background: #fff;
  color: #334155;
  font-weight: 700;
}

.auth-footer-copy {
  margin-top: 1rem;
  color: #64748b;
  font-size: 0.84rem;
  text-align: center;
}

.auth-guest-entry {
  margin-top: 1rem;
  padding: 1rem 1.05rem;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: linear-gradient(180deg, rgba(239, 246, 255, 0.92), rgba(248, 250, 252, 0.96));
  border: 1px solid rgba(191, 219, 254, 0.92);
}

.auth-guest-entry strong {
  display: block;
  color: #0f172a;
  font-size: 0.94rem;
  font-weight: 800;
}

.auth-guest-entry p {
  margin: 0.3rem 0 0;
  color: #64748b;
  font-size: 0.84rem;
  line-height: 1.5;
}

.auth-guest-btn {
  flex-shrink: 0;
  min-width: 168px;
  border-radius: 999px;
  padding: 0.9rem 1.15rem;
  text-align: center;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 800;
  color: #ffffff;
  background: linear-gradient(135deg, #2563eb, #0ea5e9);
  box-shadow: 0 18px 35px rgba(37, 99, 235, 0.18);
}

.auth-guest-btn:hover {
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 22px 40px rgba(14, 165, 233, 0.22);
}

.auth-bottom-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1rem;
  color: #94a3b8;
  font-size: 0.76rem;
}

@media (max-width: 920px) {
  .auth-shell {
    padding: 0;
  }

  .auth-frame {
    min-height: 100dvh;
    border-radius: 0;
    grid-template-columns: 1fr;
  }

  .auth-brand-panel {
    min-height: 320px;
    padding: 1.5rem 1.25rem;
  }

  .auth-brand-copy {
    margin-top: 2.2rem;
  }

  .auth-form-panel {
    padding: 1.2rem 1rem 1.1rem;
  }

  .auth-form-wrap {
    width: 100%;
    margin: 0;
  }

  .auth-guest-entry {
    flex-direction: column;
    align-items: stretch;
  }

  .auth-guest-btn {
    min-width: 0;
    width: 100%;
  }
}

.light-page-wide {
  width: 100%;
  background: linear-gradient(180deg, #fff7dd 0%, #fff 65%);
  border-radius: 32px;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.12);
  overflow: hidden;
}

.light-schedule-page {
  position: relative;
  padding: 2rem;
  display: grid;
  grid-gap: 1.5rem;
  gap: 1.5rem;
}

.light-schedule-page::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 220px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.92), transparent 48%),
    linear-gradient(180deg, rgba(255, 248, 220, 0.88), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.light-schedule-mobile-shell {
  display: none;
}

.light-schedule-mobile-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.light-schedule-mobile-avatar {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid #e8ebf2;
  background: rgba(255, 255, 255, 0.94);
  color: #111827;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.08);
}

.light-schedule-mobile-tabs {
  display: inline-flex;
  padding: 0.25rem;
  border-radius: 999px;
  border: 1px solid #ececf2;
  background: rgba(255, 255, 255, 0.88);
  gap: 0.25rem;
}

.light-schedule-mobile-chip {
  min-height: 36px;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: #6b7280;
  font: inherit;
  font-weight: 700;
}

.light-schedule-mobile-chip.active {
  background: #ffffff;
  color: #111827;
  box-shadow: 0 6px 12px rgba(15, 23, 42, 0.06);
}

.light-schedule-mobile-panel {
  min-height: 420px;
  display: grid;
  align-content: start;
  grid-gap: 1.5rem;
  gap: 1.5rem;
  padding: 0.25rem 0 7rem;
}

.light-schedule-mobile-heading h2 {
  margin: 0;
  font-size: 1.65rem;
  color: #111827;
}

.light-schedule-mobile-empty {
  min-height: 320px;
  display: grid;
  justify-items: center;
  align-content: center;
  grid-gap: 0.85rem;
  gap: 0.85rem;
  text-align: center;
  color: #6b7280;
}

.light-schedule-mobile-empty-icon {
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background: #f8fafc;
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.light-schedule-mobile-empty-icon svg,
.light-schedule-mobile-nav-item svg {
  width: 22px;
  height: 22px;
}

.light-schedule-mobile-empty strong {
  color: #111827;
  font-size: 1.2rem;
}

.light-schedule-mobile-empty p {
  max-width: 260px;
  margin: 0;
  line-height: 1.5;
}

.light-schedule-mobile-link {
  border: none;
  background: transparent;
  color: #0ea5e9;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  padding: 0;
}

.light-schedule-mobile-meeting-list {
  display: grid;
  grid-gap: 0.85rem;
  gap: 0.85rem;
}

.light-schedule-mobile-meeting-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  grid-gap: 0.9rem;
  gap: 0.9rem;
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid #ececf2;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.05);
}

.light-schedule-mobile-meeting-time {
  min-width: 56px;
  display: grid;
  grid-gap: 0.15rem;
  gap: 0.15rem;
}

.light-schedule-mobile-meeting-time span {
  font-size: 0.98rem;
  font-weight: 800;
  color: #111827;
}

.light-schedule-mobile-meeting-time small {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: #94a3b8;
}

.light-schedule-mobile-meeting-body {
  min-width: 0;
  display: grid;
  grid-gap: 0.2rem;
  gap: 0.2rem;
}

.light-schedule-mobile-meeting-body strong {
  color: #111827;
  font-size: 0.96rem;
}

.light-schedule-mobile-meeting-body p,
.light-schedule-mobile-meeting-body span {
  margin: 0;
  color: #64748b;
  font-size: 0.82rem;
  line-height: 1.4;
  word-break: break-word;
}

.light-schedule-mobile-open {
  min-height: 36px;
  padding: 0.55rem 0.8rem;
  border: none;
  border-radius: 12px;
  background: #eff6ff;
  color: #2563eb;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.light-schedule-mobile-fab {
  position: fixed;
  right: 1.5rem;
  bottom: 5.6rem;
  width: 58px;
  height: 58px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(180deg, #1da1ff, #1d8dff);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  box-shadow: 0 18px 36px rgba(29, 141, 255, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 30;
}

.light-schedule-mobile-nav {
  position: -webkit-sticky;
  position: sticky;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-gap: 0.5rem;
  gap: 0.5rem;
  padding: 0.9rem 0.35rem 0.25rem;
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid #ececf2;
}

.light-schedule-mobile-nav-item {
  min-height: 56px;
  color: #64748b;
  text-decoration: none;
  display: grid;
  justify-items: center;
  align-content: center;
  grid-gap: 0.22rem;
  gap: 0.22rem;
  font-size: 0.72rem;
  font-weight: 700;
}

.light-schedule-mobile-nav-item.active {
  color: #1d8dff;
}

.light-schedule-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.35fr);
  grid-gap: 1.35rem;
  gap: 1.35rem;
  align-items: start;
}

.workspace-schedule-reference .workspace-nav-link.active {
  background: linear-gradient(135deg, rgba(231,241,255,0.95), rgba(243,247,255,0.98));
  color: #2563eb;
}

.workspace-schedule-reference .workspace-topbar,
.workspace-schedule-reference .workspace-panel,
.workspace-schedule-reference .workspace-hero {
  border-radius: 24px;
}

.workspace-schedule-ref-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  align-items: stretch;
  grid-gap: 1.2rem;
  gap: 1.2rem;
  padding: 1.3rem 1.45rem;
  background:
    radial-gradient(circle at 12% 40%, rgba(191, 219, 254, 0.82) 0%, rgba(191, 219, 254, 0.08) 34%, transparent 52%),
    radial-gradient(circle at 92% 12%, rgba(254, 240, 138, 0.72) 0%, rgba(254, 240, 138, 0.08) 30%, transparent 48%),
    linear-gradient(135deg, rgba(255,255,255,0.98) 0%, rgba(248,250,255,0.98) 52%, rgba(255,252,241,0.98) 100%);
}

.workspace-schedule-ref-actions {
  margin-top: 1.15rem;
}

.workspace-schedule-status-note {
  align-self: center;
  min-height: 100%;
  justify-content: center;
  background: rgba(255,255,255,0.8);
  border: 1px solid rgba(226, 232, 240, 0.96);
  box-shadow: 0 18px 34px rgba(148, 163, 184, 0.12);
}

.light-schedule-grid-reference {
  grid-template-columns: minmax(0, 1.58fr) minmax(320px, 0.86fr);
}

.light-schedule-mobile-sheet-backdrop,
.light-schedule-mobile-sheet-head,
.light-schedule-mobile-sheet-handle {
  display: none;
}

.light-surface-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #ececf2;
  border-radius: 28px;
  padding: 1.6rem;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.07);
  -webkit-backdrop-filter: blur(16px);
          backdrop-filter: blur(16px);
}

.light-surface-card-editing {
  border-color: rgba(109, 40, 217, 0.22);
  box-shadow: 0 24px 44px rgba(109, 40, 217, 0.12);
}

.light-surface-card-compact {
  padding: 1.25rem 1.5rem;
}

.light-schedule-sidebar-card {
  display: grid;
  grid-gap: 1rem;
  gap: 1rem;
  position: -webkit-sticky;
  position: sticky;
  top: 1.4rem;
}

.light-surface-head {
  margin-bottom: 1.15rem;
}

.light-surface-head-tight {
  margin-bottom: 0.8rem;
}

.light-surface-head h2 {
  font-size: 1.18rem;
  color: #171717;
  margin-bottom: 0.4rem;
  line-height: 1.2;
}

.light-surface-head p {
  color: #64748b;
  font-size: 0.96rem;
  line-height: 1.55;
}

.light-provider-grid {
  display: grid;
  grid-gap: 0.9rem;
  gap: 0.9rem;
}

.light-provider-grid-stacked {
  grid-template-columns: 1fr;
}

.light-provider-card {
  border: 1px solid #ececf2;
  background: linear-gradient(180deg, rgba(250, 250, 250, 0.96), rgba(246, 248, 252, 0.92));
  border-radius: 22px;
  padding: 1.1rem 1.1rem 1.05rem;
  display: grid;
  grid-gap: 0.8rem;
  gap: 0.8rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.light-provider-card-active {
  background: linear-gradient(135deg, rgba(239, 246, 255, 0.98), rgba(255, 255, 255, 0.98));
  border-color: rgba(96, 165, 250, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 16px 28px rgba(59, 130, 246, 0.08);
}

.light-provider-card strong {
  color: #18181b;
  display: block;
  margin-bottom: 0.3rem;
  font-size: 1rem;
}

.light-provider-card p {
  color: #6b7280;
  font-size: 0.93rem;
  line-height: 1.55;
}

.light-schedule-status-card {
  border: 1px solid #ececf2;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.98), rgba(243, 247, 252, 0.94));
  border-radius: 24px;
  padding: 1.1rem;
}

.light-surface-head-tight h3 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  color: #171717;
}

.light-surface-head-tight p {
  margin: 0;
  color: #71717a;
  font-size: 0.88rem;
}

.light-calendar-provider-list {
  display: grid;
  grid-gap: 0.75rem;
  gap: 0.75rem;
}

.light-calendar-provider-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem;
  border: 1px solid #e9edf4;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 18px;
  padding: 0.95rem 1rem;
}

.light-calendar-provider-row strong {
  display: block;
  color: #18181b;
  margin-bottom: 0.2rem;
}

.light-calendar-provider-row p {
  margin: 0;
  color: #71717a;
  font-size: 0.88rem;
  line-height: 1.45;
}

.light-provider-inline-status {
  color: #71717a;
  font-size: 0.92rem;
}

.light-provider-badge {
  min-width: 92px;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #475569;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.light-provider-badge-live {
  background: #ecfdf5;
  border-color: #bbf7d0;
  color: #047857;
}

.light-provider-badge-link {
  background: #f5f3ff;
  border-color: #ddd6fe;
  color: #6d28d9;
}

.light-provider-actions {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.light-small-btn {
  min-height: 40px;
  padding: 0.65rem 1rem;
  border-radius: 14px;
  border: none;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.light-small-btn.muted {
  background: #f3f6fb;
  color: #475569;
}

.light-small-btn-active-muted {
  background: #ede9fe !important;
  color: #6d28d9 !important;
  box-shadow: inset 0 0 0 1px rgba(109, 40, 217, 0.18);
}

.light-small-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.light-schedule-form {
  display: grid;
  grid-gap: 1rem;
  gap: 1rem;
}

.light-schedule-form-card {
  position: relative;
}

.light-schedule-preview-card {
  display: grid;
  grid-gap: 1rem;
  gap: 1rem;
  position: -webkit-sticky;
  position: sticky;
  top: 1.4rem;
}

.light-schedule-hero-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-gap: 1rem;
  gap: 1rem;
}

.light-schedule-summary-card {
  border-radius: 22px;
  border: 1px solid rgba(96, 165, 250, 0.18);
  background: linear-gradient(135deg, rgba(241, 247, 255, 0.98), rgba(248, 250, 252, 1));
  padding: 1.15rem 1.15rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.light-schedule-summary-label {
  display: block;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
  color: #2563eb;
  margin-bottom: 0.4rem;
}

.light-schedule-summary-card strong {
  display: block;
  color: #18181b;
  font-size: 1.12rem;
}

.light-schedule-summary-card p {
  margin: 0.5rem 0 0;
  color: #64748b;
  font-size: 0.92rem;
  line-height: 1.55;
  word-break: break-word;
}

.light-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-gap: 1rem;
  gap: 1rem;
}

.light-field-full {
  grid-column: 1 / -1;
}

.light-field-split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(140px, 0.85fr);
  grid-gap: 0.75rem;
  gap: 0.75rem;
}

.light-field {
  display: grid;
  grid-gap: 0.5rem;
  gap: 0.5rem;
}

.light-field span {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #475569;
  text-transform: uppercase;
}

.light-field input,
.light-field select,
.light-field textarea {
  width: 100%;
  border-radius: 18px;
  border: 1px solid #dbe4f0;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.98), rgba(255, 255, 255, 0.98));
  color: #111827;
  min-height: 52px;
  padding: 0.98rem 1.05rem;
  font: inherit;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.light-field textarea {
  min-height: 128px;
  resize: vertical;
}

.light-field input:focus,
.light-field select:focus,
.light-field textarea:focus {
  border-color: #60a5fa;
  box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.14);
}

.light-schedule-toggle-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: stretch;
}

.light-toggle-card {
  flex: 1 1 420px;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  border: 1px solid #ececf2;
  background: linear-gradient(180deg, rgba(250, 250, 250, 0.98), rgba(245, 247, 250, 0.95));
  border-radius: 20px;
  padding: 1rem 1.1rem;
  cursor: pointer;
}

.light-toggle-card input {
  margin-top: 0.2rem;
  accent-color: #6d28d9;
}

.light-toggle-card strong {
  display: block;
  color: #18181b;
  margin-bottom: 0.2rem;
}

.light-toggle-card p {
  margin: 0;
  color: #71717a;
  font-size: 0.88rem;
  line-height: 1.45;
}

.light-provider-connect-inline {
  min-width: 190px;
  padding: 0.95rem 1.1rem;
  border-radius: 18px;
  border: 1px solid #ddd6fe;
  background: linear-gradient(135deg, #eff6ff, #eef2ff);
  color: #2563eb;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.light-check-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #52525b;
  font-size: 0.95rem;
}

.light-action-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

.light-schedule-action-hint {
  color: #71717a;
  font-size: 0.88rem;
  line-height: 1.45;
}

.light-preview-list {
  display: grid;
  grid-gap: 0.1rem;
  gap: 0.1rem;
  border-top: 1px solid #eef2f7;
}

.light-preview-row {
  display: grid;
  grid-gap: 0.35rem;
  gap: 0.35rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid #eef2f7;
}

.light-preview-row span {
  color: #64748b;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.light-preview-row strong,
.light-preview-row a {
  color: #0f172a;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.45;
  word-break: break-word;
  text-decoration: none;
}

.light-preview-row-link a {
  color: #2563eb;
}

.light-preview-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-gap: 0.8rem;
  gap: 0.8rem;
}

.light-preview-note {
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(239, 246, 255, 0.9), rgba(248, 250, 252, 0.96));
  border: 1px solid #dbeafe;
  padding: 0.95rem 1rem;
  color: #64748b;
  font-size: 0.88rem;
  line-height: 1.55;
}

.light-schedule-status-card-compact {
  margin-top: 0.1rem;
}

.light-primary-wide {
  min-height: 54px;
  padding: 0.98rem 1.5rem;
  border-radius: 18px;
  border: none;
  background: linear-gradient(135deg, #0f8fff, #2563eb);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  flex: 1 1 260px;
  box-shadow: 0 18px 34px rgba(37, 99, 235, 0.22);
}

.light-primary-wide:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.light-inline-note {
  background: linear-gradient(180deg, #f8fafc, #ffffff);
  border: 1px solid #e5ebf3;
  border-radius: 18px;
  padding: 1rem;
  color: #18181b;
  word-break: break-all;
}

.light-inline-subnote {
  color: #71717a;
  font-size: 0.9rem;
  margin-top: 0.85rem;
}

.light-meeting-list {
  display: grid;
  grid-gap: 0.9rem;
  gap: 0.9rem;
}

.light-meeting-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.05rem 1.15rem;
  border-radius: 22px;
  border: 1px solid #ececf2;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(247,250,252,0.95));
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.05);
}

.light-meeting-row-main {
  min-width: 0;
  flex: 1 1;
}

.light-meeting-row-top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.35rem;
}

.light-meeting-row-top strong {
  color: #18181b;
  font-size: 1.02rem;
}

.light-meeting-provider-pill {
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
  font-size: 0.74rem;
  font-weight: 800;
}

.light-meeting-provider-pill-webinar {
  background: #f5f3ff;
  border-color: #ddd6fe;
  color: #6d28d9;
}

.light-meeting-provider-pill-recurring {
  background: #ecfeff;
  border-color: #a5f3fc;
  color: #0f766e;
}

.light-weekday-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.55rem;
}

.light-weekday-pill {
  border: 1px solid #d4d4d8;
  background: #fff;
  color: #3f3f46;
  border-radius: 999px;
  padding: 0.4rem 0.7rem;
  font: inherit;
  cursor: pointer;
}

.light-weekday-pill.active {
  border-color: #38bdf8;
  background: #e0f2fe;
  color: #0369a1;
}

.light-meeting-meta {
  color: #1e293b;
  font-size: 0.9rem;
  font-weight: 700;
}

.light-meeting-submeta {
  margin-top: 0.35rem;
  color: #71717a;
  font-size: 0.86rem;
  line-height: 1.45;
  word-break: break-word;
}

.light-meeting-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  min-width: 296px;
}

@media (max-width: 1080px) {
  .light-schedule-grid {
    grid-template-columns: 1fr;
  }

  .light-schedule-preview-card {
    position: static;
  }
}

@media (max-width: 760px) {
  .light-page.light-page-wide {
    padding: 0;
  }

  .light-schedule-page {
    padding: 1rem 1rem 0;
    gap: 1rem;
  }

  .light-schedule-page::before {
    display: none;
  }

  .light-schedule-mobile-shell {
    display: grid;
    grid-gap: 1rem;
    gap: 1rem;
    min-height: calc(100dvh - 2rem);
  }

  .light-home-header,
  .light-schedule-sidebar-card {
    display: none;
  }

  .light-schedule-mobile-sheet-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.42);
    z-index: 34;
  }

  .workspace-schedule-ref-hero,
  .light-schedule-grid-reference,
  .light-preview-actions,
  .light-field-split,
  .light-schedule-hero-row,
  .light-form-grid {
    grid-template-columns: 1fr;
  }

  .light-surface-card {
    border-radius: 20px;
    padding: 1.1rem;
  }

  .light-schedule-sidebar-card {
    position: static;
  }

  .light-schedule-form-card {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 35;
    max-height: 88dvh;
    border-radius: 24px 24px 0 0;
    padding: 0.9rem 1rem 1.15rem;
    transform: translateY(calc(100% + 2rem));
    transition: transform 220ms ease;
    overflow-y: auto;
    box-shadow: 0 -18px 48px rgba(15, 23, 42, 0.2);
  }

  .light-schedule-form-card-mobile-open {
    transform: translateY(0);
  }

  .light-schedule-mobile-sheet-handle {
    display: block;
    width: 46px;
    height: 5px;
    border-radius: 999px;
    background: #dbe3ee;
    margin: 0 auto 0.85rem;
  }

  .light-schedule-mobile-sheet-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.8rem;
  }

  .light-schedule-mobile-sheet-head strong {
    display: block;
    color: #111827;
    font-size: 1rem;
    margin-bottom: 0.2rem;
  }

  .light-schedule-mobile-sheet-head p {
    margin: 0;
    color: #6b7280;
    font-size: 0.84rem;
    line-height: 1.45;
  }

  .light-schedule-mobile-sheet-close {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    background: #f8fafc;
    color: #111827;
    font-size: 1.4rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex: 0 0 auto;
  }

  .light-schedule-form-card .light-surface-head {
    display: none;
  }

  .light-calendar-provider-row {
    flex-direction: column;
  }

  .light-meeting-row {
    flex-direction: column;
  }

  .light-meeting-actions {
    justify-content: flex-start;
    min-width: 0;
  }
}

.light-alert {
  border-radius: 16px;
  padding: 0.95rem 1rem;
  font-weight: 600;
}

.light-alert-error {
  background: #fff1f2;
  border: 1px solid #fecdd3;
  color: #be123c;
}

.light-alert-success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #047857;
}

::selection {
  background: rgba(0, 212, 255, 0.25);
  color: var(--text-primary);
}

::-webkit-scrollbar {
  width: 4px;
}
::-webkit-scrollbar-track {
  background: var(--bg-deep);
}
::-webkit-scrollbar-thumb {
  background: var(--text-muted);
  border-radius: 4px;
}

/* ── Landing (Minimal / Meet-style) ───────────────────────────── */

.landing .nav {
  background: rgba(3, 5, 8, 0.55);
  border-bottom-color: rgba(255, 255, 255, 0.05);
}

.landing .nav-logo {
  font-size: 1.15rem;
}

.landing .nav-links a {
  font-size: 0.92rem;
}

.landing .hero {
  min-height: 92vh;
  padding: 7.25rem 1.5rem 3.5rem;
  text-align: left;
}

.landing .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px 420px at 50% 25%, rgba(0, 212, 255, 0.08), transparent 60%),
    radial-gradient(900px 520px at 50% 85%, rgba(124, 58, 237, 0.06), transparent 55%);
  pointer-events: none;
}

.landing .hero-aurora,
.landing .hero-aurora-2,
.landing .hero-aurora-3 {
  display: none;
}

.landing .hero-badge {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  text-transform: none;
  letter-spacing: 0.02em;
}

.landing .hero-title {
  font-size: clamp(2.4rem, 6.2vw, 4.8rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.landing .hero-sub {
  max-width: 56ch;
}

.landing .hero-inner {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  grid-gap: 2.25rem;
  gap: 2.25rem;
  position: relative;
  z-index: 1;
}

.landing .hero-copy {
  max-width: 62ch;
}

.landing .hero-actions {
  justify-content: flex-start;
}

.landing .hero-panel {
  width: 100%;
  max-width: 460px;
  justify-self: end;
}

.landing .btn-copylink {
  width: 100%;
  padding: 0.55rem 0.75rem;
  margin-bottom: 0.75rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.85rem;
  cursor: pointer;
  font-family: var(--font-body);
}

.landing .btn-copylink:hover {
  border-color: rgba(0, 212, 255, 0.18);
  color: var(--text-primary);
}

.landing .form-error {
  margin-top: 0.75rem;
  color: var(--accent-rose);
  font-size: 0.82rem;
}

.landing .btn-primary {
  background: var(--accent-cyan);
  color: #001018;
}

.landing .btn-primary:hover {
  box-shadow: 0 0 18px rgba(0, 212, 255, 0.25), 0 8px 24px rgba(0, 0, 0, 0.25);
}

.landing .btn-secondary {
  background: rgba(255, 255, 255, 0.02);
}

.landing .hero-stats {
  gap: 2rem;
  margin-top: 3.75rem;
}

.landing .hero-stat-number {
  -webkit-text-fill-color: unset;
  color: var(--text-primary);
  background: none;
}

.landing .section-label {
  color: var(--text-muted);
}

.landing .section-sub {
  max-width: 62ch;
}

.landing .features-grid {
  margin-top: 2.75rem;
  gap: 1.1rem;
}

.landing .feature-card {
  padding: 1.5rem;
  border-radius: 16px;
}

.landing .feature-card::before {
  display: none;
}

.landing .feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.landing .feature-name {
  font-size: 1rem;
}

.landing .feature-desc {
  font-size: 0.92rem;
}

@media (max-width: 720px) {
  .landing .hero {
    padding: 6.25rem 1rem 3rem;
    min-height: auto;
    text-align: center;
  }

  .landing .hero-sub {
    max-width: 40ch;
  }

  .landing .hero-inner {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .landing .hero-actions {
    justify-content: center;
  }

  .landing .hero-panel {
    max-width: 520px;
    justify-self: center;
  }

  .landing .hero-stats {
    margin-top: 2.25rem;
  }
}

@media (max-width: 980px) and (min-width: 721px) {
  .landing .hero-inner {
    grid-template-columns: 1fr;
    width: min(920px, calc(100% - 2.5rem));
  }
  .landing .hero-panel {
    max-width: 520px;
    justify-self: start;
  }
}

/* ── Utility ─────────────────────────── */

.gradient-text {
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-teal) 50%, var(--accent-violet) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(0, 212, 255, 0.15);
  box-shadow: var(--glow-cyan);
}

/* ── Animations ──────────────────────── */

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

@keyframes aurora {
  0% { transform: translate(-50%, -50%) rotate(0deg) scale(1); }
  33% { transform: translate(-50%, -50%) rotate(120deg) scale(1.1); }
  66% { transform: translate(-50%, -50%) rotate(240deg) scale(0.9); }
  100% { transform: translate(-50%, -50%) rotate(360deg) scale(1); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes ripple {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(2.5); opacity: 0; }
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ── Nav ─────────────────────────────── */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(3, 5, 8, 0.7);
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--text-primary);
}

.nav-logo-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
  animation: pulse-glow 2s ease-in-out infinite;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 400;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-cta {
  padding: 0.5rem 1.25rem;
  background: var(--accent-cyan);
  color: var(--bg-void) !important;
  border-radius: 100px;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  transition: box-shadow 0.2s, transform 0.2s !important;
}

.nav-cta--ghost {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: var(--text-primary) !important;
  box-shadow: none !important;
}

.nav-cta:hover {
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.4) !important;
  transform: translateY(-1px);
  color: var(--bg-void) !important;
}

.nav-cta--ghost:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: none !important;
  color: var(--text-primary) !important;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
}

.nav-toggle:focus-visible {
  outline: 2px solid rgba(0, 212, 255, 0.5);
  outline-offset: 3px;
}

.nav-toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: rgba(240, 246, 255, 0.9);
}

/* ── Hero ────────────────────────────── */

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero-aurora {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 900px;
  height: 900px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    rgba(0, 212, 255, 0.06) 60deg,
    rgba(124, 58, 237, 0.08) 120deg,
    transparent 180deg,
    rgba(0, 180, 160, 0.06) 240deg,
    transparent 360deg
  );
  animation: aurora 20s linear infinite;
  pointer-events: none;
}

.hero-aurora-2 {
  position: absolute;
  top: 30%;
  left: 60%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.05) 0%, transparent 70%);
  animation: float 8s ease-in-out infinite;
  pointer-events: none;
}

.hero-aurora-3 {
  position: absolute;
  top: 60%;
  left: 20%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.06) 0%, transparent 70%);
  animation: float 12s ease-in-out infinite reverse;
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 100px;
  font-size: 0.8rem;
  color: var(--accent-cyan);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  animation: fadeInUp 0.6s ease both;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
  animation: pulse-glow 1.5s ease-in-out infinite;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.6s ease 0.1s both;
}

.hero-title span {
  display: block;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 520px;
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 3rem;
  animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeInUp 0.6s ease 0.3s both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-teal));
  color: var(--bg-void);
  border: none;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: box-shadow 0.25s, transform 0.25s;
  text-decoration: none;
}

.btn-primary:hover {
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.4), 0 8px 30px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 400;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  text-decoration: none;
}

.btn-secondary:hover {
  border-color: rgba(255,255,255,0.15);
  color: var(--text-primary);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  margin-top: 5rem;
  animation: fadeInUp 0.6s ease 0.4s both;
}

.hero-stat {
  text-align: center;
}

.hero-stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.2rem;
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border-subtle);
}

/* ── Responsive (Landing) ─────────────── */

@media (max-width: 720px) {
  .nav {
    padding: 0.85rem 1rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 1rem;
    right: 1rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    padding: 0.85rem;
    background: rgba(3, 5, 8, 0.92);
    border: 1px solid rgba(0, 212, 255, 0.14);
    border-radius: 16px;
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.55);
    -webkit-backdrop-filter: blur(20px);
            backdrop-filter: blur(20px);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    font-size: 1rem;
    padding: 0.55rem 0.6rem;
    border-radius: 12px;
  }

  .nav-links a:hover {
    background: rgba(255, 255, 255, 0.04);
  }

  .nav-cta {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1rem;
    font-size: 0.95rem !important;
  }

  .hero {
    padding: 6.5rem 1rem 3rem;
    min-height: calc(100vh - 40px);
  }

  .hero-badge {
    font-size: 0.72rem;
    padding: 0.35rem 0.85rem;
    margin-bottom: 1.35rem;
  }

  .hero-title {
    font-size: clamp(2.25rem, 10.5vw, 3.6rem);
    line-height: 1.02;
    margin-bottom: 1.1rem;
  }

  .hero-sub {
    max-width: 36ch;
    margin-bottom: 2.25rem;
  }

  .hero-actions {
    width: 100%;
    gap: 0.75rem;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
    padding: 0.95rem 1.25rem;
  }

  .hero-stats {
    margin-top: 2.75rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-gap: 1.25rem 1rem;
    gap: 1.25rem 1rem;
  }

  .hero-stat-divider {
    display: none;
  }

  .section {
    padding: 4.5rem 1rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
    margin-top: 2.5rem;
  }
}

@media (max-width: 380px) {
  .hero-stat-number {
    font-size: 1.7rem;
  }
}

/* ── Features ────────────────────────── */

.section {
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.78rem;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.section-sub {
  color: var(--text-secondary);
  font-size: 1.05rem;
  font-weight: 300;
  max-width: 480px;
  line-height: 1.7;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-gap: 1.5rem;
  gap: 1.5rem;
  margin-top: 4rem;
}

.feature-card {
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1.25rem;
  position: relative;
}

.feature-icon.cyan { background: rgba(0, 212, 255, 0.1); }
.feature-icon.teal { background: rgba(0, 180, 160, 0.1); }
.feature-icon.violet { background: rgba(124, 58, 237, 0.1); }
.feature-icon.rose { background: rgba(244, 63, 94, 0.1); }
.feature-icon.amber { background: rgba(245, 158, 11, 0.1); }
.feature-icon.green { background: rgba(16, 185, 129, 0.1); }

.feature-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.feature-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  font-weight: 300;
}

/* ── Lobby / Join page ───────────────── */

.lobby-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.lobby-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 40%, rgba(0, 212, 255, 0.05) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 80% 70%, rgba(124, 58, 237, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

.lobby-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.lobby-container {
  width: 100%;
  max-width: 460px;
  position: relative;
  z-index: 1;
}

.lobby-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.lobby-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.lobby-logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-teal));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.lobby-tagline {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.lobby-card {
  padding: 2.5rem;
}

.lobby-card-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.4rem;
}

.lobby-card-sub {
  color: var(--text-secondary);
  font-size: 0.88rem;
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.form-input::placeholder {
  color: var(--text-muted);
}

.form-input:focus {
  border-color: rgba(0, 212, 255, 0.4);
  background: rgba(0, 212, 255, 0.04);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.08);
}

.form-input-icon-wrap {
  position: relative;
}

.form-input-icon {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1rem;
  pointer-events: none;
}

.form-input-icon-wrap .form-input {
  padding-left: 2.5rem;
}

.btn-join {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-teal));
  color: var(--bg-void);
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: box-shadow 0.25s, transform 0.25s;
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-join:hover {
  box-shadow: 0 0 40px rgba(0, 212, 255, 0.35), 0 8px 30px rgba(0, 0, 0, 0.3);
  transform: translateY(-1px);
}

.btn-join:active {
  transform: translateY(0);
}

.lobby-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.lobby-divider::before,
.lobby-divider::after {
  content: '';
  flex: 1 1;
  height: 1px;
  background: var(--border-subtle);
}

.quick-rooms {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 0.5rem;
  gap: 0.5rem;
}

.quick-room-btn {
  padding: 0.6rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}

.quick-room-btn:hover {
  border-color: rgba(0, 212, 255, 0.2);
  color: var(--accent-cyan);
  background: rgba(0, 212, 255, 0.05);
}

/* ── Room / Dashboard ────────────────── */

.room-page {
  min-height: 100dvh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #fff7dd 0%, #fff 70%);
  overflow: auto;
  color: #18181b;
  padding: 1.25rem;
}

.meeting-shell {
  width: min(1520px, 100%);
  margin: 0 auto;
  flex: 1 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 24px 72px rgba(15, 23, 42, 0.10);
}

.meeting-shell.meeting-shell-webinar {
  border-color: rgba(124, 58, 237, 0.28);
  box-shadow: 0 28px 88px rgba(91, 33, 182, 0.16);
}

.meeting-shell.meeting-shell-embedded {
  width: 100%;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.room-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(248,250,252,0.98) 100%);
  border-bottom: 1px solid #e5e7eb;
  -webkit-backdrop-filter: blur(14px);
          backdrop-filter: blur(14px);
}

.room-topbar.room-topbar-webinar {
  background:
    linear-gradient(90deg, rgba(124,58,237,0.08) 0%, rgba(59,130,246,0.06) 100%),
    linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(248,250,252,0.98) 100%);
}

.room-topbar-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.room-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: #111827;
}

.room-id-badge {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.8rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 100px;
  font-size: 0.78rem;
  color: #64748b;
}

.room-id-badge span {
  color: #111827;
  font-weight: 500;
  font-family: monospace;
}

.room-mode-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  height: 34px;
  padding: 0 0.8rem;
  border-radius: 999px;
  background: rgba(124,58,237,0.10);
  border: 1px solid rgba(124,58,237,0.20);
  color: #7c3aed;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.room-topbar-right {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.room-call-timer {
  min-width: 74px;
  height: 36px;
  padding: 0 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #eef2ff;
  color: #4f46e5;
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 700;
}

.connection-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #e5e7eb;
  font-size: 0.8rem;
}

.connection-status.connection-status-webinar {
  background: rgba(124,58,237,0.06);
  border-color: rgba(124,58,237,0.14);
}

.room-status-text.connected {
  color: #059669;
}

.room-status-text.waiting {
  color: #d97706;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.status-dot.connected {
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulse-glow 2s ease-in-out infinite;
}

.status-dot.waiting {
  background: var(--accent-amber);
  box-shadow: 0 0 8px var(--accent-amber);
  animation: pulse-glow 1s ease-in-out infinite;
}

.room-content {
  flex: 1 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  grid-gap: 0;
  gap: 0;
  overflow: hidden;
  min-height: 0;
  background: #f8fafc;
}

.room-content.room-content-webinar {
  background:
    radial-gradient(circle at top right, rgba(196,181,253,0.18), transparent 20%),
    linear-gradient(180deg, #f8fafc 0%, #f5f3ff 100%);
  grid-template-columns: minmax(0, 1fr) 372px;
}

.room-content.room-content-embedded {
  min-height: 100vh;
}

.room-main-column {
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border-right: 1px solid rgba(226, 232, 240, 0.92);
}

.room-main-column,
.sidebar-content,
.video-stage-layout,
.webinar-stage-shell,
.video-stage-strip {
  scrollbar-width: none;
}

.room-main-column::-webkit-scrollbar,
.sidebar-content::-webkit-scrollbar,
.video-stage-layout::-webkit-scrollbar,
.webinar-stage-shell::-webkit-scrollbar,
.video-stage-strip::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.webinar-host-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
  border-bottom: 1px solid #e5e7eb;
}

.meeting-shell-webinar .webinar-host-strip {
  background:
    linear-gradient(90deg, rgba(124,58,237,0.08) 0%, rgba(255,255,255,0.92) 42%, rgba(59,130,246,0.05) 100%);
  border-bottom-color: rgba(124,58,237,0.14);
  padding: 0.72rem 0.9rem;
  gap: 0.8rem;
}

.webinar-host-strip-copy {
  min-width: 0;
}

.webinar-host-strip-kicker {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7c3aed;
}

.webinar-host-strip-meta {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-top: 0.22rem;
  color: #64748b;
  font-size: 0.76rem;
  font-weight: 600;
}

.webinar-host-strip-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.webinar-host-strip-meta span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #cbd5e1;
}

.webinar-host-strip-meta span:first-child::before {
  background: #f59e0b;
}

.webinar-host-strip-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.webinar-host-pill {
  height: 34px;
  padding: 0 0.78rem;
  border-radius: 999px;
  border: 1px solid #dbe3ee;
  background: #fff;
  color: #334155;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
}

.webinar-host-pill-success {
  background: rgba(16,185,129,0.10);
  border-color: rgba(16,185,129,0.26);
  color: #047857;
}

.webinar-host-pill-danger {
  background: rgba(244,63,94,0.10);
  border-color: rgba(244,63,94,0.24);
  color: #e11d48;
}

.room-main-column-training-host {
  gap: 8px;
}

.training-host-strip {
  padding: 0.58rem 0.82rem;
  gap: 0.6rem;
  border-radius: 16px;
  position: -webkit-sticky;
  position: sticky;
  top: 8px;
  z-index: 12;
}

.training-host-strip .webinar-host-strip-copy {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.training-host-strip .webinar-host-strip-kicker {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
}

.training-host-strip-meta {
  margin-top: 0;
  gap: 0.45rem 0.55rem;
  font-size: 0.72rem;
  line-height: 1.15;
}

.training-host-strip-meta span {
  gap: 0.28rem;
}

.training-host-strip-meta span::before {
  width: 5px;
  height: 5px;
}

.training-host-strip-actions {
  gap: 0.38rem;
}

.training-host-strip .webinar-host-pill {
  height: 30px;
  padding: 0 0.68rem;
  font-size: 0.72rem;
}

.training-host-pill-toggle {
  background: rgba(37, 99, 235, 0.08);
  border-color: rgba(37, 99, 235, 0.18);
  color: #1d4ed8;
}

.training-host-strip-collapsed {
  padding-top: 0.46rem;
  padding-bottom: 0.46rem;
}

.training-host-strip-collapsed .webinar-host-strip-copy {
  gap: 0.4rem;
}

.training-host-strip-collapsed .webinar-host-strip-actions {
  gap: 0.3rem;
}

.video-area {
  flex: 1 1;
  padding: 0.8rem 0.8rem 0.95rem;
  display: flex;
  flex-direction: column;
  gap: 0.72rem;
  background:
    radial-gradient(circle at top left, rgba(191,219,254,0.32), transparent 22%),
    linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
  min-height: 0;
  overflow: auto;
  padding-bottom: 5.25rem;
}

.meeting-stage-insights {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(15,23,42,0.96), rgba(30,41,59,0.92));
  color: #f8fafc;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.18);
}

.meeting-stage-insights-webinar {
  background: linear-gradient(135deg, rgba(76,29,149,0.96), rgba(30,64,175,0.92));
}

.meeting-stage-insights-copy {
  min-width: 0;
}

.meeting-stage-insights-title {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.84);
}

.meeting-stage-insights-sub {
  margin-top: 0.32rem;
  color: rgba(255,255,255,0.82);
  font-size: 0.84rem;
  line-height: 1.45;
}

.meeting-stage-insights-metrics {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.meeting-stage-insights-metrics span {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 0.8rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.14);
  font-size: 0.76rem;
  font-weight: 700;
}

.meeting-gallery-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(226,232,240,0.95);
  border-radius: 20px;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.06);
}

.meeting-gallery-copy {
  min-width: 0;
}

.meeting-gallery-kicker {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #64748b;
  font-weight: 800;
}

.meeting-gallery-meta {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-top: 0.45rem;
  color: #475569;
  font-size: 0.8rem;
}

.meeting-gallery-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.meeting-gallery-meta span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #cbd5e1;
}

.meeting-gallery-meta span:first-child::before {
  background: #8b5cf6;
}

.meeting-gallery-tools {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.meeting-grid-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.meeting-grid-switcher-btn {
  min-width: 42px;
  height: 34px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: #64748b;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.meeting-grid-switcher-btn.active {
  background: linear-gradient(135deg, #6d28d9, #8b5cf6);
  color: #fff;
}

.meeting-grid-pager {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.4rem;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #475569;
  font-size: 0.78rem;
  font-weight: 700;
}

.meeting-grid-pager button {
  height: 30px;
  padding: 0 0.75rem;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #334155;
  cursor: pointer;
}

.meeting-grid-pager button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.video-grid {
  flex: 1 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  grid-gap: 0.9rem;
  gap: 0.9rem;
  align-content: start;
  grid-auto-rows: minmax(0, auto);
  min-height: 0;
  overflow: auto;
  padding-bottom: 0.5rem;
}

.video-grid.video-grid-density-4 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.video-grid.video-grid-density-9 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.video-grid.video-grid-density-12 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.video-grid.video-grid-count-1 {
  grid-template-columns: minmax(0, 1fr);
}

.video-grid.video-grid-single-focus {
  justify-items: stretch;
  align-content: center;
  min-height: min(72vh, 760px);
}

.video-grid.video-grid-single-focus .video-tile {
  width: 100%;
  max-width: none;
  min-height: min(66vh, 700px);
}

.video-grid.video-grid-count-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.video-grid.video-grid-count-3,
.video-grid.video-grid-count-4 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.video-grid.video-grid-count-5,
.video-grid.video-grid-count-6,
.video-grid.video-grid-count-7,
.video-grid.video-grid-count-8 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.video-grid.video-grid-count-9,
.video-grid.video-grid-count-10,
.video-grid.video-grid-count-11,
.video-grid.video-grid-count-12 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.video-grid.video-grid-webinar {
  align-content: start;
  gap: 0.75rem;
}

.webinar-stage-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  grid-gap: 0.8rem;
  gap: 0.8rem;
  min-height: 0;
  flex: 1 1;
}

.webinar-stage-shell.webinar-stage-shell-collapsed {
  grid-template-columns: minmax(0, 1fr) 92px;
}

.webinar-audience-rail {
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 0.75rem;
  border-radius: 20px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(226,232,240,0.95);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.05);
}

.webinar-audience-rail.collapsed {
  padding: 0.85rem 0.65rem;
}

.webinar-audience-head {
  display: grid;
  grid-gap: 0.2rem;
  gap: 0.2rem;
}

.webinar-audience-title {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6d28d9;
}

.webinar-audience-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  margin-left: 0.4rem;
  padding: 0 0.45rem;
  border-radius: 999px;
  background: rgba(124,58,237,0.10);
  border: 1px solid rgba(124,58,237,0.18);
  color: #7c3aed;
  font-size: 0.72rem;
}

.webinar-audience-meta {
  font-size: 0.76rem;
  color: #64748b;
  font-weight: 600;
}

.webinar-audience-rail.collapsed .webinar-audience-meta {
  display: none;
}

.webinar-audience-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  overflow: auto;
  min-height: 0;
  padding-right: 0.1rem;
}

.webinar-audience-rail.collapsed .webinar-audience-grid {
  display: none;
}

.video-stage-layout {
  flex: 1 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  grid-gap: 1rem;
  gap: 1rem;
  min-height: 0;
}

.video-stage-layout:not(:has(.video-stage-strip)) {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
}

.video-stage-layout:not(:has(.video-stage-strip)) .video-tile-stage {
  width: min(100%, 860px);
}

.video-stage-strip {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  overflow: auto;
  min-height: 0;
  padding-right: 0.2rem;
}

.video-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.video-toolbar-title {
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.video-toolbar-actions {
  display: flex;
  gap: 0.45rem;
}

.video-mode-btn {
  height: 34px;
  padding: 0 0.8rem;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #6b7280;
  cursor: pointer;
  font-size: 0.78rem;
}

.video-mode-btn.active {
  color: #6d28d9;
  border-color: rgba(109, 40, 217, 0.18);
  background: rgba(109, 40, 217, 0.08);
}

.video-tile {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(180deg, #0f172a 0%, #111827 100%);
  border: 1px solid rgba(148, 163, 184, 0.22);
  aspect-ratio: 16 / 9;
  min-height: clamp(150px, 18vh, 200px);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.16);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.video-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 40px rgba(15, 23, 42, 0.2);
}

.video-tile.speaker-stage {
  min-height: min(60vh, 560px);
}

.video-tile-stage {
  min-height: min(74vh, 780px);
}

.video-tile-compact {
  aspect-ratio: 16 / 10;
  min-height: 120px;
}

.video-tile-focused {
  border-color: rgba(59, 130, 246, 0.55);
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.16), 0 18px 40px rgba(15, 23, 42, 0.22);
}

.video-tile.video-tile-webinar-broadcast {
  border-color: rgba(124, 58, 237, 0.26);
  box-shadow: 0 18px 42px rgba(91, 33, 182, 0.16);
}

.video-tile.video-tile-webinar-attendee {
  transform: scale(0.985);
  border-color: rgba(148, 163, 184, 0.18);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.video-tile.video-tile-webinar-attendee video {
  filter: saturate(0.88) brightness(0.92);
}

.video-tile.video-tile-webinar-attendee .video-tile-label {
  background: rgba(30, 41, 59, 0.56);
  color: #e2e8f0;
}

.video-tile.video-tile-webinar-broadcast .video-tile-badge {
  background: rgba(124, 58, 237, 0.12);
  border-color: rgba(124, 58, 237, 0.24);
  color: #6d28d9;
}

.video-tile.video-tile-webinar-attendee .video-tile-badge {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(203, 213, 225, 0.9);
  color: #64748b;
}

.webinar-audience-grid .video-tile.video-tile-webinar-attendee {
  min-height: 132px;
  aspect-ratio: 16 / 10;
}

.video-tile-actions {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  display: flex;
  gap: 0.45rem;
  z-index: 2;
}

.video-action-btn {
  height: 34px;
  padding: 0 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(15, 23, 42, 0.48);
  color: #f8fafc;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

.video-action-btn:hover {
  background: rgba(30, 41, 59, 0.86);
}

.video-tile-label {
  position: absolute;
  bottom: 0.85rem;
  left: 0.85rem;
  padding: 0.42rem 0.72rem;
  background: rgba(15, 23, 42, 0.72);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 600;
  z-index: 2;
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: #fff;
  max-width: calc(100% - 1.7rem);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.video-tile-label strong {
  font-weight: 800;
}

.video-tile-badge {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  padding: 0.34rem 0.64rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255,255,255,0.85);
  border-radius: 999px;
  font-size: 0.67rem;
  color: #0f172a;
  font-weight: 700;
  z-index: 2;
}

.video-tile-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.95rem;
  color: #cbd5e1;
  background:
    radial-gradient(circle at center, rgba(255,255,255,0.08), transparent 54%),
    linear-gradient(180deg, rgba(30,41,59,0.84), rgba(15,23,42,0.96));
}

.video-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(59,130,246,0.24), rgba(14,165,233,0.16));
  border: 2px solid rgba(255,255,255,0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.video-tile-placeholder p {
  font-size: 0.92rem;
  font-weight: 500;
}

.video-avatar-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  text-align: center;
}

.video-avatar-meta strong {
  font-size: 1rem;
  font-weight: 800;
  color: #f8fafc;
  max-width: min(24rem, 80vw);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.video-avatar-meta span {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(226, 232, 240, 0.78);
}

.video-avatar-meta p {
  margin: 0.2rem 0 0;
}

.overflow-face-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-gap: 0.65rem;
  gap: 0.65rem;
  margin-bottom: 0.9rem;
}

.overflow-face-card {
  position: relative;
  min-height: 104px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(15,23,42,0.62);
  padding: 0;
  cursor: pointer;
}

.overflow-face-card video {
  width: 100%;
  height: 100%;
  min-height: 104px;
  object-fit: cover;
  display: block;
  background: #020617;
}

.overflow-face-label {
  position: absolute;
  left: 0.5rem;
  right: 0.5rem;
  bottom: 0.5rem;
  padding: 0.32rem 0.5rem;
  border-radius: 999px;
  background: rgba(2,6,23,0.74);
  color: var(--text-primary);
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* controls bar */
.controls-bar {
  display: grid;
  justify-content: center;
  grid-gap: 0.45rem;
  gap: 0.45rem;
  padding: 0.72rem 0.82rem;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(248,250,252,0.98) 100%);
  border: 1px solid rgba(226, 232, 240, 0.92);
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
  position: -webkit-sticky;
  position: sticky;
  bottom: 0;
  z-index: 25;
  flex-shrink: 0;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.1);
  border-radius: 22px;
  width: -moz-fit-content;
  width: fit-content;
  max-width: calc(100% - 2rem);
  overflow: visible;
}

.room-content:not(.room-content-embedded) .video-area {
  padding-bottom: 5rem;
}

.room-content:not(.room-content-embedded) .controls-bar {
  position: -webkit-sticky;
  position: sticky;
  left: auto;
  right: auto;
  bottom: 1rem;
  z-index: 20;
  margin: 0 auto 1rem;
}

.ctrl-btn {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(203, 213, 225, 0.92);
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  color: #334155;
  font-size: 0.94rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.07);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
  line-height: 1;
  position: relative;
  overflow: hidden;
}

.ctrl-btn::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0.88) 0%, rgba(255,255,255,0.3) 100%);
  pointer-events: none;
  opacity: 0.8;
}

.ctrl-btn:hover {
  background: linear-gradient(180deg, #ffffff 0%, #eef2ff 100%);
  border-color: rgba(129, 140, 248, 0.32);
  box-shadow: 0 14px 28px rgba(79, 70, 229, 0.14);
  transform: translateY(-1px);
}

.ctrl-btn.danger {
  background: linear-gradient(180deg, #fff1f2 0%, #ffe4e6 100%);
  border-color: rgba(251, 113, 133, 0.7);
  color: #e11d48;
  width: 42px;
  height: 42px;
  font-size: 0.94rem;
  box-shadow: 0 12px 24px rgba(225, 29, 72, 0.14);
}

.ctrl-btn.danger:hover {
  background: linear-gradient(180deg, #ffe4e6 0%, #fecdd3 100%);
  box-shadow: 0 16px 30px rgba(225, 29, 72, 0.2);
}

.ctrl-btn.active {
  background: linear-gradient(180deg, rgba(237,233,254,0.94) 0%, rgba(224,231,255,0.94) 100%);
  border-color: rgba(109, 40, 217, 0.28);
  color: #6d28d9;
  box-shadow: 0 14px 28px rgba(109, 40, 217, 0.16);
}

.ctrl-btn-call {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  border: none;
  background: linear-gradient(135deg, #ef4444, #f97316);
  color: #fff;
  font-size: 1.04rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.2s;
}

.ctrl-btn-call:hover {
  box-shadow: 0 0 25px rgba(109, 40, 217, 0.25);
  transform: scale(1.05);
}

.prejoin-quick-controls {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-gap: 0.65rem;
  gap: 0.65rem;
  padding-top: 0.35rem;
}

.prejoin-quick-btn {
  min-height: 58px;
  border-radius: 16px;
  border: 1px solid rgba(203, 213, 225, 0.96);
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  color: #334155;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.8rem 0.85rem;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.prejoin-quick-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(59, 130, 246, 0.28);
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.12);
}

.prejoin-quick-btn.active {
  background: linear-gradient(180deg, rgba(237,233,254,0.94) 0%, rgba(224,231,255,0.94) 100%);
  border-color: rgba(109, 40, 217, 0.24);
  color: #5b21b6;
  box-shadow: 0 14px 26px rgba(109, 40, 217, 0.12);
}

.prejoin-quick-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.prejoin-quick-btn-icon {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(109, 40, 217, 0.08);
  font-size: 1rem;
  flex: 0 0 34px;
}

.prejoin-quick-btn.active .prejoin-quick-btn-icon {
  background: rgba(109, 40, 217, 0.14);
}

.prejoin-quick-btn-copy {
  min-width: 0;
  display: grid;
  grid-gap: 0.1rem;
  gap: 0.1rem;
  text-align: left;
}

.prejoin-quick-btn-copy strong {
  color: inherit;
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.1;
}

.prejoin-quick-btn-copy small {
  color: #64748b;
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.2;
}

.controls-bar select {
  height: 44px;
  border-radius: 999px;
  padding: 0 0.9rem;
  border: 1px solid rgba(203, 213, 225, 0.92);
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  color: #475569;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

/* sidebar */
.room-sidebar {
  border-left: 0;
  background:
    radial-gradient(circle at top, rgba(241,245,249,0.9) 0%, rgba(255,255,255,0) 26%),
    linear-gradient(180deg, rgba(255,255,255,0.99) 0%, rgba(247,250,252,0.99) 100%);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 0;
  height: 100%;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  align-self: stretch;
  box-shadow: none;
}

.room-sidebar.room-sidebar-webinar {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(250,245,255,0.98) 100%);
  border-left-color: transparent;
}

.room-sidebar.room-sidebar-webinar .sidebar-content {
  padding-inline: 1rem;
}

.room-sidebar.room-sidebar-webinar .sidebar-tab.active {
  color: #7c3aed;
  border-bottom-color: #7c3aed;
}

.room-sidebar.room-sidebar-webinar .sidebar-section-title {
  color: #6d28d9;
}

.room-sidebar.room-sidebar-embedded {
  background: rgba(255,255,255,0.98);
}

.room-sidebar select,
.room-sidebar input:not([type="checkbox"]):not([type="radio"]),
.room-sidebar textarea {
  background: #ffffff !important;
  color: #0f172a !important;
  border-color: #dbe4f0 !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.65);
}

.room-sidebar select::placeholder,
.room-sidebar input:not([type="checkbox"]):not([type="radio"])::placeholder,
.room-sidebar textarea::placeholder {
  color: #94a3b8 !important;
  opacity: 1;
}

.room-sidebar select:disabled,
.room-sidebar input:not([type="checkbox"]):not([type="radio"]):disabled,
.room-sidebar textarea:disabled {
  background: #f8fafc !important;
  color: #94a3b8 !important;
}

.room-sidebar option {
  background: #ffffff;
  color: #0f172a;
}

.sidebar-tabs {
  display: flex;
  gap: 0.45rem;
  border-bottom: 1px solid rgba(226, 232, 240, 0.82);
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(255,255,255,0.96);
  padding: 0.8rem 0.85rem 0.7rem;
  -webkit-backdrop-filter: blur(18px);
          backdrop-filter: blur(18px);
}

.sidebar-tab {
  flex: 1 1;
  min-height: 46px;
  padding: 0.84rem 0.6rem;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(226,232,240,0.72);
  border-radius: 16px;
  color: #475569;
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 800;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s, box-shadow 0.2s, transform 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.sidebar-tab:hover {
  background: #fff;
  border-color: rgba(203, 213, 225, 0.95);
  color: #0f172a;
  transform: translateY(-1px);
}

.sidebar-tab.active {
  color: #111827;
  border-color: rgba(17,24,39,0.18);
  background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(248,250,252,0.98) 100%);
  box-shadow: 0 10px 22px rgba(15,23,42,0.08);
}

.sidebar-content {
  flex: 1 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 1rem 1rem 1.15rem;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.58) 0%, rgba(248,250,252,0.78) 100%);
}

.meeting-shell {
  width: min(1600px, calc(100% - 24px));
  margin: 14px auto;
  border-radius: 28px;
  border: 1px solid rgba(223, 230, 242, 0.96);
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
  box-shadow: 0 18px 48px rgba(148, 163, 184, 0.18);
  overflow: hidden;
}

.room-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(96, 165, 250, 0.08), transparent 16%),
    linear-gradient(180deg, #f7faff 0%, #f2f6fc 100%);
}

.room-topbar {
  min-height: 84px;
  padding: 1rem 1.5rem;
  gap: 1rem;
  border-bottom: 1px solid rgba(226, 232, 240, 0.92);
  background: rgba(255, 255, 255, 0.94);
}

.room-topbar-left,
.room-topbar-right {
  gap: 0.85rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.room-logo {
  min-width: max-content;
  font-size: 1.2rem;
}

.room-session-meta {
  display: grid;
  grid-gap: 0.3rem;
  gap: 0.3rem;
  padding-left: 1rem;
  border-left: 1px solid rgba(226, 232, 240, 0.98);
}

.room-session-title {
  color: #0f172a;
  font-size: 1rem;
  font-weight: 800;
}

.room-id-badge {
  gap: 0.55rem;
  min-height: 36px;
  padding: 0 0.75rem;
  border-radius: 16px;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

.room-id-badge span {
  font-size: 0.81rem;
  color: #64748b;
  font-family: var(--font-body);
  font-weight: 700;
}

.room-id-copy-btn {
  color: #94a3b8;
  font-size: 0.88rem;
}

.room-mode-tabs {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-left: auto;
}

.room-mode-tab {
  min-width: 96px;
  height: 40px;
  padding: 0 0.85rem;
  border-radius: 12px;
  border: 1px solid transparent;
  background: transparent;
  color: #475569;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  position: relative;
}

.room-mode-tab.active {
  color: #2563eb;
  background: rgba(234, 241, 255, 0.9);
  border-color: rgba(191, 219, 254, 0.9);
}

.room-mode-tab.active::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: -12px;
  height: 3px;
  border-radius: 999px;
  background: #2563eb;
}

.room-topbar-pill,
.room-topbar-icon-btn,
.room-host-chip {
  min-height: 40px;
  border-radius: 14px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.room-topbar-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0 1rem;
  color: #0f172a;
  font-size: 0.84rem;
  font-weight: 700;
}

.room-topbar-pill-action {
  cursor: pointer;
  color: #0ea5e9;
}

.room-topbar-pill-action-primary {
  background: linear-gradient(180deg, rgba(124, 58, 237, 0.95) 0%, rgba(109, 40, 217, 0.94) 100%);
  border-color: rgba(124, 58, 237, 0.35);
  color: #fff;
  box-shadow: 0 14px 28px rgba(124, 58, 237, 0.22);
}

.room-topbar-pill-waiting {
  color: #ea580c;
}

.room-topbar-pill-waiting.is-idle {
  color: #64748b;
}

.room-topbar-pill-waiting.is-idle .room-pill-dot {
  background: #cbd5e1;
  box-shadow: 0 0 0 5px rgba(203, 213, 225, 0.18);
}

.room-topbar-sidebar-btn {
  display: inline-grid;
}

.room-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #fb923c;
  box-shadow: 0 0 0 5px rgba(251, 146, 60, 0.14);
}

.room-topbar-icon-btn {
  width: 40px;
  display: inline-grid;
  place-items: center;
  color: #475569;
  cursor: pointer;
}

.room-host-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0 0.85rem 0 0.4rem;
}

.room-host-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(135deg, #14b8a6, #22c55e);
  color: #fff;
  font-size: 0.84rem;
  font-weight: 800;
}

.room-host-caret {
  color: #64748b;
  font-size: 0.82rem;
}

.connection-status {
  padding: 0.55rem 0.8rem;
  border-radius: 14px;
}

.room-content {
  grid-template-columns: minmax(0, 1fr) 380px;
  background: #f6f8fc;
  transition: grid-template-columns 0.24s ease;
}

.video-area {
  padding: 1rem;
  gap: 1rem;
  background: #f6f8fc;
}

.meeting-stage-insights,
.meeting-gallery-head {
  background: rgba(255, 255, 255, 0.92);
  color: #0f172a;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 22px;
  box-shadow: 0 12px 30px rgba(148, 163, 184, 0.1);
}

.meeting-stage-insights {
  padding: 1rem 1.1rem;
}

.meeting-stage-live-row,
.meeting-stage-layout-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.meeting-stage-insights-copy {
  display: grid;
  grid-gap: 0.7rem;
  gap: 0.7rem;
}

.meeting-stage-layout-row {
  justify-content: space-between;
}

.meeting-stage-layout-label {
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.meeting-stage-live-pill {
  min-height: 34px;
  padding: 0 0.9rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  background: linear-gradient(180deg, rgba(220, 252, 231, 0.98) 0%, rgba(209, 250, 229, 0.92) 100%);
  color: #16a34a;
  font-size: 0.84rem;
  font-weight: 800;
}

.meeting-stage-live-metric {
  color: #334155;
  font-size: 0.88rem;
  font-weight: 600;
}

.meeting-stage-host-banner {
  margin-top: 0.8rem;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(96, 165, 250, 0.22);
  background: linear-gradient(180deg, rgba(239, 246, 255, 0.98) 0%, rgba(224, 242, 254, 0.96) 100%);
  box-shadow: 0 12px 26px rgba(148, 163, 184, 0.08);
  display: grid;
  grid-gap: 0.75rem;
  gap: 0.75rem;
  color: #0f172a;
}

.meeting-stage-host-banner-copy {
  display: grid;
  grid-gap: 0.25rem;
  gap: 0.25rem;
}

.meeting-stage-host-banner strong {
  font-size: 0.92rem;
}

.meeting-stage-host-banner span {
  color: #475569;
  font-size: 0.82rem;
}

.meeting-stage-host-banner-actions {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.meeting-stage-host-action {
  min-height: 38px;
  padding: 0 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  background: #fff;
  color: #334155;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.meeting-stage-host-action.is-disabled {
  color: #94a3b8;
  background: rgba(248, 250, 252, 0.96);
  cursor: not-allowed;
  opacity: 0.72;
}

.meeting-empty-stage-shell {
  position: relative;
  display: grid;
  min-height: 0;
}

.meeting-empty-stage-video {
  min-width: 0;
}

.meeting-empty-stage-video .video-tile-stage {
  min-height: min(54vh, 560px);
}

.meeting-empty-stage-card {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: grid;
  align-content: center;
  grid-gap: 0.42rem;
  gap: 0.42rem;
  padding: 0.82rem 0.92rem;
  width: min(360px, calc(100% - 36px));
  border-radius: 20px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  background: linear-gradient(180deg, rgba(255,255,255,0.90) 0%, rgba(248,250,252,0.88) 100%);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

.meeting-empty-stage-kicker {
  color: #7c3aed;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.meeting-empty-stage-card h3 {
  margin: 0;
  color: #0f172a;
  font-size: 1.06rem;
  line-height: 1.1;
}

.meeting-empty-stage-card p {
  margin: 0;
  color: #475569;
  font-size: 0.8rem;
  line-height: 1.4;
}

.meeting-empty-stage-actions {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin-top: 0.1rem;
}

.meeting-empty-stage-primary,
.meeting-empty-stage-secondary {
  min-height: 44px;
  padding: 0 1rem;
  border-radius: 14px;
  font-size: 0.86rem;
  font-weight: 800;
  cursor: pointer;
}

.meeting-empty-stage-primary {
  border: 1px solid rgba(124, 58, 237, 0.25);
  background: linear-gradient(180deg, rgba(124, 58, 237, 0.96) 0%, rgba(109, 40, 217, 0.94) 100%);
  color: #fff;
}

.meeting-empty-stage-secondary {
  border: 1px solid rgba(226, 232, 240, 0.95);
  background: #fff;
  color: #334155;
}

.meeting-stage-insights-title,
.meeting-stage-insights-sub {
  display: none;
}

.meeting-stage-insights-metrics span {
  height: 36px;
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.98);
  color: #475569;
}

.meeting-gallery-head {
  padding: 0.9rem 1rem;
}

.meeting-gallery-kicker {
  text-transform: none;
  letter-spacing: 0;
  color: #111827;
  font-size: 0.92rem;
}

.meeting-gallery-meta {
  margin-top: 0.2rem;
  font-size: 0.78rem;
  color: #64748b;
}

.meeting-grid-switcher {
  padding: 0.25rem;
  border-radius: 16px;
}

.meeting-grid-switcher-btn {
  min-width: 38px;
  height: 36px;
  border-radius: 12px;
}

.meeting-grid-pager {
  border-radius: 16px;
}

.video-grid,
.video-stage-layout,
.webinar-stage-shell {
  border-radius: 24px;
}

.video-grid {
  padding: 0.35rem;
  background: linear-gradient(180deg, #081325 0%, #0f1b30 100%);
  border: 1px solid rgba(15, 23, 42, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.03);
}

.video-stage-layout,
.webinar-stage-shell {
  padding: 0.5rem;
  background: linear-gradient(180deg, #081325 0%, #0f1b30 100%);
  border: 1px solid rgba(15, 23, 42, 0.18);
}

.video-tile {
  border-radius: 20px;
  border-color: rgba(255,255,255,0.12);
}

.video-tile-overflow {
  display: grid;
  place-items: center;
  grid-gap: 0.22rem;
  gap: 0.22rem;
  text-align: center;
  cursor: pointer;
  padding: 1.2rem;
  background:
    radial-gradient(circle at 30% 25%, rgba(124, 58, 237, 0.22) 0%, rgba(124, 58, 237, 0) 36%),
    linear-gradient(180deg, rgba(11, 25, 48, 0.98) 0%, rgba(7, 17, 31, 0.98) 100%);
  border: 1px solid rgba(148, 163, 184, 0.18);
  color: #f8fafc;
}

.video-tile-overflow:hover {
  border-color: rgba(96, 165, 250, 0.36);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.28);
}

.video-tile-overflow-count {
  font-size: clamp(2rem, 3vw, 2.6rem);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.video-tile-overflow-title {
  font-size: 0.94rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(226, 232, 240, 0.92);
}

.video-tile-overflow-copy {
  font-size: 0.8rem;
  color: rgba(191, 219, 254, 0.92);
}

.video-tile-stage {
  min-height: min(68vh, 760px);
}

.controls-bar {
  justify-content: center;
  gap: 0.75rem;
  padding: 0.82rem;
  border-radius: 20px;
  margin-top: 0.15rem;
  flex-wrap: nowrap;
  overflow: visible;
}

.room-content:not(.room-content-embedded) .controls-bar {
  bottom: 0.2rem;
  min-height: 82px;
}

.controls-dock-row-primary {
  align-items: center;
  gap: 0.7rem;
}

.ctrl-btn[data-label] {
  width: 50px;
  height: 52px;
  padding-top: 0.34rem;
  align-items: flex-start;
}

.ctrl-btn[data-label]::after {
  content: attr(data-label);
  position: absolute;
  left: 50%;
  bottom: 0.24rem;
  transform: translateX(-50%);
  color: #334155;
  font-size: 0.56rem;
  font-weight: 700;
  white-space: nowrap;
}

.ctrl-btn {
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.ctrl-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(15, 23, 42, 0.12);
}

.ctrl-btn.active {
  border-color: rgba(124, 58, 237, 0.32);
  background: linear-gradient(180deg, rgba(245, 243, 255, 0.98) 0%, rgba(237, 233, 254, 0.98) 100%);
  color: #7c3aed;
}

.ctrl-btn-leave {
  margin-left: 0.4rem;
  box-shadow: 0 12px 24px rgba(244, 63, 94, 0.18);
}

.ctrl-btn[data-compact="true"] {
  width: 42px;
  height: 42px;
  border-radius: 12px;
}

.meeting-lang-select {
  min-width: 100%;
}

.room-sidebar {
  border-left-color: transparent;
  background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(249,251,255,0.98) 100%);
}

.sidebar-tabs {
  gap: 0.15rem;
  padding: 1rem 1rem 0.7rem;
  background: rgba(255,255,255,0.94);
  flex-wrap: nowrap;
}

.sidebar-tab {
  flex: 1 1;
  min-height: 44px;
  padding: 0.7rem 0.5rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.8rem;
  color: #475569;
  position: relative;
  white-space: nowrap;
  transition: color 0.18s ease, background 0.18s ease;
}

.sidebar-tab:hover {
  color: #312e81;
  background: rgba(124, 58, 237, 0.06);
}

.sidebar-tab.active {
  color: #7c3aed;
  background: rgba(124, 58, 237, 0.08);
  box-shadow: none;
  font-weight: 800;
  border: 0;
  outline: none;
}

.sidebar-tab.active::after {
  content: "";
  position: absolute;
  left: 0.55rem;
  right: 0.55rem;
  bottom: -0.15rem;
  height: 3px;
  border-radius: 999px;
  background: #7c3aed;
}

.sidebar-tab:focus,
.sidebar-tab:focus-visible {
  outline: none;
  box-shadow: none;
}

.sidebar-empty-state-card {
  display: grid;
  grid-gap: 0.35rem;
  gap: 0.35rem;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  background: linear-gradient(180deg, rgba(248,250,252,0.98) 0%, rgba(255,255,255,0.98) 100%);
  color: #475569;
  font-size: 0.82rem;
  line-height: 1.5;
}

.sidebar-empty-state-card strong {
  color: #0f172a;
  font-size: 0.86rem;
}

.sidebar-empty-state-card-chat {
  margin-top: 1.6rem;
  text-align: center;
}

.sidebar-card-head-screenshot {
  align-items: center !important;
}

.sidebar-card-head-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.sidebar-session-badge,
.sidebar-count-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 30px;
  padding: 0 0.75rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(226,232,240,0.95);
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 700;
}

.sidebar-session-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34,197,94,0.12);
}

.sidebar-head-icon-btn {
  width: 30px;
  height: 30px;
  border: 1px solid rgba(226,232,240,0.95);
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
  color: #64748b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.8rem;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.sidebar-head-icon-btn.is-open {
  transform: rotate(180deg);
}

.sidebar-people-card {
  border-radius: 26px !important;
}

.sidebar-participant-summary-shell {
  margin-top: 0.55rem;
  display: grid;
  grid-gap: 0.7rem;
  gap: 0.7rem;
  padding: 0.85rem;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(249,250,255,0.98));
  border: 1px solid rgba(237,240,255,0.96);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.92);
  overflow: visible;
}

.sidebar-people-collapsed-note {
  padding: 0.85rem 0.25rem 0.15rem;
  color: #64748b;
  font-size: 0.8rem;
}

.sidebar-participant-stack-card {
  display: none;
  border-radius: 26px !important;
}

.sidebar-participant-list-shell {
  display: grid;
  grid-gap: 0.8rem;
  gap: 0.8rem;
}

.sidebar-participant-list-shell-embedded {
  margin-top: 0.1rem;
  padding-top: 0.15rem;
  border-top: 1px solid rgba(226, 232, 240, 0.72);
}

.sidebar-invite-people-btn {
  min-height: 42px;
  width: 100%;
  border-radius: 13px;
  border: 1px solid rgba(129,140,248,0.3);
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(245,247,255,0.98));
  color: #4f46e5;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(99,102,241,0.06);
}

.sidebar-invite-people-btn:hover {
  background: linear-gradient(180deg, rgba(247,247,255,1), rgba(238,242,255,0.98));
}

.sidebar-participant-stack-card .sidebar-invite-people-btn {
  margin-top: 0.2rem;
}

.participant-badge {
  display: inline-flex;
  align-items: center;
  margin-left: 0.45rem;
  padding: 0.16rem 0.5rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  vertical-align: middle;
}

.participant-badge-host {
  background: rgba(124, 58, 237, 0.1);
  color: #7c3aed;
  border: 1px solid rgba(124, 58, 237, 0.16);
}

.participant-icons {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.sidebar-status-icon,
.participant-action-status span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  background: rgba(248, 250, 252, 0.96);
  color: #64748b;
  font-size: 0.7rem;
  font-weight: 700;
}

.sidebar-status-icon.is-live,
.participant-action-status span:first-child {
  color: #0f766e;
  background: rgba(236, 253, 245, 0.98);
  border-color: rgba(16, 185, 129, 0.18);
}

.participant-action-status {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.sidebar-room-control-item {
  grid-template-columns: 34px minmax(0, 1fr) auto 16px;
  gap: 0.6rem;
  width: 100%;
  text-align: left;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  border: 0;
  font: inherit;
  cursor: default;
}

.sidebar-room-control-item.is-interactive {
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.sidebar-room-control-item.is-interactive:hover {
  background: rgba(124, 58, 237, 0.04);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
  transform: translateY(-1px);
}

.sidebar-room-control-item.is-disabled {
  opacity: 0.78;
}

.sidebar-room-control-item:focus,
.sidebar-room-control-item:focus-visible {
  outline: none;
}

.sidebar-room-control-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  min-height: 28px;
  padding: 0 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  border: 1px solid rgba(226, 232, 240, 0.95);
}

.sidebar-room-control-status.is-on {
  color: #16a34a;
  background: rgba(220, 252, 231, 0.98);
  border-color: rgba(134, 239, 172, 0.8);
}

.sidebar-room-control-status.is-off {
  color: #f43f5e;
  background: rgba(255, 241, 242, 0.98);
  border-color: rgba(253, 164, 175, 0.8);
}

.sidebar-unified-card {
  border-radius: 26px !important;
}

.sidebar-unified-card > div:first-child {
  align-items: flex-start !important;
}

.sidebar-unified-card [style*="Meeting Info"],
.sidebar-unified-card [style*="Meeting Access"],
.sidebar-unified-card [style*="Guest access"] {
  letter-spacing: -0.01em;
}

.sidebar-overview-copy {
  display: grid;
  grid-gap: 0.38rem;
  gap: 0.38rem;
  font-size: 0.84rem !important;
  line-height: 1.72 !important;
  color: #334155 !important;
}

.sidebar-unified-subcard {
  border-radius: 20px !important;
  padding: 0.88rem !important;
  background: linear-gradient(180deg, rgba(255,255,255,0.94), rgba(248,250,252,0.92)) !important;
  border: 1px solid rgba(226,232,240,0.94) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.85);
}

.sidebar-unified-subcard > div:first-child {
  font-size: 0.74rem;
  letter-spacing: 0.12em;
}

.sidebar-unified-subcard [style*="line-height: 1.35"],
.sidebar-unified-subcard [style*="line-height: 1.45"] {
  color: #475569 !important;
  font-size: 0.82rem !important;
}

.sidebar-unified-action-row {
  align-items: stretch;
}

.sidebar-unified-action-row > button {
  min-height: 38px;
  padding-left: 0.9rem !important;
  padding-right: 0.9rem !important;
  border-radius: 13px !important;
  font-size: 0.77rem !important;
  font-weight: 800 !important;
}

.sidebar-unified-stack {
  gap: 0.72rem !important;
}

.sidebar-training-card {
  border-radius: 28px !important;
  background: linear-gradient(180deg, rgba(240,253,244,0.98), rgba(236,253,245,0.96)) !important;
  border: 1px solid rgba(134,239,172,0.55) !important;
  box-shadow: 0 18px 36px rgba(22,163,74,0.07) !important;
  color: #102033 !important;
}

.sidebar-training-card,
.sidebar-training-card * {
  text-shadow: none !important;
  -webkit-text-fill-color: initial;
}

.sidebar-training-card [style*="Lesson Stage"],
.sidebar-training-card [style*="Training"],
.sidebar-training-card [style*="var(--text-primary)"],
.sidebar-training-card [style*="var(--text-secondary)"],
.sidebar-training-card [style*="var(--text-muted)"] {
  color: #1e293b !important;
}

.sidebar-training-card strong,
.sidebar-training-card b {
  color: #0f172a !important;
}

.sidebar-training-copy {
  color: #234032 !important;
  font-size: 0.84rem !important;
  line-height: 1.68 !important;
  font-weight: 700 !important;
}

.sidebar-training-chip-row {
  margin-top: 0.05rem;
}

.sidebar-training-chip {
  border: 1px solid transparent;
  font-weight: 700 !important;
}

.sidebar-training-chip-neutral {
  background: rgba(255,255,255,0.88) !important;
  border-color: rgba(203,213,225,0.9) !important;
  color: #475569 !important;
}

.sidebar-training-chip-live {
  background: rgba(16,185,129,0.14) !important;
  border-color: rgba(16,185,129,0.22) !important;
  color: #047857 !important;
}

.sidebar-training-chip-ontime {
  background: rgba(59,130,246,0.14) !important;
  border-color: rgba(96,165,250,0.22) !important;
  color: #1d4ed8 !important;
}

.sidebar-training-chip-late {
  background: rgba(245,158,11,0.15) !important;
  border-color: rgba(245,158,11,0.24) !important;
  color: #b45309 !important;
}

.sidebar-training-chip-ready {
  background: rgba(139,92,246,0.14) !important;
  border-color: rgba(139,92,246,0.2) !important;
  color: #7c3aed !important;
}

.sidebar-training-surface {
  background: rgba(255,255,255,0.98) !important;
  border: 1px solid rgba(148,163,184,0.72) !important;
  box-shadow: 0 10px 22px rgba(15,23,42,0.06), inset 0 1px 0 rgba(255,255,255,0.96);
}

.sidebar-training-surface [style*="Temporary learner grant window"],
.sidebar-training-surface [style*="Completion & certificate rules"],
.sidebar-training-surface [style*="Completion threshold"],
.sidebar-training-surface [style*="Minimum watch time"],
.sidebar-training-surface > div:first-child,
.sidebar-training-surface > div:first-child > div:first-child,
.sidebar-training-surface > div:first-child > div:nth-child(2) {
  color: #0f172a !important;
}

.sidebar-training-surface > div:first-child,
.sidebar-training-surface > div:first-child > div:first-child {
  font-weight: 850 !important;
}

.sidebar-training-surface > div:first-child > div:nth-child(2),
.sidebar-training-surface label,
.sidebar-training-surface .sidebar-training-copy {
  color: #475569 !important;
}

.sidebar-training-surface label {
  font-size: 0.8rem !important;
  font-weight: 800 !important;
}

.sidebar-training-surface select {
  background: #ffffff !important;
  border: 1px solid #c5d2e2 !important;
  color: #0f172a !important;
  font-weight: 850 !important;
  box-shadow: 0 8px 18px rgba(15,23,42,0.08) !important;
}

.sidebar-training-surface select option {
  color: #0f172a !important;
  background: #ffffff !important;
}

.sidebar-training-surface button {
  color: #0f172a !important;
  font-weight: 850 !important;
}

.sidebar-training-card button {
  font-weight: 850 !important;
}

.sidebar-training-card button[style*="255,255,255,0.05"],
.sidebar-training-card button[style*="255, 255, 255, 0.05"] {
  background: rgba(255,255,255,0.9) !important;
  border-color: rgba(148,163,184,0.45) !important;
  color: #334155 !important;
}

.sidebar-training-card [style*="#34d399"] {
  color: #047857 !important;
}

.sidebar-training-card [style*="#fb7185"] {
  color: #be123c !important;
}

.sidebar-training-card [style*="#60a5fa"] {
  color: #1d4ed8 !important;
}

.sidebar-training-card [style*="var(--accent-amber)"] {
  color: #b45309 !important;
}

.sidebar-training-surface button[style*="59, 130, 246"],
.sidebar-training-surface button[style*="59,130,246"] {
  color: #1d4ed8 !important;
  background: rgba(219,234,254,0.96) !important;
  border-color: rgba(59,130,246,0.35) !important;
}

.sidebar-training-surface button[style*="168, 85, 247"],
.sidebar-training-surface button[style*="168,85,247"] {
  color: #6d28d9 !important;
  background: rgba(243,232,255,0.96) !important;
  border-color: rgba(168,85,247,0.35) !important;
}

.sidebar-training-surface button[style*="16, 185, 129"],
.sidebar-training-surface button[style*="16,185,129"] {
  color: #047857 !important;
  background: rgba(209,250,229,0.96) !important;
  border-color: rgba(16,185,129,0.32) !important;
}

.sidebar-training-attendance-row {
  background: rgba(255,255,255,0.96) !important;
  border: 1px solid rgba(203,213,225,0.9) !important;
  box-shadow: 0 10px 24px rgba(15,23,42,0.07);
}

.sidebar-training-attendance-row span,
.sidebar-training-attendance-row div {
  color: #334155 !important;
}

.sidebar-training-attendance-row > div:first-child,
.sidebar-training-attendance-row > div:first-child span:first-child {
  color: #0f172a !important;
  font-weight: 850 !important;
}

.sidebar-training-attendance-row [style*="fontSize: \"0.75rem\""],
.sidebar-training-attendance-row [style*="font-size: 0.75rem"] {
  font-weight: 700 !important;
}

.sidebar-training-attendance-row [style*="rgba(16,185,129"],
.sidebar-training-attendance-row [style*="rgba(16, 185, 129"] {
  color: #047857 !important;
}

.sidebar-training-attendance-row [style*="rgba(244,63,94"],
.sidebar-training-attendance-row [style*="rgba(244, 63, 94"] {
  color: #be123c !important;
}

.sidebar-training-card [style*="Avg watch"],
.sidebar-training-card [style*="Live attendance"] {
  color: #1e293b !important;
}

.sidebar-training-card [style*="Approvals auto-expire after the selected duration"],
.sidebar-training-card [style*="Learners are marked"],
.sidebar-training-card [style*="Temporary mic/cam/share approvals expire automatically"] {
  color: #334155 !important;
}

@media (max-width: 1180px) {
  .meeting-empty-stage-shell {
    grid-template-columns: 1fr;
  }

  .meeting-empty-stage-card {
    left: 18px;
    bottom: 18px;
    width: min(400px, calc(100% - 36px));
    padding: 1rem;
  }
}

@media (max-width: 860px) {
  .meeting-empty-stage-card {
    position: static;
    width: 100%;
    margin-top: 12px;
  }

  .meeting-stage-host-banner-actions {
    width: 100%;
  }

  .meeting-stage-host-action {
    flex: 1 1 140px;
    justify-content: center;
  }
}

.sidebar-content {
  padding: 0.85rem;
}

.meeting-gallery-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.35rem 0.15rem 0;
  color: #64748b;
  font-size: 0.72rem;
}

.meeting-gallery-footer-dots {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.meeting-gallery-footer-dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: #cbd5e1;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.meeting-gallery-footer-dots button.active {
  background: #8b5cf6;
  transform: scale(1.15);
}

.sidebar-section-title {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #475569;
  font-weight: 800;
  margin-bottom: 0.75rem;
  margin-top: 0.5rem;
  padding-left: 0.75rem;
  position: relative;
}

.sidebar-section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.1rem;
  bottom: 0.1rem;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, #8b5cf6 0%, #38bdf8 100%);
}

.webinar-info-card {
  padding: 0.8rem 0.9rem;
  border-radius: 16px;
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.webinar-info-title {
  color: #0f172a;
  font-size: 0.84rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.webinar-info-copy {
  color: #64748b;
  font-size: 0.78rem;
  line-height: 1.5;
}

.webinar-queue-card {
  margin-bottom: 0.85rem;
  padding: 0.82rem 0.9rem;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,251,235,0.96) 0%, rgba(255,255,255,0.96) 100%);
  border: 1px solid rgba(245, 158, 11, 0.22);
}

.webinar-queue-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.webinar-queue-title {
  color: #0f172a;
  font-weight: 800;
  font-size: 0.84rem;
}

.webinar-queue-subtitle {
  color: #92400e;
  font-size: 0.76rem;
  font-weight: 600;
}

.webinar-action-row {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  margin-top: 0.7rem;
}

.webinar-action-btn {
  padding: 0.4rem 0.7rem;
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 700;
  border: 1px solid transparent;
  background: #fff;
}

.webinar-action-btn-success {
  color: #047857;
  background: rgba(16,185,129,0.10);
  border-color: rgba(16,185,129,0.26);
}

.webinar-action-btn-info {
  color: #0f766e;
  background: rgba(6,182,212,0.10);
  border-color: rgba(6,182,212,0.24);
}

.webinar-action-btn-danger {
  color: #e11d48;
  background: rgba(244,63,94,0.10);
  border-color: rgba(244,63,94,0.24);
}

.webinar-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.75rem;
}

.webinar-chip {
  padding: 0.32rem 0.62rem;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #475569;
  font-size: 0.76rem;
  font-weight: 600;
}

.webinar-chip-more {
  color: #94a3b8;
  font-size: 0.76rem;
  display: inline-flex;
  align-items: center;
}

.sidebar-breakout-card {
  position: relative;
  overflow: hidden;
}

.sidebar-breakout-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 88px;
  background: linear-gradient(135deg, rgba(59,130,246,0.12), rgba(14,165,233,0.04) 58%, transparent);
  pointer-events: none;
}

.sidebar-breakout-card.is-highlighted::before {
  background: linear-gradient(135deg, rgba(37,99,235,0.18), rgba(14,165,233,0.08) 58%, transparent);
}

.sidebar-breakout-shell {
  position: relative;
  z-index: 1;
  border-radius: 20px !important;
  padding: 0.9rem !important;
  background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(248,250,252,0.88)) !important;
  border: 1px solid rgba(226,232,240,0.95) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.85);
}

.sidebar-breakout-intro {
  line-height: 1.55;
  max-width: 34ch;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(240,244,255,0.78), rgba(248,250,255,0.94));
  border: 1px solid rgba(216,227,255,0.95);
}

.sidebar-breakout-block {
  border-radius: 18px !important;
  background: linear-gradient(180deg, rgba(255,255,255,0.94), rgba(248,250,252,0.88)) !important;
  border: 1px solid rgba(226,232,240,0.92) !important;
  box-shadow: 0 10px 20px rgba(15,23,42,0.04);
}

.sidebar-breakout-block-head {
  align-items: flex-start !important;
}

.sidebar-breakout-title {
  color: #0f172a;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.sidebar-breakout-copy {
  margin-top: 0.18rem;
  color: #64748b;
  font-size: 0.76rem;
  line-height: 1.5;
  font-weight: 600;
}

.sidebar-breakout-copy-strong {
  color: #475569;
}

.sidebar-breakout-badge {
  padding: 0.24rem 0.5rem;
  border-radius: 999px;
  background: rgba(59,130,246,0.12);
  color: #2563eb;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
}

.sidebar-breakout-inline-btn {
  padding: 0.46rem 0.8rem;
  border-radius: 10px;
  border: 1px solid rgba(59,130,246,0.2);
  background: rgba(59,130,246,0.12);
  color: #2563eb;
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.2;
}

.sidebar-breakout-inline-btn.is-danger {
  background: rgba(244,63,94,0.12);
  border-color: rgba(244,63,94,0.22);
  color: #e11d48;
}

.sidebar-breakout-inline-btn.is-success {
  background: linear-gradient(180deg, rgba(220,252,231,0.98), rgba(209,250,229,0.94));
  border-color: rgba(16,185,129,0.24);
  color: #047857;
}

.sidebar-breakout-textarea {
  color: #334155;
  font-size: 0.79rem;
  line-height: 1.5;
  font-weight: 600;
}

.sidebar-breakout-textarea::placeholder {
  color: #94a3b8;
  font-weight: 600;
}

.sidebar-breakout-count-copy {
  color: #94a3b8;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
}

.sidebar-breakout-create-row,
.sidebar-breakout-action-row {
  flex-wrap: wrap;
}

.sidebar-breakout-empty-state {
  display: grid;
  justify-items: center;
  text-align: center;
  grid-gap: 0.45rem;
  gap: 0.45rem;
  padding: 1.25rem 1rem 1rem;
  border-radius: 20px;
  border: 1px dashed rgba(196,181,253,0.9);
  background:
    radial-gradient(circle at top, rgba(238,242,255,0.92), rgba(255,255,255,0.98) 62%);
}

.sidebar-breakout-empty-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 30%, rgba(199,210,254,0.95), rgba(129,140,248,0.96));
  color: #fff;
  font-size: 1.5rem;
  box-shadow: 0 12px 28px rgba(99,102,241,0.2);
}

.sidebar-breakout-empty-state strong {
  color: #0f172a;
  font-size: 0.88rem;
  font-weight: 800;
}

.sidebar-breakout-empty-state span {
  color: #64748b;
  font-size: 0.76rem;
  line-height: 1.5;
  max-width: 24ch;
}

.sidebar-breakout-empty-actions {
  margin-top: 0.35rem;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-gap: 0.55rem;
  gap: 0.55rem;
}

.sidebar-breakout-secondary-btn,
.sidebar-breakout-primary-btn {
  min-height: 39px;
  border-radius: 12px;
  font-size: 0.76rem;
  font-weight: 800;
  cursor: pointer;
}

.sidebar-breakout-secondary-btn {
  border: 1px solid rgba(129,140,248,0.32);
  background: rgba(255,255,255,0.96);
  color: #4f46e5;
}

.sidebar-breakout-primary-btn {
  border: 1px solid rgba(99,102,241,0.22);
  background: linear-gradient(135deg, #7c3aed, #6366f1);
  color: #fff;
  box-shadow: 0 12px 24px rgba(99,102,241,0.18);
}

.participant-item-self {
  position: relative;
  border-color: rgba(59,130,246,0.16);
  background:
    radial-gradient(circle at top left, rgba(191,219,254,0.36), transparent 42%),
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(248,250,252,0.92));
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) minmax(0, auto);
  grid-column-gap: 0.65rem;
  column-gap: 0.65rem;
  grid-row-gap: 0.45rem;
  row-gap: 0.45rem;
  align-items: start;
  overflow: hidden;
}

.participant-item-remote {
  position: relative;
  overflow: hidden;
}

.participant-item-remote::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(125,211,252,0.9), rgba(129,140,248,0.72));
  opacity: 0.85;
}

.participant-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.66rem;
  border-radius: 16px;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
  border: 1px solid rgba(226, 232, 240, 0.84);
  background: rgba(255,255,255,0.88);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.04);
}

.participant-item--with-actions {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  grid-column-gap: 0.75rem;
  column-gap: 0.75rem;
  grid-row-gap: 0.55rem;
  row-gap: 0.55rem;
  align-items: start;
  overflow: hidden;
}

.participant-item--with-actions > .participant-avatar {
  grid-column: 1;
  grid-row: 1;
}

.participant-item--with-actions > .participant-info {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
}

.participant-item:hover {
  background: #fff;
  border-color: rgba(129, 140, 248, 0.2);
  box-shadow: 0 14px 28px rgba(79, 70, 229, 0.08);
}

.participant-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6d28d9, #8b5cf6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
  flex-shrink: 0;
}

.participant-info {
  flex: 1 1;
  min-width: 0;
}

.participant-name {
  font-size: 0.84rem;
  font-weight: 600;
  color: #111827;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: normal;
}

.participant-role {
  font-size: 0.72rem;
  color: #64748b;
  line-height: 1.35;
  margin-top: 0.12rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.participant-icons {
  display: flex;
  gap: 0.35rem;
  color: #64748b;
  font-size: 0.75rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  max-width: 100%;
  flex: 0 1 132px;
  min-width: 0;
}

.participant-item > .participant-icons:not(.participant-actions) {
  margin-left: auto;
  max-width: 100%;
  flex: 0 1 132px;
}

.participant-actions {
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  flex: 1 1 auto;
  justify-content: flex-start;
  align-items: center;
  padding-left: 0;
  grid-column: 2;
  grid-row: 2;
}

.participant-action-status {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  color: #64748b;
  font-size: 0.75rem;
  width: 100%;
}

.participant-action-status > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 0.45rem;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(248, 250, 252, 0.8);
}

.participant-actions > button,
.participant-actions > select {
  width: auto;
  min-height: 34px;
  min-width: 0;
  flex: 0 1 auto;
  max-width: 100%;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 0.8rem;
  gap: 0.8rem;
  margin-top: 0.55rem;
}

.stat-tile {
  padding: 0.95rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(226, 232, 240, 0.94);
  border-radius: 20px;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.05);
}

.stat-tile-value {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.stat-tile-label {
  font-size: 0.69rem;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.18rem;
}

.prejoin-shell {
  -webkit-backdrop-filter: blur(18px);
          backdrop-filter: blur(18px);
}

.prejoin-shell-topbar {
  -webkit-backdrop-filter: blur(14px);
          backdrop-filter: blur(14px);
}

.prejoin-shell-grid {
  position: relative;
}

.prejoin-preview-card,
.prejoin-audio-card,
.prejoin-config-column,
.prejoin-profile-card,
.prejoin-device-check,
.prejoin-note-card,
.prejoin-journey-card {
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.06);
}

.prejoin-journey-card {
  display: grid;
  grid-gap: 0.8rem;
  gap: 0.8rem;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(15,23,42,0.08);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.prejoin-journey-title {
  color: #0f172a;
  font-size: 0.92rem;
  font-weight: 800;
}

.prejoin-journey-list {
  display: grid;
  grid-gap: 0.6rem;
  gap: 0.6rem;
}

.prejoin-journey-item {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  grid-gap: 0.7rem;
  gap: 0.7rem;
  align-items: start;
  color: #475569;
  font-size: 0.8rem;
  line-height: 1.45;
}

.prejoin-journey-item span {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #dbeafe, #ede9fe);
  color: #4f46e5;
  font-size: 0.76rem;
  font-weight: 800;
}

.prejoin-topbar-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.prejoin-preview-column,
.prejoin-config-column {
  align-self: start;
}

.prejoin-config-column {
  grid-auto-rows: max-content;
}

.prejoin-topbar-btn {
  min-height: 44px;
  padding: 0 1rem;
  border-radius: 14px;
  border: 1px solid rgba(15,23,42,0.08);
  background: #ffffff;
  color: #0f172a;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.prejoin-topbar-btn.ghost {
  background: transparent;
  box-shadow: none;
}

.prejoin-status-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-gap: 0.7rem;
  gap: 0.7rem;
}

.prejoin-status-pill {
  min-height: 56px;
  padding: 0.75rem 0.85rem;
  border-radius: 16px;
  border: 1px solid rgba(226, 232, 240, 0.96);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  color: #0f172a;
  text-align: left;
  cursor: pointer;
  display: grid;
  grid-gap: 0.12rem;
  gap: 0.12rem;
}

.prejoin-status-pill strong {
  font-size: 0.9rem;
}

.prejoin-status-pill small {
  color: #64748b;
  font-size: 0.76rem;
  font-weight: 600;
}

.prejoin-ready-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-gap: 0.75rem;
  gap: 0.75rem;
}

.prejoin-ready-item {
  padding: 0.85rem 0.6rem;
  display: grid;
  justify-items: center;
  text-align: center;
  grid-gap: 0.32rem;
  gap: 0.32rem;
}

.prejoin-ready-item strong {
  color: #0f172a;
  font-size: 0.84rem;
}

.prejoin-ready-item span {
  color: #64748b;
  font-size: 0.78rem;
  line-height: 1.4;
}

.prejoin-ready-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.92rem;
  font-weight: 800;
}

.prejoin-ready-icon.ok {
  background: rgba(16,185,129,0.12);
  color: #047857;
}

.prejoin-ready-icon.warn {
  background: rgba(245,158,11,0.12);
  color: #b45309;
}

.prejoin-footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem 1.15rem;
  border-top: 1px solid rgba(15,23,42,0.08);
  background: rgba(255,255,255,0.96);
}

.prejoin-footer-note {
  color: #64748b;
  font-size: 0.86rem;
}

.prejoin-footer-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.prejoin-footer-btn {
  min-height: 48px;
  min-width: 170px;
  padding: 0 1.1rem;
  border-radius: 14px;
  font-weight: 800;
  cursor: pointer;
  border: 1px solid rgba(15,23,42,0.08);
}

.prejoin-footer-btn.secondary {
  background: #ffffff;
  color: #0f172a;
}

.prejoin-footer-btn.primary {
  border-color: rgba(109, 40, 217, 0.22);
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  color: #ffffff;
  box-shadow: 0 16px 30px rgba(109, 40, 217, 0.22);
}

.prejoin-footer-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.prejoin-note-card-inline {
  padding: 0.95rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(15,23,42,0.08);
  background: #fff;
  color: #0f172a;
  font-size: 0.84rem;
  line-height: 1.5;
}

.prejoin-inline-linkish {
  border: none;
  background: transparent;
  color: #6d28d9;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 0;
  cursor: pointer;
  justify-self: start;
}

@media (max-width: 980px) {
  .prejoin-status-strip,
  .prejoin-ready-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .prejoin-footer-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .prejoin-footer-actions {
    width: 100%;
    justify-content: stretch;
  }

  .prejoin-footer-btn {
    flex: 1 1;
    min-width: 0;
  }
}

/* ── Waiting state ───────────────────── */
.waiting-overlay {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 1.2rem;
  text-align: center;
  padding: 2.5rem;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.94) 0%, rgba(248,250,252,0.98) 100%);
  border: 1px dashed #cbd5e1;
}

.waiting-ring {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid var(--border-subtle);
  border-top-color: var(--accent-cyan);
  animation: spin-slow 2s linear infinite;
  position: relative;
}

.waiting-ring::after {
  content: '';
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  border: 2px solid var(--border-subtle);
  border-bottom-color: var(--accent-teal);
  animation: spin-slow 1.5s linear infinite reverse;
}

.waiting-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.waiting-sub {
  color: #64748b;
  font-size: 0.96rem;
  max-width: 620px;
}

.room-link-copy {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.82rem 1.1rem;
  background: #ffffff;
  border: 1px solid #dbe3ee;
  border-radius: 14px;
  font-size: 0.84rem;
  color: #334155;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  width: 100%;
  max-width: 320px;
  justify-content: center;
}

.room-link-copy:hover {
  border-color: rgba(59,130,246,0.32);
  color: #2563eb;
  box-shadow: 0 10px 24px rgba(59,130,246,0.10);
  transform: translateY(-1px);
}

.tile-muted-badge {
  position: absolute;
  top: 0.85rem;
  right: 4.9rem;
  background: rgba(239, 68, 68, 0.92);
  border: 1px solid rgba(254, 202, 202, 0.45);
  color: #fff;
  border-radius: 999px;
  padding: 0.32rem 0.6rem;
  font-size: 0.66rem;
  font-weight: 700;
  z-index: 2;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

/* ── Footer ──────────────────────────── */
.footer {
  padding: 2rem;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.82rem;
}

/* ── Responsive ──────────────────────── */
@media (max-width: 768px) {
  .room-page {
    padding: 0;
  }

  .meeting-shell {
    width: 100%;
    border: none;
    border-radius: 0;
    box-shadow: none;
  }

  .room-content {
    grid-template-columns: 1fr;
  }

  .room-content.room-content-embedded {
    min-height: 100dvh;
  }

  /* On mobile/tablet, sidebar becomes an off-canvas bottom drawer (opened via ☰ in controls). */
  .room-sidebar.mobile-drawer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: min(62vh, 560px);
    max-height: none;
    border-left: none;
    border-top: 1px solid var(--border-subtle);
    border-radius: 14px 14px 0 0;
    z-index: 60;
    transform: translateY(105%);
    transition: transform 200ms ease;
    box-shadow: 0 -20px 60px rgba(0,0,0,0.55);
  }

  .room-sidebar.mobile-drawer.open {
    transform: translateY(0);
  }

  .room-sidebar-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 59;
  }

  .sidebar-tabs {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1;
    background: rgba(255,255,255,0.96);
    -webkit-backdrop-filter: blur(14px);
            backdrop-filter: blur(14px);
  }

  .sidebar-close {
    height: 44px;
    width: 44px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.1rem;
    flex: 0 0 44px;
  }

  .hero-stats {
    gap: 1.5rem;
  }

  .nav-links {
    display: none;
  }
}

@media (max-width: 520px) {
  .room-topbar {
    padding: calc(0.65rem + env(safe-area-inset-top)) 0.85rem 0.65rem;
  }

  .webinar-host-strip {
    padding: 0.8rem 0.85rem;
    flex-direction: column;
    align-items: stretch;
  }

  .webinar-host-strip-actions {
    justify-content: flex-start;
  }

  .room-id-badge {
    display: none;
  }

  .connection-status {
    font-size: 0.75rem;
    color: var(--text-secondary);
  }

  .video-area {
    padding: 0.85rem;
    gap: 0.75rem;
  }

  .room-content.room-content-embedded .video-area {
    padding: 0.45rem 0.45rem 6.75rem;
  }

  .video-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding-bottom: calc(0.5rem + env(safe-area-inset-bottom));
  }

  .video-grid.video-grid-count-2 {
    grid-template-columns: 1fr;
  }

  .video-grid.video-grid-count-3,
  .video-grid.video-grid-count-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .video-grid.video-grid-count-3 .video-tile:first-child {
    grid-column: 1 / -1;
  }

  .video-stage-layout {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .webinar-stage-shell {
    grid-template-columns: 1fr;
  }

  .webinar-audience-rail {
    padding: 0.8rem;
  }

  .webinar-audience-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .video-stage-strip {
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 0.2rem;
  }

  .video-toolbar {
    gap: 0.6rem;
    flex-wrap: wrap;
  }

  .video-toolbar-title {
    font-size: 0.74rem;
  }

  .video-toolbar-actions {
    width: 100%;
  }

  .video-mode-btn {
    flex: 1 1;
  }

  .video-tile {
    min-height: 170px;
  }

  .video-tile.speaker-stage {
    min-height: min(48vh, 420px);
  }

  .video-tile-stage {
    min-height: min(52vh, 420px);
  }

  .video-tile-compact {
    min-width: 220px;
    min-height: 124px;
  }

  .video-tile-actions {
    flex-wrap: wrap;
    max-width: calc(100% - 1.5rem);
  }

  /* Make the bottom control bar usable on small screens */
  .controls-bar {
    position: -webkit-sticky;
    position: sticky;
    bottom: 0;
    z-index: 40;
    justify-content: center;
    padding: 0.65rem 0.65rem calc(0.65rem + env(safe-area-inset-bottom));
    gap: 0.55rem;
    flex-wrap: wrap;
    overflow-x: visible;
  }

  .room-content.room-content-embedded .controls-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 70;
    padding: 0.45rem 0.55rem calc(0.65rem + env(safe-area-inset-bottom));
    background: rgba(7,11,18,0.96);
    border-top: 1px solid var(--border-subtle);
    box-shadow: 0 -16px 32px rgba(0,0,0,0.32);
  }

  .controls-bar > * {
    flex: 0 0 auto;
  }

  .ctrl-btn {
    width: 44px;
    height: 44px;
    font-size: 1rem;
  }

  .ctrl-btn.danger,
  .ctrl-btn-call {
    width: 50px;
    height: 50px;
    font-size: 1.1rem;
  }

  .room-sidebar:not(.mobile-drawer) {
    max-height: 42vh;
  }

  .sidebar-tabs {
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    flex-wrap: wrap;
  }

  .sidebar-tab {
    flex: 1 0 50%;
    min-width: 0;
    padding: 0.7rem 0.75rem;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
  }

  .sidebar-content {
    padding: 0.85rem;
  }

  /* Keep simple participant rows readable on narrow sidebars */
  .participant-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .participant-item .participant-info {
    flex: 1 1 auto;
    min-width: 0;
  }

  .participant-item .participant-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .participant-item .participant-role {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .participant-item .participant-icons:not(.participant-actions) {
    margin-left: auto;
    justify-content: flex-end;
    max-width: none;
    flex: 0 0 auto;
  }

  /* Remote cards with controls get a dedicated second row for actions */
  .participant-item--with-actions {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    grid-column-gap: 0.65rem;
    column-gap: 0.65rem;
    grid-row-gap: 0.55rem;
    row-gap: 0.55rem;
    align-items: start;
  }

  .participant-item--with-actions > .participant-avatar {
    grid-column: 1;
    grid-row: 1;
  }

  .participant-item--with-actions > .participant-info {
    grid-column: 2;
    grid-row: 1;
  }

  .participant-actions {
    grid-column: 2;
    grid-row: 2;
    padding-left: 0;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
  }

  /* Keep the captions language dropdown from taking over the whole row */
  .controls-bar select {
    max-width: 200px;
    width: auto;
    height: 40px !important;
    padding: 0 0.6rem !important;
    font-size: 0.82rem !important;
  }
}

/* ── Room Polish Overrides ───────────────────────────── */
.meeting-shell {
  width: min(1640px, calc(100% - 28px));
  margin: 12px auto;
  border-radius: 30px;
  box-shadow: 0 22px 52px rgba(148, 163, 184, 0.16);
}

.room-topbar {
  min-height: 80px;
  padding: 0.95rem 1.35rem;
  gap: 0.85rem;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 18;
}

.room-topbar-left,
.room-topbar-right {
  gap: 0.7rem;
  align-items: center;
}

.room-session-title {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.room-id-badge,
.room-topbar-pill,
.room-topbar-icon-btn,
.room-host-chip {
  min-height: 44px;
}

.room-id-badge {
  border-radius: 16px;
  padding: 0 0.9rem;
  border: 1px solid rgba(226, 232, 240, 0.98);
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.room-topbar-pill {
  padding: 0 0.95rem;
  border-radius: 16px;
  font-size: 0.84rem;
  font-weight: 700;
}

.room-topbar-pill-action {
  gap: 0.5rem;
  padding: 0 1.1rem;
}

.room-topbar-icon-btn {
  width: 44px;
  min-width: 44px;
  border-radius: 14px;
}

.room-call-timer {
  min-height: 44px;
  padding: 0 1rem;
  border-radius: 16px;
  border: 1px solid rgba(99,102,241,0.18);
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(244,247,255,0.96));
  display: inline-flex;
  align-items: center;
  color: #312e81;
  font-size: 0.84rem;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(99,102,241,0.08);
  gap: 0.35rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.room-call-timer-label {
  color: #4338ca;
}

.room-call-timer-sep {
  color: #a78bfa;
}

.room-call-timer-value {
  letter-spacing: 0.02em;
}

.room-host-chip {
  gap: 0.6rem;
  padding: 0 0.75rem 0 0.45rem;
  border-radius: 18px;
}

.room-mode-tabs {
  gap: 0.45rem;
}

.room-mode-tab {
  min-height: 52px;
  padding: 0 1.9rem;
  border-radius: 18px;
  font-size: 0.92rem;
  font-weight: 800;
}

.room-content {
  grid-template-columns: minmax(0, 1fr) 358px;
  background: linear-gradient(180deg, #f8fbff 0%, #f3f7fd 100%);
}

.video-area {
  padding: 0.72rem 1rem 1.15rem;
  gap: 0.72rem;
  padding-bottom: 5.6rem;
}

.meeting-stage-insights,
.meeting-gallery-head {
  border-radius: 24px;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.06);
}

.meeting-stage-insights {
  padding: 0.9rem 1rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(246,249,255,0.98) 100%);
  border: 1px solid rgba(226, 232, 240, 0.95);
  color: #0f172a;
}

.meeting-stage-insights-webinar {
  background: linear-gradient(180deg, rgba(250,245,255,0.98) 0%, rgba(245,247,255,0.98) 100%);
  border-color: rgba(196, 181, 253, 0.36);
}

.meeting-stage-insights-title,
.meeting-stage-layout-label {
  color: #64748b;
}

.meeting-stage-insights-sub {
  color: #475569;
  font-size: 0.83rem;
  line-height: 1.5;
}

.meeting-stage-live-pill,
.meeting-stage-live-metric,
.meeting-stage-insights-metrics span {
  min-height: 34px;
  padding: 0 0.72rem;
  font-size: 0.76rem;
  font-weight: 700;
}

.meeting-stage-live-metric,
.meeting-stage-insights-metrics span {
  background: rgba(248, 250, 252, 0.96);
  border: 1px solid rgba(226, 232, 240, 0.94);
  color: #334155;
}

.meeting-stage-host-banner {
  border-radius: 22px;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(191, 219, 254, 0.9);
  box-shadow: 0 10px 24px rgba(59, 130, 246, 0.08);
}

.meeting-stage-host-banner-compact {
  padding: 0.78rem 0.9rem;
}

.meeting-stage-host-banner strong {
  font-size: 0.94rem;
}

.meeting-stage-host-banner span {
  color: #475569;
  font-size: 0.82rem;
}

.meeting-stage-host-banner-actions {
  gap: 0.45rem;
}

.meeting-stage-host-action {
  min-height: 36px;
  padding: 0 0.75rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 700;
}

.video-grid {
  gap: 1rem;
}

.video-grid.video-grid-single-focus .video-tile {
  width: 100%;
  max-width: none;
  min-height: min(64vh, 680px);
}

.video-stage-layout {
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 0.95rem;
}

.video-stage-strip {
  gap: 0.75rem;
}

.video-tile {
  border-radius: 22px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.13);
}

.video-tile-label,
.video-tile-badge {
  font-weight: 700;
}

.video-action-btn {
  min-height: 36px;
  padding: 0 0.85rem;
  border-radius: 12px;
  font-size: 0.72rem;
  font-weight: 800;
}

.controls-bar {
  padding: 0.68rem 0.8rem;
  gap: 0.4rem;
  border-radius: 24px;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.09);
}

.ctrl-btn[data-label] {
  width: 54px;
  height: 60px;
  border-radius: 16px;
}

.ctrl-btn[data-label]::after {
  font-size: 0.62rem;
}

.ctrl-btn-leave {
  min-width: 98px;
}

.room-sidebar {
  background: linear-gradient(180deg, rgba(255,255,255,0.99) 0%, rgba(248,250,252,0.98) 100%);
}

.sidebar-tabs {
  gap: 4px;
  padding: 12px 14px 8px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.88);
  background: rgba(255,255,255,0.98);
}

.sidebar-tab {
  min-height: 38px;
  padding: 8px 10px;
  border-radius: 12px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #475569;
}

.sidebar-tab:hover {
  background: rgba(124, 58, 237, 0.06);
  color: #312e81;
}

.sidebar-tab.active {
  background: rgba(124, 58, 237, 0.08);
  color: #7c3aed;
}

.sidebar-tab.active::after {
  left: 0.7rem;
  right: 0.7rem;
  bottom: -0.05rem;
}

.sidebar-content {
  padding: 12px;
}

.sidebar-empty-state-card {
  border-radius: 18px;
  padding: 1rem 1.05rem;
}

.participant-item {
  padding: 0.78rem;
  border-radius: 18px;
}

.participant-name {
  font-size: 0.95rem;
  font-weight: 800;
}

.participant-role {
  margin-top: 0.16rem;
  font-size: 0.77rem;
  line-height: 1.45;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-participant-summary {
  gap: 0.75rem;
}

.sidebar-status-icon,
.participant-action-status span {
  min-height: 30px;
}

.participant-actions {
  grid-column: 2;
  grid-row: 2;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 0.45rem;
  min-width: 0;
  width: 100%;
}

.participant-actions > button,
.participant-actions > select {
  min-height: 34px;
  min-width: 72px;
  max-width: 100%;
  width: auto;
  border-radius: 11px;
  font-size: 0.74rem;
  font-weight: 700;
}

.sidebar-room-control-item {
  border-radius: 18px;
  padding: 0.82rem 0.86rem;
}

.sidebar-room-control-copy strong {
  font-size: 0.96rem;
  font-weight: 800;
}

.sidebar-room-control-copy span {
  margin-top: 0.12rem;
  font-size: 0.79rem;
  line-height: 1.46;
}

.sidebar-card-chat-thread {
  gap: 0;
}

.sidebar-chat-recipient-row {
  border-radius: 16px;
}

.sidebar-chat-settings-card,
.sidebar-chat-phase-card,
.sidebar-chat-thread-card,
.sidebar-chat-composer-card {
  border-radius: 24px !important;
  overflow: hidden;
}

.sidebar-chat-settings-row {
  padding: 0.75rem !important;
  background: linear-gradient(180deg, rgba(255,255,255,0.94), rgba(246,248,255,0.96)) !important;
  border: 1px solid rgba(226,232,240,0.92) !important;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.sidebar-chat-phase-card {
  padding: 0.82rem !important;
}

.sidebar-chat-phase-hero {
  display: grid;
  justify-items: center;
  text-align: center;
  grid-gap: 0.5rem;
  gap: 0.5rem;
  padding: 0.95rem 0.8rem;
  border-radius: 20px;
  background:
    radial-gradient(circle at top, rgba(233,225,255,0.9), rgba(255,255,255,0.98) 64%);
  border: 1px solid rgba(226,232,240,0.94);
  width: 100%;
  box-sizing: border-box;
}

.sidebar-chat-phase-icon-wrap {
  width: 108px;
  height: 108px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.96), rgba(224,212,255,0.96));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.92), 0 18px 38px rgba(124,58,237,0.12);
}

.sidebar-chat-phase-icon {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #8b5cf6, #6366f1);
  color: #fff;
  font-size: 1.45rem;
  box-shadow: 0 12px 28px rgba(99,102,241,0.24);
}

.sidebar-chat-phase-title {
  color: #0f172a;
  font-size: 0.98rem;
  font-weight: 800;
}

.sidebar-chat-phase-copy {
  max-width: 24ch;
  color: #64748b;
  font-size: 0.79rem;
  line-height: 1.55;
}

.sidebar-chat-phase-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.1rem;
  width: 100%;
}

.sidebar-chat-phase-action {
  min-height: 36px;
  padding: 0 0.82rem;
  border-radius: 999px;
  border: 1px solid rgba(129,140,248,0.24);
  background: rgba(255,255,255,0.96);
  color: #4f46e5;
  font-size: 0.74rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(99,102,241,0.08);
  max-width: 100%;
}

.sidebar-chat-phase-note {
  padding: 0.5rem 0.72rem;
  border-radius: 14px;
  background: rgba(255,255,255,0.78);
  color: #6366f1;
  font-size: 0.72rem;
  font-weight: 700;
}

.sidebar-chat-thread-scroll {
  gap: 0.72rem !important;
  padding-right: 0.1rem !important;
}

.sidebar-chat-bubble {
  border-radius: 18px !important;
  padding: 0.75rem 0.88rem !important;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.05) !important;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.sidebar-chat-bubble.is-mine {
  background: linear-gradient(180deg, #e8f7ff 0%, #dff7ff 100%) !important;
}

.sidebar-chat-bubble.is-remote {
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%) !important;
}

.sidebar-chat-attachment-row {
  border-radius: 16px !important;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.sidebar-chat-composer {
  align-items: stretch;
  gap: 0.55rem !important;
  width: 100%;
  min-width: 0;
}

.sidebar-chat-attach-btn,
.sidebar-chat-send-btn {
  min-height: 44px;
  border-radius: 14px !important;
  flex: 0 0 44px;
}

.sidebar-chat-input {
  min-height: 44px;
  border-radius: 14px !important;
  font-size: 0.83rem !important;
  min-width: 0;
  width: 100%;
  flex: 1 1 auto;
}

.room-sidebar.room-sidebar-webinar .sidebar-chat-phase-hero,
.room-sidebar.room-sidebar-webinar .sidebar-chat-recipient-row,
.room-sidebar.room-sidebar-webinar .sidebar-chat-thread-scroll,
.room-sidebar.room-sidebar-webinar .sidebar-chat-composer,
.room-sidebar.room-sidebar-webinar .sidebar-chat-footer {
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}

.room-sidebar.room-sidebar-webinar .sidebar-chat-phase-icon-wrap {
  width: 88px;
  height: 88px;
}

.room-sidebar.room-sidebar-webinar .sidebar-chat-phase-icon {
  width: 44px;
  height: 44px;
  font-size: 1.2rem;
}

.room-sidebar.room-sidebar-webinar .sidebar-chat-phase-copy {
  max-width: 30ch;
}

.sidebar-chat-footer {
  margin-top: 0.55rem !important;
  font-size: 0.73rem !important;
}

.meeting-stage-host-action,
.sidebar-chat-send-btn,
.sidebar-chat-attach-btn {
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

.meeting-stage-host-action:hover:not(:disabled),
.sidebar-chat-send-btn:hover:not(:disabled),
.sidebar-chat-attach-btn:hover:not(:disabled) {
  transform: translateY(-1px);
}

@media (max-width: 1180px) {
  .room-content {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 520px) {
  .meeting-shell {
    width: 100%;
    margin: 0;
    border-radius: 0;
  }

  .video-area {
    padding: 0.8rem;
  }

  .meeting-stage-insights,
  .meeting-gallery-head,
  .meeting-stage-host-banner {
    border-radius: 18px;
  }
}

/* ── Admin Panel ─────────────────────── */
.admin-page {
  min-height: 100vh;
  background: var(--bg-void);
}

.admin-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  font-size: 1.1rem;
  color: var(--text-secondary);
}

.admin-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: rgba(7, 11, 18, 0.95);
  border-bottom: 1px solid var(--border-subtle);
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
}

.admin-nav-logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-primary);
}

.admin-nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.admin-nav-btn {
  padding: 0.5rem 1rem;
  background: rgba(244, 63, 94, 0.1);
  border: 1px solid rgba(244, 63, 94, 0.2);
  border-radius: var(--radius-sm);
  color: var(--accent-rose);
  font-family: var(--font-body);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s;
}

.admin-nav-btn:hover {
  background: rgba(244, 63, 94, 0.2);
}

.admin-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.admin-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border-subtle);
}

.admin-tab {
  padding: 0.75rem 1.5rem;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.admin-tab:hover {
  color: var(--text-secondary);
}

.admin-tab.active {
  color: var(--accent-cyan);
  border-bottom-color: var(--accent-cyan);
}

.admin-content {
  animation: fadeInUp 0.3s ease;
}

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-gap: 1rem;
  gap: 1rem;
  margin-bottom: 2rem;
}

.admin-stat-card {
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  text-align: center;
  transition: all 0.3s ease;
}

.admin-stat-card:hover {
  border-color: rgba(0, 212, 255, 0.2);
  box-shadow: var(--glow-cyan);
}

.admin-stat-value {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.admin-stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.5rem;
}

.admin-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.admin-card-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
}

.admin-empty {
  color: var(--text-muted);
  text-align: center;
  padding: 2rem;
}

.admin-activity-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.admin-activity-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.6rem 0.75rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
}

.admin-activity-action {
  color: var(--accent-cyan);
  font-weight: 500;
  min-width: 100px;
}

.admin-activity-detail {
  flex: 1 1;
  color: var(--text-secondary);
}

.admin-activity-time {
  color: var(--text-muted);
  font-size: 0.75rem;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th {
  text-align: left;
  padding: 0.75rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-subtle);
}

.admin-table td {
  padding: 0.85rem 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.85rem;
}

.admin-room-id {
  font-family: monospace;
  color: var(--accent-cyan);
}

.admin-btn-danger {
  padding: 0.4rem 0.85rem;
  background: rgba(244, 63, 94, 0.1);
  border: 1px solid rgba(244, 63, 94, 0.2);
  border-radius: var(--radius-sm);
  color: var(--accent-rose);
  font-family: var(--font-body);
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s;
}

.admin-btn-danger:hover {
  background: rgba(244, 63, 94, 0.2);
}

.admin-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 1rem;
  gap: 1rem;
}

.admin-info-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.admin-info-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.admin-info-value {
  font-size: 0.9rem;
  color: var(--text-primary);
}

.admin-status {
  font-size: 0.85rem;
  font-weight: 500;
}

.admin-status.online {
  color: #10b981;
}

.admin-status.offline {
  color: var(--accent-rose);
}

.admin-config-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.admin-config-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0.75rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
}

.admin-config-item span:first-child {
  color: var(--text-secondary);
}

.admin-config-item span:last-child {
  color: var(--text-primary);
}

/* Admin Login */
.admin-login-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem;
}

.admin-logo {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.admin-logo-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 15px var(--accent-cyan);
}

.admin-tagline {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.admin-error {
  padding: 0.75rem;
  background: rgba(244, 63, 94, 0.1);
  border: 1px solid rgba(244, 63, 94, 0.2);
  border-radius: var(--radius-sm);
  color: var(--accent-rose);
  font-size: 0.85rem;
  margin-bottom: 1rem;
  text-align: center;
}

.admin-error-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  background: rgba(244, 63, 94, 0.1);
  border: 1px solid rgba(244, 63, 94, 0.3);
  border-radius: var(--radius-sm);
  color: var(--accent-rose);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  gap: 1rem;
}

.admin-error-text {
  flex: 1 1;
}

.admin-error-close {
  background: transparent;
  border: none;
  color: var(--accent-rose);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}

.admin-error-close:hover {
  opacity: 0.7;
}

.admin-btn {
  width: 100%;
  padding: 0.85rem 1.5rem;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-teal));
  color: var(--bg-void);
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s;
  margin-top: 0.5rem;
}

.admin-btn:hover {
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.35);
  transform: translateY(-1px);
}

.admin-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.admin-divider {
  margin-top: 1.5rem;
  text-align: center;
}

.admin-divider a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}

.admin-divider a:hover {
  color: var(--accent-cyan);
}

@media (min-width: 961px) {
  .meeting-shell {
    border-radius: 34px;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.14);
  }

  .video-area {
    background:
      radial-gradient(circle at top left, rgba(191, 219, 254, 0.24), transparent 18%),
      radial-gradient(circle at top right, rgba(196, 181, 253, 0.24), transparent 20%),
      linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
  }

  .meeting-stage-insights,
  .meeting-gallery-head,
  .webinar-audience-rail,
  .controls-bar {
    border-color: rgba(226, 232, 240, 0.88);
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.10);
  }

  .meeting-stage-insights {
    padding: 1rem 1.15rem;
  }

  .meeting-gallery-head {
    padding: 1rem 1.1rem;
  }

  .video-grid {
    gap: 1rem;
  }

  .video-tile {
    border-radius: 26px;
    border-color: rgba(148, 163, 184, 0.18);
    box-shadow: 0 20px 42px rgba(15, 23, 42, 0.16);
  }

  .video-tile video {
    filter: saturate(1.02) contrast(1.02);
  }

  .video-tile.speaker-stage,
  .video-tile-stage {
    box-shadow: 0 28px 56px rgba(15, 23, 42, 0.18);
  }

  .video-tile-label {
    bottom: 1rem;
    left: 1rem;
    background: rgba(15, 23, 42, 0.66);
  }

  .controls-bar {
    gap: 0.7rem;
    padding: 1rem 1.1rem;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(248, 250, 252, 0.98) 100%);
  }

  .ctrl-btn,
  .controls-bar select {
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.07);
  }

  .room-sidebar {
    background:
      linear-gradient(180deg, rgba(255,255,255,0.99) 0%, rgba(248,250,252,0.98) 100%);
  }

  .sidebar-tabs {
    padding: 0.8rem 0.8rem 0.65rem;
  }

  .sidebar-tab {
    min-height: 44px;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
  }

.webinar-audience-rail {
    background:
      linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(248,250,252,0.96) 100%);
  }
}

.workspace-home {
  min-height: 100vh;
  padding: 2rem;
  background:
    radial-gradient(circle at top left, rgba(96, 165, 250, 0.14), transparent 24%),
    radial-gradient(circle at bottom right, rgba(129, 140, 248, 0.12), transparent 22%),
    linear-gradient(180deg, #f6f8ff 0%, #eef3fb 100%);
}

.workspace-shell {
  max-width: 1440px;
  margin: 0 auto;
  min-height: calc(100vh - 4rem);
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.12);
  -webkit-backdrop-filter: blur(24px);
          backdrop-filter: blur(24px);
}

.workspace-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1.5rem 1.25rem;
  border-right: 1px solid rgba(226, 232, 240, 0.9);
  background: linear-gradient(180deg, #fbfdff 0%, #f4f7ff 100%);
}

.workspace-brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.workspace-brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 100%);
  box-shadow: 0 16px 32px rgba(37, 99, 235, 0.24);
}

.workspace-brand strong,
.workspace-user-chip strong,
.workspace-panel-head h2,
.workspace-side-head strong,
.workspace-meeting-row strong,
.workspace-recording-item strong,
.workspace-agenda-item strong,
.workspace-action-card strong,
.workspace-stat-card strong {
  display: block;
  color: #0f172a;
}

.workspace-brand span,
.workspace-user-chip span,
.workspace-panel-head p,
.workspace-recording-item small,
.workspace-agenda-item small,
.workspace-action-card small,
.workspace-stat-card small,
.workspace-meeting-row small {
  color: #64748b;
}

.workspace-nav-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.workspace-nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 44px;
  padding: 0 0.95rem;
  border-radius: 14px;
  text-decoration: none;
  color: #334155;
  font-weight: 600;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.workspace-nav-icon {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 0.9rem;
  color: #2563eb;
  background: linear-gradient(135deg, rgba(219, 234, 254, 0.9), rgba(239, 246, 255, 0.96));
}

.workspace-nav-link:hover,
.workspace-nav-link.active {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.14), rgba(96, 165, 250, 0.1));
  color: #1d4ed8;
  transform: translateX(2px);
}

.workspace-sidebar-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.workspace-user-chip {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.9rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(226, 232, 240, 0.9);
  min-width: 0;
  overflow: hidden;
}

.workspace-user-avatar {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #1d4ed8;
  background: linear-gradient(135deg, rgba(191, 219, 254, 0.9), rgba(224, 231, 255, 0.95));
}

.workspace-user-chip > div:last-child {
  min-width: 0;
  flex: 1 1;
}

.workspace-user-chip strong,
.workspace-user-chip span {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.workspace-user-chip strong {
  line-height: 1.25;
}

.workspace-user-chip span {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.35;
}

.workspace-ghost-btn,
.workspace-quick-join-btn,
.workspace-row-btn,
.workspace-inline-link,
.workspace-icon-btn {
  border: none;
  background: none;
  text-decoration: none;
}

.workspace-ghost-btn {
  min-height: 44px;
  border-radius: 14px;
  font-weight: 700;
  color: #334155;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(226, 232, 240, 0.92);
}

.workspace-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 1.6rem;
  gap: 1.5rem;
}

.workspace-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.workspace-search {
  flex: 1 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 52px;
  padding: 0 1rem;
  border-radius: 18px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  background: rgba(248, 250, 252, 0.86);
}

.workspace-search span {
  color: #94a3b8;
  font-size: 1rem;
}

.workspace-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #0f172a;
}

.workspace-topbar-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.workspace-icon-btn {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #475569;
  background: rgba(248, 250, 252, 0.9);
  border: 1px solid rgba(226, 232, 240, 0.95);
}

.workspace-quick-join-btn,
.workspace-row-btn {
  min-height: 46px;
  padding: 0 1rem;
  border-radius: 14px;
  font-weight: 700;
  color: #0f172a;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.96);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.workspace-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  grid-gap: 1.5rem;
  gap: 1.5rem;
}

.workspace-primary,
.workspace-secondary {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.workspace-hero,
.workspace-panel,
.workspace-side-panel {
  border-radius: 28px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.06);
}

.workspace-hero {
  padding: 1.7rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  grid-gap: 1.1rem;
  gap: 1.1rem;
}

.workspace-hero-copy {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.workspace-eyebrow {
  margin: 0 0 0.4rem;
  font-size: 2rem;
  line-height: 1.1;
  font-weight: 800;
  color: #0f172a;
}

.workspace-hero h1 {
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
  color: #64748b;
}

.workspace-upcoming-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border-radius: 22px;
  background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%);
  border: 1px solid rgba(191, 219, 254, 0.92);
}

.workspace-upcoming-banner span {
  display: block;
  margin-bottom: 0.25rem;
  color: #2563eb;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.workspace-upcoming-banner strong {
  display: block;
  margin-bottom: 0.25rem;
}

.workspace-upcoming-banner small {
  color: #64748b;
}

.workspace-primary-mini-btn {
  min-height: 44px;
  padding: 0 1rem;
  border-radius: 14px;
  border: 0;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.2);
}

.workspace-hero-mini-note {
  align-self: start;
  padding: 1rem 1.05rem;
  border-radius: 22px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.workspace-hero-mini-note span,
.workspace-hero-mini-note small {
  display: block;
  color: #64748b;
}

.workspace-hero-mini-note span {
  margin-bottom: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.workspace-hero-mini-note strong {
  display: block;
  margin-bottom: 0.3rem;
  color: #0f172a;
}

.workspace-hero-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-gap: 1rem;
  gap: 1rem;
  margin-top: 1.5rem;
  grid-column: 1 / -1;
}

.workspace-join-strip {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-gap: 0.9rem;
  gap: 0.9rem;
  align-items: end;
}

.workspace-join-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.workspace-join-field span {
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.workspace-join-field input {
  min-height: 52px;
  width: 100%;
  padding: 0 1rem;
  border-radius: 16px;
  border: 1px solid rgba(191, 219, 254, 0.95);
  background: #f8fbff;
  color: #0f172a;
  outline: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.workspace-join-field input::placeholder {
  color: #94a3b8;
}

.workspace-join-field input:focus {
  border-color: rgba(47, 140, 255, 0.55);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(47, 140, 255, 0.12);
}

.workspace-join-submit {
  min-height: 52px;
  padding: 0 1.15rem;
  border-radius: 16px;
  border: 0;
  font-weight: 800;
  color: #ffffff;
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
  box-shadow: 0 16px 30px rgba(37, 99, 235, 0.2);
}

.workspace-join-submit:disabled,
.workspace-quick-join-btn:disabled {
  cursor: not-allowed;
  opacity: 0.45;
  box-shadow: none;
}

.workspace-action-card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-height: 116px;
  padding: 1rem 1.1rem;
  text-align: left;
  border-radius: 22px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.workspace-action-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.09);
}

.workspace-action-card.primary {
  color: #fff;
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
}

.workspace-action-card.primary strong,
.workspace-action-card.primary small {
  color: #fff;
}

.workspace-action-card.neutral {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.workspace-action-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  background: rgba(255, 255, 255, 0.18);
}

.workspace-action-card.neutral .workspace-action-icon {
  background: linear-gradient(135deg, rgba(219, 234, 254, 0.9), rgba(239, 246, 255, 0.95));
  color: #2563eb;
}

.workspace-panel,
.workspace-side-panel {
  padding: 1.4rem;
}

.workspace-panel-head,
.workspace-side-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.workspace-panel-head-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.workspace-panel-footer,
.workspace-side-footer {
  margin-top: 1rem;
}

.workspace-tab-strip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.workspace-tab-chip {
  min-height: 30px;
  padding: 0 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: rgba(248, 250, 252, 0.95);
  color: #64748b;
  font-size: 0.75rem;
  font-weight: 700;
}

.workspace-tab-chip.active {
  color: #2563eb;
  background: rgba(219, 234, 254, 0.8);
  border-color: rgba(191, 219, 254, 0.95);
}

.workspace-panel-head h2 {
  margin: 0;
  font-size: 1.35rem;
}

.workspace-panel-head p {
  margin: 0.25rem 0 0;
  font-size: 0.92rem;
}

.workspace-inline-link {
  color: #2563eb;
  font-weight: 700;
}

.workspace-calendar-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.workspace-mini-icon-btn {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid rgba(226, 232, 240, 0.92);
  background: #fff;
  color: #475569;
  font-weight: 700;
}

.workspace-meeting-table {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.workspace-meeting-table-head,
.workspace-meeting-row {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) 0.8fr 0.9fr 0.7fr;
  align-items: center;
  grid-gap: 1rem;
  gap: 1rem;
}

.workspace-meeting-table-head {
  padding: 0 0.35rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #94a3b8;
}

.workspace-meeting-row {
  padding: 1rem 1rem;
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid rgba(226, 232, 240, 0.92);
}

.workspace-row-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.workspace-row-btn-muted {
  color: #475569;
  background: #f8fbff;
}

.workspace-avatar-stack {
  display: flex;
  align-items: center;
}

.workspace-avatar-stack span {
  width: 32px;
  height: 32px;
  margin-left: -6px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: #1e3a8a;
  background: linear-gradient(135deg, #dbeafe 0%, #e0e7ff 100%);
  border: 2px solid #fff;
}

.workspace-avatar-stack span:first-child {
  margin-left: 0;
}

.workspace-empty-state,
.workspace-empty-mini {
  border-radius: 18px;
  padding: 1rem;
  color: #64748b;
  background: rgba(248, 250, 252, 0.88);
  border: 1px dashed rgba(203, 213, 225, 0.95);
}

.workspace-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  grid-gap: 0.5rem;
  gap: 0.5rem;
}

.workspace-calendar-grid span,
.workspace-calendar-grid button {
  min-height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 0.82rem;
  color: #334155;
}

.workspace-calendar-grid button {
  border: 0;
  background: transparent;
  cursor: pointer;
  transition: transform 140ms ease, box-shadow 140ms ease, background-color 140ms ease,
    color 140ms ease;
}

.workspace-calendar-grid button:hover {
  background: rgba(37, 99, 235, 0.08);
}

.workspace-calendar-grid-head span {
  min-height: auto;
  font-size: 0.68rem;
  font-weight: 700;
  color: #94a3b8;
}

.workspace-calendar-grid span.today {
  color: #fff;
  font-weight: 800;
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.24);
}

.workspace-calendar-grid button.selected {
  color: #0f172a;
  font-weight: 800;
  background: rgba(37, 99, 235, 0.12);
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.18);
}

.workspace-calendar-grid button.today.selected {
  color: #fff;
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.24);
}

.workspace-calendar-grid button.has-events:not(.today)::after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: #2563eb;
  margin-top: -0.15rem;
}

.workspace-calendar-grid button.today::after {
  display: none;
}

.workspace-calendar-grid span.blank {
  background: transparent;
}

.workspace-agenda-list,
.workspace-recording-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.workspace-agenda-item,
.workspace-recording-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-gap: 0.8rem;
  gap: 0.8rem;
  align-items: start;
}

.workspace-agenda-item > span {
  font-size: 0.8rem;
  font-weight: 700;
  color: #2563eb;
}

.workspace-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-gap: 1rem;
  gap: 1rem;
}

.workspace-stat-card {
  padding: 1.2rem;
  border-radius: 24px;
  border: 1px solid rgba(226, 232, 240, 0.92);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.05);
}

.workspace-stat-card span {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #64748b;
}

.workspace-stat-card strong {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.workspace-stat-card.blue {
  background: linear-gradient(180deg, #eff6ff 0%, #ffffff 100%);
}

.workspace-stat-card.green {
  background: linear-gradient(180deg, #ecfdf5 0%, #ffffff 100%);
}

.workspace-recording-thumb {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #475569;
  background: linear-gradient(135deg, #f1f5f9 0%, #ffffff 100%);
  border: 1px solid rgba(226, 232, 240, 0.96);
}

.workspace-quick-actions-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-gap: 1rem;
  gap: 1rem;
}

.workspace-quick-action-tile {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem;
  border-radius: 20px;
  text-decoration: none;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid rgba(226, 232, 240, 0.92);
}

.workspace-quick-action-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #2563eb;
  background: linear-gradient(135deg, rgba(219, 234, 254, 0.92), rgba(239, 246, 255, 0.96));
}

.workspace-recordings-table {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.workspace-recordings-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid rgba(226, 232, 240, 0.92);
}

.workspace-recordings-main {
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-gap: 0.8rem;
  gap: 0.8rem;
  align-items: center;
}

.workspace-recordings-actions {
  display: flex;
  align-items: center;
}

.workspace-home-modern .workspace-shell {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.14);
}

.workspace-home-modern .workspace-sidebar {
  gap: 1.15rem;
  padding: 1.25rem 1rem;
  background: linear-gradient(180deg, #fcfdff 0%, #f3f6fb 100%);
}

.workspace-home-modern .workspace-nav-link {
  min-height: 42px;
  border-radius: 12px;
  padding: 0 0.85rem;
  font-weight: 700;
}

.workspace-home-modern .workspace-nav-icon {
  width: 26px;
  height: 26px;
  border-radius: 9px;
  background: linear-gradient(135deg, rgba(226, 232, 240, 0.95), rgba(248, 250, 252, 0.98));
  color: #1d4ed8;
}

.workspace-home-modern .workspace-nav-link:hover,
.workspace-home-modern .workspace-nav-link.active {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.14), rgba(59, 130, 246, 0.08));
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.08);
}

.workspace-home-modern .workspace-main {
  gap: 1.15rem;
}

.workspace-home-modern .workspace-topbar {
  padding-bottom: 0.1rem;
}

.workspace-home-modern .workspace-search {
  min-height: 50px;
  border-radius: 16px;
  background: rgba(248, 250, 252, 0.92);
}

.workspace-home-modern .workspace-quick-join-btn {
  min-height: 44px;
  border-radius: 12px;
  box-shadow: none;
}

.workspace-command-center {
  grid-template-columns: minmax(0, 1.25fr) 300px;
  gap: 1rem;
  padding: 1.35rem;
}

.workspace-command-main,
.workspace-command-rail {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.workspace-command-main {
  gap: 1rem;
}

.workspace-home-modern .workspace-eyebrow {
  margin: 0 0 0.35rem;
  font-size: 1.8rem;
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.workspace-home-modern .workspace-hero h1 {
  font-size: 0.98rem;
  line-height: 1.55;
  max-width: 42rem;
}

.workspace-command-summary {
  margin: 0;
  max-width: 46rem;
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.6;
}

.workspace-command-actions {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  grid-gap: 0.95rem;
  gap: 0.95rem;
  align-items: stretch;
}

.workspace-command-primary {
  min-height: 148px;
  border: 0;
  border-radius: 24px;
  padding: 1.2rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  text-align: left;
  color: #fff;
  background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 58%, #60a5fa 100%);
  box-shadow: 0 22px 40px rgba(37, 99, 235, 0.24);
}

.workspace-command-primary-icon {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.18);
  font-size: 1.2rem;
  flex: 0 0 54px;
}

.workspace-command-primary strong,
.workspace-command-secondary-btn strong {
  display: block;
  color: inherit;
  font-size: 1.18rem;
}

.workspace-command-primary small,
.workspace-command-secondary-btn small {
  display: block;
  margin-top: 0.3rem;
  color: inherit;
  opacity: 0.86;
  font-size: 0.86rem;
  line-height: 1.45;
}

.workspace-command-secondary {
  display: grid;
  grid-gap: 0.85rem;
  gap: 0.85rem;
}

.workspace-command-secondary-btn {
  min-height: 68px;
  border-radius: 20px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  padding: 0.95rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  text-align: left;
  color: #0f172a;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.05);
}

.workspace-command-secondary-btn > span:first-child {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #2563eb;
  background: linear-gradient(135deg, rgba(219, 234, 254, 0.92), rgba(239, 246, 255, 0.98));
  flex: 0 0 42px;
}

.workspace-join-strip-modern {
  gap: 0.8rem;
  align-items: stretch;
  padding: 0.9rem;
  border-radius: 20px;
  border: 1px solid rgba(226, 232, 240, 0.94);
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.workspace-join-strip-modern .workspace-join-field {
  gap: 0.4rem;
}

.workspace-join-strip-modern .workspace-join-field span {
  font-size: 0.74rem;
  letter-spacing: 0.08em;
}

.workspace-command-rail {
  gap: 0.9rem;
}

.workspace-command-status,
.workspace-command-next,
.workspace-side-panel-compact,
.workspace-side-panel-priority {
  border-radius: 22px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.workspace-command-status {
  padding: 1rem 1.05rem;
}

.workspace-command-kicker,
.workspace-command-next-head span {
  display: block;
  margin-bottom: 0.28rem;
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.workspace-command-status strong {
  display: block;
  color: #0f172a;
  font-size: 1rem;
}

.workspace-command-status small {
  display: block;
  margin-top: 0.3rem;
  color: #64748b;
  line-height: 1.5;
}

.workspace-command-next {
  padding: 1rem 1.05rem;
}

.workspace-command-next-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.7rem;
}

.workspace-command-next-head a {
  color: #2563eb;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}

.workspace-command-next-card {
  width: 100%;
  border: 0;
  border-radius: 18px;
  padding: 0.9rem;
  text-align: left;
  background: linear-gradient(135deg, rgba(239, 246, 255, 0.96), rgba(255, 255, 255, 0.98));
  box-shadow: inset 0 0 0 1px rgba(191, 219, 254, 0.9);
}

.workspace-command-next-card strong,
.workspace-command-empty strong {
  display: block;
  color: #0f172a;
}

.workspace-command-next-card small,
.workspace-command-empty small {
  display: block;
  margin-top: 0.3rem;
  color: #64748b;
  line-height: 1.45;
}

.workspace-command-next-card em {
  display: inline-block;
  margin-top: 0.65rem;
  color: #2563eb;
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 800;
}

.workspace-command-empty {
  border-radius: 18px;
  padding: 0.95rem;
  background: rgba(248, 250, 252, 0.88);
  border: 1px dashed rgba(203, 213, 225, 0.95);
}

.workspace-stat-grid-compact {
  gap: 0.8rem;
}

.workspace-home-modern .workspace-stat-card {
  padding: 1rem;
  border-radius: 20px;
}

.workspace-home-modern .workspace-stat-card strong {
  font-size: 1.8rem;
}

.workspace-panel-dense,
.workspace-side-panel-priority,
.workspace-side-panel-compact {
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.05);
}

.workspace-panel-dense .workspace-panel-head h2 {
  font-size: 1.28rem;
}

.workspace-panel-dense .workspace-panel-head p {
  font-size: 0.88rem;
}

.workspace-home-modern .workspace-meeting-row,
.workspace-home-modern .workspace-recordings-row,
.workspace-home-modern .workspace-quick-action-tile {
  box-shadow: none;
}

.workspace-home-modern .workspace-empty-state,
.workspace-home-modern .workspace-empty-mini {
  display: grid;
  grid-gap: 0.2rem;
  gap: 0.2rem;
}

.workspace-home-modern .workspace-empty-state strong,
.workspace-home-modern .workspace-empty-mini strong {
  color: #0f172a;
  font-size: 0.9rem;
}

.workspace-home-modern .workspace-empty-state span,
.workspace-home-modern .workspace-empty-mini span {
  color: #64748b;
  font-size: 0.84rem;
  line-height: 1.5;
}

.workspace-side-subtle {
  display: block;
  margin-top: 0.22rem;
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 500;
}

.workspace-side-panel-priority {
  padding: 1.25rem;
}

.workspace-side-panel-compact {
  padding: 1rem 1.05rem;
}

.workspace-calendar-grid-compact {
  gap: 0.35rem;
}

.workspace-calendar-grid-compact span,
.workspace-calendar-grid-compact button {
  min-height: 30px;
  border-radius: 9px;
  font-size: 0.78rem;
}

.workspace-home-reference .workspace-shell {
  grid-template-columns: 236px minmax(0, 1fr);
}

.workspace-home-reference .workspace-content-grid {
  grid-template-columns: minmax(0, 1.18fr) 340px;
  gap: 1rem;
}

.workspace-home-reference .workspace-sidebar {
  gap: 1.05rem;
}

.workspace-ref-workspace-chip,
.workspace-ref-sync-card {
  border-radius: 18px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.workspace-ref-workspace-chip {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  grid-gap: 0.8rem;
  gap: 0.8rem;
  align-items: center;
  padding: 0.9rem 0.95rem;
}

.workspace-ref-workspace-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #1d4ed8;
  background: linear-gradient(135deg, rgba(191, 219, 254, 0.92), rgba(224, 231, 255, 0.95));
}

.workspace-ref-workspace-chip strong,
.workspace-ref-sync-card strong {
  display: block;
  color: #0f172a;
}

.workspace-ref-workspace-chip span,
.workspace-ref-sync-card span {
  display: block;
  margin-top: 0.18rem;
  color: #64748b;
  font-size: 0.84rem;
  line-height: 1.35;
}

.workspace-ref-sync-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  grid-gap: 0.75rem;
  gap: 0.75rem;
  padding: 0.95rem;
}

.workspace-ref-sync-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #2563eb;
  background: linear-gradient(135deg, rgba(219, 234, 254, 0.9), rgba(239, 246, 255, 0.96));
}

.workspace-ref-sync-link {
  grid-column: 1 / -1;
  margin-top: 0.35rem;
  min-height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #1d4ed8;
  font-weight: 700;
  border: 1px solid rgba(37, 99, 235, 0.18);
  background: #ffffff;
}

.workspace-home-reference .workspace-topbar {
  padding: 0.1rem 0.1rem 0.2rem;
}

.workspace-home-reference .workspace-quick-join-btn {
  min-width: 140px;
  color: #ffffff;
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
  border: 0;
}

.workspace-ref-hero {
  padding: 1.15rem 1.15rem 1.2rem;
  display: grid;
  grid-gap: 1rem;
  gap: 1rem;
  background:
    radial-gradient(circle at 78% 24%, rgba(191, 219, 254, 0.9) 0%, rgba(255,255,255,0) 20%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.workspace-ref-hero-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  grid-gap: 1rem;
  gap: 1rem;
  align-items: center;
}

.workspace-home-reference .workspace-eyebrow {
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.workspace-home-reference .workspace-hero h1 {
  margin-top: 0.55rem;
  font-size: 0.98rem;
  line-height: 1.6;
}

.workspace-ref-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.3rem;
  margin-top: 1.15rem;
}

.workspace-ref-metric {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  grid-gap: 0.5rem;
  gap: 0.5rem;
  align-items: center;
}

.workspace-ref-metric-icon {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #2563eb;
  background: linear-gradient(135deg, rgba(219, 234, 254, 0.9), rgba(239, 246, 255, 0.96));
}

.workspace-ref-metric strong {
  display: block;
  color: #0f172a;
  font-size: 0.88rem;
  line-height: 1.2;
}

.workspace-ref-metric small {
  display: block;
  color: #64748b;
  font-size: 0.8rem;
}

.workspace-ref-hero-visual {
  position: relative;
  height: 180px;
}

.workspace-ref-orb,
.workspace-ref-visual-card {
  position: absolute;
}

.workspace-ref-orb {
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.95), rgba(191,219,254,0.9));
  box-shadow: 0 18px 36px rgba(37, 99, 235, 0.12);
}

.workspace-ref-orb.large {
  width: 92px;
  height: 92px;
  right: 18px;
  bottom: 18px;
}

.workspace-ref-orb.medium {
  width: 56px;
  height: 56px;
  right: 108px;
  top: 28px;
}

.workspace-ref-orb.small {
  width: 44px;
  height: 44px;
  left: 88px;
  bottom: 22px;
}

.workspace-ref-visual-card {
  width: 70px;
  height: 70px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  color: #ffffff;
  font-size: 1.5rem;
  background: linear-gradient(135deg, #60a5fa 0%, #1d4ed8 100%);
  box-shadow: 0 20px 42px rgba(37, 99, 235, 0.22);
}

.workspace-ref-visual-card.main {
  width: 132px;
  height: 132px;
  font-size: 3rem;
  top: 16px;
  left: 84px;
}

.workspace-ref-visual-card.top {
  top: 4px;
  right: 34px;
  font-size: 1.4rem;
  background: linear-gradient(135deg, rgba(255,255,255,0.96), rgba(219, 234, 254, 0.96));
  color: #94a3b8;
}

.workspace-ref-visual-card.left {
  left: 20px;
  bottom: 14px;
  font-size: 1.4rem;
  background: linear-gradient(135deg, #67e8f9 0%, #38bdf8 100%);
}

.workspace-ref-action-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(158px, 1fr));
  grid-gap: 0.9rem;
  gap: 0.9rem;
}

.workspace-ref-action-card {
  width: 100%;
  min-width: 0;
  min-height: 166px;
  border-radius: 22px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  padding: 1.15rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.05);
}

.workspace-ref-action-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  color: #ffffff;
  background: linear-gradient(135deg, #60a5fa 0%, #2563eb 100%);
}

.workspace-ref-action-card:nth-child(2) .workspace-ref-action-icon { background: linear-gradient(135deg, #a78bfa 0%, #7c3aed 100%); }
.workspace-ref-action-card:nth-child(3) .workspace-ref-action-icon { background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%); }
.workspace-ref-action-card:nth-child(4) .workspace-ref-action-icon { background: linear-gradient(135deg, #fb923c 0%, #f59e0b 100%); }
.workspace-ref-action-card:nth-child(5) .workspace-ref-action-icon { background: linear-gradient(135deg, #22d3ee 0%, #0284c7 100%); }

.workspace-ref-action-card strong {
  display: block;
  margin-top: 0.95rem;
  color: #0f172a;
  font-size: 0.98rem;
  line-height: 1.25;
}

.workspace-ref-action-card small {
  display: block;
  margin-top: 0.4rem;
  color: #64748b;
  font-size: 0.88rem;
  line-height: 1.45;
}

.workspace-ref-action-card em {
  margin-top: auto;
  color: #2563eb;
  font-style: normal;
  font-size: 1.2rem;
  font-weight: 800;
}

.workspace-ref-main-grid,
.workspace-ref-bottom-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-gap: 1rem;
  gap: 1rem;
}

.workspace-ref-shortcuts {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.workspace-ref-shortcut-tile {
  min-height: 86px;
}

.workspace-ref-meeting-row {
  grid-template-columns: 0.55fr 1.3fr 0.9fr 0.6fr;
}

.workspace-ref-empty-state {
  display: grid;
  justify-items: center;
  text-align: center;
  grid-gap: 0.25rem;
  gap: 0.25rem;
  padding: 1.6rem 1rem;
}

.workspace-ref-empty-state.compact {
  justify-items: start;
  text-align: left;
}

.workspace-ref-empty-icon {
  width: 68px;
  height: 68px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  color: #60a5fa;
  background: linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
  border: 1px solid rgba(219, 234, 254, 0.95);
  margin-bottom: 0.2rem;
}

.workspace-ref-empty-icon.small {
  width: 54px;
  height: 54px;
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
}

.workspace-ref-empty-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  margin-top: 0.75rem;
}

.workspace-ref-pill-link {
  min-height: 38px;
  padding: 0 0.9rem;
  border-radius: 12px;
  border: 1px solid rgba(203, 213, 225, 0.95);
  background: #ffffff;
  color: #334155;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 700;
}

.workspace-ref-pill-link.primary {
  color: #ffffff;
  border-color: transparent;
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
}

.workspace-ref-stats-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  grid-gap: 0.9rem;
  gap: 0.9rem;
}

.workspace-ref-stat-card {
  min-width: 0;
  padding: 1rem;
  border-radius: 20px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.workspace-ref-stat-icon {
  display: inline-flex;
  margin-bottom: 0.55rem;
  color: #2563eb;
}

.workspace-ref-stat-card strong {
  display: block;
  color: #0f172a;
  font-size: 2rem;
  line-height: 1;
}

.workspace-ref-stat-card small,
.workspace-ref-stat-card em {
  display: block;
  color: #64748b;
  font-size: 0.82rem;
  font-style: normal;
}

.workspace-ref-stat-card small {
  margin-top: 0.55rem;
  color: #0f172a;
  font-weight: 700;
}

.workspace-home-reference .workspace-secondary {
  gap: 1rem;
}

.workspace-home-reference .workspace-sidebar-footer {
  gap: 0.8rem;
}

.workspace-home-reference .workspace-ghost-btn {
  min-height: 40px;
}

.workspace-ref-calendar-label {
  color: #334155;
  font-size: 0.88rem;
  font-weight: 700;
  min-width: 88px;
  text-align: center;
}

@media (max-width: 1180px) {
  .workspace-home-reference .workspace-shell {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .workspace-home-reference .workspace-content-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .workspace-ref-hero-top,
  .workspace-ref-main-grid,
  .workspace-ref-bottom-grid {
    grid-template-columns: 1fr;
  }

  .workspace-ref-action-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .workspace-ref-stats-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workspace-command-center {
    grid-template-columns: 1fr;
  }

  .workspace-command-actions {
    grid-template-columns: 1fr;
  }

  .workspace-shell {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .workspace-content-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .workspace-secondary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }
}

@media (max-width: 920px) {
  .workspace-ref-action-grid,
  .workspace-ref-stats-row,
  .workspace-ref-shortcuts {
    grid-template-columns: 1fr;
  }

  .workspace-ref-hero-top {
    grid-template-columns: 1fr;
  }

  .workspace-ref-hero-visual {
    height: 140px;
  }

  .workspace-home {
    padding: 1rem;
  }

  .workspace-shell {
    grid-template-columns: 1fr;
  }

  .workspace-sidebar {
    border-right: 0;
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  }

  .workspace-hero {
    grid-template-columns: 1fr;
  }

  .workspace-command-actions,
  .workspace-hero-actions,
  .workspace-stat-grid,
  .workspace-secondary {
    grid-template-columns: 1fr;
  }

  .workspace-quick-actions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workspace-join-strip {
    grid-template-columns: 1fr;
  }

  .workspace-meeting-table-head {
    display: none;
  }

  .workspace-meeting-row {
    grid-template-columns: 1fr;
  }

  .workspace-row-actions,
  .workspace-upcoming-banner,
  .workspace-recordings-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Home reference layout overrides: keep the dashboard responsive without clipping cards. */
.workspace-home-reference {
  background:
    radial-gradient(circle at top left, rgba(76, 132, 255, 0.08), transparent 18%),
    linear-gradient(180deg, #f8fbff 0%, #f3f7fd 100%);
}

.workspace-home-reference .workspace-shell {
  max-width: 1440px;
  min-height: calc(100vh - 3.2rem);
  border-radius: 26px;
  border: 1px solid rgba(219, 227, 241, 0.95);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 48px rgba(148, 163, 184, 0.18);
}

.workspace-home-reference .workspace-sidebar,
.workspace-home-reference .workspace-main,
.workspace-home-reference .workspace-panel,
.workspace-home-reference .workspace-side-panel,
.workspace-home-reference .workspace-ref-hero {
  background: rgba(255, 255, 255, 0.68);
  -webkit-backdrop-filter: blur(18px);
          backdrop-filter: blur(18px);
}

.workspace-home-reference .workspace-main,
.workspace-home-reference .workspace-primary,
.workspace-home-reference .workspace-secondary,
.workspace-home-reference .workspace-panel,
.workspace-home-reference .workspace-side-panel,
.workspace-home-reference .workspace-ref-hero,
.workspace-home-reference .workspace-ref-main-grid,
.workspace-home-reference .workspace-ref-bottom-grid {
  min-width: 0;
}

.workspace-home-reference .workspace-content-grid {
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: start;
  gap: 1.125rem;
}

.workspace-home-reference .workspace-sidebar {
  width: 240px;
  padding: 1.25rem 1rem 1.25rem;
  border-right: 1px solid rgba(223, 230, 242, 0.92);
  gap: 1rem;
}

.workspace-home-reference .workspace-brand {
  gap: 0.8rem;
  padding: 0.2rem 0.1rem 0.55rem;
}

.workspace-home-reference .workspace-brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  box-shadow: none;
}

.workspace-home-reference .workspace-brand strong {
  font-size: 1.15rem;
  font-weight: 800;
}

.workspace-home-reference .workspace-nav-group {
  gap: 0.4rem;
}

.workspace-settings-group {
  display: grid;
  grid-gap: 0.42rem;
  gap: 0.42rem;
}

.workspace-settings-subnav {
  display: grid;
  grid-gap: 0.26rem;
  gap: 0.26rem;
  margin-left: 0.85rem;
  padding-left: 0.8rem;
  border-left: 1px solid rgba(210, 220, 236, 0.95);
}

.workspace-settings-subnav-link {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 34px;
  padding: 0 0.2rem;
  border-radius: 10px;
  color: #6b7b94;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
}

.workspace-settings-subnav-link:hover {
  color: #334155;
  background: rgba(37, 99, 235, 0.05);
}

.workspace-settings-subnav-link.active {
  color: #2563eb;
  background: rgba(37, 99, 235, 0.08);
}

.workspace-settings-subnav-icon {
  width: 18px;
  display: inline-flex;
  justify-content: center;
  color: #94a3b8;
}

.workspace-home-reference .workspace-ref-hero-top {
  grid-template-columns: minmax(0, 1fr) minmax(220px, 290px);
}

.workspace-home-reference .workspace-ref-action-grid {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.workspace-home-reference .workspace-ref-main-grid,
.workspace-home-reference .workspace-ref-bottom-grid,
.workspace-home-reference .workspace-ref-stats-row {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.workspace-home-reference .workspace-ref-shortcuts {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.workspace-home-reference .workspace-ref-action-card,
.workspace-home-reference .workspace-ref-stat-card,
.workspace-home-reference .workspace-ref-shortcut-tile {
  min-width: 0;
}

.workspace-home-reference .workspace-nav-link {
  min-height: 42px;
  border-radius: 12px;
  padding: 0 0.9rem;
  color: #445778;
  font-weight: 600;
}

.workspace-home-reference .workspace-nav-link.active {
  color: #2563eb;
  background: #eaf1ff;
  box-shadow: none;
}

.workspace-home-reference .workspace-nav-link:hover {
  transform: none;
}

.workspace-home-reference .workspace-nav-icon {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: transparent;
}

.workspace-home-reference .workspace-ref-workspace-chip {
  grid-template-columns: 42px minmax(0, 1fr) 16px;
  padding: 0.9rem 0.95rem;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(148, 163, 184, 0.08);
}

.workspace-ref-workspace-copy {
  min-width: 0;
}

.workspace-ref-workspace-caret {
  color: #7f8ca7;
  font-size: 0.9rem;
}

.workspace-home-reference .workspace-ref-workspace-chip strong {
  font-size: 0.94rem;
}

.workspace-home-reference .workspace-ref-workspace-chip span {
  font-size: 0.82rem;
}

.workspace-home-reference .workspace-sidebar-footer {
  border-top: 1px solid rgba(231, 236, 245, 0.95);
  padding-top: 0.8rem;
  gap: 0.55rem;
}

.workspace-home-reference .workspace-ref-sync-card {
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 0.7rem;
  border-radius: 16px;
  padding: 0.82rem 0.88rem;
  box-shadow: 0 8px 24px rgba(148, 163, 184, 0.08);
}

.workspace-home-reference .workspace-ref-sync-card strong {
  display: block;
  font-size: 0.92rem;
  line-height: 1.25;
}

.workspace-home-reference .workspace-ref-sync-card span {
  display: block;
  margin-top: 0.18rem;
  font-size: 0.8rem;
  line-height: 1.4;
  word-break: break-word;
}

.workspace-home-reference .workspace-ref-sync-link {
  min-height: 34px;
  margin-top: 0.45rem;
}

.workspace-home-reference .workspace-ghost-btn {
  justify-content: flex-start;
  min-height: 34px;
  padding-left: 0.2rem;
  border: 0;
  background: transparent;
  color: #445778;
  box-shadow: none;
}

.workspace-home-reference .workspace-main {
  padding: 1.25rem;
  gap: 1.25rem;
}

.workspace-home-reference .workspace-topbar {
  padding: 0.05rem;
  gap: 1rem;
}

.workspace-home-reference .workspace-search,
.workspace-home-reference .workspace-icon-btn,
.workspace-home-reference .workspace-quick-join-btn,
.workspace-home-reference .workspace-panel,
.workspace-home-reference .workspace-side-panel,
.workspace-home-reference .workspace-ref-hero {
  border: 1px solid rgba(223, 230, 242, 0.96);
  box-shadow: 0 10px 30px rgba(148, 163, 184, 0.08);
}

.workspace-home-reference .workspace-search {
  min-height: 44px;
  border-radius: 16px;
  padding: 0 1rem;
  background: rgba(255, 255, 255, 0.82);
}

.workspace-home-reference .workspace-search input {
  font-size: 0.92rem;
  color: #31415f;
}

.workspace-home-reference .workspace-icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  color: #1f2f49;
}

.workspace-home-reference .workspace-quick-join-btn {
  min-width: 160px;
  min-height: 44px;
  border-radius: 14px;
  font-size: 0.98rem;
  font-weight: 700;
}

.workspace-home-reference .workspace-ref-hero {
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
  gap: 1.1rem;
  border-radius: 22px;
  background:
    radial-gradient(circle at 70% 40%, rgba(90, 143, 255, 0.14), transparent 18%),
    radial-gradient(circle at 88% 24%, rgba(116, 167, 255, 0.12), transparent 16%),
    linear-gradient(180deg, rgba(248, 251, 255, 0.95) 0%, rgba(243, 248, 255, 0.92) 100%);
}

.workspace-home-reference .workspace-eyebrow {
  font-size: 0.94rem;
  font-weight: 800;
  color: #2563eb;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.workspace-home-reference .workspace-hero h1 {
  margin-top: 0.35rem;
  font-size: 2rem;
  line-height: 1.08;
  color: #111827;
  letter-spacing: -0.04em;
  max-width: 12ch;
}

.workspace-home-reference .workspace-hero-subcopy {
  margin: 0.7rem 0 0;
  max-width: 40rem;
  font-size: 0.96rem;
  line-height: 1.6;
  color: #64748b;
}

.workspace-home-reference .workspace-ref-metrics {
  gap: 0.95rem 1.25rem;
}

.workspace-home-reference .workspace-ref-metric {
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 0.45rem;
}

.workspace-home-reference .workspace-ref-metric-icon,
.workspace-home-reference .workspace-section-icon,
.workspace-home-reference .workspace-quick-action-icon,
.workspace-home-reference .workspace-ref-action-icon,
.workspace-home-reference .workspace-ref-sync-icon {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.workspace-home-reference .workspace-ref-metric-icon {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  font-size: 0.78rem;
}

.workspace-home-reference .workspace-ref-metric strong {
  font-size: 0.84rem;
}

.workspace-home-reference .workspace-ref-metric small {
  font-size: 0.82rem;
}

.workspace-home-reference .workspace-ref-hero-visual {
  height: 190px;
  align-self: center;
}

.workspace-home-reference .workspace-ref-orb.large {
  width: 100px;
  height: 100px;
  right: 12px;
  bottom: 10px;
}

.workspace-home-reference .workspace-ref-orb.medium {
  width: 58px;
  height: 58px;
  right: 104px;
  top: 18px;
}

.workspace-home-reference .workspace-ref-orb.small {
  width: 50px;
  height: 50px;
  left: 52px;
  bottom: 28px;
}

.workspace-home-reference .workspace-ref-visual-card {
  border-radius: 20px;
}

.workspace-home-reference .workspace-ref-visual-card.main {
  width: 130px;
  height: 110px;
  top: 18px;
  left: 90px;
  font-size: 2.4rem;
}

.workspace-home-reference .workspace-ref-action-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-gap: 1rem;
  gap: 1rem;
}

.workspace-home-reference .workspace-ref-action-card {
  min-height: 150px;
  padding: 1rem;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(252, 253, 255, 0.98) 100%);
}

.workspace-home-reference .workspace-ref-action-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  font-size: 1.1rem;
}

.workspace-home-reference .workspace-ref-action-card strong {
  margin-top: 0.9rem;
  font-size: 0.95rem;
}

.workspace-home-reference .workspace-ref-action-card small {
  font-size: 0.78rem;
  line-height: 1.5;
}

.workspace-home-reference .workspace-ref-action-card em {
  font-size: 1rem;
  color: #7b8dab;
}

.workspace-home-reference .workspace-panel,
.workspace-home-reference .workspace-side-panel {
  padding: 1.25rem;
  border-radius: 18px;
}

.workspace-home-reference .workspace-ref-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  grid-gap: 1.125rem;
  gap: 1.125rem;
}

.workspace-home-reference .workspace-ref-bottom-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  grid-gap: 1.125rem;
  gap: 1.125rem;
}

.workspace-home-reference .workspace-panel-head,
.workspace-home-reference .workspace-side-head {
  margin-bottom: 0.9rem;
  align-items: flex-start;
}

.workspace-home-reference .workspace-panel-head h2,
.workspace-home-reference .workspace-side-head strong {
  font-size: 0.96rem;
  font-weight: 800;
  color: #17253d;
}

.workspace-home-reference .workspace-panel-head p {
  margin-top: 0.2rem;
  font-size: 0.82rem;
  color: #7787a3;
}

.workspace-section-kicker,
.workspace-side-title {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.18rem;
}

.workspace-section-icon {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #eef4ff 0%, #f8fbff 100%);
  color: #2563eb;
  font-size: 0.72rem;
  font-weight: 800;
  border: 1px solid rgba(214, 226, 247, 0.98);
}

.workspace-home-reference .workspace-inline-link {
  font-size: 0.8rem;
  text-decoration: none;
}

.workspace-home-reference .workspace-meeting-table {
  gap: 0.7rem;
}

.workspace-home-reference .workspace-meeting-table-head {
  padding: 0 0.2rem;
  font-size: 0.68rem;
  color: #8fa0bb;
}

.workspace-home-reference .workspace-meeting-row {
  border-radius: 18px;
  box-shadow: none;
}

.workspace-home-reference .workspace-ref-empty-state,
.workspace-home-reference .workspace-side-empty-card,
.workspace-home-reference .workspace-empty-state.compact {
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72) 0%, rgba(251, 252, 255, 0.92) 100%);
  border: 1px solid rgba(226, 232, 241, 0.96);
  text-align: center;
}

.workspace-home-reference .workspace-ref-empty-state {
  min-height: 240px;
  padding: 1.4rem 1.2rem;
}

.workspace-home-reference .workspace-side-empty-card {
  min-height: 132px;
  justify-items: center;
  align-content: center;
  padding: 1.2rem 1rem;
}

.workspace-home-reference .workspace-ref-empty-state.compact {
  justify-items: start;
  text-align: left;
  min-height: 120px;
}

.workspace-home-reference .workspace-ref-empty-icon {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(238, 245, 255, 0.95) 0%, rgba(248, 251, 255, 0.98) 100%);
}

.workspace-home-reference .workspace-ref-empty-icon.small {
  width: 56px;
  height: 56px;
}

.workspace-home-reference .workspace-ref-empty-actions {
  margin-top: 0.8rem;
}

.workspace-home-reference .workspace-ref-pill-link {
  min-height: 36px;
  font-size: 0.82rem;
}

.workspace-home-reference .workspace-quick-actions-grid {
  gap: 0.8rem;
}

.workspace-home-reference .workspace-ref-shortcut-tile {
  min-height: 70px;
  border-radius: 18px;
  padding: 0.75rem 0.85rem;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  grid-gap: 0.7rem;
  gap: 0.7rem;
  align-items: center;
}

.workspace-home-reference .workspace-quick-action-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  font-size: 1rem;
}

.workspace-home-reference .workspace-ref-shortcut-tile strong {
  font-size: 0.88rem;
}

.workspace-home-reference .workspace-ref-shortcut-tile small {
  font-size: 0.78rem;
}

.workspace-home-reference .workspace-ref-stats-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-gap: 1rem;
  gap: 1rem;
}

.workspace-home-reference .workspace-ref-stat-card {
  padding: 1rem;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.92) 0%, rgba(249,251,255,0.96) 100%);
}

.workspace-home-reference .workspace-ref-stat-card strong {
  font-size: 1.45rem;
}

.workspace-home-reference .workspace-ref-stat-card small {
  margin-top: 0.45rem;
  font-size: 0.8rem;
}

.workspace-home-reference .workspace-ref-stat-card em {
  margin-top: 0.2rem;
  font-size: 0.76rem;
}

.workspace-home-reference .workspace-recordings-row {
  border-radius: 18px;
  padding: 0.9rem;
  box-shadow: none;
}

.workspace-home-reference .workspace-recording-thumb {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #2563eb;
  background: linear-gradient(180deg, #edf4ff 0%, #f8fbff 100%);
  border: 1px solid rgba(214, 226, 247, 0.98);
}

.workspace-home-reference .workspace-agenda-list,
.workspace-home-reference .workspace-recording-list {
  gap: 0.8rem;
}

.workspace-home-reference .workspace-agenda-item,
.workspace-home-reference .workspace-recording-item {
  min-height: 68px;
  padding: 0.2rem 0;
}

.workspace-home-reference .workspace-agenda-item > span {
  min-width: 52px;
  font-size: 0.78rem;
  color: #6a7ea3;
}

.workspace-home-reference .workspace-calendar-nav {
  gap: 0.5rem;
}

.workspace-home-reference .workspace-mini-icon-btn {
  width: 28px;
  height: 28px;
  color: #64748b;
  box-shadow: none;
}

.workspace-home-reference .workspace-ref-calendar-label {
  min-width: 74px;
  font-size: 0.82rem;
}

.workspace-home-reference .workspace-calendar-grid {
  gap: 0.35rem;
}

.workspace-home-reference .workspace-calendar-grid span,
.workspace-home-reference .workspace-calendar-grid button {
  min-height: 28px;
  font-size: 0.76rem;
}

.workspace-home-reference .workspace-calendar-grid button.selected,
.workspace-home-reference .workspace-calendar-grid button.today.selected {
  width: 32px;
  justify-self: center;
  border-radius: 999px;
  box-shadow: none;
}

.workspace-home-reference .workspace-calendar-grid button.today {
  width: 32px;
  justify-self: center;
  border-radius: 999px;
  box-shadow: none;
}

@media (max-width: 1360px) {
  .workspace-home-reference .workspace-ref-action-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .workspace-home-reference .workspace-ref-main-grid,
  .workspace-home-reference .workspace-ref-bottom-grid {
    grid-template-columns: 1fr;
  }

  .workspace-home-reference .workspace-ref-stats-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1120px) {
  .workspace-home-reference .workspace-ref-hero-top {
    grid-template-columns: 1fr;
  }

  .workspace-home-reference .workspace-ref-action-grid,
  .workspace-home-reference .workspace-secondary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .workspace-home-reference .workspace-ref-action-grid,
  .workspace-home-reference .workspace-ref-stats-row,
  .workspace-home-reference .workspace-ref-shortcuts,
  .workspace-home-reference .workspace-secondary {
    grid-template-columns: 1fr;
  }
}

/* APK home mobile layout */
.workspace-mobile-home {
  display: none;
}

@media (max-width: 900px) {
  .workspace-home-reference .workspace-shell {
    display: none;
  }

  .workspace-mobile-home {
    display: grid;
    grid-gap: 16px;
    gap: 16px;
    min-height: 100vh;
    padding: 18px 18px 120px;
    background:
      radial-gradient(circle at 82% 6%, rgba(67, 97, 238, 0.14), transparent 18%),
      radial-gradient(circle at 12% 22%, rgba(96, 165, 250, 0.08), transparent 20%),
      linear-gradient(180deg, #fbfdff 0%, #f2f7ff 100%);
  }

  .workspace-mobile-statusbar,
  .workspace-mobile-brand-row,
  .workspace-mobile-hero-actions,
  .workspace-mobile-panel-head,
  .workspace-mobile-empty-card,
  .workspace-mobile-recording-card,
  .workspace-mobile-calendar-foot,
  .workspace-mobile-bottom-nav,
  .workspace-mobile-week-strip {
    display: flex;
    align-items: center;
  }

  .workspace-mobile-statusbar,
  .workspace-mobile-brand-row,
  .workspace-mobile-hero-actions,
  .workspace-mobile-panel-head {
    justify-content: space-between;
  }

  .workspace-mobile-statusbar strong {
    font-size: 0.98rem;
    color: #111827;
  }

  .workspace-mobile-status-icons {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #111827;
    font-size: 0.9rem;
  }

  .workspace-mobile-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #0f172a;
  }

  .workspace-mobile-brand strong {
    font-size: 1.55rem;
    font-weight: 800;
  }

  .workspace-mobile-brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #7c3aed 0%, #2563eb 70%);
    color: transparent;
    box-shadow: 0 14px 32px rgba(59, 130, 246, 0.24);
  }

  .workspace-mobile-top-actions {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .workspace-mobile-icon-btn,
  .workspace-mobile-refresh-btn,
  .workspace-mobile-week-nav {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    display: inline-grid;
    place-items: center;
    border: 1px solid rgba(221, 229, 242, 0.98);
    background: rgba(255, 255, 255, 0.94);
    color: #243b63;
    text-decoration: none;
    box-shadow: 0 12px 30px rgba(148, 163, 184, 0.12);
  }

  .workspace-mobile-avatar-btn {
    position: relative;
    width: 52px;
    height: 52px;
    border-radius: 18px;
    border: none;
    background: linear-gradient(135deg, #7c3aed 0%, #4f46e5 100%);
    color: #fff;
    font-size: 1.12rem;
    font-weight: 800;
    box-shadow: 0 16px 36px rgba(79, 70, 229, 0.24);
  }

  .workspace-mobile-avatar-btn em {
    position: absolute;
    right: -2px;
    bottom: -2px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #22c55e;
    border: 2px solid #fff;
  }

  .workspace-mobile-hero-copy h1 {
    margin: 0;
    color: #0f1e3b;
    font-size: 2.45rem;
    line-height: 1.04;
    letter-spacing: -0.05em;
  }

  .workspace-mobile-hero-copy p {
    margin: 14px 0 0;
    color: #667893;
    font-size: 1.14rem;
  }

  .workspace-mobile-hero-actions {
    gap: 14px;
  }

  .workspace-mobile-primary-btn {
    flex: 1 1;
    height: 52px;
    border-radius: 18px;
    border: none;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #fff;
    font-size: 1.05rem;
    font-weight: 800;
    box-shadow: 0 18px 34px rgba(37, 99, 235, 0.26);
  }

  .workspace-mobile-feature-card {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) 52px;
    align-items: center;
    grid-gap: 16px;
    gap: 16px;
    padding: 22px 22px;
    border: none;
    border-radius: 24px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #fff;
    text-align: left;
    box-shadow: 0 24px 42px rgba(37, 99, 235, 0.24);
  }

  .workspace-mobile-feature-icon,
  .workspace-mobile-mini-icon,
  .workspace-mobile-panel-icon,
  .workspace-mobile-recording-thumb {
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: linear-gradient(180deg, #f7fbff 0%, #eef4ff 100%);
    color: #2563eb;
    border: 1px solid rgba(221, 229, 242, 0.96);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.76);
  }

  .workspace-mobile-feature-icon {
    width: 58px;
    height: 58px;
    font-size: 1.4rem;
  }

  .workspace-mobile-feature-card strong {
    display: block;
    font-size: 1.05rem;
    font-weight: 800;
  }

  .workspace-mobile-feature-card small {
    display: block;
    margin-top: 6px;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.82);
  }

  .workspace-mobile-feature-card em,
  .workspace-mobile-mini-card em,
  .workspace-mobile-action-card em,
  .workspace-mobile-recording-card em {
    font-style: normal;
    color: inherit;
    opacity: 0.72;
  }

  .workspace-mobile-feature-card em {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.96);
    color: #2563eb;
    font-size: 1.5rem;
  }

  .workspace-mobile-twin-grid,
  .workspace-mobile-action-grid,
  .workspace-mobile-stats-row {
    display: grid;
    grid-gap: 14px;
    gap: 14px;
  }

  .workspace-mobile-twin-grid,
  .workspace-mobile-action-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workspace-mobile-mini-card,
  .workspace-mobile-action-card {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) 18px;
    align-items: center;
    grid-gap: 14px;
    gap: 14px;
    padding: 18px;
    border-radius: 22px;
    border: 1px solid rgba(223, 230, 242, 0.96);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 14px 30px rgba(148, 163, 184, 0.1);
    text-decoration: none;
    color: #0f172a;
    text-align: left;
  }

  .workspace-mobile-mini-card {
    border: none;
  }

  .workspace-mobile-mini-icon {
    width: 52px;
    height: 52px;
    font-size: 1.2rem;
  }

  .workspace-mobile-mini-icon.violet {
    color: #7c3aed;
    background: linear-gradient(180deg, #faf5ff 0%, #f3e8ff 100%);
  }

  .workspace-mobile-mini-icon.blue {
    color: #2563eb;
  }

  .workspace-mobile-mini-card strong,
  .workspace-mobile-action-card strong,
  .workspace-mobile-meeting-card strong,
  .workspace-mobile-recording-card strong,
  .workspace-mobile-empty-card strong,
  .workspace-mobile-calendar-foot strong {
    color: #0f172a;
    font-size: 0.98rem;
    font-weight: 800;
  }

  .workspace-mobile-mini-card small,
  .workspace-mobile-action-card small,
  .workspace-mobile-meeting-card small,
  .workspace-mobile-recording-card small,
  .workspace-mobile-empty-card small {
    display: block;
    margin-top: 4px;
    color: #667893;
    font-size: 0.86rem;
    line-height: 1.45;
  }

  .workspace-mobile-panel {
    padding: 18px;
    border-radius: 24px;
    border: 1px solid rgba(223, 230, 242, 0.96);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 16px 32px rgba(148, 163, 184, 0.1);
  }

  .workspace-mobile-panel-head {
    gap: 12px;
    margin-bottom: 14px;
  }

  .workspace-mobile-panel-head strong {
    font-size: 0.98rem;
    font-weight: 800;
    color: #0f172a;
  }

  .workspace-mobile-panel-head a,
  .workspace-mobile-empty-actions a,
  .workspace-mobile-empty-actions button {
    color: #2563eb;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    background: none;
    border: none;
  }

  .workspace-mobile-meeting-card,
  .workspace-mobile-empty-card,
  .workspace-mobile-recording-card {
    gap: 14px;
    padding: 16px;
    border-radius: 20px;
    border: 1px solid rgba(223, 230, 242, 0.96);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(249, 251, 255, 0.98) 100%);
  }

  .workspace-mobile-meeting-card {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    align-items: center;
    width: 100%;
    margin-top: 10px;
    text-align: left;
  }

  .workspace-mobile-empty-card {
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .workspace-mobile-panel-icon,
  .workspace-mobile-recording-thumb {
    width: 48px;
    height: 48px;
    font-size: 1.1rem;
    flex: 0 0 auto;
  }

  .workspace-mobile-empty-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
  }

  .workspace-mobile-empty-actions a,
  .workspace-mobile-empty-actions button {
    min-height: 44px;
    padding: 0 18px;
    border-radius: 16px;
    border: 1px solid rgba(59, 130, 246, 0.26);
  }

  .workspace-mobile-empty-actions button {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #fff;
    border: none;
  }

  .workspace-mobile-meeting-pill {
    min-height: 38px;
    padding: 0 14px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    background: rgba(37, 99, 235, 0.1);
    color: #2563eb;
    font-size: 0.84rem;
    font-weight: 700;
  }

  .workspace-mobile-recording-card {
    justify-content: space-between;
  }

  .workspace-mobile-recording-card > div {
    flex: 1 1;
    min-width: 0;
  }

  .workspace-mobile-stats-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .workspace-mobile-stat-card {
    padding: 16px 14px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(244, 248, 255, 0.98) 0%, rgba(236, 243, 255, 0.9) 100%);
  }

  .workspace-mobile-stat-card.green {
    background: linear-gradient(180deg, rgba(236, 253, 245, 0.98) 0%, rgba(220, 252, 231, 0.9) 100%);
  }

  .workspace-mobile-stat-card.violet {
    background: linear-gradient(180deg, rgba(245, 243, 255, 0.98) 0%, rgba(237, 233, 254, 0.9) 100%);
  }

  .workspace-mobile-stat-card strong {
    display: block;
    margin-top: 12px;
    font-size: 1.45rem;
    color: #0f172a;
  }

  .workspace-mobile-stat-card small {
    display: block;
    margin-top: 4px;
    color: #53657f;
    font-size: 0.88rem;
  }

  .workspace-mobile-calendar-panel {
    gap: 14px;
  }

  .workspace-mobile-week-strip {
    gap: 10px;
    justify-content: space-between;
  }

  .workspace-mobile-week-day {
    flex: 1 1;
    min-width: 0;
    padding: 8px 4px;
    border: none;
    border-radius: 18px;
    background: transparent;
    color: #475569;
  }

  .workspace-mobile-week-day small {
    display: block;
    font-size: 0.78rem;
    text-transform: capitalize;
  }

  .workspace-mobile-week-day strong {
    display: block;
    margin-top: 8px;
    font-size: 1.15rem;
  }

  .workspace-mobile-week-day.active {
    background: rgba(37, 99, 235, 0.08);
    color: #2563eb;
  }

  .workspace-mobile-week-day.active strong {
    width: 46px;
    height: 46px;
    margin: 8px auto 0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #fff;
    box-shadow: 0 16px 30px rgba(37, 99, 235, 0.2);
  }

  .workspace-mobile-calendar-foot {
    justify-content: center;
    gap: 10px;
    padding-top: 14px;
    border-top: 1px solid rgba(226, 232, 240, 0.92);
    color: #6b7d97;
  }

  .workspace-mobile-bottom-nav {
    position: fixed;
    left: 18px;
    right: 18px;
    bottom: 18px;
    justify-content: space-between;
    gap: 8px;
    padding: 12px 14px;
    border-radius: 26px;
    border: 1px solid rgba(223, 230, 242, 0.96);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 40px rgba(148, 163, 184, 0.18);
    -webkit-backdrop-filter: blur(18px);
            backdrop-filter: blur(18px);
  }

  .workspace-mobile-bottom-link {
    flex: 1 1;
    min-width: 0;
    padding: 10px 6px;
    border-radius: 18px;
    display: grid;
    justify-items: center;
    grid-gap: 6px;
    gap: 6px;
    text-decoration: none;
    color: #4b5c77;
  }

  .workspace-mobile-bottom-link span {
    font-size: 1.15rem;
  }

  .workspace-mobile-bottom-link small {
    font-size: 0.76rem;
    font-weight: 700;
  }

  .workspace-mobile-bottom-link.active {
    background: linear-gradient(180deg, rgba(236, 244, 255, 0.96) 0%, rgba(228, 238, 255, 0.98) 100%);
    color: #2563eb;
  }
}

@media (max-width: 620px) {
  .workspace-mobile-home {
    padding: 16px 14px 112px;
  }

  .workspace-mobile-twin-grid,
  .workspace-mobile-action-grid {
    grid-template-columns: 1fr;
  }

  .workspace-mobile-stats-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .workspace-mobile-brand strong {
    font-size: 1.38rem;
  }

  .workspace-mobile-hero-copy h1 {
    font-size: 2.1rem;
  }

  .workspace-mobile-feature-card {
    grid-template-columns: 52px minmax(0, 1fr) 44px;
    padding: 18px;
  }
}

/* Final room-only overrides */
.room-page {
  background: linear-gradient(180deg, #f7f9fd 0%, #edf2fb 100%);
}

.meeting-shell {
  width: min(1680px, calc(100% - 20px));
  margin: 10px auto;
  border-radius: 26px;
  border: 1px solid rgba(226, 232, 240, 0.92);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 44px rgba(15, 23, 42, 0.08);
}

.room-topbar {
  min-height: 78px;
  padding: 12px 18px;
  gap: 14px;
  flex-wrap: nowrap;
}

.room-topbar-left,
.room-topbar-right {
  gap: 12px;
  flex-wrap: nowrap;
}

.room-session-meta {
  gap: 0.18rem;
  padding-left: 16px;
}

.room-session-title {
  font-size: 0.96rem;
}

.room-id-badge {
  min-height: 34px;
  border-radius: 14px;
}

.room-mode-tabs {
  gap: 0.35rem;
}

.room-mode-tab {
  min-width: 108px;
  height: 42px;
  border-radius: 14px;
}

.room-mode-tab.active::after {
  bottom: -10px;
}

.room-topbar-pill,
.room-topbar-icon-btn,
.room-host-chip {
  min-height: 40px;
  border-radius: 14px;
}

.room-topbar-pill {
  padding: 0 0.88rem;
  font-size: 0.84rem;
}

.room-topbar-pill-waiting {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.room-topbar-pill-waiting-count {
  color: #0f172a;
  font-weight: 800;
}

.room-topbar-pill-waiting-label {
  color: inherit;
  font-weight: 700;
}

.room-topbar-icon-btn {
  width: 40px;
}

.room-host-avatar {
  width: 32px;
  height: 32px;
}

.connection-status {
  min-height: 40px;
  padding: 0.45rem 0.72rem;
  border-radius: 12px;
}

.room-content {
  grid-template-columns: minmax(0, 1fr) minmax(272px, 20vw);
  gap: 0;
  min-height: calc(100vh - 112px);
  background: #f5f8fd;
}

.room-main-column {
  min-width: 0;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.webinar-host-strip {
  min-height: 58px;
  padding: 10px 14px;
  border-radius: 18px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.webinar-host-strip-copy {
  gap: 10px;
}

.webinar-host-strip-kicker {
  font-size: 0.9rem;
  font-weight: 800;
  color: #0f172a;
}

.webinar-host-strip-meta {
  gap: 10px;
  flex-wrap: wrap;
  color: #475569;
  font-size: 0.8rem;
}

.webinar-host-strip-meta span::before {
  opacity: 0.5;
}

.webinar-host-strip-pill {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.1);
  color: #7c3aed;
  font-weight: 700;
}

.webinar-host-strip-actions {
  gap: 8px;
}

.webinar-host-pill {
  min-height: 36px;
  padding: 0 12px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 700;
}

.video-area {
  flex: 1 1;
  min-height: 0;
  padding: 0;
  gap: 14px;
  background: transparent;
}

.meeting-stage-insights,
.meeting-gallery-head {
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.meeting-stage-insights {
  padding: 10px 14px;
}

.meeting-stage-live-row {
  gap: 12px;
  flex-wrap: nowrap;
  overflow-x: auto;
}

.meeting-stage-live-pill {
  min-height: 30px;
  padding: 0 12px;
  font-size: 0.78rem;
}

.meeting-stage-live-metric {
  white-space: nowrap;
  font-size: 0.82rem;
}

.meeting-gallery-head {
  padding: 10px 14px;
}

.meeting-gallery-kicker {
  font-size: 0.84rem;
  font-weight: 700;
}

.meeting-grid-switcher-btn {
  min-width: 34px;
  height: 34px;
}

.video-grid,
.video-stage-layout,
.webinar-stage-shell {
  padding: 8px;
  border-radius: 22px;
  background: linear-gradient(180deg, #08111f 0%, #0f1a2f 100%);
  border: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.video-tile {
  border-radius: 18px;
  border: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.video-tile-actions {
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.video-tile:hover .video-tile-actions,
.video-tile:focus-within .video-tile-actions {
  opacity: 1;
  transform: translateY(0);
}

.video-action-btn {
  min-height: 28px;
  padding: 0 10px;
  font-size: 0.74rem;
  border-radius: 10px;
}

.video-tile-placeholder-waiting {
  gap: 14px;
}

.waiting-stage-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.waiting-stage-btn {
  height: 38px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.waiting-stage-btn-success {
  border-color: rgba(16, 185, 129, 0.4);
  color: #34d399;
}

.waiting-stage-btn-danger {
  border-color: rgba(248, 113, 113, 0.4);
  color: #f87171;
}

.controls-bar {
  display: grid;
  grid-gap: 0;
  gap: 0;
  justify-content: center;
  overflow: visible;
  padding: 14px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(226, 232, 240, 0.85);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  scrollbar-width: thin;
}

.controls-dock-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: nowrap;
}

.controls-dock-row-secondary {
  display: none;
}

.controls-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.controls-group-primary {
  padding: 0;
}

.controls-group-leave {
  position: relative;
  padding-left: 16px;
}

.controls-group-leave::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 52px;
  transform: translateY(-50%);
  background: rgba(203, 213, 225, 0.9);
}

.controls-divider {
  width: 1px;
  height: 48px;
  background: rgba(203, 213, 225, 0.8);
  flex: 0 0 auto;
}

.controls-spacer {
  flex: 1 0 16px;
  min-width: 16px;
}

.ctrl-btn[data-label] {
  width: 72px;
  height: 72px;
  padding-top: 0;
  border-radius: 20px;
  background: transparent;
  border: 0;
  box-shadow: none;
  font-size: 1.02rem;
  color: #5f6368;
  position: relative;
  z-index: 0;
}

.ctrl-btn[data-label]::after {
  bottom: 0;
  font-size: 0.72rem;
  font-weight: 500;
  color: #202124;
}

.ctrl-btn[data-compact="true"] {
  width: 44px;
  height: 44px;
  border-radius: 12px;
}

.ctrl-btn[data-label]::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 50%;
  width: 42px;
  height: 42px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #f1f3f4;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
  opacity: 1;
  z-index: -1;
}

.ctrl-btn.active {
  color: #3c4043;
  border-color: transparent;
  box-shadow: none;
}

.ctrl-btn:disabled,
.ctrl-btn[disabled] {
  color: #94a3b8;
  border-color: transparent;
  background: transparent;
}

.ctrl-select-card {
  display: grid;
  grid-gap: 4px;
  gap: 4px;
  min-width: 112px;
  padding: 10px 12px 8px;
  border-radius: 16px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  background: #fff;
  flex: 0 0 auto;
}

.ctrl-select-card-label {
  font-size: 0.68rem;
  line-height: 1;
  font-weight: 700;
  color: #334155;
}

.controls-inline-select {
  min-width: 128px;
}

.controls-more-menu-compact {
  width: min(320px, calc(100vw - 32px));
}

.controls-more-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-gap: 8px;
  gap: 8px;
}

.controls-more-language-compact {
  margin-top: 2px;
}

.meeting-lang-select {
  min-width: 92px;
  height: 22px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #64748b;
  font-size: 0.78rem;
  outline: none;
}

.ctrl-btn-leave {
  width: 76px;
  min-width: 76px;
  color: #ffffff;
}

.ctrl-btn.danger.ctrl-btn-leave:hover {
  color: #ffffff;
}

.ctrl-btn-leave::before {
  top: 2px;
  left: 50%;
  width: 44px;
  height: 44px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #ea4335;
  box-shadow: 0 8px 18px rgba(234, 67, 53, 0.28);
  z-index: -1;
}

.ctrl-btn-leave::after {
  color: #202124;
}

.ctrl-btn[data-label]:hover {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  transform: none;
}

.ctrl-btn[data-label]:hover::before {
  background: #e8eaed;
}

.room-sidebar {
  min-width: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.98) 100%);
}

.sidebar-tabs {
  gap: 6px;
  padding: 10px 12px 8px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
}

.sidebar-tab {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 8px 10px;
  font-size: 0.78rem;
  white-space: nowrap;
}

.sidebar-tabs::-webkit-scrollbar {
  display: none;
}

.sidebar-content {
  padding: 12px 14px 14px;
}

.room-sidebar .participant-item {
  padding: 12px;
  border-radius: 14px;
}

.room-sidebar .participant-name {
  font-size: 0.9rem;
}

.room-sidebar .participant-role {
  font-size: 0.76rem;
  line-height: 1.35;
}

@media (max-width: 1180px) {
  .room-content {
    grid-template-columns: minmax(0, 1fr);
  }

  .room-sidebar:not(.mobile-drawer) {
    position: fixed;
    right: 12px;
    top: 96px;
    bottom: 12px;
    width: min(360px, calc(100vw - 24px));
    z-index: 30;
    border-radius: 22px;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.16);
    transform: translateX(calc(100% + 20px));
    transition: transform 0.22s ease;
  }

  .room-sidebar:not(.mobile-drawer).open,
  .room-sidebar.mobile-drawer.open {
    transform: translateX(0);
  }

  .controls-bar {
    padding-right: 10px;
  }
}

@media (max-width: 900px) {
  .room-topbar {
    min-height: 72px;
    padding: 10px 12px;
    gap: 8px;
  }

  .room-mode-tab {
    min-width: 92px;
  }

  .webinar-host-strip {
    padding: 10px 12px;
  }

  .training-host-strip {
    padding: 0.52rem 0.7rem;
    top: 6px;
  }

  .training-host-strip .webinar-host-strip-copy {
    gap: 0.45rem;
  }

  .training-host-strip-meta {
    font-size: 0.69rem;
  }

  .training-host-strip .webinar-host-pill {
    height: 28px;
    padding: 0 0.62rem;
    font-size: 0.7rem;
  }

  .room-main-column {
    padding: 12px;
  }

  .controls-bar {
    gap: 10px;
    border-radius: 18px;
  }
}

.workspace-home-reference .workspace-meeting-table,
.workspace-home-reference .workspace-recordings-table {
  min-width: 0;
  overflow-x: clip;
}

@media (max-width: 1360px) {
  .workspace-home-reference .workspace-shell {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .workspace-home-reference .workspace-content-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .workspace-home-reference .workspace-secondary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
  }
}

@media (max-width: 1120px) {
  .workspace-home-reference .workspace-ref-hero-top,
  .workspace-home-reference .workspace-secondary {
    grid-template-columns: 1fr;
  }

  .workspace-home-reference .workspace-ref-action-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workspace-home-reference .workspace-topbar {
    flex-wrap: wrap;
  }

  .workspace-home-reference .workspace-topbar-actions {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 720px) {
  .workspace-home-reference .workspace-ref-action-grid,
  .workspace-home-reference .workspace-ref-stats-row,
  .workspace-home-reference .workspace-ref-shortcuts,
  .workspace-home-reference .workspace-secondary {
    grid-template-columns: 1fr;
  }
}
 .schedule-page-shell {
  min-height: 100vh;
  background: #f7f9fc;
  color: #0f172a;
  padding: 24px;
}

.schedule-app-frame {
  width: min(1440px, 100%);
  min-height: calc(100vh - 48px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 235px minmax(0, 1fr);
  border: 1px solid #e5eaf3;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.schedule-sidebar {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  height: calc(100vh - 48px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px 16px;
  border-right: 1px solid #e5eaf3;
  background: linear-gradient(180deg, #fbfcff 0%, #f6f8fc 100%);
}

.schedule-sidebar-top,
.schedule-brand,
.schedule-sidebar-link,
.schedule-workspace-card,
.schedule-logout-btn,
.schedule-header,
.schedule-search,
.schedule-header-actions,
.schedule-hero,
.schedule-status-row,
.schedule-action-card,
.schedule-card-head,
.schedule-field-input-with-icon,
.schedule-provider-select,
.schedule-option-row,
.schedule-preview-pill-wrap,
.schedule-preview-link,
.schedule-preview-actions,
.schedule-preview-note,
.schedule-connections-title,
.schedule-link-row,
.schedule-meeting-topline,
.schedule-meeting-chips,
.schedule-meeting-actions,
.schedule-connection-row,
.schedule-connection-main,
.schedule-mobile-header,
.schedule-mobile-brand,
.schedule-secondary-btn,
.schedule-submit-btn,
.schedule-primary-btn,
.schedule-header-icon-btn,
.schedule-inline-icon-btn {
  display: flex;
  align-items: center;
}

.schedule-sidebar-top {
  justify-content: space-between;
  gap: 12px;
}

.schedule-brand {
  gap: 12px;
}

.schedule-brand strong,
.schedule-mobile-brand strong {
  display: block;
  font-size: 0.98rem;
  font-weight: 700;
  color: #0f172a;
}

.schedule-brand span {
  display: block;
  font-size: 0.76rem;
  color: #64748b;
}

.schedule-brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #2d6df6 0%, #1f5df0 100%);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.18);
}

.schedule-sidebar-nav {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
  margin-top: 24px;
}

.schedule-sidebar-link {
  gap: 12px;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 12px;
  color: #475569;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.schedule-sidebar-link:hover {
  background: #f1f5ff;
  color: #1d4ed8;
  transform: translateX(1px);
}

.schedule-sidebar-link.active {
  background: #e9f1ff;
  color: #2563eb;
  font-weight: 700;
}

.schedule-sidebar-link-icon,
.schedule-mobile-menu-btn,
.schedule-mobile-close {
  width: 18px;
  height: 18px;
}

.schedule-sidebar-link-icon svg,
.schedule-mobile-menu-btn svg,
.schedule-mobile-close svg,
.schedule-search-icon svg,
.schedule-header-icon-btn svg,
.schedule-primary-btn svg,
.schedule-action-icon svg,
.schedule-action-chevron svg,
.schedule-card-head-icon svg,
.schedule-inline-icon-btn svg,
.schedule-preview-note svg,
.schedule-connections-title svg,
.schedule-logout-btn svg,
.schedule-provider-glyph,
.schedule-workspace-chevron svg,
.schedule-connection-chevron svg,
.schedule-status-visual,
.schedule-empty-icon svg,
.schedule-status-chip svg,
.schedule-secondary-btn svg {
  width: 100%;
  height: 100%;
}

.schedule-sidebar-footer {
  display: grid;
  grid-gap: 12px;
  gap: 12px;
}

.schedule-workspace-card {
  gap: 12px;
  padding: 14px;
  border: 1px solid #e5eaf3;
  border-radius: 16px;
  background: #fff;
}

.schedule-workspace-avatar {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #e8f0ff;
  color: #2563eb;
  font-weight: 700;
}

.schedule-workspace-copy {
  min-width: 0;
  flex: 1 1;
}

.schedule-workspace-copy strong,
.schedule-workspace-copy span {
  display: block;
}

.schedule-workspace-copy strong {
  font-size: 0.88rem;
}

.schedule-workspace-copy span {
  font-size: 0.74rem;
  color: #64748b;
  overflow: hidden;
  text-overflow: ellipsis;
}

.schedule-workspace-chevron {
  width: 16px;
  height: 16px;
  color: #94a3b8;
}

.schedule-logout-btn {
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border: 1px solid #e5eaf3;
  border-radius: 14px;
  background: #fff;
  color: #475569;
  cursor: pointer;
}

.schedule-logout-btn svg {
  width: 16px;
  height: 16px;
}

.schedule-main {
  min-width: 0;
  padding: 28px 30px 36px;
}

.schedule-mobile-header,
.schedule-mobile-backdrop,
.schedule-mobile-close {
  display: none;
}

.schedule-header {
  justify-content: space-between;
  gap: 16px;
}

.schedule-search {
  gap: 10px;
  flex: 1 1;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid #dce5f2;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.03);
}

.schedule-search-icon {
  width: 17px;
  height: 17px;
  color: #94a3b8;
}

.schedule-search input {
  flex: 1 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 0.94rem;
  color: #0f172a;
}

.schedule-header-actions {
  gap: 12px;
}

.schedule-header-icon-btn,
.schedule-inline-icon-btn {
  justify-content: center;
  border: 1px solid #dce5f2;
  background: #fff;
  color: #64748b;
  text-decoration: none;
}

.schedule-header-icon-btn {
  width: 48px;
  height: 48px;
  border-radius: 14px;
}

.schedule-primary-btn,
.schedule-submit-btn {
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #2f6df6 0%, #1d5dea 100%);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.schedule-primary-btn:hover,
.schedule-submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 32px rgba(37, 99, 235, 0.24);
}

.schedule-primary-btn:disabled,
.schedule-submit-btn:disabled,
.schedule-secondary-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.schedule-primary-btn.disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  pointer-events: none;
}

.schedule-primary-btn svg,
.schedule-submit-btn svg {
  width: 16px;
  height: 16px;
}

.schedule-hero {
  margin-top: 22px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  grid-gap: 18px;
  gap: 18px;
  align-items: stretch;
}

.schedule-eyebrow {
  margin-bottom: 8px;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #2563eb;
}

.schedule-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.75rem);
  line-height: 1.02;
  color: #162033;
}

.schedule-hero p {
  max-width: 720px;
  color: #5b6780;
}

.schedule-status-card,
.schedule-surface {
  border: 1px solid #e5eaf3;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.05);
}

.schedule-status-card {
  position: relative;
  overflow: hidden;
  padding: 20px;
}

.schedule-status-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #64748b;
}

.schedule-status-row {
  gap: 8px;
  margin: 10px 0 6px;
}

.schedule-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
}

.schedule-status-card strong {
  font-size: 1rem;
  color: #0f172a;
}

.schedule-status-card p {
  font-size: 0.85rem;
  color: #64748b;
  max-width: 220px;
}

.schedule-status-visual {
  position: absolute;
  right: 16px;
  bottom: 10px;
  width: 118px;
  height: 84px;
}

.schedule-status-orb,
.schedule-status-screen {
  position: absolute;
  border-radius: 18px;
}

.schedule-status-orb.large {
  right: 6px;
  bottom: 0;
  width: 86px;
  height: 52px;
  background: linear-gradient(180deg, #edf4ff 0%, #dce9ff 100%);
}

.schedule-status-orb.small {
  left: 10px;
  bottom: 10px;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: #d9e9ff;
}

.schedule-status-screen {
  left: 34px;
  bottom: 16px;
  width: 44px;
  height: 28px;
  border: 1px solid #cfe0ff;
  background: #fff;
}

.schedule-action-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-gap: 16px;
  gap: 16px;
  margin-top: 18px;
}

.schedule-action-card {
  justify-content: space-between;
  gap: 14px;
  min-height: 96px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid #e5eaf3;
  background: #fff;
  cursor: pointer;
  text-align: left;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.schedule-action-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.08);
}

.schedule-action-card.primary {
  border-color: #2b67ef;
  background: linear-gradient(135deg, #2d6df6 0%, #1f5df0 100%);
  color: #fff;
  box-shadow: 0 20px 34px rgba(37, 99, 235, 0.24);
}

.schedule-action-card.primary small,
.schedule-action-card.primary strong {
  color: #fff;
}

.schedule-action-card.neutral {
  color: #0f172a;
}

.schedule-action-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  justify-content: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.16);
  color: inherit;
}

.schedule-action-card.neutral .schedule-action-icon {
  background: #eff5ff;
  color: #2563eb;
}

.schedule-action-copy {
  display: grid;
  grid-gap: 3px;
  gap: 3px;
  min-width: 0;
  flex: 1 1;
}

.schedule-action-copy strong {
  font-size: 0.98rem;
}

.schedule-action-copy small {
  color: #64748b;
  font-size: 0.82rem;
}

.schedule-action-chevron {
  width: 18px;
  height: 18px;
  color: inherit;
}

.schedule-alert {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid;
  font-size: 0.92rem;
}

.schedule-alert.error {
  border-color: #fecaca;
  background: #fff1f2;
  color: #b91c1c;
}

.schedule-alert.success {
  border-color: #bfdbfe;
  background: #eff6ff;
  color: #1d4ed8;
}

.schedule-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(320px, 4fr);
  grid-gap: 20px;
  gap: 20px;
  align-items: start;
  margin-top: 18px;
}

.schedule-primary-column,
.schedule-secondary-column {
  display: grid;
  grid-gap: 18px;
  gap: 18px;
}

.schedule-preview-card {
  position: -webkit-sticky;
  position: sticky;
  top: 24px;
}

.schedule-surface {
  padding: 22px;
}

.schedule-card-head {
  gap: 14px;
  margin-bottom: 18px;
}

.schedule-card-head-tight {
  margin-bottom: 16px;
}

.schedule-card-head-between {
  justify-content: space-between;
  align-items: flex-start;
}

.schedule-card-head-icon {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  padding: 10px;
  border-radius: 14px;
  background: #eff5ff;
  color: #2563eb;
}

.schedule-card-head h2 {
  font-size: 1.08rem;
  line-height: 1.1;
  color: #162033;
}

.schedule-card-head p {
  margin-top: 4px;
  color: #64748b;
  font-size: 0.9rem;
}

.schedule-form-grid,
.schedule-form-subgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-gap: 16px;
  gap: 16px;
}

.schedule-field {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
}

.schedule-field-full {
  grid-column: 1 / -1;
}

.schedule-field > span {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
}

.schedule-field input,
.schedule-field select,
.schedule-field textarea,
.schedule-link-value {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid #dce5f2;
  border-radius: 12px;
  background: #fff;
  color: #0f172a;
  font: inherit;
  outline: none;
}

.schedule-field textarea {
  min-height: 90px;
  padding: 13px 14px;
  resize: vertical;
}

.schedule-field input:focus,
.schedule-field select:focus,
.schedule-field textarea:focus,
.schedule-search:focus-within,
.schedule-link-value:focus-within {
  border-color: #2f6df6;
  box-shadow: 0 0 0 4px rgba(47, 109, 246, 0.12);
}

.schedule-field-split {
  display: grid;
  grid-template-columns: 1fr 160px;
  grid-gap: 12px;
  gap: 12px;
}

.schedule-field-input-with-icon,
.schedule-provider-select {
  border: 1px solid #dce5f2;
  border-radius: 12px;
  background: #fff;
}

.schedule-field-input-with-icon input,
.schedule-provider-select select {
  border: none;
  box-shadow: none;
}

.schedule-provider-select {
  gap: 10px;
  padding-left: 14px;
}

.schedule-provider-glyph {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border-radius: 4px;
}

.schedule-provider-glyph.google {
  background: linear-gradient(135deg, #4285f4 0 50%, #34a853 50% 75%, #fbbc05 75% 87%, #ea4335 87% 100%);
}

.schedule-provider-glyph.microsoft {
  background: linear-gradient(90deg, #f25022 0 48%, #7fba00 48% 52%, #00a4ef 52% 96%, #ffb900 96% 100%);
}

.schedule-inline-icon-btn {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  margin-right: 6px;
  border-radius: 10px;
  cursor: pointer;
}

.schedule-inline-icon-btn.large {
  width: 48px;
  height: 48px;
  margin-right: 0;
}

.schedule-option-stack {
  display: grid;
  grid-gap: 12px;
  gap: 12px;
}

.schedule-option-row {
  gap: 12px;
  padding: 14px;
  border: 1px solid #e5eaf3;
  border-radius: 14px;
  background: #fbfdff;
}

.schedule-option-row.checked {
  border-color: #bfdbfe;
  background: #f3f8ff;
}

.schedule-option-row.disabled {
  opacity: 0.85;
}

.schedule-option-row input {
  width: 18px;
  height: 18px;
  accent-color: #2563eb;
}

.schedule-option-icon {
  width: 20px;
  height: 20px;
  color: #2563eb;
}

.schedule-option-copy {
  display: grid;
  grid-gap: 4px;
  gap: 4px;
  min-width: 0;
  flex: 1 1;
}

.schedule-option-copy strong {
  color: #162033;
  font-size: 0.92rem;
}

.schedule-option-copy small {
  color: #64748b;
  font-size: 0.81rem;
}

.schedule-inline-link {
  color: #2563eb;
  font-weight: 700;
  text-decoration: none;
}

.schedule-inline-link.buttonlike {
  border: 1px solid #dce5f2;
  border-radius: 12px;
  padding: 11px 14px;
  background: #fff;
  cursor: pointer;
}

.schedule-weekday-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.schedule-weekday-pill {
  min-width: 54px;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid #dce5f2;
  border-radius: 999px;
  background: #fff;
  color: #475569;
  cursor: pointer;
}

.schedule-weekday-pill.active {
  border-color: #bfdbfe;
  background: #eaf2ff;
  color: #2563eb;
  font-weight: 700;
}

.schedule-form-actions {
  display: grid;
  grid-gap: 12px;
  gap: 12px;
}

.schedule-submit-btn {
  width: 100%;
  min-height: 52px;
}

.schedule-secondary-actions,
.schedule-preview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.schedule-secondary-btn {
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid #dce5f2;
  border-radius: 12px;
  background: #fff;
  color: #334155;
  text-decoration: none;
  cursor: pointer;
}

.schedule-secondary-btn svg {
  width: 15px;
  height: 15px;
}

.schedule-secondary-btn.danger {
  color: #b91c1c;
  border-color: #fecaca;
}

.schedule-preview-stack {
  display: grid;
  grid-gap: 14px;
  gap: 14px;
}

.schedule-preview-row {
  display: grid;
  grid-gap: 6px;
  gap: 6px;
  padding-bottom: 13px;
  border-bottom: 1px solid #eef2f8;
}

.schedule-preview-row:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.schedule-preview-row > span {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
}

.schedule-preview-row strong,
.schedule-preview-row a {
  color: #162033;
  font-size: 0.92rem;
}

.schedule-room-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: #ebf3ff;
  color: #2563eb;
}

.schedule-provider-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.schedule-preview-link {
  justify-content: space-between;
  gap: 10px;
  color: #2563eb;
  text-decoration: none;
}

.schedule-preview-link svg {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
}

.schedule-preview-note {
  gap: 10px;
  margin-top: 16px;
  padding: 14px;
  border: 1px solid #dbeafe;
  border-radius: 14px;
  background: #eff6ff;
  color: #1d4ed8;
}

.schedule-preview-note svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.schedule-preview-note p {
  font-size: 0.84rem;
}

.schedule-connections-card {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #eef2f8;
}

.schedule-connections-title {
  gap: 10px;
}

.schedule-connections-title svg {
  width: 18px;
  height: 18px;
  color: #16a34a;
}

.schedule-connections-title strong {
  display: block;
  color: #162033;
}

.schedule-connections-title span {
  font-size: 0.82rem;
  color: #64748b;
}

.schedule-connection-list {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
  margin-top: 14px;
}

.schedule-connection-row {
  gap: 12px;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #eef2f8;
}

.schedule-connection-row:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.schedule-connection-main {
  gap: 10px;
}

.schedule-connection-main strong,
.schedule-meeting-main strong {
  color: #162033;
}

.schedule-connection-main p,
.schedule-meeting-main p,
.schedule-meeting-main span,
.schedule-helper-text,
.schedule-copy-state,
.schedule-empty-state p,
.schedule-connection-empty p {
  color: #64748b;
}

.schedule-status-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #475569;
  font-size: 0.76rem;
  font-weight: 700;
}

.schedule-status-chip.connected {
  background: #ecfdf3;
  border-color: #bbf7d0;
  color: #15803d;
}

.schedule-status-chip.link {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1d4ed8;
  text-decoration: none;
}

.schedule-status-chip.webinar {
  background: #fdf2f8;
  border-color: #fbcfe8;
  color: #be185d;
}

.schedule-status-chip.training,
.schedule-status-chip.recurring {
  background: #f5f3ff;
  border-color: #ddd6fe;
  color: #6d28d9;
}

.schedule-connection-chevron {
  width: 16px;
  height: 16px;
  color: #94a3b8;
}

.schedule-link-row {
  gap: 12px;
}

.schedule-link-value {
  flex: 1 1;
  display: flex;
  align-items: center;
  min-width: 0;
  color: #1d4ed8;
  word-break: break-all;
}

.schedule-helper-text,
.schedule-copy-state {
  margin-top: 10px;
  font-size: 0.84rem;
}

.schedule-meeting-list {
  display: grid;
  grid-gap: 12px;
  gap: 12px;
}

.schedule-meeting-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-gap: 16px;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #eef2f8;
}

.schedule-meeting-row:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.schedule-meeting-main {
  min-width: 0;
}

.schedule-meeting-chips {
  flex-wrap: wrap;
  gap: 8px;
}

.schedule-meeting-topline {
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 6px;
}

.schedule-meeting-main p,
.schedule-meeting-main span {
  font-size: 0.88rem;
}

.schedule-meeting-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
  align-content: flex-start;
  gap: 10px;
}

.schedule-empty-state,
.schedule-connection-empty {
  display: grid;
  place-items: center;
  grid-gap: 10px;
  gap: 10px;
  text-align: center;
  padding: 28px 14px;
}

.schedule-empty-icon {
  width: 54px;
  height: 54px;
  padding: 14px;
  border-radius: 18px;
  background: #eef5ff;
  color: #2563eb;
}

.schedule-empty-icon.small {
  width: 42px;
  height: 42px;
  padding: 11px;
}

.schedule-empty-state strong,
.schedule-connection-empty strong {
  color: #162033;
}

@media (max-width: 1180px) {
  .schedule-hero,
  .schedule-content-grid {
    grid-template-columns: 1fr;
  }

  .schedule-preview-card {
    position: static;
  }
}

@media (max-width: 1024px) {
  .schedule-page-shell {
    padding: 0;
  }

  .schedule-app-frame {
    min-height: 100vh;
    border-radius: 0;
    grid-template-columns: 1fr;
    border-left: none;
    border-right: none;
  }

  .schedule-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 30;
    width: min(300px, 84vw);
    height: 100vh;
    transform: translateX(-100%);
    transition: transform 0.24s ease;
  }

  .schedule-sidebar.open {
    transform: translateX(0);
  }

  .schedule-mobile-backdrop {
    position: fixed;
    inset: 0;
    z-index: 20;
    background: rgba(15, 23, 42, 0.35);
  }

  .schedule-mobile-backdrop.open,
  .schedule-mobile-header,
  .schedule-mobile-close {
    display: flex;
  }

  .schedule-mobile-header {
    justify-content: space-between;
    margin-bottom: 14px;
  }

  .schedule-mobile-brand {
    gap: 10px;
  }

  .schedule-mobile-menu-btn,
  .schedule-mobile-close {
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid #dce5f2;
    border-radius: 12px;
    background: #fff;
    color: #475569;
    cursor: pointer;
  }

  .schedule-main {
    padding: 18px 16px 28px;
  }

  .schedule-field-split {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .schedule-header {
    flex-direction: column;
    align-items: stretch;
  }

  .schedule-header-actions {
    width: 100%;
  }

  .schedule-header-icon-btn {
    flex: 0 0 48px;
  }

  .schedule-primary-btn {
    flex: 1 1;
  }

  .schedule-action-row,
  .schedule-form-grid,
  .schedule-form-subgrid,
  .schedule-meeting-row {
    grid-template-columns: 1fr;
  }

  .schedule-meeting-actions {
    justify-content: flex-start;
  }

  .schedule-card-head-between {
    gap: 12px;
    flex-direction: column;
  }

  .schedule-link-row {
    align-items: stretch;
    flex-direction: column;
  }
}

.security-page-grid {
  display: grid;
  grid-gap: 18px;
  gap: 18px;
  margin-top: 18px;
}

.security-hero-card {
  display: grid;
  grid-gap: 20px;
  gap: 20px;
}

.security-hero-top,
.security-hero-copy,
.security-overview-card,
.security-overview-copy,
.security-tabs,
.security-mfa-main,
.security-mfa-stack,
.security-inline-primary,
.security-form-block,
.security-subcard,
.security-activity-list,
.security-activity-row,
.security-header-actions,
.security-session-stats,
.security-session-stat,
.security-session-device,
.security-session-head,
.security-session-side,
.security-session-group-head,
.security-footer-row,
.security-modal-actions {
  display: flex;
}

.security-hero-top,
.security-session-head,
.security-session-group-head,
.security-footer-row {
  justify-content: space-between;
}

.security-hero-top,
.security-subcard,
.security-session-row,
.security-modal-actions {
  align-items: center;
}

.security-hero-copy {
  flex-direction: column;
  gap: 8px;
}

.security-hero-copy h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.02;
  color: #162033;
}

.security-hero-copy p,
.security-signed-in,
.security-hero-footnote,
.security-footnote {
  color: #64748b;
}

.security-signed-in {
  font-weight: 700;
}

.security-hero-action {
  align-self: flex-start;
}

.security-mini-icon {
  width: 16px;
  height: 16px;
}

.security-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-gap: 14px;
  gap: 14px;
}

.security-overview-card {
  gap: 14px;
  min-height: 108px;
  padding: 16px;
  border: 1px solid #e5eaf3;
  border-radius: 16px;
  background: linear-gradient(180deg, #fcfdff 0%, #f8fbff 100%);
}

.security-overview-icon,
.security-session-stat-icon,
.security-session-icon,
.security-illustration-icon {
  display: grid;
  place-items: center;
}

.security-overview-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 14px;
}

.security-overview-icon.blue,
.security-session-stat.blue .security-session-stat-icon {
  background: #eff6ff;
  color: #2563eb;
}

.security-overview-icon.green {
  background: #ecfdf3;
  color: #16a34a;
}

.security-overview-icon.purple,
.security-session-stat.purple .security-session-stat-icon {
  background: #f5f3ff;
  color: #7c3aed;
}

.security-overview-copy {
  flex: 1 1;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
}

.security-overview-copy span,
.security-session-stat span {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
}

.security-overview-copy strong,
.security-session-stat strong {
  color: #162033;
  font-size: 1.05rem;
}

.security-overview-copy p {
  color: #64748b;
  font-size: 0.84rem;
}

.security-overview-arrow {
  width: 16px;
  height: 16px;
  color: #94a3b8;
}

.security-tabs {
  gap: 22px;
  border-bottom: 1px solid #dce5f2;
}

.security-tab {
  position: relative;
  padding: 0 0 12px;
  border: none;
  background: transparent;
  color: #64748b;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.security-tab.active {
  color: #2563eb;
}

.security-tab.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  border-radius: 999px;
  background: #2563eb;
}

.security-mfa-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  grid-gap: 18px;
  gap: 18px;
  align-items: start;
}

.security-mfa-card {
  overflow: hidden;
}

.security-mfa-main {
  justify-content: space-between;
  gap: 18px;
}

.security-mfa-copy {
  flex: 1 1;
  min-width: 0;
}

.security-mfa-stack {
  flex-direction: column;
  gap: 14px;
  margin-top: 16px;
}

.security-inline-primary {
  align-self: flex-start;
}

.security-inline-primary svg {
  width: 16px;
  height: 16px;
}

.security-inline-block,
.security-backup-card,
.security-form-block {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
  margin-top: 14px;
}

.security-inline-block span,
.security-backup-card p,
.security-form-block p,
.security-activity-row span,
.security-session-copy span,
.security-session-expiry,
.security-activity-empty p {
  color: #64748b;
}

.security-inline-block code,
.security-backup-grid code {
  display: block;
  padding: 12px 14px;
  border: 1px solid #dce5f2;
  border-radius: 12px;
  background: #f8fbff;
  color: #162033;
  overflow-wrap: anywhere;
}

.security-textarea {
  min-height: 88px;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #dce5f2;
  border-radius: 12px;
  background: #fff;
  color: #0f172a;
  font: inherit;
}

.security-backup-card {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #eef2f8;
}

.security-backup-card strong,
.security-activity-row strong,
.security-session-group-head strong {
  color: #162033;
}

.security-backup-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  grid-gap: 10px;
  gap: 10px;
}

.security-subcard {
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid #e5eaf3;
  border-radius: 16px;
  background: #fbfdff;
}

.security-subcard strong {
  display: block;
  color: #162033;
}

.security-subcard p {
  margin-top: 4px;
  color: #64748b;
}

.security-illustration {
  position: relative;
  width: 240px;
  min-height: 240px;
  flex: 0 0 240px;
}

.security-illustration-orb,
.security-illustration-panel {
  position: absolute;
}

.security-illustration-orb.large {
  inset: 30px 20px auto auto;
  width: 148px;
  height: 148px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #eff6ff, #dbeafe);
}

.security-illustration-orb.small {
  inset: auto auto 18px 24px;
  width: 82px;
  height: 82px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #f5f3ff, #ddd6fe);
}

.security-illustration-panel {
  inset: 54px 34px 24px 52px;
  display: grid;
  place-items: center;
  border: 1px solid #dce5f2;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 32px rgba(15, 23, 42, 0.06);
}

.security-illustration-icon {
  position: absolute;
  width: 54px;
  height: 54px;
  border-radius: 18px;
}

.security-illustration-icon.shield {
  inset: 36px auto auto 38px;
  background: #eff6ff;
  color: #2563eb;
}

.security-illustration-icon.phone {
  inset: auto 34px 34px auto;
  background: #ecfdf3;
  color: #16a34a;
}

.security-illustration-panel::before {
  content: "";
  width: 84px;
  height: 84px;
  border-radius: 24px;
  background: linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
  border: 1px solid #dce5f2;
}

.security-activity-card {
  min-height: 100%;
}

.security-activity-list {
  flex-direction: column;
  gap: 14px;
}

.security-activity-row {
  flex-direction: column;
  gap: 6px;
  padding-bottom: 14px;
  border-bottom: 1px solid #eef2f8;
}

.security-activity-row:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.security-header-actions {
  gap: 10px;
  flex-wrap: wrap;
}

.security-session-stats {
  gap: 12px;
  margin: 16px 0 18px;
}

.security-session-stat {
  justify-content: space-between;
  gap: 12px;
  flex: 1 1;
  padding: 14px 16px;
  border: 1px solid #e5eaf3;
  border-radius: 16px;
  background: linear-gradient(180deg, #fcfdff 0%, #f7faff 100%);
}

.security-session-stat.orange .security-session-stat-icon {
  background: #fff7ed;
  color: #ea580c;
}

.security-session-stat-icon {
  width: 40px;
  height: 40px;
  border-radius: 14px;
}

.security-session-groups {
  display: grid;
  grid-gap: 18px;
  gap: 18px;
}

.security-session-group {
  display: grid;
  grid-gap: 12px;
  gap: 12px;
}

.security-session-group-head span {
  color: #64748b;
}

.security-session-list,
.security-sessions-loading {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
}

.security-session-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-gap: 14px;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid #e5eaf3;
  border-radius: 16px;
  background: #fff;
}

.security-session-row.current {
  background: #f3f8ff;
  border-color: #bfdbfe;
}

.security-session-row.muted {
  background: #fbfcfe;
}

.security-session-device {
  gap: 12px;
  min-width: 0;
}

.security-session-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 14px;
  background: #f8fafc;
  color: #2563eb;
}

.security-session-copy {
  min-width: 0;
}

.security-session-copy strong {
  color: #162033;
}

.security-session-side {
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.schedule-status-chip.current {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1d4ed8;
}

.schedule-status-chip.danger {
  background: #fff1f2;
  border-color: #fecdd3;
  color: #be123c;
}

.security-skeleton-row {
  height: 68px;
  border-radius: 16px;
  background: linear-gradient(90deg, #f8fafc 0%, #eef2f7 50%, #f8fafc 100%);
  background-size: 200% 100%;
  animation: security-pulse 1.4s ease infinite;
}

@keyframes security-pulse {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

.security-back-link {
  color: #2563eb;
  font-weight: 700;
  text-decoration: none;
}

.security-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(15, 23, 42, 0.32);
}

.security-modal {
  width: min(460px, 100%);
  padding: 22px;
  border: 1px solid #dce5f2;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 20px 42px rgba(15, 23, 42, 0.14);
}

.security-modal h2 {
  color: #162033;
  font-size: 1.2rem;
}

.security-modal p {
  margin-top: 8px;
  color: #64748b;
}

.security-modal-actions {
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}

@media (max-width: 1180px) {
  .security-mfa-grid {
    grid-template-columns: 1fr;
  }

  .security-illustration {
    width: 100%;
    min-height: 180px;
    flex: 0 0 auto;
  }
}

@media (max-width: 900px) {
  .security-overview-grid,
  .security-session-stats,
  .security-session-row {
    grid-template-columns: 1fr;
  }

  .security-session-stats {
    flex-direction: column;
  }

  .security-session-side {
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .security-hero-top,
  .security-subcard,
  .security-footer-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .security-overview-grid {
    grid-template-columns: 1fr;
  }

  .security-mfa-main {
    flex-direction: column;
  }

  .security-illustration {
    min-height: 150px;
  }
}

.compliance-page-grid {
  display: grid;
  grid-gap: 18px;
  gap: 18px;
  margin-top: 18px;
}

.compliance-hero-card,
.compliance-hero-top,
.compliance-hero-copy,
.compliance-hero-status,
.compliance-overview-card,
.compliance-overview-copy,
.compliance-policy-main,
.compliance-policy-head,
.compliance-policy-meta,
.compliance-dsar-toggle,
.compliance-activity-list,
.compliance-activity-row,
.compliance-cookie-actions,
.compliance-cookie-submit {
  display: flex;
}

.compliance-hero-card,
.compliance-hero-copy,
.compliance-hero-status,
.compliance-overview-copy,
.compliance-main-stack,
.compliance-side-stack,
.compliance-policy-list,
.compliance-policy-main,
.compliance-activity-list,
.compliance-loading-card {
  flex-direction: column;
}

.compliance-hero-card,
.compliance-main-stack,
.compliance-side-stack,
.compliance-policy-list,
.compliance-activity-list,
.compliance-loading-card {
  gap: 18px;
}

.compliance-hero-top,
.compliance-policy-head,
.compliance-cookie-actions {
  justify-content: space-between;
}

.compliance-hero-top,
.compliance-policy-row,
.compliance-cookie-actions {
  align-items: center;
}

.compliance-hero-copy {
  gap: 8px;
}

.compliance-hero-copy h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.9rem);
  line-height: 1.04;
  color: #162033;
}

.compliance-hero-copy > p,
.compliance-signed-in,
.compliance-hero-status p,
.compliance-loading-copy {
  color: #64748b;
}

.compliance-signed-in {
  font-weight: 700;
}

.compliance-hero-status {
  gap: 6px;
  min-width: 240px;
  padding: 18px;
  border: 1px solid #dce5f2;
  border-radius: 18px;
  background: linear-gradient(180deg, #fbfdff 0%, #f5f9ff 100%);
}

.compliance-status-label {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
}

.compliance-hero-status strong {
  color: #162033;
  font-size: 1.08rem;
}

.compliance-overview-grid,
.compliance-version-grid,
.compliance-content-grid {
  display: grid;
  grid-gap: 14px;
  gap: 14px;
}

.compliance-overview-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.compliance-overview-card {
  gap: 14px;
  padding: 16px;
  border: 1px solid #e5eaf3;
  border-radius: 16px;
  background: linear-gradient(180deg, #fcfdff 0%, #f8fbff 100%);
}

.compliance-overview-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  border-radius: 14px;
}

.compliance-overview-icon.blue {
  background: #eff6ff;
  color: #2563eb;
}

.compliance-overview-icon.green {
  background: #ecfdf3;
  color: #16a34a;
}

.compliance-overview-icon.purple {
  background: #f5f3ff;
  color: #7c3aed;
}

.compliance-overview-copy {
  gap: 4px;
}

.compliance-overview-copy span,
.compliance-version-item span {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
}

.compliance-overview-copy strong,
.compliance-version-item strong,
.compliance-policy-head strong,
.compliance-activity-row strong {
  color: #162033;
}

.compliance-overview-copy p,
.compliance-policy-main p,
.compliance-activity-row span,
.compliance-cookie-copy {
  color: #64748b;
}

.compliance-version-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.compliance-version-item {
  display: grid;
  grid-gap: 6px;
  gap: 6px;
  padding: 16px;
  border: 1px solid #e5eaf3;
  border-radius: 16px;
  background: #fbfdff;
}

.compliance-version-item strong {
  font-size: 1rem;
}

.compliance-content-grid {
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.7fr);
  align-items: start;
}

.compliance-main-stack,
.compliance-side-stack {
  display: grid;
}

.compliance-policy-list {
  display: grid;
}

.compliance-policy-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-gap: 16px;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #eef2f8;
}

.compliance-policy-row:first-child {
  padding-top: 0;
}

.compliance-policy-row:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.compliance-policy-main {
  gap: 8px;
  min-width: 0;
}

.compliance-policy-head {
  gap: 12px;
  flex-wrap: wrap;
}

.compliance-policy-meta {
  gap: 14px;
  flex-wrap: wrap;
  color: #64748b;
  font-size: 0.84rem;
}

.compliance-dsar-toggle {
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.compliance-dsar-btn-active {
  width: auto;
  min-width: 168px;
  padding: 0 18px;
}

.compliance-activity-list {
  display: grid;
  grid-gap: 14px;
  gap: 14px;
}

.compliance-activity-row {
  flex-direction: column;
  gap: 6px;
  padding-bottom: 14px;
  border-bottom: 1px solid #eef2f8;
}

.compliance-activity-row:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.compliance-activity-note {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  padding: 14px;
  border: 1px solid #dbeafe;
  border-radius: 14px;
  background: #eff6ff;
  color: #1d4ed8;
}

.compliance-activity-note svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.compliance-activity-note p {
  font-size: 0.84rem;
}

.compliance-cookie-card .cookie-settings-list {
  margin-top: 14px;
}

.compliance-cookie-card .cookie-settings-item {
  align-items: center;
  padding: 15px 16px;
  border-radius: 14px;
  background: #fbfdff;
  border: 1px solid #e5eaf3;
}

.compliance-cookie-card .cookie-settings-item input {
  width: 18px;
  height: 18px;
  accent-color: #2563eb;
}

.compliance-cookie-card .cookie-settings-item strong {
  color: #162033;
}

.compliance-cookie-card .cookie-settings-item small {
  color: #64748b;
}

.compliance-cookie-icon svg {
  width: 18px;
  height: 18px;
}

.compliance-cookie-actions {
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.compliance-cookie-message {
  color: #64748b;
  font-size: 0.84rem;
}

.compliance-cookie-message.success {
  color: #15803d;
}

.compliance-cookie-submit {
  width: auto;
  min-width: 250px;
  padding: 0 18px;
}

.compliance-loading-card {
  min-height: 160px;
  justify-content: center;
}

@media (max-width: 1180px) {
  .compliance-content-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .compliance-overview-grid,
  .compliance-version-grid,
  .compliance-policy-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .compliance-hero-top,
  .compliance-cookie-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .compliance-hero-status,
  .compliance-cookie-submit,
  .compliance-dsar-btn-active {
    width: 100%;
  }
}

.recordings-page-grid,
.recordings-main-stack,
.recordings-side-stack {
  display: grid;
  grid-gap: 18px;
  gap: 18px;
}

.recordings-page-grid {
  margin-top: 18px;
}

.recordings-hero-card,
.recordings-hero-copy,
.recordings-hero-stats,
.recordings-stat-card,
.recordings-stat-copy,
.recordings-toolbar-top,
.recordings-toolbar-tabs,
.recordings-toolbar-actions,
.recordings-toolbar-toggle,
.recordings-toolbar-filters,
.recordings-featured-pills,
.recordings-featured-actions,
.recordings-activity-row,
.recordings-sidebar-card-head,
.recordings-meta-item span {
  display: flex;
}

.recordings-hero-copy,
.recordings-stat-copy,
.recordings-activity-row,
.recordings-sidebar-card {
  flex-direction: column;
}

.recordings-hero-card,
.recordings-hero-copy,
.recordings-sidebar-card,
.recordings-loading-card {
  gap: 18px;
}

.recordings-hero-card,
.recordings-toolbar-top {
  justify-content: space-between;
}

.recordings-hero-card,
.recordings-stat-card,
.recordings-toolbar-top,
.recordings-toolbar-toggle,
.recordings-featured-actions,
.recordings-sidebar-card-head {
  align-items: center;
}

.recordings-hero-card {
  align-items: flex-start;
}

.recordings-hero-copy h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.9rem);
  line-height: 1.04;
  color: #162033;
}

.recordings-hero-copy {
  flex: 1 1;
  min-width: 0;
  padding-right: 10px;
}

.recordings-hero-copy p,
.recordings-sidebar-card p,
.recordings-side-copy,
.recordings-activity-row p,
.recordings-activity-row span,
.recordings-list-main span,
.recordings-list-meta span {
  color: #64748b;
}

.recordings-hero-stats {
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-self: stretch;
}

.recordings-stat-card {
  flex: 1 1 180px;
  gap: 14px;
  min-width: 180px;
  max-width: 220px;
  padding: 16px;
  border: 1px solid #e5eaf3;
  border-radius: 16px;
  background: linear-gradient(180deg, #fcfdff 0%, #f8fbff 100%);
}

.recordings-stat-icon,
.recordings-list-thumb,
.recordings-sidebar-card-head svg,
.recordings-meta-item span svg {
  display: grid;
  place-items: center;
}

.recordings-stat-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 14px;
}

.recordings-stat-icon.blue {
  background: #eff6ff;
  color: #2563eb;
}

.recordings-stat-icon.green {
  background: #ecfdf3;
  color: #16a34a;
}

.recordings-stat-icon.purple {
  background: #f5f3ff;
  color: #7c3aed;
}

.recordings-stat-copy {
  gap: 4px;
}

.recordings-stat-copy span,
.recordings-sidebar-card-title,
.recordings-meta-item span {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
}

.recordings-stat-copy strong,
.recordings-featured-copy h2,
.recordings-storage-value,
.recordings-sidebar-card strong,
.recordings-list-main strong,
.recordings-meta-item strong,
.recordings-activity-row strong {
  color: #162033;
}

.recordings-stat-copy strong {
  font-size: 1.18rem;
}

.recordings-toolbar-card {
  display: grid;
  grid-gap: 14px;
  gap: 14px;
}

.recordings-toolbar-tabs,
.recordings-toolbar-actions,
.recordings-toolbar-toggle {
  gap: 10px;
  flex-wrap: wrap;
}

.recordings-toolbar-tab {
  position: relative;
  min-height: 40px;
  padding: 0 0 10px;
  border: none;
  background: transparent;
  color: #64748b;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.recordings-toolbar-tab.active {
  color: #2563eb;
}

.recordings-toolbar-tab.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  border-radius: 999px;
  background: #2563eb;
}

.recordings-toolbar-select,
.recordings-toolbar-filter {
  display: grid;
  grid-gap: 6px;
  gap: 6px;
  color: #64748b;
  font-size: 0.86rem;
}

.recordings-toolbar-select {
  grid-auto-flow: column;
  align-items: center;
  gap: 6px;
}

.recordings-toolbar-select select,
.recordings-toolbar-filter select {
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid #dce5f2;
  border-radius: 12px;
  background: #fff;
  color: #162033;
  font: inherit;
}

.recordings-toolbar-toggle {
  padding: 4px;
  border: 1px solid #dce5f2;
  border-radius: 14px;
  background: #f8fbff;
}

.recordings-toolbar-toggle button {
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: #64748b;
  cursor: pointer;
}

.recordings-toolbar-toggle button.active {
  background: #fff;
  color: #2563eb;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.08);
}

.recordings-toolbar-filters {
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 14px;
  border-top: 1px solid #eef2f8;
}

.recordings-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(308px, 0.64fr);
  grid-gap: 18px;
  gap: 18px;
  align-items: start;
}

.recordings-featured-card {
  display: grid;
  grid-template-columns: minmax(330px, 1.08fr) minmax(0, 0.92fr);
  grid-gap: 18px;
  gap: 18px;
  align-items: start;
}

.recordings-featured-media,
.recordings-featured-copy {
  min-width: 0;
}

.recordings-video-player,
.recordings-video-fallback {
  width: 100%;
  border-radius: 22px;
  background: #0f172a;
  aspect-ratio: 16 / 9;
}

.recordings-video-player {
  object-fit: cover;
}

.recordings-video-fallback {
  display: grid;
  place-items: center;
  grid-gap: 10px;
  gap: 10px;
  padding: 20px;
  text-align: center;
  color: #e2e8f0;
}

.recordings-video-fallback svg {
  width: 28px;
  height: 28px;
}

.recordings-featured-copy {
  display: grid;
  align-content: start;
  grid-gap: 16px;
  gap: 16px;
}

.recordings-featured-copy h2 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.recordings-featured-pills,
.recordings-featured-actions {
  gap: 10px;
  flex-wrap: wrap;
}

.recordings-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-gap: 14px;
  gap: 14px;
  align-items: stretch;
}

.recordings-meta-item {
  display: grid;
  grid-gap: 6px;
  gap: 6px;
  padding: 14px;
  border: 1px solid #e5eaf3;
  border-radius: 14px;
  background: #fbfdff;
}

.recordings-meta-item span {
  gap: 8px;
  align-items: center;
}

.recordings-meta-item span svg {
  width: 15px;
  height: 15px;
}

.recordings-list-card {
  display: grid;
  grid-gap: 14px;
  gap: 14px;
}

.recordings-list {
  display: grid;
  grid-gap: 12px;
  gap: 12px;
}

.recordings-list.grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.recordings-list-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  grid-gap: 14px;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid #e5eaf3;
  border-radius: 16px;
  background: #fff;
  text-align: left;
  cursor: pointer;
}

.recordings-list-row.active {
  border-color: #bfdbfe;
  background: #f3f8ff;
}

.recordings-list-thumb {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: #eff6ff;
  color: #2563eb;
}

.recordings-list-main {
  min-width: 0;
}

.recordings-list-meta {
  display: grid;
  grid-gap: 6px;
  gap: 6px;
  text-align: right;
}

.recordings-side-card {
  display: grid;
  grid-gap: 14px;
  gap: 14px;
}

.recordings-side-stack {
  align-content: start;
}

.recordings-storage-value,
.recordings-sidebar-card strong {
  font-size: 1.8rem;
}

.recordings-activity-row {
  gap: 6px;
  padding: 14px;
  border: 1px solid #e5eaf3;
  border-radius: 14px;
  background: #fbfdff;
}

.recordings-side-empty {
  padding: 10px 0 0;
}

.recordings-sidebar-card {
  padding: 16px;
  border: 1px solid #dce5f2;
  border-radius: 18px;
  background: linear-gradient(180deg, #fbfdff 0%, #f4f8ff 100%);
}

.recordings-sidebar-card-head {
  justify-content: space-between;
}

.recordings-sidebar-card-head svg {
  width: 18px;
  height: 18px;
  color: #2563eb;
}

.recordings-loading-card {
  display: grid;
  grid-gap: 14px;
  gap: 14px;
}

.recordings-loading-block {
  border-radius: 16px;
  background: linear-gradient(90deg, #f8fafc 0%, #eef2f7 50%, #f8fafc 100%);
  background-size: 200% 100%;
  animation: security-pulse 1.4s ease infinite;
}

.recordings-loading-block.large {
  min-height: 200px;
}

.recordings-loading-block.medium {
  min-height: 160px;
}

.recordings-loading-block.small {
  min-height: 120px;
}

@media (max-width: 1180px) {
  .recordings-content-grid,
  .recordings-featured-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .recordings-hero-card,
  .recordings-toolbar-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .recordings-list.grid,
  .recordings-meta-grid {
    grid-template-columns: 1fr;
  }

  .recordings-list-row {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .recordings-list-meta {
    grid-column: 2;
    text-align: left;
  }
}

@media (max-width: 768px) {
  .recordings-hero-stats,
  .recordings-toolbar-actions,
  .recordings-toolbar-filters,
  .recordings-featured-actions {
    width: 100%;
  }

  .recordings-stat-card,
  .recordings-toolbar-filter,
  .recordings-toolbar-select,
  .recordings-featured-actions .schedule-primary-btn,
  .recordings-featured-actions .schedule-secondary-btn {
    width: 100%;
  }

  .recordings-toolbar-actions {
    display: grid;
  }
}

/* Final room parity overrides */
.room-page .meeting-shell {
  width: min(1840px, calc(100vw - 34px)) !important;
  max-width: calc(100vw - 34px) !important;
  margin: 18px auto !important;
  border-radius: 32px !important;
  background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(247,249,252,0.98) 100%) !important;
  box-shadow: 0 20px 60px rgba(30, 41, 59, 0.10) !important;
  overflow: hidden;
  box-sizing: border-box !important;
}

.room-page .room-topbar {
  min-height: 92px !important;
  padding: 0 28px !important;
  border-bottom: 1px solid rgba(226, 232, 240, 0.95) !important;
  background: rgba(255,255,255,0.98) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 14px !important;
  box-sizing: border-box !important;
  flex-wrap: nowrap !important;
  overflow: visible !important;
  position: relative !important;
  z-index: 12 !important;
}

.room-page .room-topbar-left,
.room-page .room-topbar-right {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  min-width: 0 !important;
  flex-wrap: nowrap !important;
}

.room-page .room-topbar-left {
  flex: 1 1 auto !important;
  overflow: visible !important;
}

.room-page .room-topbar-right {
  flex: 0 0 auto !important;
}

.room-page .room-logo {
  min-width: 150px;
  padding-right: 18px;
  border-right: 1px solid rgba(226, 232, 240, 0.95);
  font-size: 1rem;
  font-weight: 800;
  color: #0f172a;
}

.room-page .room-session-meta {
  min-width: 150px;
  padding-left: 6px !important;
  min-width: 0 !important;
}

.room-page .room-session-title {
  margin-bottom: 2px;
}

.room-page .room-id-badge {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  min-width: 130px !important;
  min-height: 56px !important;
  padding: 10px 12px !important;
  border: 1px solid rgba(226, 232, 240, 0.98) !important;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%) !important;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05) !important;
}

.room-page .room-id-copy {
  display: grid;
  grid-gap: 2px;
  gap: 2px;
}

.room-page .room-id-value {
  font-size: 1.05rem !important;
  line-height: 1 !important;
}

.room-page .room-id-caption {
  font-size: 0.72rem;
  color: #64748b;
  font-weight: 700;
}

.room-page .room-session-subtitle {
  display: none !important;
}

.room-page .room-mode-dropdown {
  position: relative !important;
  flex: 0 0 auto !important;
  z-index: 20 !important;
}

.room-page .room-mode-dropdown-trigger {
  min-width: 152px !important;
  justify-content: space-between !important;
  gap: 10px !important;
}

.room-page .room-mode-dropdown-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.room-page .room-mode-dropdown-caret {
  font-size: 0.86rem;
  color: #64748b;
  transition: transform 140ms ease;
}

.room-page .room-mode-dropdown-caret.open {
  transform: rotate(180deg);
}

.room-page .room-mode-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 30;
  min-width: 188px;
  padding: 8px;
  display: grid;
  grid-gap: 6px;
  gap: 6px;
  border-radius: 20px;
  border: 1px solid rgba(226, 232, 240, 0.96);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
}

.room-page .room-mode-dropdown-item {
  min-height: 46px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: transparent;
  color: #334155;
  font-size: 0.94rem;
  font-weight: 700;
  cursor: pointer;
}

.room-page .room-mode-dropdown-item.active {
  border-color: rgba(96, 165, 250, 0.42);
  background: rgba(37, 99, 235, 0.08);
  color: #2563eb;
}

.room-page .room-mode-dropdown-item:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.room-page .room-mode-dropdown-check {
  color: #2563eb;
  font-weight: 800;
}

.room-page .room-topbar-pill,
.room-page .room-topbar-icon-btn,
.room-page .room-host-chip,
.room-page .room-call-timer {
  min-height: 54px !important;
  border-radius: 18px !important;
  border: 1px solid rgba(226, 232, 240, 0.96) !important;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%) !important;
}

.room-page .room-topbar-pill {
  padding: 0 18px !important;
  font-weight: 700 !important;
  color: #334155 !important;
}

.room-page .room-topbar-pill-action-primary {
  background: linear-gradient(135deg, #5b6cff 0%, #8b3dff 100%) !important;
  color: #fff !important;
  border: none !important;
  box-shadow: 0 14px 30px rgba(109, 40, 217, 0.24) !important;
}

.room-page .room-call-timer {
  padding: 0 20px !important;
}

.room-page .room-host-chip {
  padding: 0 14px 0 10px !important;
  gap: 10px !important;
}

.room-page .room-host-avatar {
  width: 34px !important;
  height: 34px !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: linear-gradient(135deg, #22c55e, #16a34a) !important;
  color: #fff !important;
  font-weight: 800 !important;
}

.room-page .room-content {
  grid-template-columns: minmax(0, 1fr) 360px !important;
  min-height: calc(100vh - 170px) !important;
  background: #f7f9fc !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

.room-page .room-main-column {
  padding: 14px 14px 0 !important;
  gap: 14px !important;
}

.room-page .video-area {
  padding: 0 !important;
}

.room-page .meeting-stage-insights-premium {
  display: none !important;
}

.room-page .sensera-spotlight-layout,
.room-page .sensera-presentation-layout,
.room-page .sensera-grid-layout {
  min-height: 620px !important;
}

.room-page .sensera-spotlight-main .video-tile,
.room-page .sensera-presentation-stage .video-tile,
.room-page .meeting-empty-stage-video .video-tile,
.room-page .sensera-grid-layout .video-tile {
  border-radius: 24px !important;
  overflow: hidden;
}

.room-page .video-grid,
.room-page .video-stage-layout,
.room-page .webinar-stage-shell,
.room-page .sensera-spotlight-main,
.room-page .sensera-presentation-stage,
.room-page .meeting-empty-stage-video {
  padding: 14px !important;
  border-radius: 28px !important;
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%) !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04) !important;
}

.room-page .sensera-spotlight-pip-stack {
  top: 28px !important;
  right: 28px !important;
  width: 220px !important;
}

.room-page .sensera-spotlight-pip .video-tile,
.room-page .sensera-presentation-pip .video-tile {
  min-height: 154px !important;
  border-radius: 20px !important;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.22) !important;
}

.room-page .sensera-presentation-pip {
  top: 24px !important;
  right: 24px !important;
  width: 220px !important;
}

.room-page .video-tile-label,
.room-page .video-tile-badge,
.room-page .tile-muted-badge {
  z-index: 4;
}

.room-page .controls-bar {
  margin: 0 auto 18px !important;
  padding: 12px 18px !important;
  border-radius: 22px !important;
  background: rgba(255,255,255,0.98) !important;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.10) !important;
  position: relative;
  top: -4px;
}

.room-page .ctrl-btn[data-label] {
  width: 72px !important;
  height: 78px !important;
  border-radius: 18px !important;
}

.room-page .ctrl-btn[data-label]::after {
  font-size: 0.72rem !important;
  bottom: 9px !important;
}

.room-page .controls-group-leave {
  padding-left: 8px;
  margin-left: 6px;
  border-left: 1px solid rgba(203, 213, 225, 0.82);
}

.room-page .room-sidebar {
  min-width: 0 !important;
  width: 100% !important;
  padding-top: 10px !important;
  border-left: 1px solid rgba(226, 232, 240, 0.95) !important;
  background: linear-gradient(180deg, #ffffff 0%, #f9fbfe 100%) !important;
  box-sizing: border-box !important;
}

.room-page .sidebar-tabs {
  padding: 0 18px 12px !important;
  gap: 14px !important;
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  overflow-x: auto !important;
  overflow-y: hidden !important;
  flex-wrap: nowrap !important;
  scrollbar-width: none;
}

.room-page .sidebar-tab {
  flex: 0 0 auto !important;
  min-height: 42px !important;
  padding: 8px 2px !important;
  border-radius: 0 !important;
  background: transparent !important;
  border: none !important;
  color: #475569 !important;
  font-size: 0.96rem !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
}

.room-page .sidebar-tabs::-webkit-scrollbar {
  display: none;
}

.room-page .sidebar-tab.active {
  color: #7c3aed !important;
  box-shadow: inset 0 -3px 0 #7c3aed !important;
}

.room-page .sidebar-content {
  padding: 16px 18px 18px !important;
}

.room-page .sidebar-content > div {
  gap: 14px !important;
}

.room-page .sidebar-card,
.room-page .sidebar-chat-settings-card,
.room-page .sidebar-chat-thread-card,
.room-page .sidebar-chat-composer-card {
  border-radius: 24px !important;
  border: 1px solid rgba(226, 232, 240, 0.96) !important;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%) !important;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05) !important;
}

.room-page .sensera-people-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px;
  grid-gap: 10px;
  gap: 10px;
  margin-bottom: 14px;
}

.room-page .sensera-people-search {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 16px;
  border: 1px solid rgba(226, 232, 240, 0.96);
  background: #fff;
}

.room-page .sensera-people-search-icon,
.room-page .sensera-people-filter-btn {
  color: #94a3b8;
  font-size: 0.9rem;
}

.room-page .sensera-people-search-input {
  width: 100%;
  border: 0;
  background: transparent;
  outline: none;
  color: #0f172a;
  font-size: 0.84rem;
}

.room-page .sensera-people-filter-btn {
  border: 1px solid rgba(226, 232, 240, 0.96);
  border-radius: 16px;
  background: #fff;
  cursor: pointer;
}

.room-page .sensera-people-list-shell {
  gap: 14px !important;
  max-height: calc(100vh - 360px);
  overflow-y: auto;
  padding-right: 4px;
}

.room-page .sensera-people-section {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
}

.room-page .sensera-people-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #64748b;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.room-page .participant-item--people {
  display: grid !important;
  grid-template-columns: 42px minmax(0, 1fr) auto !important;
  align-items: center !important;
  grid-gap: 12px !important;
  gap: 12px !important;
  padding: 12px 10px !important;
  border-radius: 16px !important;
  background: #fff !important;
  border: 1px solid rgba(241, 245, 249, 0.98) !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.room-page .participant-item--people::before {
  display: none !important;
}

.room-page .participant-item--people .participant-avatar {
  width: 38px !important;
  height: 38px !important;
  font-size: 0.84rem !important;
}

.room-page .participant-item--people .participant-name {
  color: #0f172a !important;
  font-size: 0.86rem !important;
  font-weight: 800 !important;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.room-page .participant-item--people .participant-role {
  color: #94a3b8 !important;
  font-size: 0.76rem !important;
  line-height: 1.45 !important;
}

.room-page .sensera-people-row-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}

.room-page .sensera-people-icon-pill {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  border: 1px solid rgba(226, 232, 240, 0.96);
  color: #94a3b8;
  font-size: 0.72rem;
}

.room-page .sensera-people-icon-pill .sensera-control-svg,
.room-page .sensera-people-menu-btn .sensera-control-svg,
.room-page .sensera-people-search-icon .sensera-control-svg,
.room-page .sensera-people-filter-btn .sensera-control-svg {
  width: 14px;
  height: 14px;
}

.room-page button.sensera-people-icon-pill,
.room-page button.sensera-people-menu-btn,
.room-page button.sensera-people-filter-btn {
  cursor: pointer;
}

.room-page .sensera-people-icon-btn:hover,
.room-page .sensera-people-menu-btn:hover,
.room-page .sensera-people-filter-btn:hover,
.room-page .sensera-people-tools-item:hover,
.room-page .sensera-people-actions-menu-item:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08);
}

.room-page .sensera-people-icon-btn {
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.room-page .sensera-people-icon-pill.is-on {
  color: #22c55e;
  background: rgba(240, 253, 244, 0.98);
  border-color: rgba(187, 247, 208, 0.98);
}

.room-page .sensera-people-menu-btn {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(226, 232, 240, 0.96);
  background: #fff;
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.room-page .sensera-people-menu-shell {
  position: relative;
  overflow: visible;
}

.room-page .sensera-people-tools-menu,
.room-page .sensera-people-actions-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 80;
  min-width: 180px;
  padding: 8px;
  display: grid;
  grid-gap: 6px;
  gap: 6px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(226, 232, 240, 0.98);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
  -webkit-backdrop-filter: blur(18px);
          backdrop-filter: blur(18px);
}

.room-page .sensera-people-tools-item,
.room-page .sensera-people-actions-menu-item {
  min-height: 36px;
  padding: 0.58rem 0.72rem;
  border-radius: 12px;
  border: 1px solid rgba(226, 232, 240, 0.7);
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  color: #334155;
  font-size: 0.77rem;
  font-weight: 700;
  text-align: left;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.room-page .sensera-people-tools-item.is-active {
  border-color: rgba(99, 102, 241, 0.32);
  color: #4f46e5;
  background: rgba(238, 242, 255, 0.9);
}

.room-page .sensera-people-actions-menu-item.is-danger {
  color: #e11d48;
  border-color: rgba(244, 63, 94, 0.18);
  background: rgba(255, 241, 242, 0.96);
}

.room-page .sensera-people-inline-select {
  min-height: 36px;
  border-radius: 12px;
  border: 1px solid rgba(226, 232, 240, 0.96);
  background: #fff;
  color: #334155;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0 0.6rem;
}

.room-page .sidebar-card-head-actions {
  position: relative;
}

.room-page .sensera-people-hidden-actions {
  display: none !important;
}

.room-page .sensera-people-sticky-actions {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 12px;
  gap: 12px;
}

.room-page .sensera-people-footer-btn {
  min-height: 48px;
  border-radius: 16px;
  border: 1px solid rgba(226, 232, 240, 0.96);
  background: #fff;
  color: #334155;
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.room-page .sensera-people-footer-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

@media (max-width: 1280px) {
  .room-page .meeting-shell {
    width: min(1840px, calc(100vw - 20px)) !important;
    max-width: calc(100vw - 20px) !important;
    margin: 10px auto !important;
  }

  .room-page .room-topbar {
    padding: 14px 16px !important;
  }

  .room-page .room-content {
    grid-template-columns: minmax(0, 1fr) 320px !important;
  }

  .room-page .room-mode-tab {
    min-width: 110px !important;
  }
}

.room-page .sensera-breakout-control-grid {
  display: grid;
  grid-gap: 12px;
  gap: 12px;
}

.room-page .sensera-breakout-control-card {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  align-items: center;
  grid-gap: 14px;
  gap: 14px;
  min-height: 110px;
  padding: 16px 18px;
  border-radius: 24px;
  border: 1px solid rgba(241, 245, 249, 0.98);
  background: linear-gradient(180deg, #fcfdff 0%, #f7f9fc 100%);
  text-align: left;
}

.room-page .sensera-breakout-control-card.is-clickable {
  cursor: pointer;
}

.room-page .sensera-breakout-control-card.is-static {
  cursor: default;
}

.room-page .sensera-breakout-control-icon {
  width: 42px;
  height: 42px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #ffffff 0%, #f4f7fb 100%);
  border: 1px solid rgba(226, 232, 240, 0.98);
  color: #8b5cf6;
  font-size: 1rem;
  font-weight: 800;
}

.room-page .sensera-breakout-control-copy {
  display: grid;
  grid-gap: 6px;
  gap: 6px;
}

.room-page .sensera-breakout-control-copy strong {
  color: #475569;
  font-size: 0.78rem;
  font-weight: 800;
}

.room-page .sensera-breakout-control-copy span {
  color: #334155;
  font-size: 0.8rem;
  line-height: 1.55;
  max-width: 180px;
}

.room-page .sensera-breakout-control-copy em {
  color: #94a3b8;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 700;
}

.room-page .sensera-breakout-status {
  min-width: 66px;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 800;
}

.room-page .sensera-breakout-status-success {
  background: rgba(220, 252, 231, 0.95);
  color: #22c55e;
  border: 1px solid rgba(134, 239, 172, 0.95);
}

.room-page .sensera-breakout-status-warning {
  background: rgba(254, 249, 195, 0.96);
  color: #ca8a04;
  border: 1px solid rgba(253, 224, 71, 0.92);
}

.room-page .sensera-breakout-status-danger {
  background: rgba(255, 241, 242, 0.98);
  color: #fb7185;
  border: 1px solid rgba(253, 164, 175, 0.92);
}

.room-page .sensera-logo-mark {
  font-size: 1.15rem;
  margin-right: 8px;
}

.room-page .sensera-topbar-svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.room-page .room-topbar-pill,
.room-page .room-topbar-icon-btn,
.room-page .room-id-copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.room-page .room-topbar-pill {
  gap: 10px;
}

.room-page .room-id-copy-btn {
  width: 32px !important;
  height: 32px !important;
}

.room-page .ctrl-btn {
  display: inline-flex !important;
  align-items: flex-start !important;
  justify-content: center !important;
}

.room-page .sensera-control-svg {
  width: 21px;
  height: 21px;
  margin-top: 13px;
}

.room-page .controls-bar {
  padding: 14px 20px !important;
}

.room-page .ctrl-btn[data-label] {
  width: 76px !important;
  height: 84px !important;
}

.room-page .ctrl-btn[data-label]::after {
  bottom: 10px !important;
  font-size: 0.74rem !important;
  font-weight: 700 !important;
}

.room-page .ctrl-btn-leave .sensera-control-svg {
  width: 20px;
  height: 20px;
}

.room-page .sidebar-tab {
  letter-spacing: -0.01em;
}

.screen-share-full-preview {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  grid-gap: 12px;
  gap: 12px;
  padding: 14px;
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.18), transparent 34%),
    linear-gradient(180deg, #020617 0%, #050b18 100%);
  color: #f8fafc;
}

.screen-share-full-preview-topbar {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 12px 10px 16px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.78);
  box-shadow: 0 18px 48px rgba(2, 6, 23, 0.38);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.screen-share-full-preview-copy {
  min-width: 0;
  display: grid;
  grid-gap: 2px;
  gap: 2px;
}

.screen-share-full-preview-copy span {
  color: #93c5fd;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.screen-share-full-preview-copy strong {
  color: #f8fafc;
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.screen-share-full-preview-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.screen-share-full-preview-btn {
  height: 38px;
  border: 1px solid rgba(147, 197, 253, 0.36);
  border-radius: 999px;
  padding: 0 14px;
  background: rgba(37, 99, 235, 0.18);
  color: #dbeafe;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 800;
}

.screen-share-full-preview-btn:hover {
  background: rgba(59, 130, 246, 0.28);
}

.screen-share-full-preview-btn.danger {
  border-color: rgba(248, 113, 113, 0.38);
  background: rgba(220, 38, 38, 0.18);
  color: #fecaca;
}

.screen-share-full-preview-btn.danger:hover {
  background: rgba(220, 38, 38, 0.28);
}

.screen-share-full-preview-btn.ghost {
  border-color: rgba(148, 163, 184, 0.32);
  background: rgba(15, 23, 42, 0.72);
  color: #e2e8f0;
}

.screen-share-full-preview-stage {
  min-height: 0;
  display: grid;
}

.screen-share-full-preview-stage .video-tile,
.video-tile.video-tile-immersive {
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
  border-radius: 20px;
  background: #020617;
  box-shadow: 0 26px 72px rgba(2, 6, 23, 0.5);
}

.screen-share-full-preview-stage .video-tile:hover {
  transform: none;
}

.screen-share-full-preview-stage video,
.video-tile.video-tile-immersive video {
  object-fit: contain !important;
}

.screen-share-full-preview-stage .video-tile-actions {
  opacity: 1;
  transform: none;
}

.screen-share-full-preview-rail {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 0 2px 2px;
  max-height: 128px;
}

.screen-share-full-preview-thumb {
  flex: 0 0 180px;
}

.screen-share-full-preview-thumb .video-tile {
  width: 180px;
  min-height: 104px;
  border-radius: 16px;
}

@media (max-width: 760px) {
  .screen-share-full-preview {
    padding: 8px;
    gap: 8px;
  }

  .screen-share-full-preview-topbar {
    align-items: flex-start;
    flex-direction: column;
    border-radius: 14px;
  }

  .screen-share-full-preview-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .screen-share-full-preview-btn {
    height: 36px;
    padding: 0 11px;
    font-size: 0.76rem;
  }

  .screen-share-full-preview-rail {
    max-height: 104px;
  }

  .screen-share-full-preview-thumb,
  .screen-share-full-preview-thumb .video-tile {
    flex-basis: 142px;
    width: 142px;
  }
}

.webinar-broadcast-lobby {
  min-height: min(70vh, 760px);
  display: grid;
  place-items: center;
  padding: clamp(18px, 3vw, 44px);
  border-radius: 28px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background:
    radial-gradient(circle at 20% 18%, rgba(37, 99, 235, 0.18), transparent 30%),
    radial-gradient(circle at 86% 76%, rgba(14, 165, 233, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(248, 250, 252, 0.98), rgba(239, 246, 255, 0.92));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72), 0 28px 70px rgba(15, 23, 42, 0.12);
}

.webinar-broadcast-lobby-card {
  width: min(620px, 100%);
  display: grid;
  grid-gap: 14px;
  gap: 14px;
  justify-items: center;
  text-align: center;
  padding: clamp(24px, 4vw, 46px);
  border-radius: 28px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.webinar-broadcast-lobby-icon {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: linear-gradient(135deg, #2563eb, #06b6d4);
  color: #fff;
  font-size: 1.45rem;
  font-weight: 900;
  box-shadow: 0 18px 36px rgba(37, 99, 235, 0.25);
}

.webinar-broadcast-lobby-kicker {
  color: #2563eb;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.webinar-broadcast-lobby h2 {
  margin: 0;
  color: #0f172a;
  font-size: clamp(1.45rem, 2.5vw, 2.3rem);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.webinar-broadcast-lobby p {
  max-width: 500px;
  margin: 0;
  color: #475569;
  font-size: 0.98rem;
  line-height: 1.6;
}

.webinar-broadcast-lobby-meta {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.webinar-broadcast-lobby-meta span {
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid rgba(37, 99, 235, 0.14);
  background: rgba(37, 99, 235, 0.06);
  color: #334155;
  font-size: 0.78rem;
  font-weight: 800;
}

.webinar-broadcast-lobby-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.webinar-broadcast-lobby-btn {
  height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.32);
  background: #fff;
  color: #334155;
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 850;
}

.webinar-broadcast-lobby-btn.primary {
  border-color: rgba(37, 99, 235, 0.34);
  background: #2563eb;
  color: #fff;
  box-shadow: 0 16px 30px rgba(37, 99, 235, 0.22);
}

.webinar-broadcast-lobby-btn:hover {
  transform: translateY(-1px);
}

