:root {
  --bg: #f6f8fb;
  --panel: #ffffff;
  --panel-soft: #f9fbfd;
  --ink: #171b22;
  --muted: #727985;
  --line: #dfe4eb;
  --line-strong: #cfd6df;
  --blue: #2478e8;
  --blue-dark: #1767d4;
  --blue-soft: #e7f0ff;
  --green: #6ec59b;
  --aqua: #6dbfc7;
  --purple: #8d6ac8;
  --amber: #b69242;
  --danger: #df5f4b;
  --shadow: 0 14px 34px rgba(23, 27, 34, 0.07);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

.hidden {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.app-shell,
.home-view,
.workspace-view {
  min-height: 100vh;
}

.home-view {
  background:
    linear-gradient(180deg, #fbfcfe 0%, #f4f7fb 52%, #f6f8fb 100%);
}

.site-header,
.workspace-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
  border-bottom: 1px solid var(--line);
  padding: 0 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 850;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--green), var(--aqua));
  box-shadow: 0 12px 28px rgba(109, 191, 199, 0.22);
}

.header-actions,
.workspace-user,
.meeting-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.time-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 650;
  white-space: nowrap;
}

.profile-chip,
.workspace-user {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 10px 6px 6px;
  background: rgba(255, 255, 255, 0.8);
}

.profile-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.profile-chip img,
.workspace-user img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--aqua));
  object-fit: cover;
}

.workspace-user div {
  display: grid;
  gap: 1px;
}

.workspace-user span {
  color: var(--muted);
  font-size: 12px;
}

.primary-button,
.secondary-button,
.ghost-button,
.text-button {
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 780;
}

.google-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 16px;
}

.google-logo {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.primary-button {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 12px 28px rgba(36, 120, 232, 0.2);
}

.primary-button:hover {
  background: var(--blue-dark);
}

.secondary-button,
.ghost-button {
  background: #fff;
  border-color: var(--line-strong);
  color: var(--ink);
}

.compact {
  min-height: 40px;
  padding: 0 14px;
}

.home-shell {
  display: grid;
  grid-template-columns: minmax(380px, 0.98fr) minmax(360px, 0.82fr);
  gap: 58px;
  align-items: center;
  width: min(1320px, calc(100vw - 72px));
  min-height: calc(100vh - 72px);
  margin: 0 auto;
  padding: 44px 0 54px;
}

.home-copy {
  max-width: 610px;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  margin: 0;
  color: #20252d;
  font-size: clamp(42px, 4.3vw, 60px);
  line-height: 1.05;
  font-weight: 870;
}

h1 span {
  display: block;
  width: fit-content;
  color: transparent;
  background: linear-gradient(90deg, #69a8f6, #72c7bd, #81c99a);
  background-clip: text;
  -webkit-background-clip: text;
}

.hero-text {
  max-width: 560px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.62;
}

.home-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 38px;
}

.new-meeting-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 204px;
  min-height: 56px;
  border-radius: 999px;
  font-size: 18px;
}

.code-form {
  display: grid;
  grid-template-columns: 28px minmax(170px, 1fr) auto;
  align-items: center;
  width: 360px;
  min-height: 56px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0 10px 0 18px;
  background: #fff;
}

.code-form input {
  min-width: 0;
  min-height: 42px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 16px;
  outline: none;
}

.code-form input::placeholder {
  color: #8a919c;
}

.code-form button {
  min-height: 38px;
  border: 0;
  border-radius: 999px;
  padding: 0 16px;
  background: transparent;
  color: #496a9d;
  font-size: 15px;
  font-weight: 800;
}

