:root {
  --paper: #f7f7f3;
  --panel: #fff;
  --ink: #242622;
  --muted: #656863;
  --faint: #e0e1d9;
  --coral: #ff8468;
  --ember: #bb482d;
  --sage: #296346;
  --focus: #9c412c;
  font-family: "DM Sans", "Inter", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
body {
  margin: 0;
  min-width: 300px;
  -webkit-font-smoothing: antialiased;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  touch-action: manipulation;
}
a {
  color: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.5;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
[tabindex="0"]:focus-visible {
  outline: 3px solid #b44c32;
  outline-offset: 3px;
}
input,
select {
  background: #fff;
  border: 1px solid #cdd0c7;
  border-radius: 7px;
  padding: 10px 12px;
  color: var(--ink);
  min-height: 42px;
  min-width: 0;
}
input::placeholder {
  color: #7f837a;
}
label {
  display: block;
  font-size: 13px;
  font-weight: 650;
  margin: 0 0 8px;
}
svg.ui-icon {
  display: block;
  flex: none;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
[data-icon] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.sr-only,
.skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip:focus {
  position: fixed;
  top: 12px;
  left: 12px;
  background: white;
  color: var(--ink);
  z-index: 20;
  padding: 10px;
}
.shell,
.top-inner {
  width: min(1240px, calc(100% - 104px));
  margin: auto;
}
.topbar {
  border-bottom: 1px solid var(--faint);
  background: #fbfbf8;
}
.top-inner {
  height: 75px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #232521;
}
.brand strong {
  font-size: 21px;
  font-weight: 720;
  letter-spacing: -1.05px;
}
.brandmark,
.footer-mark {
  background: #292a28;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 35px;
  height: 35px;
  border-radius: 9px;
}
.brandmark i,
.footer-mark i {
  display: block;
  background: var(--coral);
  width: 4px;
  transform: skew(-12deg);
}
.brandmark i:first-child,
.footer-mark i:first-child {
  height: 11px;
}
.brandmark i:nth-child(2),
.footer-mark i:nth-child(2) {
  height: 17px;
}
.brandmark i:last-child,
.footer-mark i:last-child {
  height: 22px;
}
.hub-brand {
  display: flex;
  align-items: center;
  gap: 4px;
  border-left: 1px solid #cfd1c9;
  padding-left: 18px;
  text-decoration: none;
  color: var(--muted);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 1.4px;
}
.hub-brand svg.ui-icon,
.footer a svg.ui-icon {
  width: 12px;
  height: 12px;
}
.top-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 13px;
}
.icon-button,
.tool {
  border: 0;
  background: transparent;
  color: var(--ink);
  padding: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  min-width: 36px;
  min-height: 36px;
}
.icon-button:hover,
.tool:hover {
  background: #ebede6;
}
.btn {
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  border-radius: 7px;
  padding: 10px 15px;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 660;
  text-decoration: none;
  transition:
    background 0.16s,
    transform 0.16s;
}
.btn:not(:disabled):active,
.device:not(:disabled):active,
.defaults-line:active {
  transform: translateY(1px);
}
.btn.ink {
  background: var(--ink);
  color: white;
}
.btn.ink:hover {
  background: #40423c;
}
.btn.coral {
  background: var(--coral);
  color: #271b17;
  border-color: #ff8c71;
}
.btn.coral:hover {
  background: #ff9e85;
}
.btn.outline {
  border-color: #d6d8cf;
  background: var(--panel);
}
.btn.outline:hover {
  background: #f4f5ef;
  border-color: #b8bcb0;
}
.btn.compact {
  min-height: 36px;
  padding: 8px 11px;
  font-size: 12px;
}
.btn.full {
  width: 100%;
}
.account-menu {
  position: relative;
}
.account-name {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #d6d8cf;
  background: #fff;
  border-radius: 7px;
  min-height: 38px;
  padding: 5px 10px 5px 6px;
  font-size: 13px;
  font-weight: 650;
}
.initials {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-family: "IBM Plex Mono", monospace;
  font-weight: 650;
  font-size: 12px;
  letter-spacing: 0.1px;
  flex: none;
  background: #ebe9df;
  color: #575340;
  border-radius: 9px;
  width: 34px;
  height: 34px;
}
.account-name .initials {
  height: 25px;
  width: 25px;
  border-radius: 5px;
  font-size: 10px;
}
.account-name .account-text {
  max-width: 170px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.account-actions {
  position: absolute;
  z-index: 5;
  top: calc(100% + 6px);
  right: 0;
  background: #fff;
  border: 1px solid var(--faint);
  padding: 5px;
  border-radius: 8px;
  box-shadow: 0 8px 18px #24251f12;
}
.account-actions button {
  border: 0;
  background: transparent;
  white-space: nowrap;
  text-align: left;
  padding: 9px 18px;
  min-width: 120px;
  color: var(--ink);
}
.account-actions button:hover {
  background: var(--paper);
}
.page-heading {
  padding: 44px 0 25px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #62665d;
  font:
    650 10px/1.4 "IBM Plex Mono",
    ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  text-transform: uppercase;
  letter-spacing: 1.65px;
}
.accent-line {
  width: 21px;
  height: 2px;
  background: #e97557;
  border-radius: 2px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: clamp(34px, 4.5vw, 54px);
  line-height: 1.06;
  font-weight: 600;
  letter-spacing: -2.8px;
  margin-top: 9px;
}
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 285px;
  background: #282a2a;
  color: #fff;
  border-radius: 15px;
}
.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 76% 95%, #59433b40, transparent 57%),
    linear-gradient(100deg, #242725, #30312e);
}
.hero-copy {
  position: relative;
  z-index: 2;
  padding: 31px 42px;
  width: 52%;
}
.hero-glyph {
  width: 32px;
  height: 25px;
  color: #ff9c83;
  margin-bottom: 15px;
}
.hero-glyph svg {
  width: 29px;
  height: 29px;
  stroke-width: 1.3;
}
.hero h2 {
  font-size: clamp(34px, 4.4vw, 60px);
  line-height: 1.04;
  font-weight: 560;
  letter-spacing: -3.2px;
}
.hero h2 > span {
  color: var(--coral);
}
.hero p {
  font-size: 15px;
  line-height: 1.54;
  max-width: 365px;
  color: #e3e3da;
  margin: 13px 0 23px;
}
.hero .btn {
  padding: 11px 18px;
}
.hero-visual {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 48%;
  overflow: hidden;
  isolation: isolate;
  background: radial-gradient(ellipse at 50% 64%, #b5825822, transparent 70%);
}
.visual-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(#e2dbca50 0.85px, transparent 0.9px);
  background-size: 16px 16px;
  mask-image: linear-gradient(90deg, transparent, #000 26%, #000 90%);
  opacity: 0.48;
}
.hero-visual img {
  position: absolute;
  width: 105%;
  height: 132%;
  object-fit: contain;
  left: -3%;
  top: -16%;
  filter: drop-shadow(3px 23px 12px #0005);
}
.reticle {
  position: absolute;
  width: 12px;
  height: 12px;
  z-index: 2;
  border: 0 solid #b3b1a26b;
}
.rt-tl {
  top: 13%;
  left: 9%;
  border-left-width: 1px;
  border-top-width: 1px;
}
.rt-tr {
  top: 13%;
  right: 9%;
  border-right-width: 1px;
  border-top-width: 1px;
}
.rt-bl {
  bottom: 13%;
  left: 9%;
  border-left-width: 1px;
  border-bottom-width: 1px;
}
.rt-br {
  bottom: 13%;
  right: 9%;
  border-bottom-width: 1px;
  border-right-width: 1px;
}
.lobby-columns {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 18px;
  margin-top: 22px;
}
.panel {
  background: var(--panel);
  border: 1px solid var(--faint);
  border-radius: 13px;
}
.recent-panel,
.join-panel {
  padding: 24px;
}
.panel-head,
.aside-heading {
  display: flex;
  align-items: center;
  gap: 10px;
}
.panel-head h2,
.files-title h2 {
  font-size: 21px;
  font-weight: 620;
  letter-spacing: -0.7px;
}
.section-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: #eeefe8;
  color: #484c40;
  flex: none;
}
.push {
  margin-left: auto;
}
.subtle {
  color: #676b61;
}
.subtle svg {
  width: 16px;
  height: 16px;
}
.recent-list {
  margin-top: 16px;
}
.empty-row {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70px;
  padding: 12px;
  border: 1px dashed #daddd2;
  border-radius: 8px;
  background: #fafbf7;
  color: #696e62;
  font-size: 13px;
  text-align: center;
}
.recent-row,
.file-row {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 12px 1px;
  text-decoration: none;
  border-top: 1px solid #e7e8e1;
}
.recent-row:first-child,
.file-row:first-child {
  border-top: 0;
}
.recent-row:hover .row-title,
.file-row:hover .row-title {
  text-decoration: underline;
}
.row-icon {
  width: 35px;
  height: 35px;
  flex: none;
  display: grid;
  place-items: center;
  background: #f2f3ed;
  border-radius: 8px;
  color: #5d6457;
}
.row-main {
  min-width: 0;
}
.row-title {
  display: block;
  font-size: 14px;
  font-weight: 650;
  overflow-wrap: anywhere;
}
.row-note {
  display: block;
  font-size: 11px;
  line-height: 1.5;
  color: var(--muted);
  margin-top: 3px;
}
.join-panel form {
  margin-top: 19px;
}
.joined-input {
  display: flex;
  gap: 7px;
}
.joined-input input {
  width: 100%;
  flex: 1;
}
.joined-input .btn {
  gap: 8px;
}
.joined-input .btn svg {
  width: 15px;
}
.defaults-line {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 4px;
  margin-top: 12px;
  border: 0;
  background: transparent;
  color: #686d63;
  text-align: left;
  font-size: 12px;
}
.defaults-line b {
  font-weight: 650;
  color: #474d42;
}
.defaults-line > span:first-child svg {
  width: 15px;
  height: 15px;
}
.edit-defaults {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 2px;
  color: var(--ink);
  font-weight: 650;
}
.edit-defaults svg {
  width: 14px;
}
.footer {
  margin-top: 36px;
  border-top: 1px solid var(--faint);
  padding: 18px 0 22px;
  color: #767b70;
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 11px;
}
.footer-mark {
  background: transparent;
  width: 18px;
  height: 17px;
  gap: 1.5px;
}
.footer-mark i {
  background: #8b8e83;
  width: 2px;
}
.footer-mark i:first-child {
  height: 7px;
}
.footer-mark i:nth-child(2) {
  height: 10px;
}
.footer-mark i:last-child {
  height: 14px;
}
.footer a {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  font-size: 10px;
  letter-spacing: 1px;
}
dialog {
  border: 1px solid #dbddd5;
  border-radius: 14px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 18px 80px #1118;
  padding: 27px;
  width: min(430px, calc(100vw - 30px));
  max-height: 90svh;
}
dialog::backdrop {
  background: #23282270;
  backdrop-filter: blur(4px);
}
.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
dialog h2 {
  font-weight: 620;
  letter-spacing: -1.1px;
  font-size: 28px;
}
dialog > p,
.capture-section > p {
  line-height: 1.55;
  color: var(--muted);
  font-size: 13px;
  margin: 8px 0 18px;
}
dialog input,
dialog select {
  width: 100%;
}
.dialog-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
}
.settings-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.field-error {
  margin-top: 9px;
  color: #9e3328;
  font-size: 13px;
  line-height: 1.45;
}
.toast {
  position: fixed;
  z-index: 12;
  bottom: 17px;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: min(550px, 90vw);
  background: #262824;
  color: white;
  border: 1px solid #696d61;
  border-radius: 9px;
  box-shadow: 0 5px 20px #1c201c24;
  padding: 12px 16px;
  font-size: 13px;
  line-height: 1.45;
}
.room-shell {
  padding-top: 24px;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
  text-decoration: none;
}
.back-link svg {
  width: 14px;
  height: 14px;
}
.room-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin: 24px 0;
  min-width: 0;
}
.room-heading > div {
  min-width: 0;
}
.room-heading h1 {
  font-size: clamp(31px, 4vw, 48px);
  letter-spacing: -2px;
  overflow-wrap: anywhere;
}
.room-heading .btn {
  flex: none;
}
.room-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
  margin-top: 10px;
}
#room-code {
  font-family: ui-monospace, Consolas, monospace;
  letter-spacing: 0.5px;
}
.meta-sep {
  height: 12px;
  width: 1px;
  background: var(--faint);
}
.connection {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.connection i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ac8d42;
}
.connection.live i {
  background: #3f8465;
}
.warning-bar,
.record-notice,
.consent {
  padding: 12px 15px;
  border: 1px solid #ead6a6;
  border-radius: 9px;
  background: #fbf3d9;
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 13px;
}
.warning-bar a {
  font-weight: 650;
}
.record-notice {
  background: #fff0e9;
  border-color: #efaf98;
  color: #8d3526;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 660;
}
.record-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #c34c37;
  flex: none;
}
.consent {
  background: #fff7eb;
  border-color: #edca9e;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.consent-text {
  margin-right: auto;
  flex: 1 1 230px;
}
.consent-text p {
  font-size: 12px;
  color: #6c614e;
}
.room-layout {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 17px;
}
.workspace-panel {
  min-width: 0;
  overflow: hidden;
}
.tabs {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 15px;
  border-bottom: 1px solid var(--faint);
}
.tabs button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--muted);
  padding: 15px 11px 13px;
  font-size: 13px;
  font-weight: 620;
}
.tabs button[aria-selected="true"] {
  color: var(--ink);
  border-bottom-color: #da6d51;
}
.tabs button:hover {
  color: var(--ink);
}
.tabs svg {
  width: 16px;
  height: 16px;
}
.stage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 8px;
  min-height: 310px;
  padding: 10px;
  background: #efefe9;
}
.stage-tile {
  min-width: 0;
  min-height: 170px;
  position: relative;
  overflow: hidden;
  border-radius: 9px;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse at 68% 26%, #3e423d, transparent 70%), #2d302d;
  color: white;
}
.stage-tile.screen {
  grid-column: 1/-1;
  min-height: 220px;
  aspect-ratio: 16/9;
  background: #222623;
}
.stage-tile video {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #1d211d;
}
.stage-tile .stage-avatar {
  width: 67px;
  height: 67px;
  background: #4e534b;
  border: 1px solid #6a7165;
  color: #f0f1e8;
  font-size: 23px;
  border-radius: 17px;
}
.stage-label {
  pointer-events: none;
  position: absolute;
  z-index: 1;
  left: 10px;
  bottom: 10px;
  max-width: calc(100% - 20px);
  padding: 5px 8px;
  gap: 6px;
  display: flex;
  align-items: center;
  background: #1b211dd9;
  border: 1px solid #ffffff1f;
  border-radius: 5px;
  font-size: 12px;
  color: #fafbf9;
}
.stage-label > span:last-child {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.stage-label svg {
  height: 13px;
  width: 13px;
}
.controls {
  border-top: 1px solid var(--faint);
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px;
  flex-wrap: wrap;
}
.device,
.leave {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid #d9dbd3;
  border-radius: 6px;
  background: #fff;
  color: #3e453b;
  min-height: 36px;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 620;
}
.device[aria-pressed="true"] {
  background: #e7efe6;
  color: #244f35;
  border-color: #acbeab;
}
.device svg,
.leave svg {
  width: 15px;
  height: 15px;
}
.leave {
  margin-left: auto;
  color: #9e3f2f;
  border-color: #e5c9bf;
  background: #fff8f4;
}
.people-panel {
  padding: 19px;
}
.people-panel .panel-head h2 {
  font-size: 18px;
}
.count {
  font-family: ui-monospace, monospace;
  background: #eff0e9;
  border-radius: 5px;
  color: #64695e;
  padding: 3px 7px;
  font-size: 12px;
}
#people-list {
  margin: 10px 0;
}
.person {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 0;
}
.person-text {
  min-width: 0;
}
.person-text b {
  font-size: 13px;
  overflow-wrap: anywhere;
  display: block;
}
.person-text small {
  color: var(--muted);
  font-size: 11px;
}
.person-devices {
  margin-left: auto;
  color: #858a7d;
  display: flex;
  gap: 5px;
}
.person-devices svg {
  width: 13px;
  height: 13px;
}
.capture-section {
  border-top: 1px solid var(--faint);
  padding-top: 17px;
}
.aside-heading h3 {
  font-size: 15px;
  font-weight: 670;
  letter-spacing: -0.3px;
}
.aside-heading svg {
  width: 15px;
  height: 15px;
  color: #b85a43;
}
.capture-section > p {
  font-size: 12px;
  margin: 8px 0 14px;
}
.capture-section select {
  width: 100%;
  min-height: 36px;
  padding: 7px 9px;
  font-size: 12px;
  margin-bottom: 10px;
}
.capture-section label {
  font-size: 12px;
  margin-bottom: 5px;
}
.capture-section .btn.full {
  font-size: 12px;
  min-height: 36px;
}
.record-row {
  border-top: 1px solid var(--faint);
  padding-top: 9px;
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.record-row .btn {
  margin-left: auto;
}
.record-row small,
.board-footer small {
  font-size: 11px;
  color: var(--muted);
}
.record-row b {
  display: block;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.board-tools,
.board-footer,
.files-title {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
}
.board-tools {
  flex-wrap: wrap;
  border-bottom: 1px solid var(--faint);
  gap: 10px;
}
.segmented {
  display: flex;
  gap: 2px;
  background: #edeee7;
  padding: 2px;
  border-radius: 6px;
}
.tool {
  padding: 6px;
  min-height: 30px;
  min-width: 30px;
}
.tool[aria-pressed="true"] {
  background: #fff;
  box-shadow: 0 1px 3px #0002;
}
.tool svg {
  width: 15px;
  height: 15px;
}
.palette {
  border: 0;
  display: flex;
  gap: 7px;
  margin: 0;
  padding: 0;
}
.swatch {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px #cdd0c6;
}
.swatch[aria-pressed="true"] {
  box-shadow: 0 0 0 2px #272c23;
}
#pen-width {
  padding: 4px 6px;
  min-height: 30px;
  font-size: 12px;
}
.board-wrap {
  background-color: #fff;
  background-image: radial-gradient(#cdd1c4 0.7px, transparent 0.9px);
  background-size: 15px 15px;
}
#board-canvas {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  display: block;
  touch-action: none;
  cursor: crosshair;
}
#board-canvas.eraser {
  cursor: cell;
}
.board-footer {
  justify-content: space-between;
  border-top: 1px solid var(--faint);
}
.files-title {
  justify-content: space-between;
}
.files-title h2 {
  font-size: 18px;
}
#artifacts {
  min-height: 200px;
  padding: 0 15px 14px;
}
.audio-resume {
  padding: 8px 12px;
}
@media (min-width: 1500px) {
  .hero {
    min-height: 315px;
  }
  .hero-copy {
    padding-left: 50px;
  }
}
@media (max-width: 1000px) {
  .shell,
  .top-inner {
    width: calc(100% - 56px);
  }
  .room-layout {
    grid-template-columns: minmax(0, 1fr) 264px;
  }
  .people-panel {
    padding: 15px;
  }
  .hero-copy {
    padding-left: 30px;
  }
  .hero h2 {
    letter-spacing: -2.4px;
  }
  .controls {
    gap: 5px;
  }
  .device,
  .leave {
    padding: 8px;
  }
  .lobby-columns {
    grid-template-columns: 1.15fr 1fr;
  }
}
@media (max-width: 760px) {
  .shell,
  .top-inner {
    width: calc(100% - 32px);
  }
  .top-inner {
    height: 62px;
    gap: 11px;
  }
  .hub-brand {
    padding-left: 11px;
  }
  .top-actions {
    gap: 3px;
  }
  .page-heading {
    padding: 30px 0 20px;
  }
  .hero-copy {
    padding: 25px;
    width: 64%;
  }
  .hero {
    min-height: 257px;
  }
  .hero-visual {
    width: 38%;
  }
  .hero-visual img {
    width: 140%;
    left: -17%;
  }
  .hero p {
    font-size: 14px;
  }
  .hero h2 {
    font-size: 38px;
  }
  .lobby-columns {
    grid-template-columns: 1fr;
  }
  .join-panel {
    grid-row: 1;
  }
  .recent-panel,
  .join-panel {
    padding: 18px;
  }
  .room-layout {
    grid-template-columns: 1fr;
  }
  .room-heading {
    margin: 17px 0;
  }
  .room-heading h1 {
    font-size: 34px;
  }
  .people-panel {
    padding: 16px;
  }
  .stage-grid {
    min-height: 265px;
  }
  .footer {
    margin-top: 22px;
  }
  .room-shell {
    padding-top: 16px;
  }
  .recent-list {
    max-height: 300px;
    overflow: auto;
  }
  .brand strong {
    font-size: 19px;
  }
  .room-heading .btn {
    font-size: 12px;
    min-height: 37px;
    padding: 8px;
  }
}
@media (max-width: 480px) {
  .hub-brand {
    display: none;
  }
  .account-name .account-text {
    max-width: 83px;
  }
  .hero-copy {
    padding: 21px 17px;
    width: 70%;
  }
  .hero h2 {
    font-size: 32px;
    letter-spacing: -1.8px;
  }
  .hero p {
    font-size: 13px;
    max-width: 205px;
  }
  .hero-visual {
    width: 37%;
    right: -3%;
    overflow: visible;
  }
  .hero-visual img {
    width: 137%;
    height: 100%;
    left: -15%;
    top: 4%;
  }
  .reticle {
    display: none;
  }
  .hero {
    min-height: 241px;
  }
  .brand {
    gap: 7px;
  }
  .defaults-line {
    gap: 6px;
    font-size: 11px;
  }
  .defaults-line > span:first-child {
    display: none;
  }
  .room-heading {
    align-items: flex-start;
  }
  .room-heading h1 {
    font-size: 30px;
  }
  .tabs {
    padding: 0 4px;
  }
  .tabs button {
    padding: 12px 8px;
  }
  .controls .device {
    flex: 1;
  }
  .controls .device > span:nth-child(2) {
    white-space: nowrap;
  }
  .board-tools {
    gap: 8px;
  }
  .stage-tile {
    min-height: 150px;
  }
  .top-actions .btn {
    font-size: 12px;
    min-height: 34px;
    padding: 7px;
  }
  .eyebrow {
    font-size: 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

#individual-recording { margin: .8rem 0; }
#individual-recording summary { cursor: pointer; }
#capture-permissions p { font-size: .86rem; }
