/* Mi cuenta */

/* Iconos de cada apartado */
html:is([data-dz-profile="split"],[data-dz-profile="cards"]) .pf-wrap .settings-label{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start;column-gap:.875rem}
html:is([data-dz-profile="split"],[data-dz-profile="cards"]) .pf-wrap .settings-label>:not(.pf-ico){grid-column:2}
html:is([data-dz-profile="split"],[data-dz-profile="cards"]) .pf-ico{display:grid;place-items:center;grid-row:1/span 2;width:2.375rem;height:2.375rem;border-radius:var(--radius-lg);background:color-mix(in oklab,var(--hl) 13%,var(--card));color:color-mix(in oklab,var(--hl) 62%,var(--foreground));box-shadow:inset 0 0 0 1px color-mix(in oklab,var(--hl) 22%,transparent)}
html:is([data-dz-profile="split"],[data-dz-profile="cards"]) .pf-ico svg{width:1.125rem;height:1.125rem}
html:is([data-dz-profile="split"],[data-dz-profile="cards"]) .pf-wrap .settings-label h2{font-size:1rem;line-height:1.35}
html:is([data-dz-profile="split"],[data-dz-profile="cards"]) .pf-wrap .settings-label p{margin-top:.125rem}

/* Cada apartado en su caja */
html:is([data-dz-profile="split"],[data-dz-profile="cards"]) .pf-wrap>.settings{border-radius:0;background:none;box-shadow:none}
html:is([data-dz-profile="split"],[data-dz-profile="cards"]) .pf-wrap .settings-row{display:flex;flex-direction:column;gap:0;padding:0;border:0;border-radius:var(--radius-xl);background:var(--card);box-shadow:var(--shadow-ring)}
html:is([data-dz-profile="split"],[data-dz-profile="cards"]) .pf-wrap .settings-label{padding:1.125rem 1.5rem;border-bottom:1px solid var(--border)}
html:is([data-dz-profile="split"],[data-dz-profile="cards"]) .pf-wrap .settings-body{padding:1.25rem 1.5rem 1.5rem}
html:is([data-dz-profile="split"],[data-dz-profile="cards"]) .pf-wrap .settings-foot{border:0;border-radius:var(--radius-xl);box-shadow:var(--shadow-ring)}
@media (max-width:639.98px){
  html:is([data-dz-profile="split"],[data-dz-profile="cards"]) .pf-wrap :is(.settings-label,.settings-body){padding-left:1.125rem;padding-right:1.125rem}
}