.status-line {
  min-height: 22px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.powered-line {
  display: flex;
  gap: 5px;
  align-items: center;
  margin-top: 30px;
  border-top: 1px solid var(--line);
  padding-top: 26px;
  color: var(--muted);
  font-size: 15px;
}

.powered-line a {
  color: var(--blue);
}

.feature-panel {
  display: grid;
  gap: 16px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.feature-card,
.start-card,
.join-panel,
.room-card {
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.feature-card {
  min-height: 178px;
  padding: 22px;
}

.feature-card h2 {
  margin: 20px 0 8px;
  font-size: 20px;
  line-height: 1.18;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.feature-icon,
.start-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  color: #fff;
}

.video-tone {
  background: #dce7fb;
  color: #294a87;
}

.chat-tone {
  background: #efe5f8;
  color: #5c3a7a;
}

.secure-tone {
  background: #e0f3e9;
  color: #326247;
}

.instant-tone {
  background: #f4ead0;
  color: #785d1f;
}

.start-card {
  display: grid;
  grid-template-columns: 48px 1fr 18px;
  gap: 16px;
  align-items: center;
  min-height: 96px;
  padding: 18px 22px;
  color: var(--ink);
  text-align: left;
}

.start-card strong {
  display: block;
  font-size: 17px;
}

.start-card small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
}

.start-icon {
  border-radius: 50%;
  background: #dce7fb;
  color: #2b66c7;
}

.workspace-view {
  background: var(--bg);
}

.workspace-grid {
  display: grid;
  grid-template-columns: minmax(420px, 1.18fr) minmax(340px, 0.82fr);
  gap: 28px;
  width: min(1180px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 34px 0 58px;
}

.preview-panel {
  position: relative;
  min-height: 610px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #eef3f7;
  box-shadow: var(--shadow);
}

.preview-panel video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scaleX(-1);
}

.preview-empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #edf5ff, #f8fbfd);
}

.preview-empty.hidden {
  display: none;
}

.avatar {
  display: grid;
  place-items: center;
  width: 148px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--aqua));
  color: #fff;
  font-size: 42px;
  font-weight: 900;
}

.preview-meta {
  position: absolute;
  left: 18px;
  right: 18px;
  top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.device-controls {
  position: absolute;
  left: 50%;
  bottom: 24px;
  display: flex;
  gap: 14px;
  transform: translateX(-50%);
}

.icon-button {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
  box-shadow: 0 14px 28px rgba(36, 120, 232, 0.22);
}

.icon-button:not(.active) {
  background: var(--danger);
}

.join-panel {
  padding: 34px;
}

.kicker,
.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.join-panel h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1;
}

.join-form {
  margin-top: 28px;
}

.field {
  display: grid;
  gap: 9px;
}

label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

input {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 0 15px;
  background: #fff;
  color: var(--ink);
  outline: none;
}

input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(36, 120, 232, 0.12);
}

.join-actions {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.join-actions .primary-button {
  flex: 1;
}

.room-card {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  margin-top: 24px;
  padding: 16px;
  overflow-wrap: anywhere;
}

.room-card p {
  margin: 4px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.join-panel .status-line {
  color: var(--muted);
}

.error {
  min-height: 20px;
  margin: 12px 0 0;
  color: var(--danger);
  font-size: 14px;
  font-weight: 800;
}

.meeting-view {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background: #0f1115;
  color: #f7f9fc;
}

.meeting-view rtk-meeting {
  display: block;
  width: 100vw;
  height: 100vh;
}

.meeting-provider,
.call-shell {
  display: flex;
  flex-direction: column;
  width: 100vw;
  height: 100vh;
  min-height: 0;
}

.call-shell {
  background: #111316;
}

.call-header {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 58px;
  padding: 0 22px;
  color: #f7f9fc;
}

.call-header strong {
  min-width: 0;
  overflow: hidden;
  font-size: 18px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.call-header span {
  color: rgba(247, 249, 252, 0.66);
  font-size: 13px;
  font-weight: 760;
  white-space: nowrap;
}

.call-stage {
  position: relative;
  flex: 1;
  min-height: 0;
  padding: 8px 18px 86px;
}

.rtk-stage-shell,
.rtk-grid-view {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
}

.rtk-stage-shell {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: #0d1015;
}

.custom-video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr));
  grid-auto-rows: minmax(240px, 1fr);
  gap: 12px;
  width: 100%;
  height: 100%;
}

.meet-tile {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: #1a1d22;
}

.meet-tile video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #0d0f13;
  object-fit: cover;
}

.meet-tile.self video {
  transform: scaleX(-1);
}

.meet-placeholder {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #202833, #11151b);
}

.meet-avatar {
  display: grid;
  place-items: center;
  width: clamp(88px, 11vw, 148px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--aqua));
  color: #fff;
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 900;
}

.meet-name,
.meet-badges {
  position: absolute;
  z-index: 2;
}

.meet-name {
  left: 12px;
  bottom: 12px;
  max-width: calc(100% - 24px);
  overflow: hidden;
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(7, 9, 12, 0.72);
  color: #fff;
  font-size: 13px;
  font-weight: 820;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.meet-badges {
  top: 12px;
  right: 12px;
  display: flex;
  gap: 6px;
}

.meet-badges span {
  border-radius: 999px;
  padding: 5px 8px;
  background: rgba(36, 120, 232, 0.88);
  color: #fff;
  font-size: 11px;
  font-weight: 820;
}

.meet-badges .off {
  background: rgba(223, 95, 75, 0.9);
}

.bottom-controlbar {
  position: fixed;
  z-index: 5;
  left: 50%;
  bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: calc(100vw - 24px);
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 999px;
  padding: 9px 10px;
  background: rgba(18, 21, 27, 0.88);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.34);
  transform: translateX(-50%);
  backdrop-filter: blur(16px);
}

