/* PeakFour V103 – profile/library refinements.
   Scope: remove two unwanted content blocks, expand Profile main layout after removing the left rail,
   add neutral system-wide dark-mode compatibility for the new quick-link button, and restore per-skill icon colors in dark mode.
   Content routes, student data, Firebase logic, and lesson payloads are unchanged. */

/* Profile page: left navigation block removed, keep a clean 2-column desktop layout. */
#page-profile .pf85-profile-shell{grid-template-columns:minmax(0,1fr) minmax(232px,270px)!important;align-items:start!important}
#page-profile .pf85-profile-widgets{position:sticky;top:76px;display:grid;gap:16px}
@media(max-width:1120px){
  #page-profile .pf85-profile-shell{grid-template-columns:minmax(0,1fr)!important}
  #page-profile .pf85-profile-widgets{grid-column:auto!important;position:static!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:760px){
  #page-profile .pf85-profile-shell{display:flex!important;flex-direction:column!important;gap:12px!important}
  #page-profile .pf85-profile-core,#page-profile .pf85-profile-widgets{width:100%!important}
  #page-profile .pf85-profile-widgets{grid-template-columns:1fr!important}
}

/* New header dictionary shortcut should visually match the existing top pills. */
body .peak-header nav.pf17-header-skills > button.pf18-dictionary-nav{padding-inline:20px!important;margin:0!important;border-left:1px solid transparent!important}

/* Dark mode: restore icon-only color identity for the skill library, keep the surrounding cards neutral. */
:root[data-pf-theme="dark"] #page-lessons .pf-directory-icon{color:#fff!important;border-color:transparent!important;box-shadow:inset 0 1px rgba(255,255,255,.29),0 7px 15px rgba(15,23,42,.32)!important}
:root[data-pf-theme="dark"] #page-lessons .pf-directory-icon svg{color:#fff!important;stroke:#fff!important;filter:none!important}
:root[data-pf-theme="dark"] #page-lessons .pf-directory-icon[data-skill="alphabet"]{background:linear-gradient(135deg,#38bdf8,#2563eb)!important}
:root[data-pf-theme="dark"] #page-lessons .pf-directory-icon[data-skill="pronunciation"]{background:linear-gradient(135deg,#2dd4bf,#059669)!important}
:root[data-pf-theme="dark"] #page-lessons .pf-directory-icon[data-skill="listening"]{background:linear-gradient(135deg,#34d399,#22c55e)!important}
:root[data-pf-theme="dark"] #page-lessons .pf-directory-icon[data-skill="numbers"]{background:linear-gradient(135deg,#fbbf24,#fb923c)!important}
:root[data-pf-theme="dark"] #page-lessons .pf-directory-icon[data-skill="chunking"]{background:linear-gradient(135deg,#fb923c,#f43f5e)!important}
:root[data-pf-theme="dark"] #page-lessons .pf-directory-icon[data-skill="dictation"]{background:linear-gradient(135deg,#ec4899,#c026d3)!important}
:root[data-pf-theme="dark"] #page-lessons .pf-directory-icon[data-skill="shadowing"]{background:linear-gradient(135deg,#6366f1,#7c3aed)!important}
:root[data-pf-theme="dark"] #page-lessons .pf-directory-icon[data-skill="cloze"]{background:linear-gradient(135deg,#22d3ee,#3b82f6)!important}
:root[data-pf-theme="dark"] #page-lessons .pf-directory-icon[data-skill="grammar"]{background:linear-gradient(135deg,#22c55e,#0f766e)!important}
:root[data-pf-theme="dark"] #page-lessons .pf-directory-icon[data-skill="recall"]{background:linear-gradient(135deg,#a3e635,#10b981)!important}
:root[data-pf-theme="dark"] #page-lessons .pf-directory-icon[data-skill="guess"]{background:linear-gradient(135deg,#f87171,#e11d48)!important}
:root[data-pf-theme="dark"] #page-lessons .pf-directory-icon[data-skill="vocabulary"]{background:linear-gradient(135deg,#3b82f6,#4338ca)!important}
:root[data-pf-theme="dark"] #page-lessons .pf-directory-icon[data-skill="counting"]{background:linear-gradient(135deg,#9ca3af,#475569)!important}
