/* Jalasaty — WordPress.org inspired layouts (structural redesign) */

:root {
  --wp-blue: #3858e9;
  --wp-blue-dark: #213acc;
  --wp-blue-light: #eef2ff;
  --wp-ink: #1e1e1e;
  --wp-muted: #646970;
  --wp-border: #dcdcde;
  --wp-surface: #fcfcfc;
  --wp-white: #ffffff;
  --wp-cream: #f6f7f7;
  --wp-admin: #1e1e1e;
  --radius: 4px;
  --radius-lg: 8px;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
  --bar-h: 3.6rem;
}

/* —— Shared chrome —— */
.app-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: inherit;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.logo-mark {
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 3px;
  background: linear-gradient(135deg, #7b93ff, var(--wp-blue));
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.25);
  position: relative;
  flex-shrink: 0;
}
.logo-mark::after {
  content: "";
  position: absolute;
  inset: 5px;
  border: 2px solid rgba(255,255,255,0.85);
  border-radius: 50%;
  border-left-color: transparent;
}

.lang-switch {
  display: flex;
  padding: 2px;
  border-radius: var(--radius);
  background: rgba(0,0,0,0.05);
  border: 1px solid var(--wp-border);
}
.lang-switch a {
  min-width: 2rem;
  height: 1.55rem;
  display: grid;
  place-items: center;
  border-radius: 2px;
  color: var(--wp-muted);
  font-size: 0.72rem;
  font-weight: 700;
}
.lang-switch a.is-on {
  background: var(--wp-blue);
  color: #fff;
}

.menu-btn {
  display: none;
  border: 1px solid var(--wp-border);
  background: #fff;
  color: var(--wp-ink);
  width: 2.35rem;
  height: 2.35rem;
  border-radius: var(--radius);
  cursor: pointer;
}

.avatar-dot {
  width: 2rem;
  height: 2rem;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  background: var(--wp-blue);
  color: #fff;
  font-weight: 800;
  font-size: 0.75rem;
}

/* —— Marketing site bar —— */
.site-bar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: var(--bar-h);
  padding: 0.65rem clamp(1rem, 4vw, 2.5rem);
  background: #fff;
  border-bottom: 1px solid var(--wp-border);
}
.site-bar-slim { background: var(--wp-cream); }
.site-nav {
  display: flex;
  gap: 0.15rem;
  margin-inline-start: 1rem;
}
.site-nav a {
  color: var(--wp-ink);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius);
}
.site-nav a.is-on,
.site-nav a:hover {
  color: var(--wp-blue);
  background: var(--wp-blue-light);
}
.site-bar-end {
  margin-inline-start: auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.site-main { min-height: calc(100vh - 12rem); }

/* —— Landing: full-bleed blue hero —— */
.lp-hero {
  background: var(--wp-blue);
  color: #fff;
  padding: 4.5rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}
.lp-hero::before {
  content: "";
  position: absolute;
  inset: auto -10% -40% 40%;
  height: 120%;
  background: radial-gradient(circle, rgba(255,255,255,0.12), transparent 60%);
  pointer-events: none;
}
.lp-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 44rem;
  text-align: start;
}
.lp-brand {
  margin: 0 0 0.85rem;
  font-size: clamp(2.8rem, 8vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
  color: #fff;
}
.lp-title {
  margin: 0 0 0.85rem;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: rgba(255,255,255,0.95);
  max-width: 28ch;
}
.lp-sub {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.82);
  max-width: 38rem;
}
.lp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.75rem;
}
.btn-on-blue {
  background: #fff !important;
  color: var(--wp-blue) !important;
  border-radius: var(--radius) !important;
}
.btn-on-blue:hover { background: var(--wp-blue-light) !important; }
.btn-ghost-on-blue {
  background: transparent !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,0.45) !important;
  border-radius: var(--radius) !important;
}
.btn-ghost-on-blue:hover { background: rgba(255,255,255,0.1) !important; }