.native-leave-button {
  min-width: 76px;
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  padding: 0 18px;
  background: #df5f4b;
  color: #fff;
  font-size: 14px;
  font-weight: 850;
}

.rtk-sidebar-panel {
  position: fixed;
  inset: 72px 16px 86px auto;
  z-index: 4;
  display: none;
  width: min(360px, calc(100vw - 32px));
  max-width: 100%;
}

.meeting-topbar {
  position: absolute;
  z-index: 10;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  min-height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 9px 12px 9px 16px;
  background: rgba(18, 21, 27, 0.86);
  color: #fff;
  backdrop-filter: blur(16px);
}

.meeting-topbar strong {
  display: block;
  margin-top: 2px;
  font-size: 18px;
}

.meeting-topbar .eyebrow {
  color: rgba(255, 255, 255, 0.68);
}

.meeting-connection {
  display: block;
  margin-top: 3px;
  color: rgba(247, 249, 252, 0.64);
  font-size: 12px;
  font-weight: 760;
}

.text-button {
  min-height: 40px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.16);
}

.text-button.danger {
  background: rgba(223, 95, 75, 0.92);
}

.meeting-shell {
  height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 14px;
  padding: 90px 14px 88px;
}

.video-stage {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: #0b0d11;
}

.meeting-status {
  position: absolute;
  z-index: 4;
  top: 14px;
  left: 50%;
  max-width: min(520px, calc(100% - 28px));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 8px 13px;
  background: rgba(13, 16, 21, 0.74);
  color: rgba(247, 249, 252, 0.82);
  font-size: 13px;
  font-weight: 780;
  text-align: center;
  transform: translateX(-50%);
  backdrop-filter: blur(14px);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  grid-auto-rows: minmax(210px, 1fr);
  gap: 12px;
  height: 100%;
  padding: 12px;
}

.video-tile-live {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 190px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: #171b22;
}

.video-tile-live video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #101319;
  object-fit: cover;
}

.video-tile-live.self-tile video {
  transform: scaleX(-1);
}

.video-tile-live.screen-sharing video {
  object-fit: contain;
  transform: none;
}

.tile-placeholder {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at top left, rgba(109, 191, 199, 0.18), transparent 36%),
    linear-gradient(135deg, #202734, #12161d);
}

.tile-avatar,
.participant-avatar {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--aqua));
  color: #fff;
  font-weight: 900;
}

.tile-avatar {
  width: clamp(78px, 10vw, 124px);
  aspect-ratio: 1;
  font-size: clamp(24px, 4vw, 38px);
}

.tile-name,
.tile-status {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 6px;
}

.tile-name {
  left: 12px;
  bottom: 12px;
  max-width: calc(100% - 24px);
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(9, 12, 17, 0.68);
  color: #fff;
  font-size: 13px;
  font-weight: 820;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  backdrop-filter: blur(14px);
}

.tile-status {
  top: 12px;
  right: 12px;
}

.tile-badge {
  border-radius: 999px;
  padding: 5px 8px;
  background: rgba(44, 108, 213, 0.9);
  color: #fff;
  font-size: 11px;
  font-weight: 820;
}

.tile-badge.is-off {
  background: rgba(223, 95, 75, 0.9);
}

.participants-panel {
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: #171b22;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
}

.participants-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: start;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px;
}

.participants-head h2 {
  margin: 0;
  font-size: 18px;
}

.participants-head strong {
  display: grid;
  place-items: center;
  min-width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(36, 120, 232, 0.18);
  color: #9fc4ff;
}

.participant-list {
  display: grid;
  align-content: start;
  gap: 8px;
  overflow: auto;
  padding: 12px;
}

.participant-row {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  border-radius: 8px;
  padding: 9px;
  background: rgba(255, 255, 255, 0.04);
}

.participant-avatar {
  width: 38px;
  aspect-ratio: 1;
  font-size: 13px;
}

.participant-row span:last-child {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.participant-row strong,
.participant-row small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.participant-row strong {
  color: #fff;
  font-size: 13px;
}

.participant-row small {
  color: rgba(247, 249, 252, 0.58);
  font-size: 12px;
}

.activity-log {
  display: grid;
  gap: 7px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 16px 14px;
}

.activity-log:empty {
  display: none;
}

.activity-log p {
  display: flex;
  gap: 8px;
  margin: 0;
  color: rgba(247, 249, 252, 0.72);
  font-size: 12px;
  line-height: 1.35;
}

.activity-log span {
  color: rgba(247, 249, 252, 0.42);
}

.meeting-controlbar {
  position: absolute;
  z-index: 12;
  left: 50%;
  bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 8px;
  background: rgba(18, 21, 27, 0.86);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.26);
  transform: translateX(-50%);
  backdrop-filter: blur(16px);
}

