:root {
  color-scheme: dark;
  --bg: #202124;
  --panel: #2b2c2f;
  --panel-strong: #303134;
  --panel-soft: #17181b;
  --border: rgba(255, 255, 255, 0.08);
  --text: #e8eaed;
  --muted: #9aa0a6;
  --accent: #8ab4f8;
  --accent-strong: #aecbfa;
  --danger: #ea4335;
  --shadow: rgba(0, 0, 0, 0.32);
  --radius: 20px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(138, 180, 248, 0.08), transparent 18%),
    radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.03), transparent 22%),
    linear-gradient(180deg, #202124 0%, #17181b 100%);
  color: var(--text);
}

.page-shell,
.room-shell {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 40px;
}

.meeting-body {
  min-height: 100vh;
  background: #202124;
  color: #e8eaed;
  overflow: hidden;
}

.entry-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(138, 180, 248, 0.08), transparent 18%),
    radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.03), transparent 24%),
    linear-gradient(180deg, #202124 0%, #17181b 100%);
  color: #e8eaed;
}

.meeting-shell {
  min-height: 100vh;
  height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  overflow: hidden;
}

.meeting-shell:has(.meeting-sidepanel:not([hidden])) {
  grid-template-columns: minmax(0, 1fr) 360px;
}

.landing-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.entry-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 20px;
}

.entry-stage {
  width: min(520px, 100%);
  display: grid;
  gap: 20px;
}

.entry-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #e8eaed;
  font-weight: 700;
}

.entry-card {
  padding: 32px;
  border-radius: 28px;
  background: rgba(43, 44, 47, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(16px);
}

.entry-card h1 {
  max-width: 420px;
  font-size: clamp(40px, 8vw, 64px);
  line-height: 0.95;
  color: #f1f3f4;
}

.entry-card .eyebrow,
.entry-card .landing-copy,
.entry-card .field-block span,
.entry-feedback {
  color: #9aa0a6;
}

.entry-card .minimal-form {
  margin-top: 28px;
}

.entry-card input {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
  color: #f1f3f4;
}

.entry-card input::placeholder,
.meet-join-card input::placeholder {
  color: #80868b;
}

.entry-submit {
  width: 100%;
  background: #8ab4f8;
  color: #10223f;
}

.entry-submit:disabled {
  opacity: 0.72;
  cursor: wait;
}

.entry-feedback {
  min-height: 22px;
  margin: 18px 0 0;
}

.landing-card {
  width: min(560px, 100%);
  padding: 36px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: 0 10px 30px var(--shadow);
  backdrop-filter: blur(14px);
}

.hero-panel,
.status-card,
.meetings-panel,
.video-stage,
.sidebar-card,
.room-header {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px var(--shadow);
  backdrop-filter: blur(14px);
}

.hero-panel,
.meetings-panel,
.room-header {
  padding: 28px;
}

.hero-panel {
  margin-bottom: 22px;
  display: grid;
  gap: 24px;
}

.eyebrow {
  margin: 0 0 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--accent);
}

h1,
h2 {
  margin: 0;
  letter-spacing: -0.04em;
}

h1 {
  max-width: 720px;
  font-size: clamp(40px, 7vw, 72px);
  line-height: 0.95;
}

h2 {
  font-size: 20px;
}

.lede,
.landing-copy,
.muted-text {
  color: var(--muted);
}

.lede {
  width: min(720px, 100%);
  margin: 14px 0 0;
  line-height: 1.6;
}

.hero-actions,
.panel-heading,
.control-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-actions {
  margin-top: 0;
}

