body.fopl-student { --fopl-paper: #fff; --fopl-page: #f6f7f5; --fopl-text: #26352c; --fopl-muted: #526257; --fopl-line: #d7dfd8; --fopl-link: #24583b; }
body.fopl-student.fopl-dark { --fopl-paper: #1c2721; --fopl-page: #141d18; --fopl-text: #e6eee8; --fopl-muted: #b2c3b7; --fopl-line: #42554a; --fopl-link: #acd5b6; }

body.fopl-student { background: var(--fopl-page) !important; color: var(--fopl-text); font-family: system-ui, sans-serif; line-height: 1.6; }
body.fopl-student a { color: var(--fopl-link); }
body.fopl-student a:hover { text-decoration: underline; }
body.fopl-student a:focus-visible, body.fopl-student button:focus-visible, body.fopl-student main:focus-visible { outline: 3px solid #b07818; outline-offset: 3px; }
body.fopl-student .fopl-course-bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; padding: 0.6rem max(1rem, calc((100% - 1200px) / 2)); background: var(--fopl-paper); border-bottom: 1px solid var(--fopl-line); }
body.fopl-student .fopl-course-bar > a { font-weight: 700; }
body.fopl-student .fopl-course-bar nav { display: flex; gap: 1rem; flex-wrap: wrap; }
body.fopl-student .fopl-nav { background: #24583b; padding: 0 max(1rem, calc((100% - 1200px) / 2)); }
body.fopl-student .fopl-nav a { color: #fff; text-transform: none; letter-spacing: normal; font-family: inherit; }
body.fopl-student .fopl-nav-dropdown { background: var(--fopl-paper); }
body.fopl-student .fopl-nav-dropdown li a { color: var(--fopl-link); }
body.fopl-student .fopl-skip { position: absolute; left: -10000px; }
body.fopl-student .fopl-skip:focus { left: 1rem; z-index: 1000; padding: .5rem; background: var(--fopl-paper); }
body.fopl-student .fopl-footer { background: var(--fopl-paper); color: var(--fopl-muted); border-top: 1px solid var(--fopl-line); font-family: inherit; }
body.fopl-student .fopl-footer a { color: var(--fopl-link); }
body.fopl-student .fopl-cal-popup { right: 0; max-width: calc(100vw - 2rem); }
@media (max-width: 760px) { body.fopl-student .fopl-course-bar { font-size: .85rem; }
  body.fopl-student .fopl-nav { height: auto; flex-wrap: wrap; }
  body.fopl-student .fopl-nav-links li a { padding: 0 .65rem; } }

body.fopl-student .fopl-workspace { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 230px minmax(0, 1fr); }
body.fopl-student .fopl-sidebar { padding: 2rem 1.25rem; border-right: 1px solid var(--fopl-line); font-size: .9rem; }
body.fopl-student .fopl-sidebar h2 { font-size: 1.2rem; margin: .25rem 0 1rem; }
body.fopl-student .fopl-sidebar h3 { font-size: 1rem; margin: 1.5rem 0 .5rem; }
body.fopl-student .fopl-sidebar nav { display: grid; gap: .3rem; }
body.fopl-student .fopl-sidebar nav a { padding: .25rem 0; }
body.fopl-student .fopl-sidebar p { color: var(--fopl-muted); }
body.fopl-student .fopl-label { color: var(--fopl-muted); font-size: .85rem; margin: 0 0 .4rem; }
body.fopl-student .fopl-home { min-width: 0; padding: 2rem 2.5rem 3rem; background: var(--fopl-paper); }
body.fopl-student .fopl-home h1 { font-size: clamp(1.65rem, 4vw, 2.2rem); line-height: 1.2; margin: 0 0 1rem; }
body.fopl-student .fopl-home h2 { font-size: 1.4rem; margin: 0 0 1rem; }
body.fopl-student .fopl-home h3 { font-size: 1.05rem; margin: 0 0 .5rem; }
body.fopl-student .fopl-home p { margin: 0 0 1rem; }
body.fopl-student .fopl-home section { padding-top: 1.5rem; margin-top: 1.5rem; border-top: 1px solid var(--fopl-line); scroll-margin-top: 1rem; }
body.fopl-student .fopl-intro { display: flex; align-items: center; gap: 1.5rem; }
body.fopl-student .fopl-intro img { width: 120px; height: auto; flex-shrink: 0; }
body.fopl-student .fopl-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem; margin: 1rem 0; }
body.fopl-student .fopl-button { padding: .5rem .85rem; border: 1px solid var(--fopl-link); border-radius: 4px; font-weight: 600; }
body.fopl-student .fopl-facts, body.fopl-student .fopl-note { color: var(--fopl-muted); font-size: .9rem; }
body.fopl-student .fopl-resource-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
body.fopl-student .fopl-resource-grid article { padding: 1rem; border: 1px solid var(--fopl-line); border-radius: 4px; }
body.fopl-student .fopl-phases { padding-left: 1.4rem; }
body.fopl-student .fopl-phases li { padding-left: .3rem; margin-bottom: 1rem; }
@media (max-width: 760px) { body.fopl-student .fopl-workspace { grid-template-columns: 1fr; }
  body.fopl-student .fopl-sidebar { border-right: 0; border-bottom: 1px solid var(--fopl-line); padding: 1rem; }
  body.fopl-student .fopl-sidebar nav { display: flex; flex-wrap: wrap; gap: .5rem 1rem; }
  body.fopl-student .fopl-home { padding: 1.5rem 1rem; }
  body.fopl-student .fopl-intro { align-items: flex-start; }
  body.fopl-student .fopl-intro img { width: 72px; } }
@media (max-width: 480px) { body.fopl-student .fopl-resource-grid { grid-template-columns: 1fr; }
  body.fopl-student .fopl-intro { flex-direction: column; } }
