html,
body {
  height: 100%;
}

body {
  overflow: hidden;
  background: var(--surface);
}

.chart-fullscreen-main {
  position: relative;
  width: 100%;
  height: 100dvh;
  min-height: 0;
}

.chart-fullscreen-chart {
  width: 100%;
  height: 100%;
  background: var(--surface);
}

.chart-fullscreen-chart iframe {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

.chart-fullscreen-status {
  position: fixed;
  top: 8px;
  right: 8px;
  z-index: 10;
  margin: 0;
  box-shadow: var(--shadow-sm);
}

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

@media (max-width: 600px) {
  .chart-fullscreen-status {
    font-size: 10px;
    padding: 4px 8px;
  }
}

.chart-profile-dock {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  height: 38px;
  visibility: hidden;
  pointer-events: none;
}

.chart-profile-dock.is-ready {
  visibility: visible;
}

.chart-profile-dock .auth-chip {
  margin-left: 0;
  pointer-events: auto;
}

.chart-profile-dock .auth-profile-btn {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  box-shadow: none;
}

.chart-profile-dock .auth-profile-btn.has-plan-badge {
  width: auto;
  padding: 3px 9px 3px 4px;
}

.chart-profile-dock .auth-avatar {
  width: 26px;
  height: 26px;
}

.chart-profile-dock .auth-chip-btn {
  padding: 5px 12px;
  font-size: 13px;
}

.chart-profile-dock .auth-chip-loading {
  font-size: 12px;
}

.chart-profile-dock .auth-menu {
  top: calc(100% + 8px);
  right: auto;
  left: 0;
}

.chart-fullscreen-status {
  top: 46px;
}

@media (max-width: 600px) {
  .chart-fullscreen-status {
    top: 42px;
  }
}
