/* AKAORA MEET — ORBIT EDITION
   Visual-only design system. Existing feature IDs and WebRTC/Firebase behavior are preserved.
   Intentionally loaded after styles.css to isolate the redesign from application logic. */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --orbit-lime: #d8fa79;
  --orbit-ink: #101114;
  --orbit-ink-2: #17191f;
  --orbit-panel: #1a1c22;
  --orbit-stroke: rgba(255,255,255,.12);
  --orbit-text: #f7f7f2;
  --orbit-muted: #a7aaad;
  --orbit-purple: #a6a1ff;
  font-family: 'DM Sans', 'Manrope', ui-sans-serif, system-ui, sans-serif;
  --orange: #d8fa79;
  --coral: #d8fa79;
  --teal: #b8ef84;
  --navy: #15171b;
  --ink: #f8f7f2;
  --muted: #aeb1b8;
  --radius-xl: 30px;
  --radius-lg: 22px;
}
html { scroll-behavior: smooth; }
body, body[data-theme="dark"], body[data-theme="light"] {
  background: #101114 !important;
  color: #f4f4ee !important;
  font-family: 'DM Sans', 'Manrope', ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body[data-theme="light"] { background: #f5f6f2 !important; color: #16171a !important; }
body { overflow-x: hidden; }
button { font-family: inherit; cursor: pointer; }
svg { stroke-linecap: round; stroke-linejoin: round; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline-color: #d8fa79 !important; }
[hidden] { display: none !important; }
.bg-blur-one, .bg-blur-two { opacity: 0 !important; }
.bg-grid { position: fixed; inset: 0; background-image: radial-gradient(rgba(247,247,238,.045) .8px, transparent 1px) !important; background-size: 24px 24px !important; opacity: .17 !important; pointer-events: none; }
body[data-theme="light"] .bg-grid { background-image: radial-gradient(rgba(20,24,28,.10) .8px, transparent 1px) !important; opacity: .18 !important; }
.app-shell { width: min(1352px, calc(100% - 56px)); padding: 24px 0 34px; }

/* Top navigation — identity, status, light/dark */
.topbar, body[data-theme="dark"] .topbar, body[data-theme="light"] .topbar {
  min-height: 76px; padding: 9px 18px 9px 10px; margin-bottom: 18px;
  background: #202127 !important; color: #f7f7f3 !important;
  border: 1px solid rgba(255,255,255,.09) !important; border-radius: 22px;
  box-shadow: 0 18px 70px rgba(0,0,0,.13); backdrop-filter: blur(24px);
}
.brand { gap: 12px; }
.brand-logo, body[data-theme="dark"] .brand-logo { width: 54px; height: 54px; border-radius: 16px; padding: 7px; background: #2d3034 !important; box-shadow: none; }
.brand strong { color: #f9f8f3; font-size: 1.41rem; letter-spacing: -.06em; font-weight: 800; line-height: 1.15; }
.brand strong b, .brand-meet { color: #f9f8f3 !important; }
.brand-stop { color: var(--orbit-lime); }
.brand small { color: #989b9d !important; font-size: .60rem; letter-spacing: .15em; font-weight: 800; margin-top: 5px; }
.nav-actions { gap: 11px; }
.status-chip, body[data-theme="dark"] .status-chip { border: 1px solid rgba(216,250,121,.20); color: #d5e6ae; background: #283228; padding: 9px 13px; min-height: 38px; font-size: .77rem; box-shadow: none; }
.status-chip span, .status-chip.ready span { background: var(--orbit-lime) !important; box-shadow: 0 0 0 4px rgba(216,250,121,.12); }
.status-chip.error span { background: #ff6c72 !important; }
.theme-switch, body[data-theme="dark"] .theme-switch, body[data-theme="light"] .theme-switch,
body[data-view="meeting"] .theme-switch {
  position: static; color: #e6e6e1; background: #2d2e35; border: 1px solid rgba(255,255,255,.10);
  min-height: 38px; padding: 8px 13px; border-radius: 12px; font-size: .78rem; box-shadow: none;
}
.theme-switch:hover { transform: none; background: #3c3e45; box-shadow: none; }
.theme-switch svg { stroke: #d8fa79; }

/* Homepage — cinematic editorial canvas */
.hero-card, body[data-theme="dark"] .hero-card, body[data-theme="light"] .hero-card {
  position: relative; display: grid; align-items: stretch;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 18px;
  min-height: 625px; padding: 17px; border-radius: 34px;
  overflow: hidden; color: #f8f8f2;
  background: #202127 !important;
  border: 1px solid rgba(255,255,255,.055);
  box-shadow: 0 30px 100px rgba(0,0,0,.18);
}
.hero-card::before { content: ''; display: block; position: absolute; inset: auto auto -245px -160px; width: 570px; height: 570px; border-radius: 50%; background: radial-gradient(circle, rgba(216,250,121,.07) 0%, transparent 67%); pointer-events: none; }
.hero-card::after { content: 'AK / 001'; position: absolute; top: 34px; right: calc(42% + 15px); font-family: 'Manrope',sans-serif; font-size: 11px; color: #555a5a; letter-spacing: .12em; }
.hero-copy { padding: clamp(27px, 4.2vw, 63px) clamp(10px, 3vw, 44px) 30px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; z-index: 2; }
.hero-pill { display: inline-flex; align-items: center; gap: 10px; padding: 9px 13px; border-radius: 99px; color: #d5fc80; background: #343f2c; border: 1px solid rgba(216,250,121,.24); box-shadow: none; margin: 0 0 33px; letter-spacing: .12em; font-size: .65rem; font-weight: 800; text-transform: uppercase; }
.pill-spark { width: 7px; height: 7px; border-radius: 50%; background: #d8fa79; box-shadow: 0 0 0 4px rgba(216,250,121,.14); }
.hero-copy h1 { margin: 0 0 25px; font-size: clamp(3.8rem, 6.4vw, 7.5rem); letter-spacing: -.092em; line-height: .98; font-weight: 800; max-width: 735px; color: #f9f9f1; text-wrap: balance; }
.headline-accent { color: #d8fa79; white-space: nowrap; }
.hero-period { color: #d8fa79; }
.hero-text { font-size: clamp(.98rem,1.2vw,1.09rem); line-height: 1.7; color: #aaaeb3; max-width: 525px; margin: 0 0 34px; }
.hero-actions { gap: 11px; }
.hero-primary, .hero-secondary, .primary-action {
  min-height: 57px; border-radius: 15px; font-size: .93rem; letter-spacing: -.01em;
  font-weight: 800; padding: 0 21px; box-shadow: none; transition: background .18s, transform .18s, border-color .18s;
}
.hero-primary, .primary-action, body[data-theme="dark"] .primary-action,
body[data-theme="light"] .primary-action {
  background: #d8fa79 !important; color: #151715 !important;
  border: 1px solid #d8fa79 !important; box-shadow: none !important;
}
.hero-secondary { background: #313238 !important; color: #f8f8f2; border: 1px solid #4b4d51; }
.hero-primary:hover, .primary-action:not(:disabled):hover { background: #e6ffa8 !important; transform: translateY(-3px); filter: none; }
.hero-secondary:hover { border-color: #b5b7b5; transform: translateY(-3px); filter: none; }
.hero-primary svg, .hero-secondary svg, .primary-action svg { width: 19px; height: 19px; stroke-width: 2.1; }
.trust-row { gap: 20px; margin-top: auto; padding-top: 44px; font-size: .76rem; font-weight: 700; color: #9c9fa2; }
.trust-row span { gap: 7px; }
.trust-row i { background: #d8fa79; box-shadow: none; width: 5px; height: 5px; }
.hero-visual.hero-photo-wrap {
  min-height: 588px; height: 100%; max-height: none; width: 100%; transform: none;
  border: none; border-radius: 24px; box-shadow: none;
  background: linear-gradient(152deg,#667466,#1a2827) !important; isolation: isolate;
}
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; max-height: none; object-fit: cover; object-position: 50% center; filter: saturate(.78) contrast(1.03); }
.hero-photo-wrap::after { background: linear-gradient(180deg, rgba(8,12,12,.37) 0%, transparent 32%, transparent 45%, rgba(3,7,8,.75) 100%); inset: 0; }
.hero-photo-top { position: absolute; top: 18px; left: 18px; right: 18px; z-index: 3; display: flex; justify-content: space-between; align-items: center; }
.hero-live-tag { display: inline-flex; gap: 8px; align-items: center; background: rgba(16,20,19,.67); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(12px); padding: 10px 13px; border-radius: 99px; color: #fff; font-size: .67rem; font-weight: 800; letter-spacing: .10em; }
.hero-live-tag i { background: #d8fa79; width: 7px; height: 7px; border-radius: 50%; }
.hero-photo-num { color: #fff; font-weight: 800; font-size: .75rem; letter-spacing: .09em; }
.hero-avatar-cluster { position: absolute; z-index: 3; bottom: 112px; left: 25px; display: flex; padding-left: 8px; }
.hero-avatar-cluster span, .hero-avatar-cluster b { display: grid; place-items: center; width: 43px; height: 43px; margin-left: -8px; border-radius: 50%; border: 3px solid rgba(21,25,24,.92); font-size: .7rem; font-weight: 900; color: #222; background: #d8fa79; }
.hero-avatar-cluster span:nth-child(2) { background: #c8b9f7; }
.hero-avatar-cluster span:nth-child(3) { background: #ffa69a; }
.hero-avatar-cluster b { background: #333941; color: #fff; }
.hero-photo-caption { left: 19px; bottom: 18px; right: 19px; max-width: none; padding: 16px 17px; border-radius: 18px; gap: 12px; background: rgba(22,26,28,.72); border: 1px solid rgba(255,255,255,.23); box-shadow: 0 14px 34px #0003; }
.hero-photo-caption strong { font-size: .95rem; }
.hero-photo-caption small { color: #c4c8ca; font-size: .75rem; }
.hero-photo-caption svg { margin-left: auto; transform: rotate(-45deg); }
.photo-live-dot { background: #d8fa79; box-shadow: 0 0 0 5px rgba(216,250,121,.17); }

/* Editorial feature cards */
.feature-strip { gap: 13px; margin-top: 15px; }
.feature-strip article, body[data-theme="dark"] .feature-strip article, body[data-theme="light"] .feature-strip article {
  min-height: 115px; border-radius: 23px; padding: 21px 24px; background: #212228 !important;
  border: 1px solid #33353d !important; box-shadow: none; color: #fff;
}
.feature-icon { width: 53px; height: 53px; border-radius: 17px; background: #383d36 !important; color: #d8fa79; box-shadow: none; }
.feature-icon.orange { background: #3a402f !important; }
.feature-icon.blue { background: #343747 !important; color: #b0a8ff; }
.feature-icon.teal { background: #293d3a !important; color: #9aefcf; }
.feature-strip strong { color: #f7f7f1 !important; font-size: 1.08rem; letter-spacing: -.035em; }
.feature-strip small { color: #999da4 !important; font-size: .79rem; }
.home-panels { gap: 15px; margin-top: 44px; }
.info-panel, body[data-theme="dark"] .info-panel, body[data-theme="light"] .info-panel {
  position: relative; padding: clamp(26px,3.7vw,50px); min-height: 345px;
  background: #24262c !important; border: 1px solid #393b41 !important; border-radius: 30px; box-shadow: none;
}
.info-panel.solution-panel { background: #d8fa79 !important; border-color: #d8fa79 !important; color: #171b19; }
.section-no, body[data-theme="dark"] .section-no { color: #b0bbad !important; font-size: .67rem; line-height: 1.5; letter-spacing: .18em; text-transform: uppercase; font-weight: 800; }
.solution-panel .section-no { color: #4d6344 !important; }
.info-panel h2, body[data-theme="dark"] .info-panel h2, body[data-theme="light"] .info-panel h2 {
  color: #f7f7f2 !important; font-size: clamp(2.1rem, 3.5vw, 3.7rem); line-height: 1.11; letter-spacing: -.075em; margin: 15px 0 15px;
}
.info-panel.solution-panel h2, body[data-theme="dark"] .info-panel.solution-panel h2 { color: #1d251c !important; }
.info-panel p, body[data-theme="dark"] .info-panel p, body[data-theme="light"] .info-panel p { color: #adb0b5 !important; max-width: 500px; font-size: .94rem; }
.info-panel.solution-panel p, body[data-theme="dark"] .info-panel.solution-panel p { color: #50634b !important; }
.soft-list { gap: 5px; margin-top: 24px; }
.soft-list li, body[data-theme="dark"] .soft-list li {
  padding: 9px 0; background: transparent !important; color: #eff0ea; border-radius: 0;
  min-height: 30px; font-weight: 700; font-size: .85rem;
}
.soft-list li svg { stroke: #d8fa79; }
.solution-panel .soft-list li, body[data-theme="dark"] .solution-panel .soft-list li { color: #283528 !important; }
.solution-panel .soft-list svg { color: #273e20 !important; stroke: #273e20; }
.how-panel, body[data-theme="dark"] .how-panel, body[data-theme="light"] .how-panel { margin-top: 15px; padding: clamp(24px,3.7vw,45px); border-radius: 30px; background: #212228 !important; border: 1px solid #373942 !important; box-shadow: none; }
.how-panel h2, body[data-theme="dark"] .how-panel h2, body[data-theme="light"] .how-panel h2 { color: #f6f6f1 !important; font-size: clamp(2rem, 3vw, 3.3rem); }
.flow-subhead { color: #9ca2a1; }
.steps-row { margin-top: 34px; gap: 10px; }
.steps-row article, body[data-theme="dark"] .steps-row article, body[data-theme="light"] .steps-row article {
  min-height: 168px; padding: 19px 12px; border-radius: 21px; background: #2c2e34 !important; border: 1px solid #3a3d44 !important;
}
.steps-row span, .steps-row article:nth-child(n) span { border: 1px solid #4c5840; color: #d8fa79; background: #35402f !important; box-shadow: none; width: 45px; height: 45px; font-size: .92rem; border-radius: 14px; margin-bottom: 16px; }
.steps-row strong { color: #fff; font-size: .83rem; }
.steps-row small, body[data-theme="dark"] .steps-row small { color: #a0a3ab; font-size: .74rem; }
.home-footer { border-top: 1px solid #33363b; padding: 26px 9px 10px; margin-top: 32px; color: #a2a5a8; }
.home-footer strong { color: #f8f8ef; }
.home-footer b { color: #d8fa79 !important; }

/* Setup routes — huge type, calm card, directional details */
body[data-view="create"] .app-shell, body[data-view="join"] .app-shell { width: min(1250px, calc(100% - 56px)); min-height: 100dvh; }
.form-view { max-width: none; position: relative; min-height: calc(100dvh - 90px); margin: 0; padding: 27px 0; }
.form-view::before { content: 'AKAORA / MEET'; position: absolute; top: 47px; right: 0; color: #747873; letter-spacing: .18em; font-size: .71rem; font-weight: 800; }
.form-view::after { content: 'EVERY GREAT CONVERSATION\\A STARTS WITH HELLO.'; white-space: pre; position: absolute; top: 48%; left: 3%; color: #858c88; font-weight: 800; font-size: clamp(.7rem,1vw,.9rem); letter-spacing: .16em; line-height: 2.1; }
.back-btn, body[data-theme="dark"] .back-btn, body[data-theme="light"] .back-btn { position: relative; z-index: 3; color: #f1f2ed !important; background: #2b2e32 !important; border: 1px solid #42464c; box-shadow: none; min-height: 44px; padding: 9px 15px; border-radius: 13px; }
.form-card, body[data-theme="dark"] .form-card, body[data-theme="light"] .form-card {
  position: relative; margin: -36px 0 45px auto; width: min(710px,66%); border-radius: 32px;
  padding: clamp(26px,4.5vw,62px); background: #22242a !important;
  border: 1px solid #393b43 !important; color: #f9f9f4; box-shadow: 0 25px 95px rgba(0,0,0,.15);
}
.form-card::before { content: ''; display: block; width: 50px; height: 5px; background: #d8fa79; border-radius: 100px; margin-bottom: 28px; }
.form-heading .eyebrow, body[data-theme="dark"] .eyebrow, body[data-theme="light"] .eyebrow { color: #d8fa79 !important; font-size: .65rem; font-weight: 900; letter-spacing: .17em; }
.form-heading h2, body[data-theme="dark"] .form-heading h2, body[data-theme="light"] .form-heading h2 { font-size: clamp(3rem,4vw,5rem); line-height: 1.02; letter-spacing: -.083em; color: #f7f8f1 !important; margin-bottom: 18px; }
.form-heading h2 em { font-style: normal; color: #d8fa79; }
.form-heading p, body[data-theme="dark"] .form-heading p, body[data-theme="light"] .form-heading p { max-width: 480px; font-size: .92rem; line-height: 1.7; color: #aaafb7 !important; }
.field-group { margin-top: 25px; }
.field-group label, .permission-title, body[data-theme="dark"][data-view="create"] .permission-title,
body[data-theme="dark"][data-view="join"] .permission-title,
body[data-theme="light"][data-view="create"] .permission-title,
body[data-theme="light"][data-view="join"] .permission-title { font-size: .78rem; font-weight: 800; color: #f5f5ed !important; }
.form-card input, body[data-theme="dark"] .form-card input, body[data-theme="light"] .form-card input {
  min-height: 60px; background: #16181d !important; border: 1px solid #40434a !important;
  border-radius: 15px; font-size: .97rem; color: #f4f4f0 !important; padding: 16px 17px;
}
.form-card input::placeholder { color: #72777d !important; }
.form-card input:focus { border-color: #d8fa79 !important; box-shadow: 0 0 0 3px rgba(216,250,121,.13) !important; }
.generated-room, body[data-theme="dark"] .generated-room, body[data-theme="light"] .generated-room { margin: 22px 0; background: #31343a !important; border: 1px solid #4a4e53 !important; border-radius: 18px; padding: 18px; }
.generated-room span, body[data-theme="dark"] .generated-room span { color: #a0a4aa !important; font-size: .70rem; letter-spacing: .10em; }
.generated-room strong, body[data-theme="dark"] .generated-room strong, body[data-theme="light"] .generated-room strong { color: #d8fa79 !important; font-size: clamp(1.45rem, 2.6vw, 2.3rem); letter-spacing: .09em; }
.mini-btn, body[data-theme="dark"] .mini-btn, body[data-theme="light"] .mini-btn { background: #35373f !important; border: 1px solid #4a4d54 !important; color: #f4f3ec !important; box-shadow: none; border-radius: 12px; font-size: .82rem; }
.mini-btn:hover { border-color: #d8fa79 !important; }
.permission-title { margin-top: 22px; margin-bottom: 12px; }
.media-options { gap: 12px; }
.toggle-pill, body[data-theme="dark"] .toggle-pill, body[data-theme="light"] .toggle-pill { min-width: 150px; min-height: 57px; border-radius: 15px; color: #e5e6e5 !important; background: #2e3137 !important; border: 1px solid #44474e !important; }
.toggle-pill[data-enabled="true"], body[data-theme="dark"] .toggle-pill[data-enabled="true"] { color: #d8fa79 !important; background: #34402e !important; border-color: #668250 !important; }
.toggle-pill svg { width: 19px; height: 19px; }
.form-card .primary-action { margin-top: 24px; min-height: 61px; font-size: .96rem; }
.form-card .primary-action:disabled { opacity: .52; }
.firebase-setup-error, .error-card { background: #372529 !important; border-color: #704148 !important; color: #ffe3de !important; }
.error-card span { color: #ffc5c1 !important; }
.form-view .back-btn:hover { border-color: #d8fa79 !important; }

/* Live room — near-black focus and floating controls */
body[data-view="meeting"], body[data-theme="light"][data-view="meeting"] { background: #101115 !important; color: #f6f7f2 !important; }
body[data-view="meeting"] .app-shell { width: min(1890px, calc(100% - 28px)) !important; padding: 10px 0 8px !important; }
body[data-view="meeting"] .meeting-view { height: calc(100dvh - 20px); min-height: 480px; padding: 0 !important; }
.meeting-top, body[data-theme="dark"] .meeting-top, body[data-theme="light"] .meeting-top {
  position: relative; min-height: 68px; padding: 9px 14px 9px 18px;
  background: #22242a !important; border: 1px solid #363840 !important; color: #faf9f3 !important;
  box-shadow: none; border-radius: 19px !important; margin-bottom: 12px; gap: 12px;
}
.meeting-live-chip { display: inline-flex; align-items: center; gap: 9px; flex: 0 0 auto; color: #d8fa79; padding: 9px 12px; border: 1px solid rgba(216,250,121,.16); background: rgba(216,250,121,.08); border-radius: 11px; font-size: .66rem; font-weight: 900; letter-spacing: .12em; }
.meeting-live-chip i { width: 7px; height: 7px; background: #d8fa79; box-shadow: 0 0 0 4px rgba(216,250,121,.13); border-radius: 50%; }
.meeting-hud-left { order: 1; }
.meeting-clock, .meeting-sep { color: #c4c7c5 !important; font-size: .86rem !important; }
.room-meta { order: 2; margin-right: auto; gap: 11px; }
.room-meta img, body[data-theme="dark"] .room-meta img { width: 42px; height: 42px; padding: 7px; background: #3d413d !important; border-radius: 13px; }
.room-meta span, body[data-theme="dark"] .room-meta span { color: #8e9499 !important; letter-spacing: .13em; font-size: .61rem; }
.room-meta strong, body[data-theme="dark"] .room-meta strong { color: #d8fa79 !important; font-size: 1.01rem; letter-spacing: .05em; }
.room-meta .host-meta { color: #a1a6a9; }
.room-meta .host-meta b { color: #d6d7d2; }
.share-actions { order: 3; gap: 8px; }
.share-actions .mini-btn, .share-actions .theme-switch { min-height: 40px; border-radius: 11px; background: #32353b !important; color: #e9eae4 !important; border: 1px solid #42454b !important; font-size: .80rem; }
.share-actions .mini-btn:hover { border-color: #d8fa79 !important; }
.share-actions .mini-btn svg { width: 17px; height: 17px; }
.presentation-hud { order: 4; }
body[data-view="meeting"] .call-layout { height: calc(100dvh - 112px) !important; min-height: 0 !important; padding: 0 !important; gap: 10px; }
body[data-view="meeting"] .stage, body[data-theme="light"] .stage, body[data-theme="dark"] .stage {
  height: 100% !important; min-height: 0 !important; position: relative; border: 1px solid #34363e !important;
  border-radius: 25px !important; background: #1b1d23 !important;
  overflow: hidden; box-shadow: inset 0 0 80px rgba(0,0,0,.14);
}
.stage::before { content: 'AKAORA / LIVE SPACE'; position: absolute; left: 22px; top: 18px; color: #60656b; font-size: .60rem; letter-spacing: .19em; font-weight: 800; pointer-events: none; z-index: 5; }
body[data-view="meeting"] .video-grid { inset: 11px !important; }
.video-tile, body[data-theme="dark"] .video-tile, body[data-theme="light"] .video-tile { border-radius: 19px !important; border: 1px solid #343840 !important; background: #242730 !important; overflow: hidden; }
.video-tile video { background: #16171c !important; }
.avatar-placeholder, body[data-theme="dark"] .avatar-placeholder { color: #f1f3ef; background: radial-gradient(circle at 50% 52%,#333744 0,#23252b 65%,#1b1d24 100%) !important; }
.avatar-circle, body[data-theme="dark"] .avatar-circle { background: #d8fa79 !important; color: #252a1b !important; box-shadow: 0 12px 50px rgba(216,250,121,.08); }
.avatar-placeholder p { color: #e2e5df; font-weight: 750; }
.tile-badge, body[data-theme="dark"] .tile-badge { border-radius: 10px; background: rgba(17,19,24,.78) !important; border: 1px solid #52545e !important; color: #eeefec !important; backdrop-filter: blur(10px); font-weight: 750; }
.tile-pin, .tile-fullscreen-action, body[data-theme="light"] .tile-pin, body[data-theme="light"] .tile-fullscreen-action { color: #e9e9e6 !important; background: rgba(20,22,27,.82) !important; border: 1px solid rgba(255,255,255,.13) !important; box-shadow: none; }
.local-tile { border: 2px solid #5f6851 !important; box-shadow: 0 14px 45px #0009 !important; }

/* Dock. Every existing control retains its ID, state classes and click listeners. */
body[data-view="meeting"] .call-controls,
body[data-theme="dark"][data-view="meeting"] .call-controls,
body[data-theme="light"][data-view="meeting"] .call-controls,
body.screen-share-mode[data-view="meeting"] .call-controls {
  position: fixed !important; bottom: max(23px, env(safe-area-inset-bottom, 14px)) !important;
  top: auto !important; left: 50% !important; right: auto !important;
  transform: translateX(-50%) !important; display: flex !important; flex-wrap: nowrap !important;
  justify-content: center !important; align-items: center !important;
  width: auto !important; max-width: calc(100vw - 24px) !important; min-height: 0 !important;
  padding: 10px 12px !important; gap: 8px !important; border-radius: 24px !important;
  background: rgba(40,42,49,.94) !important; border: 1px solid #54565e !important;
  box-shadow: 0 17px 65px rgba(0,0,0,.50) !important; backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important; z-index: 74 !important;
}
body[data-view="meeting"] .control-btn, body.screen-share-mode[data-view="meeting"] .control-btn {
  flex: 0 0 52px !important; min-width: 52px !important; width: 52px !important;
  min-height: 52px !important; height: 52px !important; padding: 7px !important;
  display: grid !important; place-items: center !important;
  border-radius: 15px !important; background: #3a3c45 !important;
  border: 1px solid #54565e !important; color: #f0f0ec !important;
  box-shadow: none !important; filter: none !important; opacity: 1 !important;
}
body[data-view="meeting"] .control-btn:hover { transform: translateY(-2px) !important; background: #51535d !important; }
body[data-view="meeting"] .control-btn svg { width: 21px !important; height: 21px !important; filter: none; }
body[data-view="meeting"] .control-btn.on { background: #394934 !important; color: #d8fa79 !important; border-color: #6f875a !important; }
body[data-view="meeting"] .control-btn.off { background: #463b43 !important; color: #ffd9dd !important; border-color: #69525d !important; }
body[data-view="meeting"] .control-btn.danger, body[data-view="meeting"] .hangup-control { background: #ff5860 !important; color: #fff !important; border: 1px solid #ff858b !important; box-shadow: none !important; }
body[data-view="meeting"] .control-btn.danger:hover { background: #f64350 !important; }
body[data-view="meeting"] .control-btn.on::after, body[data-view="meeting"] .control-btn.off::after { display: none !important; }
body[data-view="meeting"] .call-controls .sr-only { position: absolute !important; clip: rect(0,0,0,0) !important; }
body[data-view="meeting"] .reaction-panel { bottom: 104px !important; }
body[data-view="meeting"] .chat-popups { bottom: 110px !important; }

/* Overlays / chat / settings — same materials as live space */
body[data-view="meeting"] .chat-drawer, body[data-view="meeting"] .more-panel,
body[data-view="meeting"] .side-panel, body[data-view="meeting"] .device-panel,
body[data-theme="light"][data-view="meeting"] .chat-drawer, body[data-theme="light"][data-view="meeting"] .side-panel,
body[data-theme="dark"][data-view="meeting"] .chat-drawer {
  color: #f7f8f2 !important; background: rgba(36,38,46,.98) !important;
  border: 1px solid #4b4d55 !important; border-radius: 22px !important;
  box-shadow: 0 16px 70px #0005 !important;
}
body[data-view="meeting"] .chat-head strong, body[data-view="meeting"] .more-head strong,
body[data-view="meeting"] .side-panel-head strong, body[data-view="meeting"] .device-head strong { color: #f7f8f2 !important; font-size: 1.16rem; letter-spacing: -.05em; }
body[data-view="meeting"] .chat-head small, body[data-view="meeting"] .more-head small,
body[data-view="meeting"] .side-panel-head small, body[data-view="meeting"] .device-head small { color: #adb0b5 !important; }
body[data-view="meeting"] .icon-only, body[data-view="meeting"] .emoji-btn,
body[data-view="meeting"] .send-btn { background: #3b3d44 !important; color: #eff1ed !important; border: 1px solid #52545c !important; box-shadow: none !important; }
body[data-view="meeting"] .chat-input-wrap, body[data-view="meeting"] .notes-input,
body[data-view="meeting"] .emoji-row { background: #17191f !important; color: #f5f5f1 !important; border-color: #474952 !important; }
body[data-view="meeting"] .chat-input-wrap input, body[data-view="meeting"] .device-field select, body[data-view="meeting"] #chatInput { background: #17191f !important; color: #f5f5f1 !important; }
body[data-view="meeting"] .chat-input-wrap input::placeholder { color: #898d94 !important; }
body[data-view="meeting"] .send-btn { background: #d8fa79 !important; color: #222821 !important; }
body[data-view="meeting"] .more-action-btn, body[data-view="meeting"] .host-control-btn,
body[data-view="meeting"] .view-mode-option { background: #2e3038 !important; color: #f4f5f1 !important; border-color: #484b53 !important; border-radius: 14px !important; }
body[data-view="meeting"] .more-action-btn small, body[data-view="meeting"] .section-title-row small,
body[data-view="meeting"] .view-mode-option small { color: #adb0b5 !important; }
body[data-view="meeting"] .view-mode-option[aria-pressed="true"] { background: #3a472f !important; border-color: #d8fa79 !important; }
body[data-view="meeting"] .reaction-panel { background: #272a31 !important; border: 1px solid #50545b !important; border-radius: 18px !important; box-shadow: 0 12px 35px #0007 !important; }
body[data-view="meeting"] .invite-card { background: #272930 !important; color: #f7f7f1 !important; border: 1px solid #585a61 !important; border-radius: 22px !important; box-shadow: 0 14px 60px #0008 !important; }
body[data-view="meeting"] .invite-card-title { color: #f7f7f2 !important; letter-spacing: -.05em; }
body[data-view="meeting"] .invite-card-text, body[data-view="meeting"] .invite-card-note, body[data-view="meeting"] .invite-card-user { color: #b3b7bb !important; }
body[data-view="meeting"] .invite-link-box { background: #191b22 !important; color: #e4e6e2 !important; border-color: #4c4f54 !important; }
body[data-view="meeting"] .invite-primary-btn { background: #d8fa79 !important; color: #242a22 !important; border: none !important; }
body[data-view="meeting"] .waiting-room-card { background: #333640 !important; color: #fff !important; border: 1px solid #666974 !important; }
body[data-view="meeting"] .waiting-room-card small { color: #c2c7cb !important; }
body[data-view="meeting"] .admit-btn { color: #d8fa79 !important; }
body[data-view="meeting"] .more-panel { top: 90px !important; }

/* Feedback modal — no cutoffs on smaller displays */
.feedback-modal, body[data-theme="dark"] .feedback-modal, body[data-theme="light"] .feedback-modal { background: #24262c !important; color: #f7f8f2 !important; border: 1px solid #45484d !important; box-shadow: 0 30px 110px #0009 !important; border-radius: 25px; }
.feedback-modal h3, body[data-theme="dark"] .feedback-modal h3 { color: #f8f8f2 !important; }
.feedback-text { color: #adb0b6 !important; }
.feedback-eyebrow { color: #d8fa79 !important; }
.feedback-logo-wrap { background: #343a32 !important; border-radius: 15px; }
.feedback-logo { background: #343a32 !important; border-radius: 12px; }
.feedback-rating .rating-btn { background: #33353d !important; border-color: #494d54 !important; color: #aeb4bb !important; }
.feedback-rating .rating-btn.active { background: #3f492f !important; color: #d8fa79 !important; }
.feedback-modal textarea { background: #17191f !important; color: #f6f7ef !important; border: 1px solid #4a4d53 !important; }
.meeting-summary-block, .meeting-summary-list { background: #2d3037 !important; color: #f4f5f0 !important; border-color: #474a53 !important; }
.meeting-summary-list strong { color: #fff !important; }
.meeting-summary-list span { color: #b5b9be !important; }
.modal-close { background: #3b3e46 !important; color: #f7f7f2 !important; }
.toast { border-radius: 16px; background: #d8fa79 !important; color: #131715 !important; border: 1px solid #a7d664 !important; box-shadow: 0 20px 48px #0006; }

/* Alternative theme: clean porcelain; live call deliberately remains dark for visual clarity. */
body[data-theme="light"]:not([data-view="meeting"]) .topbar { background: #fff !important; color: #242525 !important; border-color: #e2e5df !important; }
body[data-theme="light"] .topbar .brand strong, body[data-theme="light"] .topbar .brand-meet { color: #191d1b !important; }
body[data-theme="light"] .topbar .brand-logo { background: #eeefeb !important; }
body[data-theme="light"] .topbar .status-chip { background: #e9f2d4 !important; color: #3a5032 !important; }
body[data-theme="light"] .topbar .theme-switch { background: #eff0ec !important; border-color: #dee2d9 !important; color: #2a2c2a !important; }
body[data-theme="light"] .hero-card, body[data-theme="light"] .feature-strip article,
body[data-theme="light"] .info-panel:not(.solution-panel), body[data-theme="light"] .how-panel { background: #202127 !important; color: #fff !important; }
body[data-theme="light"] .home-footer { color: #777c79 !important; border-color: #d3d6d0; }
body[data-theme="light"] .home-footer strong { color: #282a2a; }
body[data-theme="light"] .form-card { background: #24262c !important; }

/* Tablet and mobile: topbar, hero, controls and all popovers remain usable */
@media (max-width: 1200px) {
  .hero-card { grid-template-columns: minmax(0,1fr) minmax(0,.8fr); min-height: 565px; }
  .hero-copy { padding: 28px 15px 24px 30px; }
  .hero-copy h1 { font-size: clamp(3.4rem,6vw,5.5rem); }
  .hero-visual.hero-photo-wrap { min-height: 530px; }
}
@media (max-width: 950px) {
  .app-shell { width: calc(100% - 30px); }
  .hero-card { grid-template-columns: 1fr; padding: 13px; }
  .hero-copy { padding: 38px 28px 34px; }
  .hero-copy h1 { font-size: clamp(3.5rem,9vw,6.2rem); }
  .hero-visual.hero-photo-wrap { min-height: 350px; max-height: 430px; }
  .trust-row { margin-top: 0; padding-top: 32px; }
  .hero-card::after { display: none; }
  .form-view::after { display: none; }
  .form-card { margin: 18px auto 20px; width: min(730px,100%); }
  .steps-row { grid-template-columns: repeat(3,minmax(0,1fr)); }
  body[data-view="meeting"] .meeting-live-chip { display: none; }
  body[data-view="meeting"] .control-btn { flex-basis: 47px !important; min-width: 47px !important; width: 47px !important; height: 47px !important; min-height: 47px !important; }
}
@media (max-width: 720px) {
  .app-shell { width: calc(100% - 20px); padding: 10px 0 18px; }
  .topbar { border-radius: 17px; min-height: 62px; padding: 7px; margin-bottom: 10px; }
  .brand { gap: 8px; }
  .brand-logo { width: 42px; height: 42px; border-radius: 12px; padding: 6px; }
  .brand strong { font-size: 1.10rem; }
  .brand small { font-size: .49rem; letter-spacing: .06em; }
  .nav-actions { gap: 5px; }
  .nav-theme { min-height: 35px; padding: 8px; }
  .nav-theme span { display: none; }
  .status-chip { font-size: .69rem; padding: 7px 8px; min-height: 35px; }
  .hero-card { border-radius: 24px; gap: 9px; padding: 9px; }
  .hero-copy { padding: 37px 17px 27px; }
  .hero-pill { margin-bottom: 27px; font-size: .60rem; }
  .hero-copy h1 { font-size: clamp(3.25rem, 11vw, 5rem); line-height: .97; }
  .headline-accent { white-space: normal; }
  .hero-text { font-size: .92rem; line-height: 1.62; margin-bottom: 27px; }
  .hero-actions { width: 100%; }
  .hero-actions button { min-height: 53px; flex: 1 1 175px; font-size: .81rem; padding: 0 12px; }
  .trust-row { gap: 12px; font-size: .66rem; padding-top: 24px; }
  .hero-visual.hero-photo-wrap { min-height: 270px; max-height: 330px; border-radius: 17px; }
  .hero-photo { height: 100%; min-height: 0; }
  .hero-avatar-cluster { bottom: 100px; }
  .feature-strip { grid-template-columns: 1fr; gap: 9px; margin-top: 10px; }
  .feature-strip article { min-height: 82px; padding: 14px 18px; border-radius: 18px; }
  .feature-icon { width: 45px; height: 45px; border-radius: 13px; }
  .home-panels { margin-top: 18px; grid-template-columns: 1fr; gap: 10px; }
  .info-panel { min-height: 0; padding: 27px; border-radius: 23px; }
  .info-panel h2 { font-size: clamp(2.3rem,8vw,3.4rem); }
  .how-panel { padding: 24px 18px; border-radius: 23px; }
  .how-panel h2 { font-size: 2rem; }
  .steps-row { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; margin-top: 24px; }
  .steps-row article { min-height: 140px; padding: 16px 9px; border-radius: 17px; }
  .steps-row article:last-child { grid-column: 1 / -1; }
  .home-footer { flex-direction: column; gap: 12px; }
  body[data-view="create"] .app-shell, body[data-view="join"] .app-shell { width: calc(100% - 20px); }
  .form-view { padding: 14px 0 24px; }
  .form-view::before { top: 25px; font-size: .58rem; }
  .form-card { margin: 12px auto; border-radius: 23px; padding: 29px 20px 24px; }
  .form-card::before { margin-bottom: 24px; }
  .form-heading h2 { font-size: clamp(2.6rem,10vw,4rem); }
  .generated-room { grid-template-columns: 1fr auto; gap: 9px; }
  .generated-room span { grid-column: 1 / -1; }
  .generated-room strong { font-size: 1.5rem; }
  .generated-room .mini-btn { padding: 0 10px; }
  .toggle-pill { min-width: 125px; flex: 1; padding: 0 7px; font-size: .82rem; }
  body[data-view="meeting"] .app-shell { width: calc(100% - 14px) !important; padding: 7px 0 !important; }
  body[data-view="meeting"] .meeting-view { height: calc(100dvh - 14px); }
  body[data-view="meeting"] .meeting-top { min-height: 63px; padding: 7px 9px; border-radius: 15px !important; margin-bottom: 8px; gap: 6px; }
  body[data-view="meeting"] .meeting-hud-left { display: none; }
  body[data-view="meeting"] .room-meta { margin-right: auto; gap: 6px; }
  body[data-view="meeting"] .room-meta img { width: 34px; height: 34px; }
  body[data-view="meeting"] .room-meta strong { font-size: .79rem; }
  body[data-view="meeting"] .room-meta .host-meta { display: none; }
  body[data-view="meeting"] .share-actions { gap: 4px; }
  body[data-view="meeting"] .share-actions #copyCodeBtn { display: none; }
  body[data-view="meeting"] .share-actions .mini-btn { padding: 0 8px; min-height: 35px; font-size: .69rem; }
  body[data-view="meeting"] .share-actions .theme-switch { min-height: 35px; padding: 6px 8px; }
  body[data-view="meeting"] .call-layout { height: calc(100dvh - 93px) !important; }
  body[data-view="meeting"] .stage { border-radius: 18px !important; }
  body[data-view="meeting"] .video-grid { inset: 5px !important; }
  .video-tile { border-radius: 13px !important; }
  .stage::before { font-size: .49rem; top: 11px; left: 12px; }
  body[data-view="meeting"] .call-controls, body.screen-share-mode[data-view="meeting"] .call-controls,
  body[data-theme="light"][data-view="meeting"] .call-controls, body[data-theme="dark"][data-view="meeting"] .call-controls {
    max-width: calc(100vw - 20px) !important; width: calc(100vw - 20px) !important;
    display: grid !important; grid-template-columns: repeat(9,minmax(0,1fr)) !important;
    gap: 5px !important; padding: 8px 7px !important; bottom: max(10px, env(safe-area-inset-bottom, 7px)) !important;
    border-radius: 20px !important;
  }
  body[data-view="meeting"] .control-btn, body.screen-share-mode[data-view="meeting"] .control-btn {
    flex: none !important; width: 100% !important; min-width: 0 !important; min-height: 41px !important;
    height: 41px !important; padding: 0 !important; border-radius: 12px !important;
  }
  body[data-view="meeting"] .control-btn svg { width: 19px !important; height: 19px !important; }
  body[data-view="meeting"] .stage { padding-bottom: 71px !important; }
  body[data-view="meeting"] .reaction-panel { bottom: 90px !important; }
  body[data-view="meeting"] .chat-popups { bottom: 95px !important; }
  body[data-view="meeting"] .more-panel { top: 83px !important; max-height: calc(100% - 160px) !important; }
  .feedback-modal { max-height: calc(100dvh - 22px) !important; overflow-y: auto; }
}
@media (max-width: 400px) {
  .hero-copy h1 { font-size: clamp(2.85rem, 10.8vw, 3.55rem); }
  .hero-actions button { flex-basis: 100%; }
  body[data-view="meeting"] .control-btn, body.screen-share-mode[data-view="meeting"] .control-btn { height: 38px !important; min-height: 38px !important; }
  body[data-view="meeting"] .control-btn svg { width: 17px !important; height: 17px !important; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; } }

/* ORBIT polish pass — override historical !important and specificity layers. */
body[data-theme="dark"] .info-panel.solution-panel,
body[data-theme="light"] .info-panel.solution-panel,
body[data-theme="dark"] .light-panel.solution-panel,
body[data-theme="light"] .light-panel.solution-panel {
  background: #d8fa79 !important; color: #202821 !important;
  border: 1px solid #d8fa79 !important;
}
body[data-theme="dark"] .solution-panel h2,
body[data-theme="light"] .solution-panel h2,
body[data-theme="dark"] .solution-panel p,
body[data-theme="light"] .solution-panel p,
body[data-theme="dark"] .solution-panel .section-no,
body[data-theme="light"] .solution-panel .section-no,
body[data-theme="dark"] .solution-panel .soft-list li,
body[data-theme="light"] .solution-panel .soft-list li { color: #28372b !important; }
body[data-theme="dark"] .solution-panel .soft-list li,
body[data-theme="light"] .solution-panel .soft-list li { background: transparent !important; }
body[data-theme="dark"] .solution-panel .soft-list svg,
body[data-theme="light"] .solution-panel .soft-list svg { stroke: #213721 !important; }
body[data-theme="dark"] .home-footer,
body[data-theme="light"] .home-footer { background: transparent !important; border: 0 !important; box-shadow: none !important; }

/* Setup statement — tall editorial character instead of a thin caption */
.form-view::after {
  content: "MEET.\A THINK.\A CREATE.";
  white-space: pre;
  top: 29%; left: 3%; z-index: 0; max-width: 31%;
  font-size: clamp(2.65rem, 5vw, 5.6rem); line-height: 1.08;
  letter-spacing: -.065em; color: #d8fa79; font-weight: 800;
}
.form-view::before { z-index: 3; }

body[data-view="meeting"] #meetingView.active {
  height: calc(100dvh - 20px) !important; min-height: 0 !important;
  padding: 0 !important; gap: 9px !important;
  overflow: visible !important; display: flex !important;
  flex-direction: column !important; background: transparent !important;
}
body[data-view="meeting"] .meeting-top,
body[data-theme="dark"][data-view="meeting"] .meeting-top,
body[data-theme="light"][data-view="meeting"] .meeting-top {
  position: relative !important; display: grid !important;
  grid-template-columns: auto auto minmax(0,1fr) auto !important;
  grid-template-areas: "live clock room actions" !important;
  gap: 12px !important; align-items: center !important; flex: 0 0 70px !important;
  min-width: 0 !important; min-height: 70px !important;
  padding: 8px 14px !important; background: #202228 !important;
  border: 1px solid #35373f !important; border-radius: 18px !important;
  box-shadow: none !important; backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
}
body[data-view="meeting"] .meeting-live-chip { grid-area: live !important; width: auto !important; white-space: nowrap; }
body[data-view="meeting"] .meeting-hud-left { grid-area: clock !important; min-width: 0; }
body[data-view="meeting"] .room-meta { grid-area: room !important; min-width: 0 !important; margin-right: auto; }
body[data-view="meeting"] .room-meta img { border-radius: 12px !important; border: none !important; width: 37px !important; height: 37px !important; }
body[data-view="meeting"] .share-actions { grid-area: actions !important; overflow: visible !important; justify-self: end !important; flex-wrap: nowrap !important; }
body[data-view="meeting"] .meeting-top .share-actions .mini-btn,
body[data-view="meeting"] .meeting-top .share-actions .theme-switch {
  display: inline-flex !important; align-items: center !important;
  background: #33363e !important; color: #ecede7 !important;
  border-radius: 10px !important; border: 1px solid #4c4e55 !important;
  box-shadow: none !important; height: 40px !important;
}
body[data-view="meeting"] .room-meta strong { color: #d8fa79 !important; }
body[data-view="meeting"] .room-meta span,
body[data-view="meeting"] .room-meta small { color: #9b9fa4 !important; }
body[data-view="meeting"] .call-layout {
  flex: 1 1 auto !important; height: auto !important;
  min-height: 0 !important; padding: 0 !important; margin: 0 !important;
}

@media (max-width: 950px) {
  body[data-theme="dark"] .hero-card,
  body[data-theme="light"] .hero-card { grid-template-columns: minmax(0,1fr) !important; }
  body[data-theme="dark"] .hero-visual.hero-photo-wrap,
  body[data-theme="light"] .hero-visual.hero-photo-wrap { min-height: 340px !important; max-height: 440px !important; }
}
@media (max-width: 720px) {
  body[data-theme="dark"] .hero-card,
  body[data-theme="light"] .hero-card { grid-template-columns: minmax(0,1fr) !important; min-height: 0 !important; }
  body[data-theme="dark"] .hero-copy,
  body[data-theme="light"] .hero-copy { padding: 35px 20px 25px !important; }
  body[data-theme="dark"] .hero-visual.hero-photo-wrap,
  body[data-theme="light"] .hero-visual.hero-photo-wrap { min-height: 270px !important; max-height: 315px !important; width: 100% !important; }
  body[data-theme="dark"] .hero-copy h1,
  body[data-theme="light"] .hero-copy h1 { font-size: clamp(2.95rem,10.2vw,4.75rem) !important; line-height: 1.03 !important; }
  body[data-theme="dark"] .home-footer,
  body[data-theme="light"] .home-footer { flex-direction: column !important; }
  body[data-theme="dark"] .form-card,
  body[data-theme="light"] .form-card {
    width: 100% !important; max-width: 100% !important;
    margin: 14px 0 20px !important; padding: 27px 22px !important;
    box-sizing: border-box !important;
  }
  body[data-theme="dark"] .form-heading h2,
  body[data-theme="light"] .form-heading h2 { font-size: clamp(2.7rem,10vw,3.9rem) !important; }
  body[data-theme="dark"] .generated-room,
  body[data-theme="light"] .generated-room {
    grid-template-columns: minmax(0,1fr) auto !important; gap: 9px !important;
    padding: 14px !important; min-width: 0 !important;
  }
  body[data-theme="dark"] .generated-room span,
  body[data-theme="light"] .generated-room span { grid-column: 1 / -1 !important; }
  body[data-theme="dark"] .generated-room strong,
  body[data-theme="light"] .generated-room strong { min-width: 0 !important; font-size: clamp(1.25rem,5vw,1.7rem) !important; letter-spacing: .04em !important; }
  body[data-theme="dark"] .generated-room .mini-btn,
  body[data-theme="light"] .generated-room .mini-btn { min-width: 0 !important; padding: 0 9px !important; font-size: .71rem !important; }
  .form-view::after { display: none !important; }
  body[data-view="meeting"] #meetingView.active { height: calc(100dvh - 14px) !important; }
  body[data-view="meeting"] .meeting-top,
  body[data-theme="dark"][data-view="meeting"] .meeting-top,
  body[data-theme="light"][data-view="meeting"] .meeting-top {
    display: grid !important; grid-template-columns: minmax(0,1fr) auto !important;
    grid-template-areas: "room actions" !important;
    min-height: 59px !important; height: 59px !important; flex: 0 0 59px !important;
    gap: 5px !important; padding: 5px 8px !important;
  }
  body[data-view="meeting"] .meeting-hud-left,
  body[data-view="meeting"] .meeting-live-chip { display: none !important; }
  body[data-view="meeting"] .room-meta { grid-area: room !important; margin: 0 !important; min-height: 40px !important; }
  body[data-view="meeting"] .room-meta strong { font-size: .83rem !important; }
  body[data-view="meeting"] .share-actions { grid-area: actions !important; min-height: 40px !important; overflow: visible !important; gap: 5px !important; flex-wrap: nowrap !important; justify-content: flex-end !important; }
  body[data-view="meeting"] #copyCodeBtn { display: none !important; }
  body[data-view="meeting"] #copyInviteBtn { min-width: 35px !important; width: 38px !important; padding: 0 !important; font-size: 0 !important; }
  body[data-view="meeting"] .meeting-top .theme-switch { width: 38px !important; padding: 0 !important; justify-content: center !important; }
  body[data-view="meeting"] .meeting-top .theme-switch span { display: none !important; }
  body[data-view="meeting"] .call-layout { flex: 1 !important; height: auto !important; min-height: 0 !important; }
}

@media (max-width: 720px) {
  body[data-theme="dark"] .topbar,
  body[data-theme="light"] .topbar {
    display: flex !important; flex-direction: row !important; flex-wrap: nowrap !important;
    align-items: center !important; justify-content: space-between !important;
    min-height: 64px !important; gap: 6px !important; padding: 7px 10px !important;
  }
  .topbar .brand { flex: 0 1 auto !important; min-width: 0 !important; }
  .topbar .brand small { display: none !important; }
  .topbar .brand strong { font-size: 1rem !important; white-space: nowrap !important; }
  .topbar .nav-actions { display: flex !important; flex: 0 0 auto !important; flex-wrap: nowrap !important; gap: 5px !important; }
  .topbar .status-chip { min-width: 0 !important; white-space: nowrap !important; }
  body[data-theme="dark"] .hero-card .hero-actions,
  body[data-theme="light"] .hero-card .hero-actions {
    display: grid !important; width: 100% !important; min-width: 0 !important;
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
    gap: 9px !important;
  }
  body[data-theme="dark"] .hero-card .hero-actions > button,
  body[data-theme="light"] .hero-card .hero-actions > button {
    flex: none !important; width: 100% !important; min-width: 0 !important; max-width: 100% !important;
    padding: 0 9px !important; font-size: .78rem !important; line-height: 1.15 !important;
    white-space: normal !important; min-height: 55px !important;
  }
  body[data-theme="dark"] .hero-card .hero-actions > button svg,
  body[data-theme="light"] .hero-card .hero-actions > button svg { width: 16px !important; height: 16px !important; flex: 0 0 auto; }
}
@media (max-width: 350px) {
  .topbar .status-chip { display: none !important; }
  body[data-theme="dark"] .hero-card .hero-actions,
  body[data-theme="light"] .hero-card .hero-actions { grid-template-columns: 1fr !important; }
}

@media (max-width: 720px) {
  body[data-theme="dark"] .topbar .brand,
  body[data-theme="light"] .topbar .brand {
    width: auto !important; min-width: 0 !important; flex: 0 0 auto !important;
    gap: 7px !important; overflow: visible !important;
  }
  body[data-theme="dark"] .topbar .brand-logo,
  body[data-theme="light"] .topbar .brand-logo {
    width: 42px !important; min-width: 42px !important; height: 42px !important;
    flex: 0 0 42px !important;
  }
  body[data-theme="dark"] .topbar .brand strong,
  body[data-theme="light"] .topbar .brand strong { display: block !important; width: auto !important; }
  body[data-theme="dark"] .topbar .nav-actions,
  body[data-theme="light"] .topbar .nav-actions {
    width: auto !important; min-width: 0 !important; flex: 0 0 auto !important;
    justify-content: flex-end !important;
  }
  body[data-theme="dark"] .topbar .status-chip,
  body[data-theme="light"] .topbar .status-chip {
    width: auto !important; min-width: 0 !important; flex: 0 0 auto !important;
    padding: 8px 10px !important;
  }
}

/* A product of AKAORA TECHNOLOGIES — ownership branding (2026-11-18) */
.hero-product-credit { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 8px; margin: 20px 0 -15px; line-height: 1.4; }
.hero-product-credit .hero-product-label { color: #8e9691; font-size: .65rem; letter-spacing: .16em; font-weight: 800; }
.hero-product-credit strong { color: var(--orbit-lime); font-size: .82rem; font-weight: 800; letter-spacing: -.01em; }
.footer-product-copy { justify-content: center; }
.footer-company-identity { display: flex !important; flex-direction: column; align-items: flex-end; gap: 8px !important; text-align: right; }
.company-logo-frame { display: inline-flex; align-items: center; justify-content: center; width: 192px; min-height: 66px; background: #fafafa; border: 1px solid #e7e8e8; border-radius: 14px; padding: 12px 14px; box-shadow: 0 7px 22px rgba(0,0,0,.09); }
.company-logo-frame img { display: block; width: 100%; height: auto; object-fit: contain; }
.home-footer .company-logo-frame { flex: 0 0 auto; }
.form-product-note { padding: 17px 0 0; margin: 0; text-align: center; color: #8f9a98; font-size: .77rem; line-height: 1.45; }
.form-product-note strong { color: var(--orbit-lime); }
.feedback-brand-note { margin-top: 14px; font-size: .75rem; text-align: center; color: #959ca0; }
.feedback-brand-note strong { color: var(--orbit-lime); }
body[data-theme="light"] .form-product-note { color: #737a74; }
body[data-theme="light"] .form-product-note strong { color: #3d5421; }
body[data-theme="light"] .feedback-brand-note strong { color: #314b21; }
@media (max-width: 720px) {
 .hero-product-credit { margin: 17px 0 0; }
 .footer-company-identity { align-items: flex-start !important; text-align: left; }
 .company-logo-frame { width: 176px; min-height: 58px; }
 .home-footer .footer-company-identity { gap: 9px !important; }
}

/* Branding remains legible even before the app initializes theme state. */
.home-footer { background: transparent !important; border: 0 !important; box-shadow: none !important; color: #e7e9e5 !important; }
.home-footer > div > span { color: #a7adb0; }
@media (max-width: 720px) {
  .hero-card .hero-actions { display: grid !important; grid-template-columns: repeat(2,minmax(0,1fr)) !important; width: 100% !important; gap: 9px !important; }
  .hero-card .hero-actions > button { flex: none !important; width: 100% !important; min-width: 0 !important; max-width: 100% !important; white-space: normal !important; padding: 0 9px !important; font-size: .78rem !important; }
}
@media (max-width: 350px) { .hero-card .hero-actions { grid-template-columns: 1fr !important; } }