.lp-wave {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 56px;
  margin-top: 2.5rem;
  opacity: 0.9;
}
.lp-wave span {
  flex: 1;
  max-width: 10px;
  border-radius: 99px;
  background: rgba(255,255,255,0.75);
  animation: eq 1.1s ease-in-out infinite;
}
.lp-wave span:nth-child(odd) { animation-delay: 0.12s; }
.lp-wave span:nth-child(3n) { animation-delay: 0.28s; height: 70%; }
.lp-wave span:nth-child(1) { height: 30%; }
.lp-wave span:nth-child(2) { height: 55%; }
.lp-wave span:nth-child(3) { height: 90%; }
.lp-wave span:nth-child(4) { height: 45%; }
.lp-wave span:nth-child(5) { height: 100%; }
.lp-wave span:nth-child(6) { height: 60%; }
.lp-wave span:nth-child(7) { height: 35%; }
.lp-wave span:nth-child(8) { height: 80%; }
.lp-wave span:nth-child(9) { height: 50%; }
.lp-wave span:nth-child(10) { height: 70%; }
.lp-wave span:nth-child(11) { height: 40%; }

/* Join band under hero */
.lp-joinband {
  background: #fff;
  border-bottom: 1px solid var(--wp-border);
  padding: 1.25rem 0;
}
.lp-joinband-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.lp-joinband h2 {
  margin: 0;
  font-size: 1.15rem;
  color: var(--wp-ink);
}
.lp-joinband p {
  margin: 0.2rem 0 0;
  color: var(--wp-muted);
  font-size: 0.9rem;
}
.lp-join-form {
  display: flex;
  gap: 0.5rem;
  flex: 1 1 18rem;
  max-width: 28rem;
}
.lp-join-form input {
  flex: 1;
  border: 1px solid var(--wp-border);
  border-radius: var(--radius);
  padding: 0.75rem 0.9rem;
  font-size: 1rem;
  background: #fff;
}

