.student-page { --scene: url('../assets/field-guide/home-crew-v2.png'); }
.student-page [hidden] { display: none !important; }
.student-page .student-scene::after { background: linear-gradient(90deg, rgba(248,242,230,.96) 0%, rgba(248,242,230,.94) 43%, rgba(248,242,230,.65) 65%, rgba(248,242,230,.07) 88%); }
.student-scene { display: flex; flex-direction: column; }
.student-layout { flex: 1; width: min(100% - 80px, 1540px); margin: 0 auto; padding: 50px 0 90px; }
.student-header-actions { display: flex; align-items: center; gap: 28px; }
.student-page button, .student-page input, .student-page select { font: inherit; }
.student-page button { cursor: pointer; }
.student-page button:disabled { cursor: wait; opacity: .6; }
.student-page :is(button, input, select):focus-visible { outline: 3px solid var(--clay); outline-offset: 4px; }
.skip-link { position: fixed; z-index: 100; top: -100px; left: 20px; padding: 12px 18px; background: var(--paper); color: var(--pine); }
.skip-link:focus { top: 12px; }
.student-page :is(.startup-state, .auth-view, .student-sidebar, .privacy-content) > h1 { margin: 18px 0 24px; color: var(--pine); font: 400 clamp(3.3rem, 5.8vw, 6rem)/.92 var(--serif); letter-spacing: -.065em; }
.student-page :is(.startup-state, .auth-view, .student-sidebar, .privacy-content) > h1 em { color: var(--clay); font-weight: 400; }
.student-page :is(.section-heading, .course-invitation, .privacy-content) h2 { margin: 8px 0 0; color: var(--pine); font: 400 clamp(2rem, 3vw, 3rem)/1.07 var(--serif); letter-spacing: -.045em; }
.student-page .section-heading h2:focus { outline: none; }
.startup-state, .auth-view { max-width: 560px; padding-top: 28px; }
.startup-state > p:not(.eyebrow), .student-intro { max-width: 43ch; color: #33443d; font-size: 1.04rem; line-height: 1.7; }
.auth-view > h1 { margin-bottom: 24px; }
.free-promise { max-width: 45ch; padding: 17px 0 0; border-top: 1px solid var(--line); font: italic 1rem/1.5 var(--serif); }
#clerk-auth { min-height: 330px; margin-top: 34px; max-width: 440px; }
.auth-privacy { max-width: 48ch; margin: 20px 0 0; font-size: .78rem; line-height: 1.65; color: #4b5b50; }
.auth-privacy a { text-underline-offset: 3px; }
.student-dashboard { display: grid; grid-template-columns: 205px minmax(0, 650px); gap: clamp(35px, 5vw, 90px); align-items: start; }
.student-sidebar { position: sticky; top: 34px; }
.student-page .student-sidebar > h1 { font-size: clamp(3.4rem, 4.7vw, 5.25rem); }
.student-name { margin: 0 0 36px; font: italic 1.1rem/1.4 var(--serif); color: var(--pine); overflow-wrap: anywhere; }
.student-navigation { display: grid; border-top: 1px solid var(--line); }
.student-navigation a { display: grid; grid-template-columns: 22px 1fr 16px; gap: 7px; align-items: baseline; padding: 15px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: #4b5b50; font: .93rem/1.3 var(--serif); }
.student-navigation a span:first-child { font: .65rem/1.2 var(--sans); color: #69756a; }
.student-navigation a span:last-child { color: var(--clay); text-align: right; }
.student-navigation a[aria-current="page"], .student-navigation a:hover { color: var(--clay); }
.student-navigation a[aria-current="page"] { font-weight: 700; }
.sidebar-note { margin: 27px 0 0; color: #596357; font: italic .82rem/1.6 var(--serif); }
.student-workspace { min-width: 0; padding-top: 2px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.section-heading > .text-link { flex-shrink: 0; padding-bottom: 4px; font-size: .79rem; }
.section-description { margin: 20px 0 27px; font-size: .94rem; line-height: 1.6; color: #3d5045; }
.learning-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(29,40,38,.38); }
.learning-entry { padding: 24px 0 22px; border-bottom: 1px solid var(--line); }
.learning-entry__eyebrow { margin: 0 0 8px; color: #687164; font-size: .64rem; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; }
.learning-entry h3 { margin: 0; color: var(--pine); font: 400 1.65rem/1.15 var(--serif); letter-spacing: -.03em; overflow-wrap: anywhere; }
.learning-entry__description { max-width: 58ch; margin: 8px 0 0; color: #3f5147; font-size: .84rem; line-height: 1.55; }
.learning-entry__status { margin: 8px 0 0; color: #697367; font-size: .69rem; line-height: 1.5; }
.learning-entry__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 25px; margin-top: 18px; }
.text-link, .text-button { color: var(--clay); font-size: .83rem; font-weight: 650; text-decoration: none; }
.text-link { display: inline-block; border-bottom: 1px solid rgba(166,79,51,.35); padding-bottom: 3px; }
.text-link:hover, .text-button:hover { color: var(--pine); }
.text-button { padding: 5px 0; background: none; border: 0; text-align: left; }
.text-button--muted { color: #657064; font-size: .74rem; font-weight: 400; }
.action-button { display: inline-block; padding: 11px 17px; border: 1px solid var(--pine); background: var(--pine); color: #fffaf0; font-size: .84rem !important; line-height: 1.4; text-decoration: none; transition: background .15s; }
.action-button:hover { background: #18382f; }
.progress-caption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 15px; margin: 18px 0 8px; font-size: .73rem; color: #3d5045; }
.progress-caption .completion-note { color: var(--clay); }
.course-progress { display: block; width: 100%; height: 3px; appearance: none; border: none; background: rgba(35,72,62,.15); color: var(--pine); }
.course-progress::-webkit-progress-bar { background: rgba(35,72,62,.15); }
.course-progress::-webkit-progress-value { background: var(--pine); }
.course-progress::-moz-progress-bar { background: var(--pine); }
.learning-footnote { max-width: 66ch; margin: 23px 0 0; color: #657064; font-size: .72rem; line-height: 1.7; }
.empty-state { padding: 31px 0 34px; border-bottom: 1px solid var(--line); }
.empty-mark { margin: 0 0 12px; color: var(--clay); font: 2.25rem/1 var(--serif); }
.empty-state h3 { margin: 0 0 10px; color: var(--pine); font: 400 1.75rem/1.2 var(--serif); letter-spacing: -.03em; }
.empty-state > p:not(.empty-mark) { max-width: 46ch; margin: 0 0 20px; color: #4b5b50; font-size: .91rem; line-height: 1.65; }
.catalog-filters { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(135px, 1fr); gap: 18px; margin: 28px 0 20px; }
.catalog-filters label, .profile-form > label:not(.consent-label) { display: block; color: var(--pine); font-size: .77rem; font-weight: 650; }
.student-page :is(.profile-form, .catalog-filters) input:not([type="checkbox"]), .student-page .catalog-filters select { display: block; width: 100%; margin-top: 8px; padding: 12px 10px; border: 1px solid rgba(35,72,62,.38); border-radius: 0; color: var(--ink); background: rgba(255,252,244,.49); font-size: .86rem; line-height: 1.35; }
.student-page :is(.profile-form, .catalog-filters) input::placeholder { color: #6a746c; opacity: 1; }
.student-page .profile-form input[readonly] { background: rgba(236,233,221,.45); color: #667167; }
.catalog-count { margin: 20px 0 12px; color: #5b685c; font-size: .7rem; letter-spacing: .04em; }
.profile-form { max-width: 520px; margin-top: 30px; }
.profile-form > label:not(:first-child) { margin-top: 26px; }
.field-optional, .field-required { margin-left: 8px; color: #697367; font-size: .66rem; font-weight: 400; }
.form-hint { margin: 8px 0 0; color: #5b685c; font-size: .73rem; line-height: 1.55; }
.inline-button { display: inline; padding: 0; border: none; background: none; color: var(--clay); font-size: inherit !important; text-align: left; text-decoration: underline; text-underline-offset: 3px; }
.consent-label { display: flex; gap: 12px; align-items: flex-start; margin: 32px 0 26px; font-size: .84rem; line-height: 1.55; color: #3d5045; }
.consent-label input { flex: 0 0 18px; width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--pine); }
.consent-label small { display: block; margin-top: 6px; color: #637062; font-size: .72rem; }
.form-status { min-height: 1.5em; color: var(--pine); font-size: .8rem; line-height: 1.5; }
.form-status[data-error="true"] { color: #8c321d; }
.account-data { max-width: 520px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }
.account-data h3 { margin: 0; color: var(--pine); font: 400 1.45rem/1.25 var(--serif); letter-spacing: -.025em; }
.account-data > p:not(.form-status) { margin: 11px 0 10px; color: #536256; font-size: .8rem; line-height: 1.6; }
.account-data .form-status:empty { display: none; }
.account-data--delete .text-button { color: #8c321d; text-decoration: underline; text-underline-offset: 4px; }
.student-notice { margin: 0 0 25px; padding: 12px 0 12px 15px; border-left: 2px solid var(--clay); color: var(--pine); font-size: .85rem; line-height: 1.55; }
.student-notice[data-error="true"] { color: #8c321d; }
.course-invitation { margin: 0 0 37px; padding: 0 0 24px; border-bottom: 1px solid rgba(29,40,38,.4); }
.student-page .course-invitation h2 { font-size: 1.8rem; }
.course-invitation > p:not(.eyebrow) { font-size: .86rem; line-height: 1.6; }
.student-footer { display: flex; justify-content: space-between; gap: 15px; }
.student-footer a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.privacy-content { max-width: 670px; }
.privacy-content h1 { max-width: 10ch; }
.privacy-content > p { color: #3d5045; line-height: 1.75; }
.privacy-content section { margin-top: 32px; padding-top: 23px; border-top: 1px solid var(--line); }
.student-page .privacy-content section h2 { font-size: 1.65rem; }
.privacy-content section p, .privacy-content section li { color: #3d5045; font-size: .94rem; line-height: 1.75; }
.privacy-content ul { padding-left: 20px; }
.privacy-content li { padding-left: 5px; margin-bottom: 9px; }
@media (max-width: 1150px) {
  .student-dashboard { grid-template-columns: 180px minmax(0, 620px); gap: 40px; max-width: 840px; }
  .student-page .student-scene::after { background: linear-gradient(90deg, rgba(248,242,230,.97) 0%, rgba(248,242,230,.94) 56%, rgba(248,242,230,.6) 83%, rgba(248,242,230,.19) 100%); }
}
@media (max-width: 860px) {
  .student-layout { width: min(100% - 40px, 620px); padding: 35px 0 60px; }
  .student-page .site-nav { width: min(100% - 40px, 620px); gap: 16px; }
  .student-header-actions { gap: 18px; }
  .student-header-actions .back-link { font-size: .64rem; letter-spacing: .04em; }
  .student-header-actions .text-button { font-size: .74rem; }
  .student-dashboard { display: block; }
  .student-sidebar { position: static; }
  .student-page .student-sidebar > h1 { display: inline; margin: 14px 0 12px; font-size: 3.4rem; }
  .student-sidebar h1 br { display: none; }
  .student-sidebar h1 em { margin-left: .12em; }
  .student-sidebar > .eyebrow { margin-bottom: 15px; }
  .student-name { margin: 16px 0 24px; }
  .student-navigation { grid-template-columns: repeat(3, minmax(0,1fr)); margin-bottom: 35px; }
  .student-navigation a { grid-template-columns: 1fr; font-size: .88rem; text-align: center; padding: 15px 3px; }
  .student-navigation a span { display: none; }
  .student-navigation a[aria-current="page"] { border-bottom: 2px solid var(--clay); }
  .sidebar-note { display: none; }
  .student-page .student-scene::after { background: rgba(248,242,230,.9); }
  .student-scene::before { background-position: 65% center; }
  .student-page :is(.section-heading, .course-invitation, .privacy-content) h2 { font-size: 2.35rem; }
  .section-heading { align-items: baseline; }
  .section-heading > .text-link { font-size: .72rem; }
  .student-footer { width: min(100% - 40px, 620px); flex-direction: column; gap: 8px; }
  .auth-view, .startup-state { padding-top: 5px; }
  .student-page .auth-view > h1 { font-size: clamp(3.3rem, 12vw, 5.1rem); }
}
@media (max-width: 470px) {
  .student-page .brand-link { display: none; }
  .catalog-filters { grid-template-columns: 1fr; gap: 15px; }
  .section-heading { flex-wrap: wrap; gap: 14px; }
  .student-page :is(.section-heading, .course-invitation, .privacy-content) h2 { font-size: 2.1rem; }
  .student-page .student-sidebar > h1 { font-size: 3rem; }
  .learning-entry h3 { font-size: 1.5rem; }
  .student-navigation a { font-size: .82rem; }
  #clerk-auth { max-width: 100%; }
}
