.beta-demo { margin: 18px 0; overflow: hidden; border: 1px solid #d9e1e7; border-radius: 12px; background: #fff; }
.beta-demo-toolbar { display: flex; align-items: center; gap: 12px; height: 38px; padding: 0 10px 0 13px; border-bottom: 1px solid #e6ebef; background: #f5f8fa; color: var(--muted); }
.beta-demo-label { display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-size: 11px; font-weight: 700; }
.beta-demo-label svg { width: 13px; height: 13px; }
.beta-demo-domain { margin-left: auto; font-family: Arial, sans-serif; font-size: 10px; color: #72808a; }
.beta-demo-controls { display: flex; gap: 2px; margin-left: auto; }
.beta-demo-controls button { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: var(--blue); }
.beta-demo-controls button:hover { background: var(--beta-tint); }
.beta-demo-controls svg { width: 15px; height: 15px; }
.beta-demo-viewport { position: relative; height: 252px; overflow: hidden; background: #f8f9fc; isolation: isolate; }
.beta-demo-world { position: absolute; top: 0; left: 0; width: 640px; height: 350px; transform-origin: 0 0; pointer-events: none; user-select: none; color: #3c4043; font: 14px/1.4 Arial, sans-serif; text-align: left; }
.beta-demo-world svg { flex-shrink: 0; width: 20px; height: 20px; }
.beta-demo-world * { box-sizing: border-box; }
.beta-demo-meter { height: 2px; background: #edf1f5; }
.beta-demo-meter span { display: block; width: 100%; height: 100%; background: var(--blue); transform: scaleX(0); transform-origin: left; }
.beta-demo-accessibility-note { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.demo-groups-page { position: absolute; inset: 0; background: #fff; }
.demo-groups-header { display: flex; align-items: center; gap: 13px; height: 53px; padding: 0 18px; border-bottom: 1px solid #f0f1f2; }
.demo-groups-header > img { width: 31px; height: 31px; object-fit: contain; }
.demo-groups-header > span:not([class]) { margin-left: -7px; font-size: 25px; color: #5f6368; }
.demo-header-search { display: flex; margin-left: auto; }
.demo-account { display: grid; place-items: center; width: 25px; height: 25px; margin-left: 10px; border-radius: 50%; background: #e8edf2; color: #718292; }
.demo-account svg { width: 16px; height: 16px; }
.demo-groups-sidebar { position: absolute; top: 65px; bottom: 0; left: 0; width: 158px; padding: 0 9px; }
.demo-groups-sidebar > div { display: flex; align-items: center; gap: 9px; height: 39px; padding-left: 10px; font-size: 11px; white-space: nowrap; }
.demo-groups-sidebar svg { width: 17px; height: 17px; color: #777d81; }
.demo-groups-sidebar > .demo-new-conversation { height: 43px; margin: 0 0 18px -2px; gap: 9px; border-radius: 0 25px 25px 0; box-shadow: 0 1px 3px #20212440; font-size: 10px; }
.demo-google-plus { font-size: 32px; line-height: 1; font-weight: 400; background: conic-gradient(#4285f4 0 25%,#34a853 0 50%,#fbbc05 0 75%,#ea4335 0); color: transparent; background-clip: text; }
.demo-groups-sidebar > .demo-sidebar-divider { height: 1px; margin: 20px 0 9px; padding: 0; background: #e5e7e9; }
.demo-groups-main { position: absolute; top: 53px; bottom: 0; left: 169px; right: 18px; }
.demo-group-title { position: absolute; top: 19px; left: 7px; font-size: 21px; color: #202124; white-space: nowrap; }
.demo-google-outline { display: inline-flex; align-items: center; justify-content: center; height: 34px; padding: 0 17px; border: 1px solid #dadce0; border-radius: 4px; background: #fff; color: #1a73e8; font-size: 14px; font-weight: 600; }
.demo-group-join { position: absolute; top: 16px; left: 270px; }
.demo-list-tools { position: absolute; top: 75px; left: 0; right: 0; display: flex; align-items: center; gap: 20px; height: 39px; padding: 0 9px 11px; border-bottom: 1px solid #dadce0; color: #70757a; }
.demo-list-tools > span:last-child { margin-left: auto; font-size: 10px; }
.demo-checkbox { flex-shrink: 0; display: inline-block; width: 15px; height: 15px; border: 1.7px solid #74797d; border-radius: 2px; }
.demo-conversation { position: absolute; top: 115px; left: 0; right: 0; display: flex; align-items: center; gap: 13px; min-height: 70px; padding: 12px 9px; border-bottom: 1px solid #eee; }
.demo-conversation strong { display: block; font-size: 12px; font-weight: 600; color: #202124; }
.demo-conversation p { margin: 5px 0 0; font-size: 10px; color: #777; }
.demo-join-layer { position: absolute; inset: 0; opacity: 0; visibility: hidden; }
.demo-join-shade { position: absolute; inset: 0; background: #20212466; }
.demo-join-dialog { position: absolute; top: 24px; left: 120px; width: 400px; height: 302px; padding: 23px 24px; border-radius: 8px; background: white; box-shadow: 0 8px 24px #20212440; }
.demo-join-title { margin-bottom: 19px; font-size: 21px; line-height: 1.25; color: #202124; }
.demo-profile-option { display: flex; align-items: center; gap: 9px; font-size: 12px; }
.demo-checkbox.is-checked { display: grid; place-items: center; border-color: #1a73e8; background: #1a73e8; color: white; }
.demo-checkbox.is-checked svg { width: 12px; height: 12px; stroke-width: 3px; }
.demo-form-label { margin-top: 17px; margin-bottom: 4px; font-size: 11px; color: #5f6368; }
.demo-name-field { height: 30px; padding: 2px 0 7px; border-bottom: 1px solid #dadce0; color: #80868b; }
.demo-subscription-field { display: flex; align-items: center; justify-content: space-between; height: 30px; border-bottom: 1px solid #dadce0; }
.demo-subscription-field svg { width: 17px; height: 17px; }
.demo-join-actions { display: flex; align-items: center; justify-content: flex-end; gap: 25px; margin-top: 25px; color: #1a73e8; font-size: 13px; font-weight: 600; }
.demo-google-solid { display: inline-flex; align-items: center; justify-content: center; height: 34px; padding: 0 21px; border-radius: 4px; background: #1a73e8; color: white; }
.beta-demo[data-phase="confirm"] .demo-join-layer { opacity: 1; visibility: visible; }
.beta-demo[data-phase="joined"] .demo-group-join { opacity: 0; }
.demo-play-page { position: absolute; top: 0; left: 0; width: 640px; }
.demo-play-page img { display: block; width: 640px; height: auto; max-width: none; }
.demo-play-confirmed { opacity: 0; }
.demo-focus-ring { position: absolute; z-index: 3; border: 2px solid #1a73e8; box-shadow: 0 0 0 4px #1a73e820; opacity: 0; }
.demo-click-ring { position: absolute; z-index: 5; top: -15px; left: -15px; width: 30px; height: 30px; border: 2px solid #0b57d0; border-radius: 50%; opacity: 0; background: #4285f422; }
.beta-demo-world > .demo-cursor { position: absolute; z-index: 6; top: 0; left: 0; width: 32px; height: 42.667px; aspect-ratio: 3 / 4; opacity: 0; overflow: visible; filter: drop-shadow(0 1px 1px #0003); }
.beta-step-link.is-demo-ready { outline: 3px solid var(--beta-tint); outline-offset: 3px; }
@media (prefers-reduced-motion:no-preference) { .demo-join-layer { transition: opacity 220ms ease-out, visibility 220ms; } .demo-play-page { transition: opacity 200ms ease-out; } }
@media (max-width:600px) { .beta-demo { margin-block: 16px; } .beta-demo-viewport { height: 255px; } .beta-demo-toolbar { gap: 5px; padding-left: 10px; } .beta-demo-domain { font-size: 9px; } .beta-demo-controls button { width: 30px; } }
@media (max-width:360px) { .beta-demo-domain { display: none; } }
@media (min-width:601px) and (max-height:760px) {
  .beta-header { padding-top: 15px; padding-bottom: 10px; }
  .beta-panel { padding-top: 12px; padding-bottom: 18px; }
  .beta-demo { margin-block: 14px; }
}
@media (max-height:640px) { .beta-demo-viewport { height: 218px; } }