.minimal-form {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

button,
.secondary-link {
  border: none;
  cursor: pointer;
  text-decoration: none;
  font: inherit;
}

.primary-button,
.ghost-button,
.secondary-link {
  border-radius: 999px;
  padding: 12px 18px;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.primary-button {
  background: var(--accent);
  color: #10223f;
  font-weight: 700;
}

.ghost-button,
.secondary-link {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border: 1px solid var(--border);
}

.primary-button:hover,
.ghost-button:hover,
.secondary-link:hover {
  transform: translateY(-1px);
}

.accent-button {
  border-color: rgba(185, 73, 73, 0.28);
  color: var(--danger);
}

.meeting-result {
  margin-top: 18px;
  padding: 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
}

.status-banner {
  margin: 14px 0 0;
  color: var(--accent);
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-bottom: 22px;
}

.status-card {
  padding: 20px;
}

.summary-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.summary-list div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(23, 23, 23, 0.08);
}

.summary-list span {
  color: var(--muted);
}

.summary-list strong {
  font-weight: 700;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #54b26b;
}

.flat-list {
  margin: 14px 0 0;
  padding-left: 18px;
  line-height: 1.7;
  color: var(--muted);
}

pre,
code {
  font-family: Consolas, "Courier New", monospace;
}

pre {
  margin: 14px 0 0;
  white-space: pre-wrap;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.meetings-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.meeting-card {
  padding: 18px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.52);
}

.meeting-card h3 {
  margin: 0;
}

.meeting-card-top,
.meeting-card-actions,
.meeting-result-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.meeting-card-meta {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin: 12px 0 16px;
  color: var(--muted);
  font-size: 14px;
}

.muted-line {
  margin: 6px 0 0;
  color: var(--muted);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: #efebe3;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.room-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 18px;
  margin-top: 18px;
}

.minimal-room-header {
  padding-bottom: 20px;
}

.meeting-stage {
  min-height: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 0;
}

.meeting-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 18px 20px 12px;
}

.meeting-topbar-left,
.meeting-topbar-right,
.meeting-title-block {
  display: flex;
  align-items: center;
  gap: 14px;
}

.meeting-title-block {
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.meeting-title-block h1 {
  max-width: none;
  font-size: 20px;
  line-height: 1.1;
  color: #f1f3f4;
}

.meeting-status {
  margin: 0;
  color: #9aa0a6;
  font-size: 13px;
}

.meeting-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: #f1f3f4;
}

.meeting-brand-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #8ab4f8;
  box-shadow: 0 0 0 6px rgba(138, 180, 248, 0.08);
}

.meeting-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.06);
  color: #e8eaed;
  text-decoration: none;
  font: inherit;
}

.meeting-chip-icon {
  gap: 8px;
}

