/* FD Theme Corner V4.1 — presentation only; V4 gesture and theme logic unchanged. */
/* In FD and Line Up the switch takes the top-right end of the top navigation bar. */
.workspace-tabs #fd-theme-v4-switch {
  margin-inline-start:auto !important;
  flex:0 0 30px !important;
  width:30px !important;
  min-width:30px !important;
  max-width:30px !important;
  height:30px !important;
  min-height:30px !important;
  max-height:30px !important;
  align-self:center !important;
  box-sizing:border-box !important;
  padding:0 !important;
  gap:0 !important;
  border-radius:8px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  line-height:1 !important;
}
/* On login and accounts V4 appends the same button to body. */
body > #fd-theme-v4-switch {
  position:fixed !important;
  top:10px !important;
  right:10px !important;
  z-index:1000 !important;
  flex:0 0 30px !important;
  width:30px !important;
  min-width:30px !important;
  height:30px !important;
  min-height:30px !important;
  align-self:auto !important;
  padding:0 !important;
  gap:0 !important;
  border-radius:8px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  box-sizing:border-box !important;
}
#fd-theme-v4-switch .fd-theme-v4-label { display:none !important; }
#fd-theme-v4-switch .fd-theme-v4-icon {
  display:block !important;
  font-family:Arial, sans-serif !important;
  font-size:18px !important;
  font-weight:600 !important;
  line-height:1 !important;
  margin:0 !important;
  padding:0 !important;
}
@media (max-width:760px) {
  .workspace-tabs #fd-theme-v4-switch {
    flex:0 0 30px !important;
    width:30px !important;
    min-width:30px !important;
    max-width:30px !important;
    height:30px !important;
    min-height:30px !important;
    max-height:30px !important;
    padding:0 !important;
  }
  body > #fd-theme-v4-switch { top:8px !important; right:8px !important; }
}
