:root {
  color-scheme: dark;
  --bg: #303030;
  --sidebar: #2c2c2c;
  --line: #ffffff0e;
  --muted: #858585;
  --text: #d4d4d4;
  --call-red: #a44248;
  --call-red-hover: #b64b52;
}
* {
  box-sizing: border-box;
  overscroll-behavior: none;
}
html,
body {
  height: 100%;
  overflow: hidden;
}
#app {
  height: 100%;
  overflow: hidden;
}
body {
  margin: 0;
  background: #282828;
  color: var(--text);
  font:
    13px -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
  color: inherit;
  border: 0;
  background: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button:hover {
  color: #fff;
}
button:disabled {
  opacity: 0.4;
  cursor: default;
}
.icon {
  width: 17px;
  height: 17px;
  fill: currentColor;
  stroke: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
button:focus-visible,
a:focus-visible {
  outline: 1px solid #aaa;
  outline-offset: 3px;
}
.shell {
  display: flex;
  height: 100dvh;
  min-height: 0;
  overflow: hidden;
  padding: 8px 8px 8px 0;
}
.sidebar {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 222px;
  padding: 19px 13px 10px;
  display: flex;
  flex-direction: column;
}
.workspace {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 10px 26px;
  font-size: 12px;
  font-weight: 550;
  color: #aaa;
}
.workspace .brand-logo {
  flex: none;
  width: 18px;
  height: 18px;
  margin-right: 8px;
  color: #d6d6d6;
}
.workspace > span {
  margin-right: auto;
}
/* Optically centre all-lowercase wordmarks (x-height) on the logo. */
.workspace > span.lowercase {
  transform: translateY(-1px);
}
.workspace button {
  color: #737373;
  padding: 0;
}
.workspace .icon {
  width: 13px;
  height: 13px;
}
.nav,
.side-rooms {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.nav button,
.side-rooms button {
  display: flex;
  align-items: center;
  gap: 11px;
  text-align: left;
  padding: 9px 12px;
  border-radius: 7px;
  color: #aaa;
  font-size: 12px;
  min-width: 0;
}
.side-rooms button span {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.nav button:hover,
.side-rooms button:hover {
  background: #ffffff05;
}
.nav button.active,
.side-rooms button.active {
  background: linear-gradient(#ffffff15, #ffffff0c);
  box-shadow:
    inset 0 1px #ffffff1b,
    inset 0 0 0 1px #ffffff08;
  color: #e1e1e1;
}
.nav .icon,
.side-rooms .icon {
  width: 15px;
  height: 15px;
  color: #888;
}
.active .icon {
  color: #bcbcbc;
}
.side-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #737373;
  font-size: 10px;
  padding: 28px 12px 13px;
}
.side-label button {
  padding: 0;
  display: flex;
}
.side-label .icon {
  width: 13px;
  height: 13px;
}
.sidebar-bottom {
  margin-top: auto;
}
.sidebar-tool {
  display: flex;
  gap: 11px;
  align-items: center;
  padding: 10px 12px;
  color: #888;
  font-size: 11px;
  width: 100%;
}
.sidebar-tool .icon {
  width: 14px;
  height: 14px;
}
.account {
  position: relative;
  border-top: 1px solid var(--line);
  margin: 10px 0 0;
  padding-top: 8px;
}
.account-trigger {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 6px 8px;
  border-radius: 7px;
  color: #a8a8a8;
  font-size: 11px;
  text-align: left;
}
.account-trigger:hover,
.account-trigger[aria-expanded="true"] {
  background: #ffffff0a;
  color: var(--text);
}
.account-trigger .icon {
  width: 13px;
  height: 13px;
  margin-left: auto;
  color: #737373;
}
.account-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.avatar {
  flex: none;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #909090;
  color: #171717;
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.02em;
}
.account-menu {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(100% + 6px);
  z-index: 30;
  padding: 5px;
  background: var(--sidebar);
  border: 1px solid #ffffff1a;
  border-radius: 9px;
  box-shadow: 0 10px 30px #0007;
}
.account-menu[hidden] {
  display: none;
}
.account-menu-id {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 9px 9px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  color: var(--text);
  overflow: hidden;
}
.account-menu-id small {
  color: var(--muted);
  font-size: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.account-menu button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 9px;
  border-radius: 6px;
  color: #b0b0b0;
  font-size: 11px;
  text-align: left;
}
.account-menu button .icon {
  width: 13px;
  height: 13px;
}
.account-menu button:hover,
.account-menu button:focus-visible,
.account-menu button.active {
  background: #ffffff0d;
  color: var(--text);
  outline: none;
}
.account-menu-note {
  margin: 0;
  padding: 8px 9px;
  color: var(--muted);
  font-size: 10px;
}
.main {
  margin-left: 222px;
  flex: 1;
  min-width: 0;
  min-height: 0;
  max-height: 100%;
  background: var(--bg);
  border: 1px solid #151515;
  border-radius: 10px;
  box-shadow: inset 0 0 0 1px #ffffff08;
  overflow-x: hidden;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.topbar {
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #222;
  padding: 0 17px;
  flex-shrink: 0;
}
.tab-title {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  color: #b4b4b4;
}
.tab-title .icon {
  width: 14px;
  height: 14px;
  color: #929292;
}
.top-actions {
  display: flex;
  gap: 16px;
}
.top-actions button {
  padding: 0;
  display: flex;
  color: #808080;
}
.top-actions .icon {
  width: 15px;
  height: 15px;
}
.pane-toolbar {
  min-height: 66px;
  padding: 17px 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  gap: 15px;
}
.pane-toolbar > span {
  font-size: 14px;
  font-weight: 500;
  display: flex;
  gap: 12px;
  align-items: center;
}
.pane-toolbar small {
  font-size: 10px;
  font-weight: 400;
  color: #707070;
}
.actions {
  display: flex;
  gap: 8px;
  align-items: center;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #ffffff17;
  border-radius: 5px;
  background: #ffffff03;
  padding: 8px 11px;
  font-size: 11px;
  line-height: 1.25;
  white-space: nowrap;
}
.button:hover {
  background: #ffffff08;
}
.button .icon {
  width: 13px;
  height: 13px;
}
.button.primary {
  background: #d1d1d1;
  color: #292929;
  border-color: #ddd;
}
.button.primary:hover {
  background: #e2e2e2;
}
.button.compact {
  padding: 6px 9px;
  font-size: 10px;
}
.button.compact .icon {
  width: 11px;
  height: 11px;
}
.meeting-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 276px;
  flex: 1;
}
.list-pane {
  min-width: 0;
}
.detail-pane {
  border-left: 1px solid #242424;
  background: #2d2d2d;
  padding-top: 6px;
  display: flex;
  flex-direction: column;
}
.section-heading {
  height: 44px;
  padding: 0 25px;
  font-size: 10px;
  color: #8e8e8e;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.section-heading > span {
  color: #666;
}
.section-heading button {
  display: flex;
  padding: 0;
}
.section-heading .icon {
  width: 13px;
  height: 13px;
}
.muted-heading {
  margin-top: 24px;
}
.room-strip {
  padding: 22px 25px;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.room-strip > span {
  width: 100%;
  color: #777;
  font-size: 10px;
  margin-bottom: 5px;
}
.room-strip button {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 8px 10px;
  border: 1px solid #ffffff0e;
  border-radius: 4px;
  font-size: 11px;
  background: #ffffff02;
}
.room-strip .icon {
  width: 11px;
  height: 11px;
  color: #888;
}
.meeting-row {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 25px;
  min-height: 76px;
  border-bottom: 1px solid var(--line);
}
.meeting-row:hover {
  background: #ffffff02;
}
.meeting-time {
  font-size: 11px;
  width: 64px;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
  color: #aaa;
}
.meeting-time small {
  display: block;
  margin-top: 7px;
  font-size: 10px;
  color: #696969;
}
.meeting-info {
  flex: 1;
  min-width: 0;
}
.meeting-info > button {
  font-size: 12px;
  padding: 0;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  color: #d0d0d0;
}
.meeting-info > div {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  color: #777;
  margin-top: 7px;
}
.meeting-info > div span {
  color: #555;
}
.icon-button {
  display: flex;
  color: #777;
  padding: 0;
}
.icon-button .icon {
  width: 14px;
  height: 14px;
}
.room-header {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 25px;
  border-bottom: 1px solid var(--line);
}
.room-header > .icon {
  width: 24px;
  height: 24px;
  color: #8b8b8b;
}
.room-header strong {
  font-size: 13px;
  font-weight: 500;
}
.room-header p {
  font-size: 10px;
  color: #777;
  margin: 7px 0 0;
}
.room-header > .text-button,
.room-header > .link-actions {
  margin-left: auto;
}
.link-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.call-header .link-actions {
  gap: 8px;
}
.guest-entry #passcode {
  font-size: 20px;
  letter-spacing: 0.4em;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.guest-entry #passcode::placeholder {
  color: #ffffff26;
}
.text-button {
  font-size: 10px;
  color: #999;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0;
}
.text-button .icon {
  width: 12px;
  height: 12px;
}
.empty {
  font-size: 11px;
  color: #686868;
  padding: 29px 25px;
}
.detail-footer {
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.mini-calendar {
  padding: 15px 16px;
  border-bottom: 1px solid var(--line);
}
.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 0 20px;
  gap: 5px;
}
.calendar-header strong {
  font-weight: 500;
  font-size: 12px;
  color: #b6b6b6;
}
.calendar-header > div {
  display: flex;
  align-items: center;
  gap: 4px;
}
.calendar-header button {
  padding: 0;
  color: #8b8b8b;
  border-radius: 4px;
}
.calendar-header button:hover {
  background: #ffffff0d;
}
.calendar-header .calendar-nav-icon {
  width: 22px;
  height: 22px;
}
.calendar-header .calendar-nav-icon .icon {
  width: 14px;
  height: 14px;
}
.calendar-header #today-month {
  height: 22px;
  padding: 0 6px;
  font-size: 11px;
}
.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  color: #686868;
  font-size: 10px;
  text-align: center;
  padding: 0 0 12px;
}
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}
.calendar-day {
  position: relative;
  min-width: 0;
  text-align: left;
  min-height: 100px;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  padding: 10px 7px;
  color: #aaa;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.calendar-day:nth-child(7n) {
  border-right: 0;
}
.calendar-day:hover {
  background: #ffffff04;
}
.calendar-day.outside {
  color: #535353;
}
.calendar-day.selected {
  background: #ffffff05;
}
.day-number {
  font-size: 11px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 4px;
}
.today .day-number {
  background: #bfbfbf;
  color: #272727;
}
.calendar-event {
  font-size: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  background: #ffffff0a;
  border: 1px solid #ffffff0b;
  border-radius: 3px;
  padding: 4px;
  color: #b5b5b5;
}
.calendar-more {
  font-size: 9px;
  color: #777;
}
.mini-calendar .calendar-day {
  min-height: 32px;
  height: 32px;
  border: 0;
  padding: 4px;
  align-items: center;
}
.mini-calendar .calendar-day.selected {
  border-radius: 4px;
}
.mini-calendar .day-number {
  font-size: 10px;
  height: 22px;
  width: 22px;
}
.mini-calendar .calendar-event {
  font-size: 0;
  padding: 0;
  border: 0;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  position: absolute;
  bottom: 1px;
  background: #a0a0a0;
}
.mini-calendar .calendar-event ~ .calendar-event,
.mini-calendar .calendar-more {
  display: none;
}
.mini-calendar .calendar-weekdays {
  font-size: 9px;
  padding-bottom: 7px;
}
.mini-calendar .calendar-header {
  padding-bottom: 18px;
}
.mini-calendar .calendar-header strong {
  font-size: 11px;
}
.calendar-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  flex: 1;
}
.calendar-pane {
  padding: 25px 25px 0;
  min-width: 0;
}
.calendar-pane .calendar-header {
  padding-bottom: 27px;
}
.calendar-pane .calendar-header strong {
  font-size: 15px;
}
.day-pane {
  border-left: 1px solid #242424;
  background: #2d2d2d;
}
.day-pane .meeting-row {
  padding: 17px 16px;
  gap: 10px;
  flex-wrap: wrap;
}
.day-pane .meeting-time {
  width: 59px;
}
.day-pane .meeting-info {
  min-width: 160px;
}
.day-pane .meeting-row > .button {
  margin-left: 69px;
}
.settings {
  max-width: 850px;
  padding: 0 25px;
}
.setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
}
.setting-row h3 {
  font-size: 12px;
  font-weight: 500;
  margin: 0 0 7px;
}
.setting-row p,
.setting-row > span,
.setting-row code {
  font-size: 11px;
  color: #858585;
  margin: 0;
}
.setting-row code {
  background: #ffffff04;
  padding: 7px;
  border-radius: 4px;
}
dialog {
  background: #303030;
  color: var(--text);
  border: 1px solid #505050;
  border-radius: 8px;
  width: min(440px, calc(100vw - 32px));
  padding: 24px;
  box-shadow: 0 25px 70px #0006;
}
dialog::backdrop {
  background: #1118;
}
dialog h2 {
  font-weight: 500;
  font-size: 15px;
  margin: 0 0 16px;
}
dialog p {
  font-size: 11px;
  color: #909090;
  line-height: 1.7;
}
dialog p:empty {
  display: none;
}
.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.close {
  color: #888;
  padding: 0;
  display: flex;
}
.close .icon {
  width: 15px;
  height: 15px;
}
label {
  display: block;
  font-size: 11px;
  color: #aaa;
  margin: 16px 0 8px;
}
input,
select,
textarea {
  background: #292929;
  color: #ccc;
  border: 1px solid #ffffff16;
  border-radius: 4px;
  width: 100%;
  padding: 9px 10px;
  font-size: 12px;
  outline-offset: 3px;
}
select {
  appearance: none;
  -webkit-appearance: none;
  min-height: 36px;
  line-height: 16px;
  padding-right: 34px;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2025%2024%22%3E%3Cpath%20fill%3D%22%23aaa%22%20d%3D%22M5.548%209.095a.75.75%200%200%201%201.06%200l5.72%205.72l5.72-5.72a.75.75%200%200%201%201.06%201.06l-6.25%206.25a.75.75%200%200%201-1.06%200l-6.25-6.25a.75.75%200%200%201%200-1.06%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 11px center;
  background-size: 14px 14px;
}
.form-row > * {
  min-width: 0;
}
input::placeholder,
textarea::placeholder {
  color: #666;
}
textarea {
  resize: vertical;
  min-height: 65px;
}
.form-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 12px;
}
.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 22px;
}
.error {
  color: #d6a6a0;
  font-size: 11px;
  margin-top: 12px;
}
.search-results,
.room-picker {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 12px;
}
.search-results button {
  padding: 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 12px;
}
.search-results small {
  display: block;
  margin-top: 5px;
  color: #777;
}
.room-picker .button {
  justify-content: flex-start;
  padding: 12px;
}
.room-picker .button .icon:last-child {
  margin-left: auto;
}
#toast {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translate(-50%, 15px);
  background: #454545;
  color: #ddd;
  border: 1px solid #666;
  border-radius: 5px;
  padding: 10px 15px;
  font-size: 11px;
  opacity: 0;
  pointer-events: none;
  transition: 0.15s;
  z-index: 100;
  max-width: calc(100vw - 30px);
}
#toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
.calendar-instructions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.calendar-instructions > .actions {
  flex-wrap: wrap;
}
.calendar-instructions strong {
  font-size: 11px;
  font-weight: 500;
}
.calendar-instructions p {
  margin: 0;
}
.calendar-instructions .calendar-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 9px 10px;
  border: 1px solid #ffffff0a;
  border-radius: 5px;
  background: #ffffff03;
  font-size: 10px;
  line-height: 1.5;
}
.calendar-note .icon {
  flex: 0 0 13px;
  width: 13px;
  height: 13px;
  margin-top: 1px;
}
.calendar-instructions > .error:empty {
  display: none;
}
.calendar-instructions > .form-actions {
  margin-top: 4px;
}
.small-note {
  font-size: 10px !important;
  color: #757575 !important;
  margin: 22px 0;
}
.content,
.meeting-page {
  padding: 25px;
}
.call-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.call-header h2 {
  font-size: 14px;
  font-weight: 500;
  margin: 0;
}
.call-header p {
  font-size: 11px;
  color: #858585;
  margin: 8px 0 0;
}
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 10px;
  min-height: 60vh;
}
.video-tile {
  background: #272727;
  border: 1px solid #ffffff0c;
  border-radius: 6px;
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.video-tile video {
  width: 100%;
  height: 100%;
  position: absolute;
  object-fit: cover;
}
.video-tile .large-avatar {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: #3e3e3e;
  color: #b9b9b9;
  display: grid;
  place-items: center;
  font-size: 19px;
}
.video-tile span {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: #2229;
  padding: 5px 7px;
  border-radius: 4px;
  font-size: 10px;
}
.call-controls {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}
.call-controls button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  background: #ffffff07;
  border: 1px solid #ffffff12;
  border-radius: 5px;
  font-size: 11px;
}
.call-controls button.off {
  background: var(--call-red);
}
.call-controls button.leave {
  background: var(--call-red);
  color: #eee;
}
.call-note {
  display: none;
}
.prejoin {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 32px;
  align-items: center;
  max-width: 1000px;
  margin: 9vh auto;
}
.prejoin h2 {
  font-size: 18px;
  font-weight: 500;
}
.prejoin p {
  font-size: 11px;
  color: #888;
  line-height: 1.7;
}
.prejoin p:empty {
  display: none;
}
.prejoin .actions {
  margin: 22px 0;
}
.eyebrow {
  display: none;
}
.login {
  max-width: 330px;
  margin: 16vh auto;
}
.login h1 {
  font-size: 21px;
  font-weight: 500;
}
.login p {
  font-size: 12px;
  color: #888;
}
.login .workspace-mark {
  display: flex;
  color: #f2f2f2;
  margin-bottom: 18px;
}
.login .workspace-mark .brand-logo {
  width: 34px;
  height: 34px;
}
.login .button {
  width: 100%;
  margin-top: 18px;
}
.login small {
  display: none;
}
@media (min-width: 1600px) {
  .meeting-layout {
    grid-template-columns: minmax(0, 1fr) 320px;
  }
  .detail-pane .mini-calendar {
    padding: 20px;
  }
  .mini-calendar .calendar-day {
    height: 38px;
    min-height: 38px;
  }
}
@media (max-width: 1100px) {
  .sidebar {
    width: 190px;
  }
  .main {
    margin-left: 190px;
  }
  .meeting-layout {
    grid-template-columns: minmax(0, 1fr) 245px;
  }
  .calendar-layout {
    grid-template-columns: minmax(0, 1fr) 255px;
  }
  .meeting-row {
    gap: 12px;
    padding: 17px 20px;
  }
  .calendar-pane {
    padding: 20px 15px;
  }
  .calendar-day {
    min-height: 85px;
    padding: 7px 4px;
  }
  .day-pane .meeting-info {
    min-width: 130px;
  }
}
@media (max-width: 850px) {
  .detail-pane {
    display: none;
  }
  .meeting-layout {
    grid-template-columns: 1fr;
  }
  .calendar-layout {
    grid-template-columns: 1fr;
  }
  .day-pane {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .day-pane .meeting-row {
    flex-wrap: nowrap;
  }
  .day-pane .meeting-row > .button {
    margin-left: 0;
  }
  .day-pane .meeting-info {
    min-width: 0;
  }
  .calendar-day {
    min-height: 80px;
  }
}
@media (max-width: 600px) {
  .shell {
    padding: 0;
  }
  .sidebar {
    width: 53px;
    padding: 13px 5px;
  }
  .workspace {
    padding: 4px 5px 25px;
  }
  .workspace > span,
  .nav button > span,
  .side-rooms button > span,
  .side-label > span,
  .sidebar-tool > span,
  .account-name,
  .account-trigger > .icon {
    display: none;
  }
  .workspace {
    justify-content: center;
  }
  .workspace .brand-logo {
    margin-right: 0;
  }
  .account-trigger {
    justify-content: center;
    padding: 6px 0;
  }
  .nav button,
  .side-rooms button {
    padding: 10px 14px;
  }
  .side-label {
    padding: 25px 14px 12px;
  }
  .sidebar-tool {
    padding: 10px 14px;
  }
  .account {
    margin: 10px 0 0;
  }
  .account-menu {
    right: auto;
    width: 220px;
  }
  .main {
    margin-left: 53px;
    border-radius: 0;
    min-height: 0;
    border-top: 0;
    border-right: 0;
    border-bottom: 0;
  }
  .pane-toolbar {
    padding: 15px;
    min-height: 62px;
  }
  .pane-toolbar small {
    display: none;
  }
  .pane-toolbar > span {
    font-size: 12px;
  }
  .button {
    padding: 7px 9px;
    font-size: 10px;
    gap: 6px;
  }
  .actions {
    gap: 6px;
  }
  .meeting-row {
    gap: 10px;
    padding: 16px 14px;
  }
  .meeting-time {
    font-size: 10px;
    width: 57px;
  }
  .meeting-info > button {
    font-size: 11px;
  }
  .meeting-info > div {
    font-size: 9px;
    gap: 4px;
  }
  .meeting-row > .icon-button {
    display: none;
  }
  .section-heading {
    padding: 0 15px;
  }
  .room-strip {
    padding: 16px 15px;
  }
  .room-strip button {
    font-size: 10px;
  }
  .room-header {
    padding: 20px 15px;
    gap: 10px;
  }
  .room-header strong {
    font-size: 12px;
  }
  .room-header > .text-button {
    font-size: 9px;
  }
  .topbar {
    padding: 0 14px;
  }
  .calendar-pane {
    padding: 20px 10px 0;
  }
  .calendar-weekdays {
    font-size: 8px;
  }
  .calendar-day {
    min-height: 62px;
    padding: 5px 2px;
  }
  .day-number {
    font-size: 10px;
    width: 19px;
    height: 19px;
  }
  .calendar-event {
    font-size: 8px;
    padding: 2px;
  }
  .prejoin {
    grid-template-columns: 1fr;
    margin: 0;
    gap: 20px;
  }
  .prejoin .video-tile {
    min-height: 230px;
  }
  .content,
  .meeting-page {
    padding: 18px;
  }
  .call-controls {
    flex-wrap: wrap;
  }
  .call-controls button {
    padding: 10px;
    font-size: 10px;
  }
  .login {
    padding: 0 20px;
  }
  .setting-row {
    align-items: flex-start;
  }
  .setting-row code {
    max-width: 150px;
    overflow: hidden;
  }
  .video-grid {
    grid-template-columns: 1fr;
    min-height: 50vh;
  }
}

.side-rooms {
  min-height: 0;
  overflow-y: auto;
}
.sidebar-bottom {
  flex-shrink: 0;
}
.device-form-row {
  display: flex;
  gap: 8px;
}
.device-form-row input {
  min-width: 0;
  flex: 1;
}
.dav-devices {
  margin-top: 16px;
}
.dav-device {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
}
.calendar-account {
  border-top: 1px solid var(--border, #414141);
  padding: 18px 0;
}
.calendar-account-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin-top: 12px;
}
.calendar-option {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 10px 0;
}
.calendar-option input[type="checkbox"] {
  appearance: auto;
  width: 14px;
  height: 14px;
  min-height: 0;
  padding: 0;
  margin: 0;
  accent-color: #aaa;
}
.event-description {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  max-height: 220px;
  overflow: auto;
}
.event-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.event-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  font-size: 11px;
  color: #aaa;
}
.event-meta > span,
.event-attendees {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.event-meta .icon,
.event-attendees .icon,
.event-link .icon {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}
.event-badge,
.event-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  padding: 5px 8px;
  border: 1px solid #ffffff18;
  border-radius: 5px;
  background: #ffffff05;
  font-size: 11px;
  overflow-wrap: anywhere;
}
.event-link:hover {
  background: #ffffff0c;
  border-color: #ffffff30;
}
.event-details .event-description {
  font-size: 11px;
  line-height: 1.6;
  color: #aaa;
  max-width: 100%;
}
.event-details p {
  margin: 0;
}
.event-room-actions,
.event-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
}
.event-footer {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.event-footer .danger {
  margin-left: auto;
}
.event-details .button,
#confirm-event-delete {
  white-space: nowrap;
}
.button.danger {
  color: #e4aaa4;
  border-color: #e4aaa433;
  background: #e4aaa408;
}
.button.danger:hover {
  background: #e4aaa418;
}
.event-details > .error:empty {
  display: none;
}
a.disabled {
  opacity: 0.45;
  pointer-events: none;
}