.meeting-chip-icon-mark {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.meeting-chip-icon-mark svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.meeting-chip-success {
  background: rgba(52, 168, 83, 0.18);
  border-color: rgba(52, 168, 83, 0.34);
  color: #ceead6;
}

.meeting-canvas {
  position: relative;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6px 18px 10px;
}

.meeting-canvas--sharing {
  display: block;
  padding-right: 282px;
}

.join-overlay {
  position: absolute;
  inset: 74px 0 110px;
  display: grid;
  place-items: center;
  z-index: 20;
  padding: 24px;
  background: rgba(32, 33, 36, 0.48);
  backdrop-filter: blur(10px);
}

.meet-join-card {
  width: min(440px, calc(100% - 32px));
  background: #2b2c2f;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  border-radius: 28px;
  padding: 28px;
}

.meet-join-card h2,
.meet-join-card .eyebrow {
  color: #f1f3f4;
}

.meet-join-card .muted-text,
.meet-join-card .join-message {
  color: #bdc1c6;
}

.meet-join-card input {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
  color: #f1f3f4;
}

.meet-join-card .primary-button {
  background: #8ab4f8;
  color: #10223f;
}

.meeting-dock {
  display: flex;
  justify-content: center;
  padding: 6px 18px 14px;
}

.meeting-dock-center {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(32, 33, 36, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.dock-button {
  min-width: 120px;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #3c4043;
  color: #f1f3f4;
  font: inherit;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.dock-button:hover {
  background: #4a4d51;
  transform: translateY(-1px);
}

.dock-button-icon {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.dock-button-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.dock-button-label {
  font-size: 14px;
  white-space: nowrap;
}

.dock-button-off {
  background: rgba(234, 67, 53, 0.2);
  border-color: rgba(234, 67, 53, 0.34);
  color: #f6c1bd;
}

.dock-button-off:hover {
  background: rgba(234, 67, 53, 0.28);
}

.dock-button-active {
  background: rgba(138, 180, 248, 0.18);
  border-color: rgba(138, 180, 248, 0.34);
  color: #d7e3fc;
}

.dock-button-active:hover {
  background: rgba(138, 180, 248, 0.24);
}

.dock-button-pending {
  opacity: 0.76;
  cursor: wait;
}

.dock-button-danger {
  background: #ea4335;
  color: white;
}

.dock-button-danger:hover {
  background: #f15b4f;
}

.video-stage {
  padding: 24px;
}

.join-card {
  margin-bottom: 0;
  padding: 24px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text);
}

.join-form {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

.join-field {
  display: grid;
  gap: 8px;
}

.join-field span {
  font-size: 13px;
  color: #9aa0a6;
}

.join-form input {
  min-width: 0;
  min-height: 52px;
}

.join-message {
  min-height: 24px;
  margin: 4px 0 0;
  color: #9aa0a6;
  font-size: 14px;
}

.join-message[data-variant="error"] {
  color: var(--danger);
}

.stage-label {
  color: var(--muted);
}

.stage-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.topbar-actions {
  display: flex;
  gap: 8px;
}

.screen-share-stage {
  width: min(100%, 1280px);
  height: min(56vh, 720px);
  margin: 0 auto 8px;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: #111214;
  display: flex;
  align-items: center;
  justify-content: center;
}

.meeting-canvas--sharing .screen-share-stage {
  width: 100%;
  max-width: none;
  height: min(calc(100vh - 176px), 760px);
  margin: 0;
  border-radius: 24px;
}

.screen-share-stage video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.screen-share-media {
  width: 100%;
  height: 100%;
}

.screen-share-media > * {
  width: 100%;
  height: 100%;
}

.screen-share-fullscreen-button {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  min-height: 40px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(17, 18, 20, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #f1f3f4;
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.screen-share-fullscreen-button:hover {
  background: rgba(32, 33, 36, 0.92);
}

.participant-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 420px));
  justify-content: center;
  gap: 20px;
  margin-bottom: 8px;
}

.meet-grid {
  flex: 1;
  min-height: 0;
  align-content: center;
}

.participant-grid--solo {
  grid-template-columns: minmax(560px, 840px);
}

.participant-grid--pair {
  grid-template-columns: repeat(2, minmax(320px, 460px));
}

.participant-grid--trio {
  grid-template-columns: repeat(3, minmax(240px, 340px));
}

.participant-grid--crowd {
  grid-template-columns: repeat(auto-fit, minmax(260px, 340px));
}

.participant-grid--sharing {
  grid-template-columns: 1fr;
  gap: 12px;
  align-content: start;
  align-self: stretch;
  justify-items: stretch;
  margin: 0;
  max-height: min(calc(100vh - 176px), 760px);
  overflow: auto;
  padding-right: 4px;
}

.meeting-canvas--sharing .participant-grid--sharing {
  position: absolute;
  top: 6px;
  right: 18px;
  width: 248px;
}

.participant-grid--sharing .participant-card {
  border-radius: 18px;
  min-height: 0;
}

.participant-grid--sharing .participant-media {
  aspect-ratio: 4 / 3;
}

.participant-grid--sharing .participant-caption {
  padding: 10px 12px;
  font-size: 13px;
}

.participant-grid--sharing .participant-indicators {
  top: 10px;
  right: 10px;
}

.participant-grid--sharing .participant-indicator {
  width: 30px;
  height: 30px;
}

.participant-card {
  min-height: 180px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: #2b2c2f;
  color: #bdc1c6;
  width: 100%;
}

.meeting-empty-card {
  min-height: 240px;
  background: rgba(255, 255, 255, 0.03);
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.08);
}

.live-participant-card {
  padding: 0;
  place-items: stretch;
  overflow: hidden;
}

.live-participant-card.speaking {
  border-color: rgba(138, 180, 248, 0.42);
  box-shadow: 0 0 0 2px rgba(138, 180, 248, 0.16);
}

.participant-media {
  min-height: 0;
  aspect-ratio: 16 / 9;
  background: #171717;
  position: relative;
  align-items: stretch;
}

.participant-indicators {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.participant-indicator {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(17, 18, 20, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #f1f3f4;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(10px);
}

.participant-indicator svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.participant-media.has-media {
  background: #111214;
}

.participant-video-slot {
  min-height: 0;
  height: 100%;
}

.participant-audio-slot {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.participant-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #101010;
}

.participant-media audio {
  width: 100%;
  height: 32px;
  opacity: 0.86;
}

.participant-caption {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: #9aa0a6;
  background: #2b2c2f;
}

.participant-caption strong {
  color: #f1f3f4;
}

.meeting-sidepanel {
  display: grid;
  gap: 18px;
  align-content: start;
  padding: 20px 18px 18px 0;
  background: #202124;
  overflow: auto;
}

.meeting-sidecard {
  background: #2b2c2f;
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #e8eaed;
  box-shadow: none;
}

.meeting-sidecard h2,
.meeting-sidecard .muted-text,
.meeting-sidecard pre,
.meeting-sidecard .flat-list {
  color: #e8eaed;
}

.meeting-sidecard .muted-text,
.meeting-sidecard pre,
.meeting-sidecard .flat-list,
.meeting-sidecard small {
  color: #9aa0a6;
}

.meeting-sidecard .muted-text[data-variant="error"] {
  color: #f28b82;
}

.meeting-sidecard .muted-text[data-variant="info"] {
  color: #aecbfa;
}

.meeting-sidecard input,
.meeting-sidecard textarea {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
  color: #f1f3f4;
}

.meeting-sidecard .ghost-button {
  background: #3c4043;
  border-color: rgba(255, 255, 255, 0.08);
  color: #f1f3f4;
}

.meeting-sidecard .primary-button {
  background: #8ab4f8;
  color: #10223f;
}

.meeting-sidecard .transcript-entry {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.06);
}

.meeting-sidecard .transcript-entry strong {
  color: #f1f3f4;
}

.meeting-sidecard .minutes-output {
  color: #bdc1c6;
}

.meeting-sidecard-transcript {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  min-height: 0;
  max-height: min(62vh, 720px);
  overflow: hidden;
}

.sidebar-card {
  padding: 20px;
}

.transcript-header {
  display: grid;
  gap: 12px;
}

.transcript-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.transcript-title-group {
  display: grid;
  gap: 8px;
}

.transcript-form {
  display: grid;
  gap: 10px;
}

.transcript-runtime {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.transcript-runtime-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.transcript-action-button {
  min-height: 36px;
  padding: 9px 14px;
  font-size: 13px;
}

.transcript-action-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.transcript-badge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #bdc1c6;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.transcript-badge[data-status="active"] {
  background: rgba(52, 168, 83, 0.18);
  border-color: rgba(52, 168, 83, 0.3);
  color: #ceead6;
}

.transcript-badge[data-status="paused"] {
  background: rgba(251, 188, 4, 0.18);
  border-color: rgba(251, 188, 4, 0.3);
  color: #fde293;
}

.transcript-badge[data-status="error"] {
  background: rgba(234, 67, 53, 0.18);
  border-color: rgba(234, 67, 53, 0.3);
  color: #f6c1bd;
}

.transcript-section-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9aa0a6;
}

.transcript-scroll-area {
  min-height: 0;
  overflow-y: auto;
  display: grid;
  align-content: start;
  gap: 14px;
  padding-right: 6px;
  margin-top: 14px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
}

.transcript-scroll-area::-webkit-scrollbar {
  width: 8px;
}

.transcript-scroll-area::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.16);
  border-radius: 999px;
}

.transcript-scroll-area::-webkit-scrollbar-track {
  background: transparent;
}

.transcript-preview {
  padding: 14px 16px;
  border-radius: 18px;
  display: grid;
  gap: 8px;
  background: linear-gradient(180deg, rgba(138, 180, 248, 0.12), rgba(138, 180, 248, 0.06));
  border: 1px solid rgba(138, 180, 248, 0.24);
  color: #e8eaed;
  min-height: 72px;
  line-height: 1.5;
}

.transcript-preview-speaker {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8ab4f8;
}

.transcript-preview-text {
  font-size: 15px;
  font-weight: 600;
  color: #f1f3f4;
}

input,
textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font: inherit;
}

