:root {
  --page-bg: #e9eaec;
  --panel-bg: #ededee;
  --white: #ffffff;
  --text-main: #1f2329;
  --text-secondary: #6d7179;
  --line: #dddfe3;
  --accent: #1770f4;
  --sidebar-width: 200px;
  --action-width: 168px;
  --action-height: 68px;
  --radius-lg: 10px;
  --radius-md: 8px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text-main);
  background: var(--page-bg);
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

.app-layout {
  min-height: 100vh;
  display: flex;
  align-items: stretch;
}

.sidebar {
  width: var(--sidebar-width);
  min-width: var(--sidebar-width);
  background: #f1f1f2;
  border-right: 1px solid #e6e7e9;
  padding: 10px;
}

.sidebar__top {
  width: var(--action-width);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto 10px;
}

.sidebar__title {
  margin: 0;
  font-size: 16px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.icon-btn {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #3f444c;
  transition: background-color 0.2s ease;
}

.icon-btn svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.sidebar__actions {
  display: grid;
  gap: 10px;
  justify-content: center;
}

.action-card {
  width: var(--action-width);
  height: var(--action-height);
  padding: 0 12px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.action-card:hover {
  transform: translateY(-1px);
}

.action-card--quick {
  background: #d9e8de;
}

.action-card--schedule {
  background: #ece2db;
}

.action-card--join {
  background: #cfd8ec;
}

.action-card--minutes {
  background: #d1d2ea;
}

.action-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.action-card--quick .action-icon {
  background: #2bbf67;
  color: #ffffff;
}

.action-card--schedule .action-icon {
  background: #ed7d43;
  color: #ffffff;
}

.action-card--join .action-icon {
  background: #236de9;
  color: #ffffff;
}

.action-card--minutes .action-icon {
  background: #6c6dea;
  color: #ffffff;
}

.action-icon svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
}

.action-label {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.1;
  white-space: nowrap;
}

.content {
  flex: 1;
  padding: 10px 14px 0 12px;
  background: var(--panel-bg);
  min-width: 0;
}

.content__top {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.content__title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.1;
}

.history-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: clamp(13px, 0.8vw, 18px);
  color: #262a31;
  padding: 2px 0;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.arrow {
  font-size: clamp(14px, 0.95vw, 22px);
  line-height: 1;
}

.content__date {
  width: 100%;
  margin: 10px 0 8px;
  font-size: clamp(11px, 0.72vw, 15px);
  color: var(--text-secondary);
}

.meeting-card {
  width: 100%;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  transition: box-shadow 0.2s ease;
}

.meeting-list {
  display: grid;
  gap: 10px;
}

.history-page {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: var(--panel-bg);
  padding: 10px 16px 18px;
  overflow: auto;
}

.history-page__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 36px;
}

.history-page__actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.history-page__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  color: #1f2634;
  font-weight: 600;
  padding: 0;
}

.history-page__back-icon {
  font-size: 22px;
  line-height: 1;
  color: #4d5460;
}

.history-page__filter {
  min-height: 30px;
  border-radius: 8px;
  background: #eceef2;
  color: #5e6672;
  padding: 0 10px;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.history-page__search-toggle {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #eceef2;
  color: #616977;
  display: grid;
  place-items: center;
}

.history-page__search-toggle svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.history-page__content {
  margin-top: 10px;
  display: grid;
  gap: 14px;
}

.history-page__search {
  margin-top: 10px;
  position: relative;
}

.history-page__search input {
  width: 100%;
  height: 34px;
  border: 1px solid #d4d9e1;
  border-radius: 8px;
  background: #ffffff;
  padding: 0 32px 0 10px;
  font-size: 14px;
  color: #1f2634;
  outline: 0;
}

.history-page__search input::placeholder {
  color: #8b919b;
}

.history-page__search-clear {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #edf0f4;
  color: #6f7783;
  font-size: 14px;
  line-height: 1;
}

.history-page__empty {
  margin: 16px 0 0;
  text-align: center;
  color: #7f8792;
  font-size: 14px;
}

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

.history-group__date {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  color: #6a707a;
}

.history-card {
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
}

.history-card + .history-card {
  margin-top: 8px;
}

.history-card__header {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 14px;
  border-bottom: 1px dashed #dadddf;
}

.history-card__title-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.history-card__icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: #57a7f6;
  color: #ffffff;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.history-card__icon svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
}

