/* Crédito compartido por las pantallas públicas. */
.design-credit {
  --muted:#636e67;
  flex:0 0 auto;
  width:100%;
  box-sizing:border-box;
  margin:0;
  padding:0px 30px;
  text-align:center;
  font-family:'Avenir Next','Segoe UI',system-ui,sans-serif;
  font-size:11px;
  font-weight:400;
  line-height:1.6;
  color:var(--muted);
  background:transparent;
  border-top:1px solid rgba(99,110,103,.16);
  position:relative;
  z-index:10;
}
.design-credit strong,.design-credit a {font-weight:500;}
.design-credit a {color:inherit;text-decoration:none;}
.design-credit a:focus-visible {outline:2px solid currentColor;outline-offset:3px;border-radius:2px;}
body:has(> .design-credit) {min-height:100svh;display:flex;flex-direction:column;}
body:has(> .design-credit)>main {flex:1 0 auto;}

/* Frase completa centrada en una sola línea. */
.design-credit {display:flex;align-items:center;justify-content:center;min-height:36px;white-space:nowrap;}
.design-credit__author {margin:0;padding-block:10px;font:inherit;line-height:1.4;color:inherit;white-space:nowrap;text-wrap:nowrap;text-align:center;}
@media(max-width:479px) {
 .design-credit {padding-inline:12px;font-size:min(11px,calc((100vw - 32px) / 34));}
}

/* Evita acumular los márgenes heredados de la antigua navegación inferior. */
body:has(> .design-credit) .screen {padding-bottom:0!important;}
body:has(> .design-credit) .page {padding-bottom:24px;}
body:has(> .design-credit) .home-visit {padding-bottom:0;}

.design-credit:has(.team-access){flex-direction:column;padding-top:8px;gap:0;}
.design-credit .team-access{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:8px 16px;border-radius:999px;font-size:12px;line-height:1.4;color:var(--forest,#17382a);text-decoration:none;}
.design-credit .team-access:hover{background:rgba(23,56,42,.06);}
.team-access svg{flex:none;}

/* Administration and sign-in keep the credit readable on narrow screens. */
.design-credit--internal{margin-top:28px;padding:14px 16px;font-size:12px;white-space:normal}
.design-credit--internal .design-credit__author{max-width:58ch;white-space:normal;text-wrap:pretty;line-height:1.6;padding:0}
.design-credit--internal a{white-space:nowrap;text-decoration:underline;text-decoration-color:rgba(99,110,103,.35);text-underline-offset:3px}
.admin-main>.design-credit--internal{margin-top:40px}