.field-block {
  display: grid;
  gap: 8px;
}

.field-block span {
  font-size: 13px;
  color: var(--muted);
}

.stack-form {
  display: grid;
  gap: 18px;
}

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

.hero-builder {
  display: grid;
  gap: 16px;
  padding: 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid var(--border);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.metric-card {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.48);
  border: 1px solid var(--border);
}

.metric-card strong {
  display: block;
  margin-top: 4px;
  font-size: 22px;
  letter-spacing: -0.04em;
}

.metric-label {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.transcript-entries {
  display: grid;
  gap: 10px;
  min-height: 0;
  align-content: start;
}

.transcript-entry {
  max-width: 88%;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: grid;
  gap: 8px;
  justify-self: start;
}

.transcript-entry strong {
  display: block;
  color: #dfe1e5;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.transcript-entry-text {
  color: #f1f3f4;
  line-height: 1.6;
  font-size: 15px;
  font-weight: 600;
  word-break: break-word;
}

.transcript-entry-time {
  font-size: 12px;
  color: #9aa0a6;
}

.transcript-entry-self {
  justify-self: end;
  background: linear-gradient(180deg, rgba(138, 180, 248, 0.18), rgba(138, 180, 248, 0.1));
  border-color: rgba(138, 180, 248, 0.22);
}

.transcript-entry-other {
  justify-self: start;
  background: rgba(255, 255, 255, 0.05);
}

.transcript-entry-empty {
  color: #9aa0a6;
  text-align: center;
  padding: 18px 14px;
  max-width: none;
  justify-self: stretch;
}

.minutes-output {
  min-height: 220px;
}

@media (max-width: 900px) {
  .meeting-shell,
  .hero-metrics,
  .two-column-grid,
  .room-layout {
    grid-template-columns: 1fr;
  }

  .meeting-shell:has(.meeting-sidepanel:not([hidden])) {
    grid-template-columns: 1fr;
  }

  .meeting-topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .meeting-topbar-right {
    width: 100%;
    justify-content: flex-start;
  }

  .meeting-sidepanel {
    padding: 0 18px 18px;
  }

  .join-form {
    flex-direction: column;
  }

  .meeting-dock-center {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    border-radius: 28px;
  }

  .participant-grid,
  .participant-grid--solo,
  .participant-grid--pair,
  .participant-grid--trio,
  .participant-grid--crowd {
    grid-template-columns: minmax(0, 1fr);
  }

  .participant-grid--sharing {
    grid-template-columns: 1fr;
    max-height: none;
    overflow: visible;
  }

  .dock-button {
    min-width: 0;
    flex: 1 1 140px;
  }

  .screen-share-stage {
    height: min(42vh, 420px);
  }

  .meeting-canvas--sharing {
    display: flex;
    gap: 12px;
    padding-right: 18px;
  }

  .meeting-canvas--sharing .screen-share-stage {
    height: min(42vh, 420px);
  }

  .meeting-canvas--sharing .participant-grid--sharing {
    position: static;
    width: auto;
  }
}