.round-control {
  display: grid;
  place-items: center;
  gap: 4px;
  width: 62px;
  height: 52px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(247, 249, 252, 0.86);
}

.round-control.active {
  border-color: rgba(77, 135, 236, 0.7);
  background: rgba(36, 120, 232, 0.22);
  color: #d9e8ff;
}

.round-control:not(.active) .camera-icon,
.round-control:not(.active) .mic-icon {
  color: #ffb0a3;
}

.round-control small {
  font-size: 10px;
  font-weight: 820;
}

.leave-control {
  background: rgba(223, 95, 75, 0.92);
  color: #fff;
}

.participants-hidden .meeting-shell {
  grid-template-columns: minmax(0, 1fr);
}

.participants-hidden .participants-panel {
  display: none;
}

.participants-audio {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.camera-glyph,
.camera-icon,
.mic-icon,
.chat-icon,
.lock-icon,
.bolt-icon,
.keyboard-glyph,
.clock-glyph,
.plus-glyph,
.chevron-glyph,
.link-icon,
.screen-icon,
.people-icon,
.phone-icon {
  position: relative;
  display: inline-block;
}

.camera-glyph,
.camera-icon {
  width: 24px;
  height: 18px;
}

.camera-glyph::before,
.camera-icon::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 16px;
  height: 14px;
  border: 2px solid currentColor;
  border-radius: 4px;
}

.camera-glyph::after,
.camera-icon::after {
  content: "";
  position: absolute;
  right: 0;
  top: 5px;
  border-left: 8px solid currentColor;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}

.camera-glyph {
  color: #fff;
}

.mic-icon {
  width: 24px;
  height: 22px;
}

.mic-icon::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 0;
  width: 8px;
  height: 14px;
  border: 2px solid currentColor;
  border-radius: 8px;
}

.mic-icon::after {
  content: "";
  position: absolute;
  left: 5px;
  bottom: 0;
  width: 14px;
  height: 8px;
  border-bottom: 2px solid currentColor;
  border-left: 2px solid currentColor;
  border-right: 2px solid currentColor;
  border-radius: 0 0 10px 10px;
}

.chat-icon {
  width: 28px;
  height: 24px;
  border: 2px solid currentColor;
  border-radius: 5px;
}

.chat-icon::after {
  content: "";
  position: absolute;
  left: 5px;
  bottom: -6px;
  border-top: 7px solid currentColor;
  border-right: 7px solid transparent;
}

.lock-icon {
  width: 28px;
  height: 28px;
}

.lock-icon::before {
  content: "";
  position: absolute;
  left: 5px;
  bottom: 0;
  width: 18px;
  height: 16px;
  border: 2px solid currentColor;
  border-radius: 4px;
}

.lock-icon::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 0;
  width: 12px;
  height: 13px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
}

.bolt-icon {
  width: 28px;
  height: 28px;
}

.bolt-icon::before {
  content: "";
  position: absolute;
  inset: 3px 7px;
  background: currentColor;
  clip-path: polygon(55% 0, 0 56%, 42% 56%, 28% 100%, 100% 38%, 58% 38%);
}

.keyboard-glyph {
  width: 24px;
  height: 18px;
  border: 2px solid #8a919c;
  border-radius: 4px;
}

