/* Spectra Free Editor footer
   Shared Spectra footer component styling for the positioned editor shell.
   Viewport reserve and main-region geometry live in shell-position.css. */

body.sv-freeEditor .sv-editorFooter{
  position:fixed;
  z-index:var(--sv-z-footer);
  inset-inline:0;
  inset-block-end:0;
  margin:0;
  padding:0 var(--sv-shell-gutter) var(--sv-editor-footer-bottom-gap);
}

body.sv-freeEditor .sv-editorFooterPanel{
  inline-size:100%;
  max-inline-size:var(--sv-shell-content-max);
  min-block-size:var(--sv-editor-footer-panel-h);
  margin-inline:auto;
  border-color:color-mix(in srgb,var(--sv-blue),transparent 80%);
  background:color-mix(in srgb,var(--sp-surface,#111827),var(--sp-bg,#050812) 16%);
  box-shadow:0 var(--sp-2,.5rem) var(--sp-8,2rem) color-mix(in srgb,#000,transparent 72%);
}

body.sv-freeEditor .sv-editorFooterInner{
  min-block-size:var(--sv-editor-footer-panel-h);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:var(--sp-3,.75rem) var(--sp-5,1.25rem);
  padding:var(--sp-2,.5rem) var(--sp-4,1rem);
}

body.sv-freeEditor .sv-editorFooterMeta,
body.sv-freeEditor .sv-editorFooterLinks{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:var(--sp-2,.5rem);
}

body.sv-freeEditor .sv-editorFooterMeta{
  min-inline-size:0;
  color:var(--sp-muted,#9ca3af);
  font-size:var(--sp-fs-1,.875rem);
  line-height:var(--sp-lh-2,1.35);
}

body.sv-freeEditor .sv-editorFooterDot{
  color:color-mix(in srgb,var(--sp-muted,#9ca3af),transparent 28%);
}

body.sv-freeEditor .sv-editorFooterLinks{
  justify-content:flex-end;
  flex:0 0 auto;
}

body.sv-freeEditor .sv-editorFooterLink{
  color:color-mix(in srgb,var(--sp-muted,#9ca3af),var(--sp-text,#f6fbff) 18%);
  font-size:var(--sp-fs-1,.875rem);
  font-weight:var(--sp-fw-semibold,650);
  text-decoration:none;
}

body.sv-freeEditor .sv-editorFooterLink:hover,
body.sv-freeEditor .sv-editorFooterLink:focus-visible{
  color:var(--sp-text,#f6fbff);
  text-decoration:underline;
  text-decoration-color:var(--sp-underline,currentColor);
  text-underline-offset:var(--sp-underline-offset,.18em);
}

body.sv-freeEditor.is-editor-focus .sv-editorFooter{
  display:none;
}

@media (max-width:54rem){
  body.sv-freeEditor .sv-editorFooterInner{
    align-items:flex-start;
    flex-direction:column;
    justify-content:center;
    gap:var(--sp-2,.5rem);
    padding:var(--sp-2,.5rem);
  }

  body.sv-freeEditor .sv-editorFooterMeta{
    max-inline-size:100%;
    flex-wrap:nowrap;
    gap:var(--sp-1,.25rem);
    font-size:var(--sv-editor-footer-meta-fs-mobile);
    line-height:1.2;
    letter-spacing:-.01em;
    white-space:nowrap;
  }

  body.sv-freeEditor .sv-editorFooterLinks{
    inline-size:100%;
    align-self:stretch;
    justify-content:center;
  }
}
