/* A short editor menu, with optional sections kept together. */
:root .nm-profile-navigation.nm-profile-editor-nav{
  gap:12px;
  padding:16px;
  border:1px solid var(--exp-line,#e5dcea);
  border-radius:18px;
  background:var(--exp-surface,#fff);
  overflow:visible!important;
}
:root .nm-profile-navigation.nm-profile-editor-nav>.nm-profile-primary{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px;
}
:root .nm-profile-navigation.nm-profile-editor-nav button{
  min-width:0;
  min-height:46px;
  padding:10px 14px;
  border-color:var(--exp-line,#e5dcea);
  color:var(--exp-ink,#362d40);
  background:var(--exp-surface,#fff);
  font-size:15px;
  line-height:1.4;
  white-space:normal;
  overflow-wrap:anywhere;
}
:root .nm-profile-navigation.nm-profile-editor-nav button[aria-current=page]{
  background:var(--exp-lilac,#eee7f7);
  border-color:var(--exp-purple,#77528f);
  box-shadow:inset 0 -2px 0 var(--exp-purple,#77528f);
  font-weight:750;
}
:root .nm-profile-navigation.nm-profile-editor-nav>.nm-profile-editor-tools{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  border-top:1px solid var(--exp-line,#e5dcea);
  padding-top:12px;
}
:root .nm-profile-editor-nav .nm-profile-extra{flex:1;min-width:0}
:root .nm-profile-editor-nav .nm-profile-extra>summary{
  min-height:46px;
  padding:12px 4px;
  color:var(--exp-ink,#362d40);
  font-size:15px;
  line-height:1.45;
  cursor:pointer;
}
:root .nm-profile-editor-nav .nm-profile-extra>summary span{
  display:block;
  margin:4px 0 0 18px;
  font-size:13px;
  font-weight:400;
}
:root .nm-profile-editor-nav .nm-profile-extra>div{display:flex;flex-wrap:wrap;gap:8px;padding:8px 0 0}
:root .nm-profile-editor-nav .nm-profile-extra:not([open])>div{display:none}
:root .nm-profile-navigation.nm-profile-editor-nav .nm-editor-preview-button{
  flex:0 1 260px;
  text-align:center;
  background:var(--exp-lilac,#eee7f7);
  border-color:var(--exp-purple,#77528f);
}
:root .nm-profile-editor-nav :is(button,summary):focus-visible{outline:3px solid var(--exp-purple,#77528f);outline-offset:3px}
:root .nm-editor-preview-dialog .nm-privacy-preview{margin-bottom:0}
@media(max-width:700px){
  :root .nm-profile-navigation.nm-profile-editor-nav{padding:12px}
  :root .nm-profile-navigation.nm-profile-editor-nav>.nm-profile-primary{grid-template-columns:repeat(2,minmax(0,1fr))}
  :root .nm-profile-navigation.nm-profile-editor-nav>.nm-profile-editor-tools{flex-direction:column;gap:8px}
  :root .nm-profile-editor-nav .nm-profile-extra{width:100%}
  :root .nm-profile-navigation.nm-profile-editor-nav .nm-editor-preview-button{flex:auto;width:100%}
}
@media(max-width:400px){
  html[data-nm-text-size=larger] .nm-profile-navigation.nm-profile-editor-nav>.nm-profile-primary{grid-template-columns:minmax(0,1fr)}
}