.history-card__title-wrap h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #2d6de9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.history-card__select {
  width: 20px;
  height: 20px;
  border: 2px solid #2d6de9;
  border-radius: 50%;
  position: relative;
  flex: 0 0 auto;
}

.history-card__select::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: #2d6de9;
}

.history-card__meta {
  min-height: 42px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 16px;
  color: #1f2634;
}

.history-divider {
  width: 1px;
  height: 14px;
  background: #d5d9df;
}

.settings-page {
  position: fixed;
  inset: 0;
  z-index: 61;
  background: var(--panel-bg);
  padding: 10px 16px 18px;
  overflow: auto;
}

.settings-page__top {
  min-height: 36px;
  display: flex;
  align-items: center;
}

.settings-page__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  font-weight: 600;
  color: #1f2634;
  padding: 0;
}

.settings-page__back-icon {
  font-size: 22px;
  line-height: 1;
  color: #4d5460;
}

.settings-page__content {
  margin-top: 10px;
  display: grid;
  gap: 10px;
}

.settings-profile {
  min-height: 70px;
  background: #ffffff;
  border-radius: 8px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.settings-profile__avatar {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: radial-gradient(circle at 35% 25%, #89d4ff 0%, #2f6af2 55%, #1d2a59 100%);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
}

.settings-profile strong {
  font-size: 16px;
  color: #1e2533;
  font-weight: 600;
}

.settings-panel {
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
}

.settings-row {
  min-height: 50px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 14px;
}

.settings-row + .settings-row {
  border-top: 1px solid #eef0f3;
}

.settings-row__left {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-size: 16px;
  color: #1f2634;
}

.settings-row__left svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #2a323f;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.settings-row__right {
  font-size: 16px;
  color: #7b828e;
  flex: 0 0 auto;
}

.settings-row__right-wrap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}

.settings-row__right--arrow {
  font-size: 22px;
  line-height: 1;
}

.settings-row--clickable {
  background: #ffffff;
  border: 0;
  text-align: left;
}

.settings-row--clickable:hover {
  background: #f8f9fb;
}

.personal-page__title-wrap {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.personal-page__edit {
  font-size: 14px;
  color: #2d6de9;
  font-weight: 500;
}

.personal-page__panel .settings-row {
  min-height: 46px;
}

.meeting-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--line);
}