.modal-head h2,
.calendar-account-title {
  display: flex;
  align-items: center;
  gap: 8px;
}
.calendar-header button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.calendar-view-switch { display:flex; gap:2px; padding:3px; border:1px solid #ffffff14; border-radius:6px; }
.calendar-view-switch button { padding:5px 10px; font-size:11px; border-radius:4px; color:#999; }
.calendar-view-switch button[aria-pressed="true"] { background:#ffffff14; color:#eee; }
.calendar-day { align-items:stretch; }
.calendar-day .day-number { flex-shrink:0; }
.calendar-event { text-align:left; cursor:pointer; }
.timeline-layout { grid-template-columns:minmax(0,1fr); min-height:0; }
.timeline-layout > .day-pane { display:none; }
.timeline-layout .calendar-pane { display:flex; flex-direction:column; min-height:0; padding-bottom:16px; }
.time-calendar { min-height:0; display:flex; flex-direction:column; flex:1; overflow:auto; border:1px solid #ffffff10; border-radius:6px; }
.time-head, .all-day-row, .time-grid { display:grid; grid-template-columns:58px repeat(var(--days), minmax(90px,1fr)); min-width:calc(58px + var(--days) * 90px); }
.time-head { flex-shrink:0; border-bottom:1px solid #ffffff12; }
.time-head button { padding:12px 4px; font-size:11px; }
.time-today { color:#fff; background:#ffffff0a; }
.all-day-row { border-bottom:1px solid #ffffff12; flex-shrink:0; }
.all-day-row > span { font-size:10px; color:#888; padding:10px 6px; }
.all-day-row > div { min-height:36px; padding:4px; border-left:1px solid #ffffff0c; }
.time-scroll { overflow-y:auto; min-height:0; max-height:calc(100vh - 250px); }
.time-grid { height:1440px; position:relative; }
.time-labels { position:relative; color:#888; font-size:10px; }
.time-labels span { position:absolute; right:8px; padding-top:3px; }
.time-column { position:relative; border-left:1px solid #ffffff10; background:repeating-linear-gradient(to bottom, transparent 0px,transparent 29px,#ffffff06 29px,#ffffff06 30px,transparent 30px,transparent 59px,#ffffff10 59px,#ffffff10 60px); }
.time-slot { position:absolute; height:30px; width:100%; left:0; }
.time-slot:hover { background:#ffffff06; }
.time-event { position:absolute; z-index:1; display:flex; flex-direction:column; align-items:flex-start; text-align:left; padding:3px 5px; border:1px solid #9bb9cf40; border-left:3px solid #9bb9cf; border-radius:4px; background:#39434b; color:#e0e7ec; overflow:hidden; font-size:11px; }
.time-event:hover { background:#46525c; }
.time-event strong { font-weight:500; width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.time-event small { font-size:9px; color:#bbc7cf; white-space:nowrap; }
dialog.side-panel { position:fixed; inset:8px 8px 8px auto; margin:0; width:min(400px,calc(100vw - 16px)); max-height:none; height:calc(100dvh - 16px); z-index:10; overflow-y:auto; box-shadow:-16px 0 50px #0005; }
.side-panel .modal-head { gap:16px; padding-bottom:18px; border-bottom:1px solid #ffffff12; margin-bottom:18px; }
.side-panel .modal-head h2 { margin:0; line-height:1.4; overflow-wrap:anywhere; }
.side-panel .close { padding:4px; }
.availability { margin-top:10px; display:flex; flex-direction:column; gap:6px; }
.availability-row { display:flex; align-items:center; justify-content:space-between; gap:8px; font-size:11px; }
.availability-row > span:first-child { overflow-wrap:anywhere; min-width:0; }
.availability-status { padding:3px 6px; border-radius:4px; background:#ffffff08; color:#aaa; white-space:nowrap; }
.availability-status.busy { color:#edb5a9; background:#d7867017; }
.availability-status.free { color:#b0cbb6; background:#8bb79817; }
.availability small { color:#888; font-size:10px; line-height:1.5; }
@media (max-width:600px) { .pane-toolbar:has(.calendar-view-switch) { flex-wrap:wrap; gap:10px; height:auto; padding:12px; } .timeline-layout .calendar-pane { padding:12px; } }
.calendar-view-switch button { padding:6px 10px; font-size:11px; color:#999; border:1px solid transparent; border-radius:4px; }
.calendar-view-switch button[aria-pressed="true"] { color:#ddd; border-color:#ffffff1a; background:#ffffff0a; }
.event-attendee-list { width:100%; }
.event-attendee-list h3 { font-size:10px; color:#888; font-weight:500; margin:0 0 10px; }
.event-attendee { display:flex; align-items:center; gap:8px; padding:7px 0; font-size:11px; overflow-wrap:anywhere; }
.event-attendee .icon { width:14px; height:14px; flex-shrink:0; color:#999; }
.side-panel .form-actions { flex-wrap:wrap; }

.meeting-page:has(.call-stage) { display:flex; flex-direction:column; flex:1; min-height:0; height:100%; overflow:hidden; }
.call-stage { flex:1; min-height:0; display:flex; }
.call-stage > .video-grid { flex:1; min-height:0; overflow:auto; }
.call-stage .video-tile { min-height:160px; }
.sharing-toolbar { display:flex; align-items:center; flex-wrap:wrap; gap:10px; padding:10px 0; font-size:11px; color:#aaa; }
.sharing-toolbar[hidden], .shared-stage[hidden], #shared-picker[hidden] { display:none; }
.sharing-toolbar > div { display:flex; gap:3px; margin-left:auto; }
.sharing-toolbar [data-people-layout] { padding:6px 8px; border:1px solid #ffffff14; border-radius:4px; font-size:11px; }
.sharing-toolbar [aria-pressed="true"] { background:#ffffff16; color:#eee; }
.sharing-toolbar select { width:auto; max-width:180px; font-size:11px; }
.shared-stage { position:relative; min-width:0; min-height:0; background:#191919; border:1px solid #ffffff10; border-radius:6px; overflow:hidden; }
.shared-stage video { position:absolute; inset:0; width:100%; height:100%; object-fit:contain; }
.share-caption { position:absolute; bottom:8px; left:8px; font-size:10px; color:#bbb; background:#111b; border-radius:4px; padding:4px 7px; pointer-events:none; }
.meeting-page:has(.shared-stage:not([hidden])) .call-stage { flex-direction:column; gap:10px; }
.meeting-page:has(.shared-stage:not([hidden])) .shared-stage { flex:1; }
.meeting-page:has(.shared-stage:not([hidden])) .video-grid { flex:0 0 120px; display:flex; gap:8px; overflow:auto; }
.meeting-page:has(.shared-stage:not([hidden])) .video-tile { flex:0 0 180px; min-height:0; }
.meeting-page:has([data-people-layout="column"][aria-pressed="true"]):has(.shared-stage:not([hidden])) .call-stage { flex-direction:row; }
.meeting-page:has([data-people-layout="column"][aria-pressed="true"]):has(.shared-stage:not([hidden])) .video-grid { flex:0 0 180px; flex-direction:column; }
.meeting-page:has([data-people-layout="column"][aria-pressed="true"]):has(.shared-stage:not([hidden])) .video-tile { flex-basis:120px; }
.meeting-page.call-maximized { position:fixed; inset:0; width:100vw; height:100dvh; z-index:20; padding:12px; background:#252525; }
.call-maximized .call-header { margin-bottom:0; }
.call-maximized .call-header p { display:none; }
.call-maximized .call-controls { margin-top:10px; }
.call-stage .video-tile video { object-fit:contain; }
.call-controls { flex-wrap:wrap; flex-shrink:0; }
@media (max-width:600px) { .meeting-page:has(.call-stage) { padding:12px; } .sharing-toolbar > div { margin-left:0; } .meeting-page:has([data-people-layout="column"][aria-pressed="true"]):has(.shared-stage:not([hidden])) .video-grid { flex-basis:110px; } .meeting-page:has([data-people-layout="column"][aria-pressed="true"]):has(.shared-stage:not([hidden])) .video-tile { flex-basis:85px; } .call-controls button { padding:8px; } }

.media-control { position:relative; display:flex; height:36px; border:1px solid #ffffff12; border-radius:5px; background:#ffffff07; }
.call-controls .media-control > button { min-width:36px; height:34px; padding:0 10px; justify-content:center; border:0; background:transparent; }
.call-controls .media-control > button:has(+ .device-arrow) { border-radius:5px 0 0 5px; }
.call-controls .media-control > .device-arrow { width:22px; min-width:22px; padding:0 6px 0 2px; border:0; border-radius:0 5px 5px 0; }
.device-menu { position:absolute; bottom:calc(100% + 8px); left:0; z-index:30; width:max-content; min-width:220px; max-width:min(320px, 85vw); max-height:280px; overflow:auto; padding:6px; background:var(--sidebar); border:1px solid #ffffff20; border-radius:8px; box-shadow:0 8px 28px #0006; }
.device-menu[hidden] { display:none; }
.device-menu-heading { padding:8px 10px; color:var(--muted); font-size:11px; }
.call-controls .device-menu button { width:100%; text-align:left; border:0; background:transparent; padding:9px 10px; white-space:normal; }
.call-controls .device-menu button[aria-checked="true"]::after { content:"✓"; margin-left:auto; }
.call-controls .device-menu button:hover, .call-controls .device-menu button:focus-visible { background:#ffffff0d; outline:1px solid #ffffff30; }
.device-message { padding:8px 10px; margin:0; color:var(--muted); font-size:12px; }

.shell.call-shell { padding:0; }
.call-shell > .main { margin:0; width:100%; flex:1; border-radius:0; }

.call-controls .device-arrow .icon, .call-controls #output-device .icon:last-child { width:12px; height:12px; flex-shrink:0; color:var(--muted); }
.call-controls #output-device { gap:8px; }

.call-controls .media-control > button.off { background:var(--call-red); color:#fff; }
.call-controls .media-control > button:hover { background:#ffffff08; }
.call-controls .media-control > button > .icon { display:block; }

.voice-meter { display:block; width:19px; height:11px; flex-shrink:0; fill:currentColor; shape-rendering:crispEdges; pointer-events:none; }
.call-controls #toggle-mic { gap:7px; }

.call-controls .media-control > button.off:hover,
.call-controls .media-control > button.off:focus-visible,
.call-controls button.leave:hover { background:var(--call-red-hover); color:#fff; }
.call-controls #toggle-mic, .call-controls #toggle-cam { position:relative; }
.call-controls .media-control > button.off::after { content:""; position:absolute; left:10px; top:16px; width:18px; height:1.5px; background:currentColor; transform:rotate(-45deg); box-shadow:0 -1px 0 var(--call-red); pointer-events:none; }
.call-controls .media-control > button.off:hover::after { box-shadow:0 -1px 0 var(--call-red-hover); }
.sharing-toolbar [data-people-layout], .sharing-toolbar #maximize-share { display:inline-flex; align-items:center; justify-content:center; width:32px; height:32px; padding:7px; }
.sharing-toolbar [data-people-layout] .icon, .sharing-toolbar #maximize-share .icon { width:16px; height:16px; }

/* Sharing uses the full meeting region by default. */
.meeting-page.is-sharing { position:fixed; inset:0; width:100vw; height:100dvh; z-index:20; padding:12px; background:#252525; }
.is-sharing .call-header { margin-bottom:0; }
.is-sharing .call-header p { display:none; }
.is-sharing .call-controls { margin-top:10px; }
.meeting-page.is-sharing.call-maximized { padding:0; }
.call-maximized .call-header,
.call-maximized .call-controls,
.call-maximized .call-note,
.meeting-page.call-maximized .video-grid,
.call-maximized .share-caption { display:none; }
.call-maximized .sharing-toolbar { position:absolute; top:12px; right:12px; z-index:3; padding:0; }
.call-maximized .sharing-toolbar > span,
.call-maximized .sharing-toolbar > div,
.call-maximized .sharing-toolbar > select { display:none; }
.call-maximized #maximize-share { background:#303030d9; border-color:#ffffff30; }
.meeting-page.call-maximized .call-stage { gap:0; }
.call-maximized .shared-stage { border:0; border-radius:0; }
.meeting-page.is-sharing.call-maximized .call-stage > .video-grid { display:none; }

/* Brand voice: interface copy is lowercase. Names, titles and other
   user-entered content keep the case they were written in. */
body {
  text-transform: lowercase;
}
button,
select {
  text-transform: inherit;
}
.keep-case,
input,
textarea,
code,
.workspace > span,
.side-rooms span,
.room-header strong,
.account-name,
.account-menu-id,
.avatar,
.large-avatar,
.video-tile > span,
.share-caption,
.meeting-info > button,
.calendar-event,
.time-event strong,
.event-attendee span,
.availability-row span:first-child,
.prejoin h2,
.call-header h2 {
  text-transform: none;
}

/* Year view: twelve month tiles, each a grid of day tiles. */
.year-layout { grid-template-columns:minmax(0,1fr); min-height:0; }
.year-layout > .day-pane { display:none; }
.year-layout .calendar-pane { display:flex; flex-direction:column; min-height:0; padding-bottom:20px; overflow:auto; }
.year-grid { display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:16px; }
.year-month { border:1px solid #ffffff10; border-radius:6px; padding:12px 12px 14px; min-width:0; }
.year-month.current { border-color:#ffffff24; }
.year-month-name { display:block; padding:0 0 10px; font-size:12px; font-weight:500; color:#b6b6b6; }
.year-weekdays, .year-days { display:grid; grid-template-columns:repeat(7, minmax(0,1fr)); gap:3px; }
.year-weekdays { padding-bottom:4px; font-size:9px; color:#5e5e5e; text-align:center; }
.year-day { aspect-ratio:1; min-width:0; padding:0; display:grid; place-items:center; border-radius:3px; font-size:10px; font-variant-numeric:tabular-nums; color:#8b8b8b; background:#ffffff06; }
.year-day:hover { background:#ffffff14; }
.year-day.has-events { background:#ffffff16; color:#d4d4d4; }
.year-day.selected { box-shadow:inset 0 0 0 1px #ffffff55; }
.year-day.today { background:#bfbfbf; color:#272727; }
@media (max-width:1100px) { .year-grid { grid-template-columns:repeat(3, minmax(0,1fr)); } }
@media (max-width:600px) { .year-grid { grid-template-columns:repeat(2, minmax(0,1fr)); gap:10px; } .year-layout .calendar-pane { padding:12px; } }

/* Hide native scrollbars everywhere; areas still scroll with wheel, trackpad,
   touch and keyboard. */
* {
  scrollbar-width: none;
}
::-webkit-scrollbar {
  display: none;
}

/* Call tiles are the video itself: sized to each feed's shape by
   setupStageLayout(), with the name badge on the video's bottom-left. */
.call-stage > .video-grid.fitted {
  position: relative;
  display: block;
  overflow: hidden;
}
.call-stage > .video-grid.fitted > .video-tile {
  position: absolute;
  min-height: 0;
  margin: 0;
  border: 0;
  border-radius: 10px;
  background: #272727;
  transition: left 180ms ease, top 180ms ease, width 180ms ease, height 180ms ease;
}
.call-stage > .video-grid.fitted > .video-tile video { object-fit: cover; }
.call-stage .video-tile > span {
  bottom: 10px;
  left: 10px;
  padding: 4px 8px;
  border-radius: 6px;
  background: #1118;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #eee;
  font-size: 10.5px;
  line-height: 1.3;
  max-width: calc(100% - 20px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  z-index: 1;
}
@media (prefers-reduced-motion: reduce) {
  .call-stage > .video-grid.fitted > .video-tile { transition: none; }
}

/* Guest links on the room page, and removing a guest from a call. */
.detail-pane .guest-passes { border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.guest-pass { display: flex; align-items: center; gap: 10px; padding: 7px 25px; }
.guest-pass > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.guest-pass strong { font-size: 11px; font-weight: 500; color: var(--text); }
.guest-pass small { font-size: 10px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.guest-pass-dot { flex: none; width: 7px; height: 7px; border-radius: 50%; background: #6f6f6f; }
.guest-pass-dot.in-call { background: #9fd3a2; box-shadow: 0 0 0 3px #9fd3a222; }
.guest-pass-dot.can-rejoin { background: #c9c9c9; }
.text-button.danger, .tile-remove.danger { color: #fff; background: var(--call-red, #a44248); border-radius: 5px; padding: 3px 7px; }
.video-tile > .tile-remove {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  padding: 4px 9px;
  border-radius: 6px;
  background: #1118;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #eee;
  font-size: 10.5px;
  opacity: 0;
  transition: opacity 120ms ease;
}
.video-tile:hover > .tile-remove,
.video-tile > .tile-remove:focus-visible,
.video-tile > .tile-remove.danger { opacity: 1; }

/* One height per button size, so buttons that sit side by side always match.
   Standard 32px, compact 26px; every call control is 36px (the microphone size). */
.button {
  box-sizing: border-box;
  height: 32px;
  padding-top: 0;
  padding-bottom: 0;
}
.button.compact {
  height: 26px;
}
.meeting-row .icon-button {
  box-sizing: border-box;
  width: 26px;
  height: 26px;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
}
.meeting-row .icon-button:hover { background: #ffffff0a; color: #bbb; }
.call-controls > button {
  box-sizing: border-box;
  height: 36px;
  padding-top: 0;
  padding-bottom: 0;
}

/* Room icons: same rounded-square as the rest of the app, inline before names. */
.room-icon {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 4px;
  overflow: hidden;
  vertical-align: -3px;
  line-height: 1;
  font-style: normal;
}
.room-icon.emoji { font-size: 11.5px; background: #ffffff0d; }
.room-icon.image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.room-icon.default .icon { width: 14px; height: 14px; }
.room-strip button { gap: 0; }
.room-strip button > .room-icon { margin-right: 8px; }
.room-strip button > .icon:last-child { margin-left: 14px; }
.room-picker .room-icon { margin-right: 7px; }
.tab-title > .room-icon { margin-right: 0; }
.room-icon-actions { align-items: center; }
.room-icon-actions .button { margin: 0; color: inherit; }
.room-header > .room-icon { width: 28px; height: 28px; border-radius: 7px; }
.room-header > .room-icon.emoji { font-size: 18px; }
.room-header > .room-icon.default .icon { width: 24px; height: 24px; color: #8b8b8b; }
.room-header > .room-settings { margin-left: 10px; width: 26px; height: 26px; align-items: center; justify-content: center; border-radius: 5px; }
.room-header > .room-settings:hover { background: #ffffff0a; color: #bbb; }
.room-header > .link-actions { margin-left: auto; }

.room-icon-editor { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 14px; }
.room-icon-preview .room-icon { width: 56px; height: 56px; border-radius: 12px; }
.room-icon-preview .room-icon.emoji { font-size: 32px; }
.room-icon-preview .room-icon.default { background: #ffffff0a; }
.room-icon-preview .room-icon.default .icon { width: 28px; height: 28px; }
.room-icon-editor > div:last-child { flex: 1; min-width: 0; }
.room-emoji-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 4px; margin: 6px 0 10px; }
.room-emoji-grid button { height: 30px; border-radius: 6px; font-size: 16px; border: 1px solid transparent; }
.room-emoji-grid button:hover { background: #ffffff0d; }
.room-emoji-grid button.selected { background: #ffffff16; border-color: #ffffff40; }
.room-icon-actions { display: flex; gap: 8px; }
.room-upload { cursor: pointer; }
.room-settings-form .form-actions { display: flex; align-items: center; gap: 8px; }
.room-settings-form .form-actions .spacer { flex: 1; }
.button.danger-outline { color: #e6a3a7; border-color: #a4424866; }
.button.danger-outline.danger { color: #fff; background: var(--call-red, #a44248); border-color: transparent; }

/* Room page: one toolbar row for identity and actions; the right column holds
   this room's meetings and guest links. */
.room-title { display: flex; align-items: center; gap: 12px; min-width: 0; }
.room-title > .room-icon { flex: none; width: 30px; height: 30px; border-radius: 7px; }
.room-title > .room-icon.emoji { font-size: 18px; }
.room-title > .room-icon.default .icon { width: 22px; height: 22px; color: #8b8b8b; }
.room-title > div { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.room-title strong { font-size: 14px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.room-title small { font-size: 10.5px; color: #767676; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.toolbar-icon { width: 32px; height: 32px; align-items: center; justify-content: center; border-radius: 5px; color: #8b8b8b; }
.toolbar-icon:hover { background: #ffffff0a; color: #ddd; }

.room-detail { padding-top: 0; }
.room-detail .section-heading { height: 42px; }
.section-heading .heading-label { color: inherit; display: inline-flex; gap: 6px; }
.section-heading .heading-label > span { color: #666; }
.room-detail .section-heading button { width: 22px; height: 22px; align-items: center; justify-content: center; margin-right: -5px; border-radius: 4px; color: #8b8b8b; }
.room-detail .section-heading button:hover { background: #ffffff0d; color: #eee; }
.room-detail .room-meetings { margin-bottom: 0; padding-bottom: 8px; }
.room-detail .room-meeting { padding: 8px 25px; }
.room-detail .room-meeting:hover, .guest-pass:hover { background: #ffffff04; }
.room-detail .room-meetings-empty { margin: 12px 25px 6px; }
.detail-pane .guest-passes { border-bottom: 0; padding-bottom: 8px; }

.guest-pass { gap: 11px; padding: 8px 18px 8px 25px; }
.guest-pass > div { gap: 3px; }
.guest-pass strong { font-size: 11.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.guest-pass-dot { width: 6px; height: 6px; }
.guest-revoke { flex: none; width: 24px; height: 24px; align-items: center; justify-content: center; border-radius: 4px; color: #777; opacity: 0.5; }
.guest-revoke .icon { width: 9px; height: 9px; }
.guest-pass:hover .guest-revoke, .guest-revoke:focus-visible, .guest-revoke.danger { opacity: 1; }
.guest-revoke:hover { background: #ffffff0d; color: #eee; }
.guest-revoke.danger { width: auto; padding: 3px 7px; font-size: 10px; }
@media (hover: none) { .guest-revoke { opacity: 1; } }
@media (max-width: 850px) { .room-toolbar .button[data-action="copy-room"] { width: 32px; padding: 0; height: 32px; font-size: 0; gap: 0; } }
.meeting-info > div > .room-icon { width: 14px; height: 14px; border-radius: 3.5px; margin-right: -2px; }
.meeting-info > div > .room-icon.emoji { font-size: 10px; }
.meeting-info > div > .room-icon.default .icon { width: 12px; height: 12px; }
.event-badge > .room-icon { width: 14px; height: 14px; border-radius: 3.5px; }
.event-badge > .room-icon.emoji { font-size: 10px; }
[data-result] > .room-icon { margin-right: 8px; }
/* Lock before private (connected) calendars. */
.private-mark { flex: none; display: inline-grid; place-items: center; width: 14px; height: 14px; color: #8a8a8a; font-style: normal; }
.private-mark svg { width: 11px; height: 11px; }
.meeting-info > div > .private-mark { margin-right: -3px; }

/* Meeting lists: one line per meeting on wider screens —
   time · duration, title, then calendar/room and date. Narrow panes keep two lines. */
@media (min-width: 761px) {
  .list-pane .meeting-row {
    min-height: 52px;
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .list-pane .meeting-time {
    display: flex;
    align-items: baseline;
    gap: 8px;
    width: 118px;
  }
  .list-pane .meeting-time small {
    display: inline;
    margin-top: 0;
  }
  .list-pane .meeting-info {
    display: flex;
    align-items: center;
    gap: 14px;
  }
  .list-pane .meeting-info > button {
    flex: 0 1 auto;
    min-width: 0;
  }
  .list-pane .meeting-info > div {
    flex: none;
    margin-top: 0;
  }
}