/* How steps — horizontal strip */
.lp-how {
  padding: 4rem 0;
  background: var(--wp-cream);
}
.lp-section-head {
  margin-bottom: 2rem;
  max-width: 36rem;
}
.lp-section-head h2 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: -0.03em;
  color: var(--wp-ink);
}
.lp-section-head p {
  margin: 0;
  color: var(--wp-muted);
  line-height: 1.6;
}
.lp-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  counter-reset: none;
  border-top: 1px solid var(--wp-border);
}
.lp-steps li {
  padding: 1.5rem 1.25rem 0 0;
  border-top: 3px solid var(--wp-blue);
  margin-top: -1px;
}
.lp-steps li + li { padding-inline-start: 1.25rem; }
.lp-step-i {
  display: inline-grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--wp-blue);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  margin-bottom: 0.85rem;
}
.lp-steps h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  color: var(--wp-ink);
}
.lp-steps p {
  margin: 0;
  color: var(--wp-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* Features as stacked rows */
.lp-features {
  padding: 4rem 0;
  background: #fff;
}
.lp-feature-rows {
  display: grid;
  gap: 0;
  border: 1px solid var(--wp-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.lp-feature {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: center;
  padding: 1.5rem 1.75rem;
  background: #fff;
}
.lp-feature + .lp-feature { border-top: 1px solid var(--wp-border); }
.lp-feature-icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  background: var(--wp-blue-light);
  color: var(--wp-blue);
  font-size: 1.15rem;
}
.lp-feature h3 {
  margin: 0 0 0.25rem;
  font-size: 1.1rem;
  color: var(--wp-ink);
}
.lp-feature p {
  margin: 0;
  color: var(--wp-muted);
  line-height: 1.55;
}

.lp-closer {
  padding: 4rem 0 5rem;
  background: var(--wp-cream);
  border-top: 1px solid var(--wp-border);
  text-align: center;
}
.lp-closer-inner { max-width: 36rem; margin-inline: auto; }
.lp-closer h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.03em;
}
.lp-closer p {
  margin: 0 0 1.5rem;
  color: var(--wp-muted);
  line-height: 1.6;
}

/* Footer */
.site-footer {
  background: #fff;
  border-top: 1px solid var(--wp-border);
  padding: 2.5rem 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr auto;
  gap: 1.5rem;
  align-items: start;
}
.footer-brand p {
  margin: 0.75rem 0 0;
  color: var(--wp-muted);
  max-width: 24rem;
  line-height: 1.5;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.footer-links a {
  color: var(--wp-ink);
  font-weight: 600;
}
.footer-links a:hover { color: var(--wp-blue); }
.footer-copy {
  margin: 0;
  color: var(--wp-muted);
  font-size: 0.85rem;
}

/* —— Auth gate —— */
.skin-auth { background: var(--wp-cream); min-height: 100vh; }
.auth-gate {
  min-height: calc(100vh - var(--bar-h));
  display: grid;
  place-items: center;
  padding: 2rem 1rem 3rem;
}
.gate { width: min(26rem, 100%); }
.gate-panel {
  background: #fff;
  border: 1px solid var(--wp-border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-md);
}
.gate-panel h1 {
  margin: 0 0 0.35rem;
  font-size: 1.75rem;
  letter-spacing: -0.03em;
  color: var(--wp-ink);
}
.gate-sub {
  margin: 0 0 0.5rem;
  color: var(--wp-muted);
  line-height: 1.5;
}
.gate-alt {
  margin-top: 1.25rem;
  color: var(--wp-muted);
  font-size: 0.92rem;
}

/* —— App shell (studio) — top bar, no sidebar —— */
.skin-studio {
  background: var(--wp-cream) !important;
  background-image: none !important;
  min-height: 100vh;
}
.app-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.app-bar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--bar-h);
  padding: 0.55rem clamp(0.85rem, 3vw, 1.75rem);
  background: #1e1e1e;
  color: #fff;
  border-bottom: 1px solid #2c3338;
}
.app-bar .app-logo { color: #fff; }
.app-bar .lang-switch {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.12);
}
.app-bar .lang-switch a { color: #c3c4c7; }
.app-bar .lang-switch a.is-on { background: var(--wp-blue); color: #fff; }
.app-tabs {
  display: flex;
  gap: 0.15rem;
  margin-inline-start: 0.5rem;
  overflow-x: auto;
}
.app-tabs a {
  color: #c3c4c7;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.45rem 0.8rem;
  border-radius: var(--radius);
  white-space: nowrap;
}
.app-tabs a.is-on,
.app-tabs a:hover {
  color: #fff;
  background: rgba(56, 88, 233, 0.35);
}
.app-bar-end {
  margin-inline-start: auto;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.app-user {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.app-user-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: #f0f0f1;
}
.app-bar .btn-ghost {
  background: transparent;
  color: #f0f0f1;
  border-color: rgba(255,255,255,0.2);
}
.app-bar .menu-btn {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border-color: rgba(255,255,255,0.15);
}
.app-body {
  width: min(72rem, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.5rem 0 3rem;
  flex: 1;
}

/* —— Dashboard board —— */
.board {
  display: grid;
  grid-template-columns: minmax(16rem, 22rem) 1fr;
  gap: 1.25rem;
  align-items: start;
}
.board-launch {
  background: #fff;
  border: 1px solid var(--wp-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  position: sticky;
  top: calc(var(--bar-h) + 1rem);
}
.board-label {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--wp-blue);
}
.board-launch h1 {
  margin: 0.35rem 0 1rem;
  font-size: 1.65rem;
  letter-spacing: -0.03em;
  color: var(--wp-ink);
}
.board-lede {
  margin: 0 0 0.4rem;
  font-size: 0.85rem;
  color: var(--wp-muted);
  font-weight: 600;
}
.board-pmi {
  background: var(--wp-cream);
  border: 1px solid var(--wp-border);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
  font-size: 1.15rem;
}
.board-launch-actions {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.board-shortcuts {
  display: grid;
  gap: 0.25rem;
  border-top: 1px solid var(--wp-border);
  padding-top: 1rem;
}
.board-shortcuts a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.45rem;
  border-radius: var(--radius);
  color: var(--wp-ink);
  font-weight: 600;
  font-size: 0.9rem;
}
.board-shortcuts a:hover {
  background: var(--wp-blue-light);
  color: var(--wp-blue);
}
.board-shortcuts i {
  width: 1.1rem;
  color: var(--wp-muted);
}

.board-feed {
  background: #fff;
  border: 1px solid var(--wp-border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.35rem;
  box-shadow: var(--shadow);
  min-height: 22rem;
}
.board-feed-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--wp-border);
}
.board-feed-head h2 {
  margin: 0;
  font-size: 1.2rem;
  color: var(--wp-ink);
}
.board-empty {
  display: grid;
  place-items: center;
  text-align: center;
  gap: 0.65rem;
  padding: 3rem 1rem;
  color: var(--wp-muted);
}
.board-empty i {
  font-size: 2rem;
  color: var(--wp-blue);
  opacity: 0.7;
}
.board-sessions {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}
.board-session {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 1rem;
  border: 1px solid var(--wp-border);
  border-radius: var(--radius);
  background: var(--wp-surface);
}
.board-session.is-live {
  border-color: #68de7c;
  background: #edfaef;
}
.board-status {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--wp-blue);
  margin-bottom: 0.25rem;
}
.board-session.is-live .board-status { color: #008a20; }
.board-session-main strong {
  display: block;
  color: var(--wp-ink);
  font-size: 1.05rem;
}
.board-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.35rem;
  color: var(--wp-muted);
  font-size: 0.85rem;
}
.board-session-actions {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

/* —— Sheet pages (join / schedule / profile / history) —— */
.sheet {
  background: #fff;
  border: 1px solid var(--wp-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  max-width: 40rem;
}
.sheet-narrow { max-width: 28rem; }
.sheet-intro {
  margin-bottom: 1.5rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid var(--wp-border);
}
.sheet-intro-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
}
.sheet-intro h1 {
  margin: 0 0 0.3rem;
  font-size: 1.75rem;
  letter-spacing: -0.03em;
  color: var(--wp-ink);
}
.sheet-intro p {
  margin: 0;
  color: var(--wp-muted);
}
.sheet-form {
  display: grid;
  gap: 0.9rem;
}
.sheet-form label {
  display: grid;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--wp-ink);
}
.sheet-form label small { font-weight: 600; opacity: 0.7; }
.sheet-form input:not([type="checkbox"]) {
  border: 1px solid var(--wp-border);
  background: #fff;
  color: var(--wp-ink);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  font-size: 1rem;
  min-height: 3rem;
}
.sheet-form input:not([type="checkbox"]):focus {
  outline: 2px solid var(--wp-blue);
  border-color: transparent;
}
.sheet-giant input {
  font-size: 1.45rem !important;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: center;
  min-height: 3.6rem !important;
}
.sheet-form-grid {
  grid-template-columns: 1fr 1fr;
}
.sheet-form-grid .span-2 { grid-column: 1 / -1; }
.sheet-form .check {
  display: flex !important;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
}

/* Admin still uses desk — keep usable */
.desk-hero h1 { color: var(--wp-ink) !important; background: none !important; }
.admin-stat {
  border-radius: var(--radius-lg) !important;
  background: #fff !important;
  border: 1px solid var(--wp-border) !important;
}
.admin-subnav a.is-on {
  background: var(--wp-blue) !important;
  color: #fff !important;
  border-radius: var(--radius) !important;
}
.settings-panel {
  background: #fff;
  border: 1px solid var(--wp-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  max-width: 36rem;
}
.settings-panel-head {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}
.settings-lock-icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  background: #edfaef;
  color: #008a20;
}
.settings-lock-icon.is-locked {
  background: #fcebec;
  color: #cc1818;
}
.toggle-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  cursor: pointer;
}
.toggle-row input { accent-color: var(--wp-blue); }
.lock-banner {
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

/* Locked */
.locked-body { min-height: 100vh; background: var(--wp-cream); }
.locked-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
}
.locked-card {
  width: min(28rem, 100%);
  padding: 2.5rem 2rem;
  text-align: center;
  background: #fff;
  border: 1px solid var(--wp-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.locked-icon {
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 1rem;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  background: var(--wp-blue-light);
  color: var(--wp-blue);
}
.locked-card .lp-brand {
  font-size: 1.5rem;
  color: var(--wp-ink);
  margin-bottom: 0.35rem;
}
.locked-card h1 {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  color: var(--wp-ink);
}
.locked-card .lede { color: var(--wp-muted); margin-inline: auto; }
.locked-actions { margin-top: 1.5rem; }

/* Meeting room accents */
.room-body {
  background: #0a1628 !important;
  background-image: radial-gradient(ellipse 70% 45% at 50% 0%, rgba(56, 88, 233, 0.18), transparent 60%) !important;
}
.room-top {
  background: rgba(10, 22, 40, 0.92) !important;
  border-bottom: 1px solid rgba(255,255,255,0.08) !important;
}
.dock {
  background: rgba(10, 22, 40, 0.95) !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  border-radius: var(--radius-lg) !important;
}
.tile {
  border-radius: var(--radius-lg) !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
}
.btn-brand {
  background: var(--wp-blue) !important;
  border-radius: var(--radius) !important;
  box-shadow: none !important;
}
.btn-brand:hover { background: var(--wp-blue-dark) !important; }
.btn-ghost, .btn-outline { border-radius: var(--radius) !important; }

.mobile-panel {
  background: #fff !important;
  color: var(--wp-ink);
  border-inline-end: 1px solid var(--wp-border);
}
.mobile-panel a { color: var(--wp-ink) !important; }
.mobile-panel a:hover {
  background: var(--wp-blue-light) !important;
  color: var(--wp-blue) !important;
}

/* Hide legacy studio rail if any remnant */
.studio-rail { display: none !important; }

/* —— Meeting room: Concept B Stage Focus —— */
.room-body {
  background: #0b0e14 !important;
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(56, 88, 233, 0.22), transparent 55%) !important;
}

.room-top {
  background: rgba(11, 14, 20, 0.92) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(12px);
  padding: 0.7rem 1.1rem !important;
}

.room-top .seal,
.room-top .seal strong { color: #fff !important; }

.live-pill {
  background: #dc2626 !important;
  color: #fff !important;
  border-color: transparent !important;
}
.live-pill .pulse-dot { background: #fff !important; box-shadow: none !important; }

.room-workspace.stage-focus {
  gap: 0.75rem;
  padding: 0.65rem 0.85rem 0;
}

.room-stage-col {
  flex: 1;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.stage-spotlight {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.stage-card {
  position: relative;
  width: min(100%, 52rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 1.75rem 1.5rem 1.5rem;
  border-radius: 1.25rem;
  background: linear-gradient(165deg, #151b2b 0%, #0d121c 100%);
  border: 1px solid rgba(56, 88, 233, 0.28);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  text-align: center;
  overflow: hidden;
}

.stage-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, rgba(56, 88, 233, 0.18), transparent 55%);
  pointer-events: none;
}

.stage-speaking-badge {
  position: absolute;
  top: 1rem;
  inset-inline-start: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: rgba(56, 88, 233, 0.9);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  z-index: 2;
}
.stage-speaking-badge.hidden { display: none !important; }

.stage-avatar-ring {
  position: relative;
  z-index: 1;
  padding: 0.45rem;
  border-radius: 50%;
  background: conic-gradient(from 180deg, #3858e9, #7b93ff, #3858e9);
  box-shadow: 0 0 0 8px rgba(56, 88, 233, 0.15);
  margin-bottom: 0.35rem;
}
.stage-card.speaking .stage-avatar-ring {
  box-shadow: 0 0 0 10px rgba(56, 88, 233, 0.28), 0 0 40px rgba(56, 88, 233, 0.35);
}

.stage-avatar {
  width: 7.5rem !important;
  height: 7.5rem !important;
  font-size: 2rem !important;
  margin: 0 !important;
  border: 4px solid #0d121c !important;
  background: linear-gradient(145deg, #3858e9, #213acc) !important;
}

.stage-card .tile-name {
  position: relative;
  z-index: 1;
  font-size: 1.25rem !important;
  color: #fff;
}
.stage-card .tile-role {
  position: relative;
  z-index: 1;
  color: #93c5fd !important;
  font-size: 0.85rem !important;
}
.stage-card .tile-icons {
  top: 1rem;
  inset-inline-end: 1rem;
}

.stage-wave {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 5px;
  height: 36px;
  margin-top: 0.85rem;
  width: min(16rem, 70%);
}
.stage-wave span {
  flex: 1;
  border-radius: 99px;
  background: linear-gradient(180deg, #7b93ff, #3858e9);
  opacity: 0.55;
  height: 35%;
}
.stage-card.speaking .stage-wave span,
.stage-card.is-unmuted .stage-wave span {
  opacity: 1;
  animation: eq 1s ease-in-out infinite;
}
.stage-card.speaking .stage-wave span:nth-child(1),
.stage-card.is-unmuted .stage-wave span:nth-child(1) { height: 30%; animation-delay: 0s; }
.stage-card.speaking .stage-wave span:nth-child(2),
.stage-card.is-unmuted .stage-wave span:nth-child(2) { height: 55%; animation-delay: 0.1s; }
.stage-card.speaking .stage-wave span:nth-child(3),
.stage-card.is-unmuted .stage-wave span:nth-child(3) { height: 85%; animation-delay: 0.18s; }
.stage-card.speaking .stage-wave span:nth-child(4),
.stage-card.is-unmuted .stage-wave span:nth-child(4) { height: 100%; animation-delay: 0.08s; }
.stage-card.speaking .stage-wave span:nth-child(5),
.stage-card.is-unmuted .stage-wave span:nth-child(5) { height: 70%; animation-delay: 0.22s; }
.stage-card.speaking .stage-wave span:nth-child(6),
.stage-card.is-unmuted .stage-wave span:nth-child(6) { height: 45%; animation-delay: 0.14s; }
.stage-card.speaking .stage-wave span:nth-child(7),
.stage-card.is-unmuted .stage-wave span:nth-child(7) { height: 60%; animation-delay: 0.26s; }

.stage-strip-wrap {
  flex: 0 0 auto;
  overflow: hidden;
  padding-bottom: 0.15rem;
}

.tiles-strip {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 0.65rem !important;
  overflow-x: auto;
  overflow-y: hidden;
  align-items: stretch;
  justify-content: flex-start;
  padding: 0.15rem 0.1rem 0.55rem !important;
  margin: 0 !important;
  grid-template-columns: none !important;
  scrollbar-width: thin;
}

.tiles-strip .tile {
  flex: 0 0 7.5rem;
  width: 7.5rem;
  max-width: 7.5rem;
  min-height: 0;
  padding: 0.75rem 0.45rem 0.65rem;
  border-radius: 0.9rem;
  background: #151b2b;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.tiles-strip .tile-avatar {
  width: 3rem;
  height: 3rem;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  background: linear-gradient(145deg, #3858e9, #213acc);
}

.tiles-strip .tile-name { font-size: 0.75rem; }
.tiles-strip .tile-role { display: none; }
.tiles-strip .tile.speaking,
.tiles-strip .tile.is-unmuted.speaking {
  border-color: rgba(56, 88, 233, 0.65);
  box-shadow: 0 0 0 2px rgba(56, 88, 233, 0.25);
}

.stage-focus .side-panel {
  background: #121722 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 1rem !important;
}

.stage-focus .side-chat .chat-item {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 0.75rem;
}
.stage-focus .side-chat .chat-item strong {
  color: #93c5fd;
}

.dock-stage {
  position: relative;
  display: flex !important;
  justify-content: center;
  align-items: center;
  gap: 0;
  margin: 0.35rem auto 0.85rem;
  width: fit-content;
  max-width: calc(100% - 1.5rem);
  padding: 0.45rem !important;
  background: rgba(12, 16, 26, 0.92) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 999px !important;
  backdrop-filter: blur(18px) !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.dock-stage .dock-cluster,
.dock-stage .dock-primary {
  display: flex !important;
  flex-wrap: nowrap;
  gap: 0.25rem;
  align-items: center;
  overflow-x: auto;
  max-width: 100%;
  background: transparent !important;
  padding: 0 !important;
  border: 0 !important;
}

.dock-stage .dock-btn {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px !important;
  padding: 0 !important;
  display: grid;
  place-items: center;
  background: transparent;
  color: #cbd5e1;
}
.dock-stage .dock-btn span:not(.dock-badge) { display: none !important; }
.dock-stage .dock-btn i { font-size: 1.05rem; }
.dock-stage .dock-btn:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.dock-stage .dock-btn.is-on { background: #3858e9 !important; color: #fff !important; }
.dock-stage .dock-btn.leave,
.dock-stage .dock-btn.danger {
  background: #dc2626 !important;
  color: #fff !important;
  width: 2.9rem;
  height: 2.9rem;
}
.dock-stage .dock-badge {
  top: 0.1rem !important;
  inset-inline-end: 0.05rem !important;
}

.stage-card.is-manageable { cursor: pointer; }
.stage-card.is-manageable:hover { outline: 1px solid rgba(56, 88, 233, 0.55); }

@media (max-width: 980px) {
  .room-workspace.is-sharing .room-stage-col { flex-direction: column; }
  .room-workspace.is-sharing .stage-strip-wrap,
  .room-workspace.is-sharing .tiles {
    flex: 0 0 auto;
    width: 100%;
  }
  .room-workspace.is-sharing .tiles {
    display: flex !important;
    flex-direction: row;
    overflow-x: auto;
  }
}

@media (max-width: 640px) {
  .stage-avatar {
    width: 5.2rem !important;
    height: 5.2rem !important;
    font-size: 1.45rem !important;
  }
  .stage-card {
    padding: 1.25rem 1rem 1.1rem;
    border-radius: 1rem;
  }
  .stage-card .tile-name { font-size: 1.05rem !important; }
  .tiles-strip .tile {
    flex-basis: 6.4rem;
    width: 6.4rem;
    max-width: 6.4rem;
  }
  .dock.dock-stage {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: calc(100% - 0.9rem) !important;
    max-width: none !important;
    margin: 0.25rem auto calc(0.45rem + env(safe-area-inset-bottom, 0px)) !important;
    border-radius: 1.15rem !important;
    flex-direction: row !important;
    align-items: center !important;
    padding: 0.4rem !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45) !important;
  }
  .dock-stage .dock-primary,
  .dock-stage .dock-cluster {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    grid-template-columns: none !important;
    width: auto !important;
    max-width: 100%;
    border: 0 !important;
    padding: 0 !important;
  }
  .dock-stage .dock-btn {
    width: 2.6rem !important;
    height: 2.6rem !important;
    min-height: 0 !important;
    padding: 0 !important;
  }
  .dock-stage .dock-btn span:not(.dock-badge) { display: none !important; }
  .room-workspace.stage-focus {
    padding-bottom: 0.2rem;
  }
  .side-panel {
    inset: 3.2rem 0.35rem 5.5rem auto !important;
  }
  html[dir="rtl"] .side-panel {
    inset: 3.2rem auto 5.5rem 0.35rem !important;
  }
}

@media (max-width: 980px) {
  .site-nav,
  .app-tabs,
  .app-user-name,
  .app-logout { display: none; }
  .menu-btn { display: inline-grid; place-items: center; }
  .lp-steps { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
  .lp-steps li + li { padding-inline-start: 0; }
  .board { grid-template-columns: 1fr; }
  .board-launch { position: static; }
  .footer-grid { grid-template-columns: 1fr; }
  .sheet-form-grid { grid-template-columns: 1fr; }
  .sheet-form-grid .span-2 { grid-column: auto; }
}

@media (max-width: 640px) {
  .lp-hero { padding: 3rem 0 2.5rem; }
  .lp-steps { grid-template-columns: 1fr; }
  .lp-joinband-inner { flex-direction: column; align-items: stretch; }
  .lp-join-form { max-width: none; }
  .app-body { width: calc(100% - 1.5rem); }
  .sheet { padding: 1.25rem; }
}
