.zoom-smart-embed-panel {
  position: fixed;
  top: 86px;
  right: 16px;
  bottom: 16px;
  z-index: 100030;
  display: grid;
  width: 380px;
  min-height: 580px;
  grid-template-rows: 52px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid #cfd6d2;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(24, 39, 31, .14);
  color: #202124;
  font-family: inherit;
}

.zoom-smart-embed-panel[hidden] { display: none; }

.zoom-smart-embed-head {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 8px 0 14px;
  border-bottom: 1px solid #e2e6e4;
  background: #fff;
}

.zoom-smart-embed-head > div { min-width: 0; flex: 1; }
.zoom-smart-embed-head strong { display: block; font-size: 13px; font-weight: 650; }
.zoom-smart-embed-head span { display: block; margin-top: 2px; overflow: hidden; color: #66706b; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }

.zoom-smart-embed-head button {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #535b57;
  font: 18px/1 system-ui, sans-serif;
  cursor: pointer;
}

.zoom-smart-embed-head button:hover { background: #f1f3f2; }
.zoom-smart-embed-body { min-height: 0; background: #fff; }
.zoom-smart-embed-frame { display: block; width: 100%; height: 100%; border: 0; background: #fff; }

.dark .zoom-smart-embed-panel,
.dark .zoom-smart-embed-head { border-color: #3c4043; background: #202124; color: #e8eaed; }
.dark .zoom-smart-embed-head span { color: #bdc1c6; }
.dark .zoom-smart-embed-head button { color: #e8eaed; }
.dark .zoom-smart-embed-head button:hover { background: #303134; }

@media (max-width: 640px) {
  .zoom-smart-embed-panel { top: 8px; right: 8px; bottom: 8px; left: 8px; width: auto; min-height: 0; }
}