.meeting-card__name {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.meeting-card__name h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.meeting-icon {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: #57a7f6;
  color: #ffffff;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.meeting-icon svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
}

.more-btn {
  color: #a3a8b1;
  font-size: clamp(16px, 1vw, 22px);
  line-height: 1;
  padding: 0 2px;
  border-radius: 6px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.meeting-card__body {
  padding-top: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.meeting-meta {
  display: flex;
  align-items: center;
  font-size: clamp(10px, 0.68vw, 13px);
  min-width: 0;
  flex-wrap: nowrap;
  row-gap: 0;
}

.divider {
  width: 1px;
  height: 12px;
  background: #d8dce1;
  margin: 0 10px;
}

.link-icon {
  color: #2f6bed;
}

.status {
  color: #ba6f00;
}

.join-btn {
  background: var(--accent);
  color: #ffffff;
  border-radius: 8px;
  padding: 6px 14px;
  font-size: clamp(10px, 0.68vw, 13px);
  line-height: 1;
  min-width: 66px;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

@media (max-width: 1500px) {
  .meeting-meta {
    flex-wrap: wrap;
    row-gap: 8px;
  }

  .divider {
    margin: 0 8px;
    height: 12px;
  }
}

@media (max-width: 1024px) {
  .app-layout {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    min-width: 0;
    border-right: 0;
    border-bottom: 1px solid #e6e7e9;
    padding-bottom: 20px;
  }

  .sidebar__top {
    width: min(100%, var(--action-width));
    margin-bottom: 20px;
  }

  .sidebar__actions {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    grid-auto-flow: column;
    grid-auto-columns: var(--action-width);
    gap: 14px;
    padding-bottom: 4px;
  }

  .action-card {
    padding: 0 12px;
  }

  .content {
    padding: 22px 16px 20px;
  }

  .content__date {
    margin-top: 18px;
  }

  .meeting-card {
    padding: 20px;
  }

  .meeting-card__header {
    padding-bottom: 16px;
  }

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

  .meeting-meta {
    flex-wrap: wrap;
    font-size: 14px;
  }

  .join-btn {
    width: 100%;
    font-size: 14px;
  }
}

@media (max-width: 640px) {
  .sidebar__title {
    font-size: 16px;
  }

  .action-label {
    font-size: 14px;
  }

  .content__title {
    font-size: 16px;
  }

  .history-link {
    font-size: 14px;
  }

  .content__date,
  .meeting-meta {
    font-size: 13px;
  }

  .meeting-card__name h3 {
    font-size: 16px;
  }

  .join-btn {
    font-size: 13px;
  }

  .history-page {
    padding: 10px;
  }

  .history-page__back,
  .history-group__date,
  .history-card__title-wrap h4,
  .history-card__meta,
  .settings-page__back,
  .settings-row__left,
  .settings-row__right,
  .settings-profile strong {
    font-size: 14px;
  }

  .history-page__search input {
    height: 32px;
    font-size: 13px;
  }

  .history-page__search-clear,
  .history-page__empty {
    font-size: 13px;
  }

  .settings-page {
    padding: 10px;
  }
}

@media (min-width: 1280px) {
  .icon-btn:hover {
    background: #e5e8ee;
  }

  .action-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(25, 35, 52, 0.08);
  }

  .action-card:active {
    transform: translateY(0);
  }

  .history-link:hover {
    color: #195fd8;
  }

  .meeting-card:hover {
    box-shadow: 0 10px 22px rgba(26, 36, 51, 0.08);
  }

  .more-btn:hover {
    color: #7e8795;
    background: #f2f4f8;
  }

  .join-btn:hover {
    background: #0f62dd;
  }

  .join-btn:active {
    transform: translateY(1px);
  }
}

.icon-btn:focus-visible,
.history-link:focus-visible,
.more-btn:focus-visible,
.join-btn:focus-visible,
.action-card:focus-visible {
  outline: 2px solid #5a8ff8;
  outline-offset: 2px;
}

.is-hidden {
  display: none !important;
}

.modal-open {
  overflow: hidden;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  padding: 0;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(38, 41, 47, 0.45);
  z-index: 80;
}

.quick-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  max-width: calc(100vw - 24px);
  max-height: calc(100vh - 24px);
  background: #f7f8fa;
  border-radius: 12px;
  box-shadow: 0 18px 52px rgba(19, 25, 37, 0.24);
  z-index: 81;
  padding: 12px 16px 14px;
  overflow: auto;
}

.quick-modal__header {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 10px;
}

.quick-modal__header h2 {
  margin: 0;
  font-size: 16px;
  line-height: 1.1;
  font-weight: 600;
  color: #1c2431;
}

.quick-modal__close {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border-radius: 6px;
  font-size: 20px;
  color: #7f8690;
  line-height: 1;
}

.quick-modal__body {
  display: grid;
  gap: 4px;
}

.quick-modal__item {
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: #202838;
}

.qm-switch {
  width: 38px;
  height: 22px;
  background: #c3c8d1;
  border-radius: 999px;
  position: relative;
  flex: 0 0 auto;
  transition: background-color 0.2s ease;
}

.qm-switch__thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 2px 5px rgba(18, 26, 37, 0.2);
  transition: left 0.2s ease;
}

.qm-switch[data-checked="true"] {
  background: #2b6de9;
}

.qm-switch[data-checked="true"] .qm-switch__thumb {
  left: 18px;
}

.quick-modal__password-row {
  margin-top: 2px;
}

.quick-modal__password-entry {
  min-height: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  color: #536074;
}

.quick-modal__password-edit {
  color: #176ce8;
  font-size: 12px;
  padding: 0;
}

.quick-modal__password-wrap {
  height: 36px;
  border: 1px solid #c8ccd3;
  border-radius: 6px;
  background: #ffffff;
  padding: 0 8px 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.quick-modal__password-wrap input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #1b2433;
  font-size: 14px;
}

.quick-modal__password-close {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #eef0f3;
  color: #7e8590;
  font-size: 14px;
  line-height: 1;
}

.quick-modal__footer {
  margin-top: 12px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.quick-modal__btn {
  min-width: 88px;
  height: 34px;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1;
}

.quick-modal__btn--primary {
  background: #176ce8;
  color: #ffffff;
}

.quick-modal__btn--ghost {
  background: #f7f8fa;
  border: 1px solid #c8ccd3;
  color: #303847;
}

.schedule-modal {
  width: 400px;
  max-width: calc(100vw - 24px);
  max-height: calc(100vh - 24px);
  padding: 12px 16px 14px;
}

.schedule-modal .quick-modal__header h2 {
  font-size: 18px;
}

.password-settings-modal {
  width: 400px;
}

.password-settings-modal__body {
  gap: 8px;
}

.password-settings-line {
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: #1f2735;
}

.password-settings-line__value {
  color: #7b828e;
}

.schedule-modal__body {
  gap: 8px;
}

.schedule-field {
  display: grid;
  grid-template-columns: 52px 1fr;
  align-items: center;
  column-gap: 8px;
}

.schedule-field label {
  font-size: 13px;
  color: #1e2533;
}

.schedule-split {
  display: grid;
  grid-template-columns: 1fr 82px;
  gap: 8px;
}

.schedule-control {
  height: 34px;
  border: 1px solid #c8ccd3;
  border-radius: 6px;
  background: #ffffff;
  padding: 0 10px;
  font-size: 13px;
  color: #1b2433;
  width: 100%;
}

.schedule-control input,
.schedule-control select {
  width: 100%;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 13px;
  color: #1b2433;
}

.schedule-control--select {
  position: relative;
  display: flex;
  align-items: center;
}

.schedule-control--select select {
  appearance: none;
  padding-right: 16px;
}

.schedule-select-arrow {
  position: absolute;
  right: 8px;
  font-size: 12px;
  color: #7a828c;
  pointer-events: none;
}

.schedule-switch-line,
.schedule-limit-line {
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  color: #1e2533;
}

.schedule-limit-line strong {
  font-size: 14px;
  font-weight: 500;
}

.schedule-radio-group {
  display: grid;
  gap: 6px;
  padding-left: 52px;
}

.schedule-radio-group label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #1f2735;
}

.schedule-radio-group input[type="radio"] {
  margin: 0;
  width: 13px;
  height: 13px;
  accent-color: #2b6de9;
}

.join-modal {
  width: 400px;
  max-width: calc(100vw - 24px);
}

.join-modal .quick-modal__header h2 {
  font-size: 18px;
}

.join-modal__body {
  gap: 10px;
}

.join-field {
  min-height: 34px;
}

.join-input {
  width: 100%;
  height: 34px;
  border: 1px solid #c8ccd3;
  border-radius: 6px;
  background: #ffffff;
  padding: 0 10px;
  font-size: 13px;
  color: #1f2735;
  outline: 0;
}

.join-input::placeholder {
  color: #8d929b;
}

.join-switch-line {
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: #1f2735;
}

.join-detect {
  margin: 2px 0 0;
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-size: 13px;
  color: #1f2735;
}

.join-detect__link {
  color: #176ce8;
  text-decoration: none;
  padding: 0;
}

.invite-modal {
  width: 400px;
  max-width: calc(100vw - 24px);
  background: #2f3136;
  color: #f3f6fd;
  border-radius: 14px;
  box-shadow: 0 18px 52px rgba(9, 11, 16, 0.45);
  padding: 12px 14px;
}

.invite-modal__header {
  margin-bottom: 14px;
}

.invite-modal .quick-modal__header h2 {
  color: #cfd6e3;
  font-size: 16px;
  font-weight: 600;
}

.invite-modal .quick-modal__close {
  color: #8c94a2;
}

.invite-modal__body {
  gap: 10px;
  padding: 2px 0;
}

.invite-modal__tabs {
  display: flex;
  border: 1px solid #4c5565;
  border-radius: 8px;
  overflow: hidden;
  background: #383d48;
}

.invite-modal__tab {
  flex: 1;
  height: 30px;
  border-radius: 0;
  border: 0;
  background: transparent;
  color: #cad0dc;
  font-size: 13px;
  line-height: 1;
}

.invite-modal__tab + .invite-modal__tab {
  border-left: 1px solid #4c5565;
}

.invite-modal__tab.is-active {
  background: #2a6be7;
  color: #ffffff;
}

.invite-modal__panel {
  display: grid;
  gap: 9px;
}

.invite-modal__panel--room {
  gap: 8px;
}

.invite-modal__line {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 10px;
  align-items: start;
}

.invite-modal__line--top {
  align-items: start;
}

.invite-modal__label {
  font-size: 14px;
  color: #c3cbd8;
  line-height: 1.45;
}

.invite-modal__value {
  font-size: 14px;
  color: #ffffff;
  line-height: 1.45;
}

.invite-modal__value--link {
  font-size: 14px;
  word-break: break-all;
}

.invite-modal__footer {
  justify-content: center;
  margin-top: 10px;
}

.invite-modal__copy-btn {
  min-width: 110px;
}

.invite-room-search {
  position: relative;
}

.invite-room-search input {
  width: 100%;
  height: 30px;
  border: 1px solid #4a5160;
  border-radius: 7px;
  background: rgba(40, 44, 53, 0.72);
  color: #eef2fb;
  font-size: 12px;
  padding: 0 30px 0 10px;
  outline: 0;
}

.invite-room-search input::placeholder {
  color: #8f97a8;
}

.invite-room-search__clear {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #545c6b;
  color: #f3f6fd;
  font-size: 12px;
  line-height: 1;
}

.invite-room-scroll {
  max-height: 220px;
  overflow-y: auto;
  border: 1px solid #4a5160;
  border-radius: 8px;
  background: rgba(40, 44, 53, 0.6);
}

.invite-room-list {
  overflow: hidden;
}

.invite-room-item {
  min-height: 36px;
  display: grid;
  grid-template-columns: 16px 1fr;
  align-items: center;
  gap: 10px;
  padding: 0 10px;
  font-size: 12px;
  color: #ecf0f8;
}

.invite-room-item + .invite-room-item {
  border-top: 1px solid #434b5b;
}

.invite-room-item__checkbox {
  width: 14px;
  height: 14px;
  margin: 0;
  accent-color: #2a6be7;
}

.invite-room-item__name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.invite-room-nomore {
  margin: 0;
  text-align: center;
  font-size: 12px;
  line-height: 28px;
  color: #a7aebd;
  border-top: 1px solid #434b5b;
}

.invite-room-empty {
  margin: 0;
  text-align: center;
  font-size: 12px;
  line-height: 26px;
  color: #9ca4b4;
}

.invite-modal__tip {
  position: fixed;
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 95;
  min-width: 132px;
  height: 30px;
  padding: 0 8px;
  border-radius: 9px;
  border: 1px solid #2fc46b;
  background: #f2f9f4;
  color: #1f252f;
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  box-shadow: 0 10px 22px rgba(9, 12, 17, 0.28);
}

.invite-modal__tip-icon {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #2dbf68;
  color: #ffffff;
  font-size: 9px;
  line-height: 12px;
  text-align: center;
  font-weight: 700;
}

.invite-modal__tip--error {
  border-color: #d56d6d;
  background: #fff6f6;
}

.invite-modal__tip--error .invite-modal__tip-icon {
  background: #d95f5f;
}

.meeting-screen {
  position: fixed;
  inset: 0;
  background: #13161d;
  color: #f4f6fb;
  z-index: 70;
  display: flex;
  flex-direction: column;
}

.meeting-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(24deg, rgba(255, 255, 255, 0.03) 8%, transparent 8%),
    linear-gradient(24deg, transparent 90%, rgba(255, 255, 255, 0.02) 90%);
  background-size: 220px 170px, 220px 170px;
  opacity: 0.55;
  pointer-events: none;
}