/* Con índice */
html[data-dz-profile="split"] .pf-wrap{container-type:inline-size;display:flex;flex-wrap:wrap;align-items:flex-start;gap:1rem 1.75rem}
html[data-dz-profile="split"] .pf-wrap>.settings{display:flex;flex:1 1 100%;flex-direction:column;gap:1rem;min-width:0}
html[data-dz-profile="split"] .pf-wrap .settings-label h2{scroll-margin-top:calc(var(--header-h) + 2.5rem)}
html[data-dz-profile="split"] .pf-wrap .settings-since{display:none}
html[data-dz-profile="split"] .pf-index{display:flex;flex:1 1 100%;flex-direction:column;gap:.625rem;min-width:0;padding:.75rem;border-radius:var(--radius-xl);background:var(--card);box-shadow:var(--shadow-ring)}
html[data-dz-profile="split"] .pf-who{display:flex;align-items:center;gap:.75rem;min-width:0;padding:.375rem .375rem .875rem;border-bottom:1px solid var(--border)}
html[data-dz-profile="split"] .pf-avatar{--size:2.5rem;background:var(--primary);color:var(--primary-foreground);box-shadow:none}
html[data-dz-profile="split"] .pf-who-text{flex:1 1 auto;min-width:0}
html[data-dz-profile="split"] .pf-who-name{overflow:hidden;font-size:.9375rem;font-weight:600;letter-spacing:-.01em;text-overflow:ellipsis;white-space:nowrap}
html[data-dz-profile="split"] .pf-who-since{margin-top:.125rem;color:var(--muted-foreground);font-size:.75rem}
html[data-dz-profile="split"] .pf-links{display:flex;flex-wrap:wrap;gap:.25rem;margin:0;padding:0;list-style:none}
html[data-dz-profile="split"] .pf-links li{flex:1 1 auto;min-width:0}
html[data-dz-profile="split"] .pf-links a{position:relative;display:flex;align-items:center;gap:.625rem;min-height:2.375rem;padding:.375rem .75rem;border-radius:var(--radius-md);color:color-mix(in oklab,var(--foreground) 76%,transparent);font-size:.875rem;font-weight:500;line-height:1.3;transition:background-color .15s,color .15s}
html[data-dz-profile="split"] .pf-links a svg{flex:none;width:1rem;height:1rem;color:var(--muted-foreground);transition:color .15s}
html[data-dz-profile="split"] .pf-links a:hover{background:var(--sunk);color:var(--foreground)}
html[data-dz-profile="split"] .pf-links a:hover svg{color:var(--foreground)}
html[data-dz-profile="split"] .pf-links a:focus-visible{outline:2px solid var(--ring);outline-offset:0}
/* Apartado abierto */
html[data-dz-profile="split"]:not(:has(#ca-prefs-title:target)) .pf-links li:first-child a,
html[data-dz-profile="split"]:has(#ca-prefs-title:target) .pf-links li:last-child a{background:color-mix(in oklab,var(--foreground) 6%,transparent);color:var(--foreground);font-weight:600}
html[data-dz-profile="split"]:not(:has(#ca-prefs-title:target)) .pf-links li:first-child a::before,
html[data-dz-profile="split"]:has(#ca-prefs-title:target) .pf-links li:last-child a::before{content:"";position:absolute;top:.5rem;bottom:.5rem;left:0;width:3px;border-radius:0 3px 3px 0;background:var(--hl)}
html[data-dz-profile="split"]:not(:has(#ca-prefs-title:target)) .pf-links li:first-child a svg,
html[data-dz-profile="split"]:has(#ca-prefs-title:target) .pf-links li:last-child a svg{color:var(--foreground)}
@container (min-width:46rem){
  html[data-dz-profile="split"] .pf-index{position:sticky;top:calc(var(--header-h) + 1.5rem);flex:0 0 14.5rem}
  html[data-dz-profile="split"] .pf-wrap>.settings{flex:1 1 0}
  html[data-dz-profile="split"] .pf-who{flex-direction:column;align-items:flex-start;gap:.625rem;padding:.5rem .5rem 1rem}
  html[data-dz-profile="split"] .pf-avatar{--size:3rem}
  html[data-dz-profile="split"] .pf-who-name{white-space:normal;overflow-wrap:anywhere}
  html[data-dz-profile="split"] .pf-links{flex-direction:column;gap:.125rem}
}
@container (min-width:60rem){
  html[data-dz-profile="split"] .pf-index{flex-basis:16rem}
}

/* Tarjetas */
html[data-dz-profile="cards"] .pf-wrap{container-type:inline-size}
html[data-dz-profile="cards"] .pf-wrap>.settings{display:grid;grid-template-columns:minmax(0,1fr);gap:1rem}
html[data-dz-profile="cards"] .pf-wrap .settings-since{display:flex;flex-wrap:wrap;align-items:center;gap:.25rem;margin-top:.5rem;font-size:.75rem}
html[data-dz-profile="cards"] .pf-wrap .settings-since b{display:inline}
@container (min-width:50rem){
  html[data-dz-profile="cards"] .pf-wrap>.settings{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto 1fr;align-items:start;gap:1.25rem}
  html[data-dz-profile="cards"] .pf-wrap .settings-row:first-of-type{grid-row:1/3}
  html[data-dz-profile="cards"] .pf-wrap .settings-row:last-of-type{grid-column:2;grid-row:1}
  html[data-dz-profile="cards"] .pf-wrap .settings-foot{flex-direction:column;align-items:stretch;grid-column:2;grid-row:2;gap:1rem;padding:1.25rem 1.5rem}
  html[data-dz-profile="cards"] .pf-wrap .settings-foot p{align-items:flex-start;line-height:1.5}
  html[data-dz-profile="cards"] .pf-wrap .settings-foot p svg{flex:none;margin-top:.1875rem}
  html[data-dz-profile="cards"] .pf-wrap .settings-body.form-grid{grid-template-columns:minmax(0,1fr)}
  html[data-dz-profile="cards"] .pf-wrap .profile-lock-note{margin-top:-.75rem}
}

@media (prefers-reduced-motion:reduce){
  html[data-dz-profile="split"] .pf-links a,html[data-dz-profile="split"] .pf-links a svg{transition:none}
}
html[data-dz-motion=off][data-dz-profile="split"] .pf-links a,html[data-dz-motion=off][data-dz-profile="split"] .pf-links a svg{transition:none}