.keyboard-glyph::before {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  top: 5px;
  height: 2px;
  background:
    linear-gradient(90deg, #8a919c 0 3px, transparent 3px 6px, #8a919c 6px 9px, transparent 9px 12px, #8a919c 12px 15px);
}

.clock-glyph {
  width: 26px;
  height: 26px;
  border: 3px solid currentColor;
  border-radius: 50%;
}

.clock-glyph::before,
.clock-glyph::after {
  content: "";
  position: absolute;
  left: 11px;
  top: 5px;
  width: 3px;
  height: 8px;
  border-radius: 4px;
  background: currentColor;
}

.clock-glyph::after {
  top: 11px;
  width: 7px;
  height: 3px;
}

.plus-glyph {
  width: 22px;
  height: 22px;
}

.plus-glyph::before,
.plus-glyph::after {
  content: "";
  position: absolute;
  background: currentColor;
  border-radius: 4px;
}

.plus-glyph::before {
  left: 10px;
  top: 2px;
  width: 3px;
  height: 18px;
}

.plus-glyph::after {
  left: 2px;
  top: 10px;
  width: 18px;
  height: 3px;
}

.chevron-glyph {
  width: 13px;
  height: 13px;
  border-right: 3px solid #8a919c;
  border-bottom: 3px solid #8a919c;
  transform: rotate(-45deg);
}

.link-icon {
  width: 24px;
  height: 16px;
  border: 2px solid currentColor;
  border-radius: 999px;
  transform: rotate(-18deg);
}

.screen-icon {
  width: 24px;
  height: 20px;
  border: 2px solid currentColor;
  border-radius: 4px;
}

.screen-icon::before {
  content: "";
  position: absolute;
  left: 9px;
  bottom: -7px;
  width: 2px;
  height: 6px;
  background: currentColor;
}

.screen-icon::after {
  content: "";
  position: absolute;
  left: 5px;
  bottom: -9px;
  width: 12px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.people-icon {
  width: 26px;
  height: 22px;
}

.people-icon::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 1px;
  width: 8px;
  height: 8px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.people-icon::after {
  content: "";
  position: absolute;
  left: 3px;
  right: 3px;
  bottom: 1px;
  height: 9px;
  border: 2px solid currentColor;
  border-radius: 12px 12px 4px 4px;
}

.phone-icon {
  width: 25px;
  height: 18px;
  transform: rotate(135deg);
}

.phone-icon::before {
  content: "";
  position: absolute;
  inset: 1px 4px;
  border: 3px solid currentColor;
  border-top: 0;
  border-radius: 0 0 14px 14px;
}

@media (max-width: 1100px) {
  .home-shell {
    grid-template-columns: 1fr;
    gap: 42px;
    align-items: start;
  }

  .home-copy {
    max-width: 720px;
  }

  .feature-panel {
    max-width: 680px;
  }

  .meeting-shell {
    grid-template-columns: minmax(0, 1fr) 280px;
  }
}

@media (max-width: 820px) {
  .site-header,
  .workspace-header {
    align-items: stretch;
    flex-direction: column;
    min-height: 0;
    padding: 18px 18px 20px;
  }

  .header-actions,
  .workspace-user {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
  }

  .time-chip {
    justify-content: center;
    font-size: 14px;
  }

  .home-shell,
  .workspace-grid {
    width: min(100vw - 28px, 1180px);
  }

  .home-shell {
    min-height: auto;
    padding: 40px 0;
  }

  h1 {
    font-size: clamp(36px, 10vw, 52px);
  }

  .hero-text {
    font-size: 17px;
  }

  .home-actions {
    align-items: stretch;
    flex-direction: column;
    margin-top: 30px;
  }

  .new-meeting-button,
  .code-form {
    width: 100%;
    min-width: 0;
  }

  .feature-grid,
  .workspace-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: auto;
  }

  .preview-panel {
    min-height: min(58vh, 470px);
  }

  .join-actions,
  .meeting-topbar {
    align-items: stretch;
    flex-direction: column;
  }

  .meeting-actions {
    width: 100%;
  }

  .text-button {
    flex: 1;
  }

  .meeting-view {
    min-height: 100vh;
    height: auto;
    overflow: auto;
  }

  .meeting-shell,
  .participants-hidden .meeting-shell {
    min-height: 100vh;
    grid-template-columns: 1fr;
    padding: 150px 12px 96px;
  }

  .video-stage {
    min-height: 430px;
  }

  .participants-panel {
    max-height: 300px;
  }

  .meeting-controlbar {
    position: fixed;
    max-width: calc(100vw - 18px);
    overflow-x: auto;
  }
}

@media (max-width: 520px) {
  .brand {
    font-size: 22px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .home-shell {
    padding-top: 32px;
  }

  .code-form {
    grid-template-columns: 30px 1fr;
    border-radius: 8px;
    padding: 10px 14px;
  }

  .code-form button {
    grid-column: 1 / -1;
    width: 100%;
    background: var(--panel-soft);
  }

  .new-meeting-button {
    border-radius: 8px;
  }

  .powered-line {
    flex-wrap: wrap;
  }

  .meeting-topbar {
    top: 8px;
    left: 8px;
    right: 8px;
  }

  .meeting-shell,
  .participants-hidden .meeting-shell {
    padding: 148px 8px 88px;
  }

  .video-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: minmax(230px, 1fr);
    padding: 8px;
  }

  .round-control {
    width: 54px;
    height: 48px;
  }

  .round-control small {
    display: none;
  }
}
