[data-cmi-es-draft-notice] {
  padding: 8px 16px;
  color: #4b5563;
  background: #f7f8fa;
  border-bottom: 1px solid #e5e7eb;
  font: 500 12px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-align: center;
}

.cmi-es-static-popover {
  position: absolute;
  z-index: 50;
  top: calc(100% + 8px);
  right: 0;
  min-width: 220px;
  padding: 8px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.14);
}

.cmi-es-static-popover[hidden] {
  display: none;
}

.cmi-es-static-popover a {
  display: block;
  padding: 9px 10px;
  color: #1f2937;
  font-size: 14px;
  text-decoration: none;
}

.cmi-es-static-popover a:hover,
.cmi-es-static-popover a:focus-visible {
  color: #1565c0;
  background: #f3f7fc;
  outline: none;
}

.cm-menu > .el-sub-menu {
  position: relative;
}

.cm-header-right > .cm-icon-btn:not(.is-mobile-only) {
  display: none;
}

.cmi-es-mobile-menu {
  position: fixed;
  z-index: 100;
  inset: 64px 0 auto 0;
  max-height: calc(100vh - 64px);
  padding: 16px 20px 24px;
  overflow-y: auto;
  background: #fff;
  border-top: 1px solid #e5e7eb;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.15);
}

.cmi-es-mobile-menu[hidden] {
  display: none;
}

.cmi-es-mobile-menu a {
  display: block;
  padding: 12px 4px;
  color: #1f2937;
  border-bottom: 1px solid #eef0f2;
  font-size: 15px;
  text-decoration: none;
}

.cmi-es-mobile-menu a:focus-visible {
  outline: 2px solid #1565c0;
  outline-offset: 2px;
}

@media (min-width: 769px) {
  .cmi-es-mobile-menu {
    display: none !important;
  }
}