.meeting-topbar {
  position: relative;
  z-index: 1;
  min-height: 42px;
  padding: 8px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.meeting-topbar__left,
.meeting-topbar__right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.meeting-topbar__plain {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #e7ebf2;
  font-size: 14px;
  line-height: 1;
  border-radius: 6px;
  padding: 2px 3px;
}

.meeting-icon-svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: currentColor;
  flex: 0 0 auto;
}

.meeting-icon-svg--info circle:first-child {
  fill: #f4f6fb;
  stroke: #f4f6fb;
}

.meeting-icon-svg--info circle:last-child,
.meeting-icon-svg--info path {
  stroke: #111823;
}

.meeting-icon-svg--mic-on {
  width: 13px;
  height: 13px;
  color: #42d37c;
}

.meeting-signal {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 16px;
}

.meeting-signal span {
  width: 4px;
  border-radius: 2px;
  background: #22cc57;
}

.meeting-signal span:nth-child(1) {
  height: 6px;
}

.meeting-signal span:nth-child(2) {
  height: 10px;
}

.meeting-signal span:nth-child(3) {
  height: 14px;
}

.meeting-topbar__timer {
  font-size: 14px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.meeting-stage {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 20px 110px;
}

.meeting-speaking {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  min-height: 28px;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 13px;
  color: #f2f5fd;
  background: rgba(49, 53, 61, 0.82);
}

.meeting-stage__center {
  text-align: center;
}

.meeting-avatar {
  width: 112px;
  height: 112px;
  margin: 0 auto;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 25%, #89d4ff 0%, #2f6af2 55%, #1d2a59 100%);
  display: grid;
  place-items: center;
  font-size: 34px;
  font-weight: 700;
}

.meeting-identity {
  margin-top: 10px;
  font-size: 14px;
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.meeting-toolbar {
  position: relative;
  z-index: 1;
  min-height: 84px;
  padding: 6px 20px 14px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.meeting-toolbar__group {
  display: flex;
  align-items: flex-end;
  gap: 16px;
}

.meeting-toolbar__group--center {
  margin-left: auto;
  margin-right: auto;
}

.meeting-tool {
  min-width: 72px;
  display: grid;
  gap: 5px;
  justify-items: center;
  color: #f4f6fb;
}

.meeting-tool__icon {
  width: 25px;
  height: 25px;
}

.meeting-tool__label {
  font-size: 14px;
  white-space: nowrap;
}

.meeting-tool__label-row {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.meeting-tool__caret {
  font-size: 9px;
  transform: translateY(-1px);
  opacity: 0.85;
}

.end-meeting-btn {
  height: 48px;
  min-width: 146px;
  border-radius: 8px;
  border: 1px solid #e84545;
  color: #ff4e4e;
  background: rgba(15, 18, 25, 0.55);
  font-size: 16px;
}

.member-panel {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 350px;
  max-width: calc(100vw - 36px);
  background: rgba(18, 21, 29, 0.96);
  border-left: 1px solid #303644;
  z-index: 2;
  display: flex;
  flex-direction: column;
}

.member-panel__top {
  height: 44px;
  border-bottom: 1px solid #2e3442;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.member-panel__tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #cfd5e2;
  font-size: 14px;
  border-bottom: 2px solid transparent;
}

.member-panel__tab--active {
  color: #ffffff;
  border-bottom-color: #2a73ef;
}

.member-panel__content {
  flex: 1;
  min-height: 0;
  padding: 10px 12px 8px;
  display: flex;
  flex-direction: column;
}

.member-panel__search input {
  width: 100%;
  height: 34px;
  border: 1px solid #3a4251;
  border-radius: 6px;
  background: transparent;
  color: #edf1f9;
  font-size: 14px;
  padding: 0 10px;
  outline: 0;
}

.member-panel__search input::placeholder {
  color: #7f8898;
}

.member-panel__list {
  margin-top: 10px;
  flex: 1;
  min-height: 0;
  overflow: auto;
  display: grid;
  gap: 12px;
  padding-right: 2px;
}

.member-panel__group-title {
  margin: 0 0 6px;
  font-size: 12px;
  color: #8b93a2;
}

.member-item {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  gap: 10px;
  min-height: 44px;
}

.member-item__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #7dd0ff 0%, #2d69ee 58%, #1f2a59 100%);
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.member-item__avatar--sip {
  background: linear-gradient(135deg, #3b4454, #526180);
  text-transform: uppercase;
}

.member-item__name {
  margin: 0;
  font-size: 14px;
  color: #f5f7fc;
  line-height: 1.2;
}

.member-item__desc {
  margin: 2px 0 0;
  font-size: 12px;
  color: #8c95a3;
}

.member-item__ops {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #d7dde9;
}

.member-item__ops .meeting-icon-svg {
  width: 16px;
  height: 16px;
}

.member-panel__empty {
  margin: 14px 0 0;
  text-align: center;
  color: #8b93a3;
  font-size: 12px;
}

.member-panel__footer {
  border-top: 1px solid #2f3644;
  padding: 12px;
  display: flex;
  justify-content: center;
}

.member-panel__mute-btn {
  height: 40px;
  min-width: 130px;
  border-radius: 7px;
  border: 1px solid #3c4454;
  background: rgba(17, 20, 27, 0.85);
  color: #f0f4fb;
  font-size: 16px;
}

.quick-modal__close:hover,
.quick-modal__password-close:hover,
.quick-modal__btn:hover,
.meeting-topbar__plain:hover,
.meeting-tool:hover,
.end-meeting-btn:hover {
  filter: brightness(0.95);
}

.quick-modal__close:focus-visible,
.qm-switch:focus-visible,
.quick-modal__password-close:focus-visible,
.quick-modal__btn:focus-visible,
.meeting-topbar__plain:focus-visible,
.meeting-tool:focus-visible,
.end-meeting-btn:focus-visible {
  outline: 2px solid #5a8ff8;
  outline-offset: 2px;
}

@media (max-width: 1199px) {
  .quick-modal {
    width: min(94vw, 400px);
    height: auto;
    padding: 10px 12px 12px;
  }

  .quick-modal__header h2 {
    font-size: 15px;
  }

  .quick-modal__item {
    min-height: 28px;
    font-size: 12px;
  }

  .qm-switch {
    width: 34px;
    height: 20px;
  }

  .qm-switch__thumb {
    width: 16px;
    height: 16px;
  }

  .qm-switch[data-checked="true"] .qm-switch__thumb {
    left: 16px;
  }

  .quick-modal__password-wrap {
    height: 32px;
    padding-left: 8px;
  }

  .quick-modal__password-wrap input {
    font-size: 13px;
  }

  .quick-modal__btn {
    min-width: 74px;
    height: 30px;
    font-size: 13px;
  }

  .password-settings-modal {
    width: min(94vw, 400px);
    height: auto;
  }

  .schedule-modal {
    width: min(94vw, 400px);
    height: auto;
  }

  .join-modal {
    width: min(94vw, 400px);
    height: auto;
  }

  .invite-modal {
    width: min(94vw, 400px);
    height: auto;
    padding: 10px 12px 12px;
  }

  .invite-modal .quick-modal__header h2 {
    font-size: 15px;
  }

  .invite-modal__header {
    margin-bottom: 12px;
  }

  .invite-modal__body {
    gap: 7px;
  }

  .invite-modal__tabs {
    border-radius: 7px;
  }

  .invite-modal__tab {
    height: 28px;
    font-size: 12px;
  }

  .invite-modal__panel {
    gap: 7px;
  }

  .invite-modal__line {
    grid-template-columns: 64px 1fr;
    gap: 8px;
  }

  .invite-modal__label {
    font-size: 12px;
  }

  .invite-modal__value {
    font-size: 13px;
  }

  .invite-modal__value--link {
    font-size: 13px;
  }

  .invite-modal__tip {
    top: 100px;
    height: 30px;
    font-size: 12px;
  }

  .invite-room-item {
    min-height: 34px;
    padding: 0 8px;
  }

  .invite-room-scroll {
    max-height: 200px;
  }

  .schedule-field {
    grid-template-columns: 52px 1fr;
  }

  .schedule-split {
    grid-template-columns: 1fr 86px;
  }

  .schedule-radio-group {
    padding-left: 52px;
  }

  .meeting-topbar {
    padding: 7px 10px;
  }

  .meeting-topbar__plain,
  .meeting-topbar__timer {
    font-size: 12px;
  }

  .meeting-stage {
    padding-bottom: 100px;
  }

  .meeting-speaking {
    top: 9px;
    font-size: 12px;
    min-height: 24px;
  }

  .meeting-avatar {
    width: 84px;
    height: 84px;
    font-size: 24px;
  }

  .meeting-identity {
    margin-top: 8px;
    font-size: 12px;
  }

  .meeting-toolbar {
    min-height: 70px;
    padding: 6px 8px 10px;
    gap: 8px;
  }

  .meeting-toolbar__group {
    gap: 8px;
  }

  .meeting-tool {
    min-width: 52px;
  }

  .meeting-tool__icon {
    width: 20px;
    height: 20px;
  }

  .meeting-tool__label {
    font-size: 12px;
  }

  .end-meeting-btn {
    height: 38px;
    min-width: 88px;
    font-size: 14px;
  }

  .member-panel {
    width: 300px;
    max-width: calc(100vw - 24px);
  }

  .member-panel__tab {
    font-size: 13px;
  }

  .member-panel__search input {
    height: 32px;
    font-size: 13px;
  }

  .member-item {
    grid-template-columns: 34px 1fr auto;
    min-height: 40px;
    gap: 8px;
  }

  .member-item__avatar {
    width: 34px;
    height: 34px;
    font-size: 14px;
  }

  .member-item__name {
    font-size: 13px;
  }

  .member-item__desc {
    font-size: 11px;
  }

  .member-panel__mute-btn {
    height: 36px;
    min-width: 112px;
    font-size: 14px;
  }
}
