.student-app{background:#fff;min-height:100dvh;padding-bottom:calc(84px + env(safe-area-inset-bottom));color:#172338}
.student-app .header{max-width:540px;border-bottom:0;height:68px}
.student-app main{padding-top:16px}
.student-app .header .brand{font-size:1rem}
.home-profile,.profile-overview{display:flex;align-items:center;gap:18px;margin:10px 0 30px}
.avatar-link{flex-shrink:0;text-decoration:none;border-radius:50%}
.avatar{width:76px;height:76px;border-radius:50%;object-fit:cover;display:block;background:#eef3fc}
.avatar-placeholder{display:grid;place-items:center;color:#365ca3;font-size:1.7rem;font-weight:750;border:1px solid #e1e8f5}
.profile-copy{min-width:0}
.profile-copy h1{font-size:1.3rem;letter-spacing:-.025em;margin:0 0 7px;overflow-wrap:anywhere}
.profile-copy p{margin:0;font-size:.9375rem;line-height:1.6;color:#52647b;overflow-wrap:anywhere}
.motto-prompt{color:#52647b;font-size:.875rem;text-decoration:none;display:inline-block;padding:5px 0}
.home-counts{margin-bottom:24px}
.home-counts>p{font-size:1.3rem;font-weight:650;letter-spacing:-.035em;margin:0 0 7px}
.home-counts>p strong{color:#2155cd;font-size:1.55rem}
.count-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;color:#52647b;font-size:.875rem}
.count-meta strong{font-weight:650}
.student-app .submit{min-height:88px;border-radius:15px;font-size:1.65rem;font-weight:750;letter-spacing:-.04em;margin:0}
.student-app .review-form{gap:12px}
.student-app .review-form details{margin-top:9px;border-top:1px solid #e8edf4;border-bottom:1px solid #e8edf4;padding-bottom:0}
.student-app .review-form details[open]{padding-bottom:18px}
.student-app .review-form summary{padding:18px 0;font-size:.9375rem;min-height:58px}
.student-app .video-section{padding-top:28px}
.student-app .video-section h2{font-size:1.1rem}
.video-grid{list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:0;margin:15px 0 0}
.video-grid a{display:block;text-decoration:none;color:inherit}
.thumbnail{position:relative;aspect-ratio:16/9;overflow:hidden;background:#eaf0f8;border-radius:9px;margin-bottom:10px}
.thumbnail img{width:100%;height:100%;display:block;object-fit:cover}
.thumbnail-play{position:absolute;inset:0;display:grid;place-items:center;color:white;font-size:1.15rem;text-shadow:0 1px 8px #000;pointer-events:none}
.thumbnail:has(img[hidden]) .thumbnail-play{color:#2155cd;text-shadow:none}
.video-grid strong{display:block;font-size:.9375rem;font-weight:600;line-height:1.5;overflow-wrap:anywhere}
.video-grid small{display:block;margin-top:4px;font-size:.8125rem}
.bottom-tabs{position:fixed;z-index:10;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:540px;display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid #e5eaf2;background:#fff;padding:8px 10px calc(8px + env(safe-area-inset-bottom))}
.bottom-tabs a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:57px;text-decoration:none;color:#64748b;font-size:.875rem;border-radius:8px}
.bottom-tabs a[aria-current]{color:#2155cd;font-weight:750}
.bottom-tabs svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.student-app footer{margin-top:16px;font-size:.8125rem;color:#64748b}
.student-app .record{border:0;border-bottom:1px solid #e5eaf2;border-radius:0;padding:20px 0;margin:0}
.profile-form{border-top:1px solid #e5eaf2;padding-top:24px}
.profile-overview p{font-size:.875rem;margin:3px 0 0}
.remove-photo{display:flex;gap:10px;align-items:center;font-size:.9375rem}
.student-app .empty{background:#f7f9fc;border-radius:8px}
.month-navigation{display:flex;align-items:center;justify-content:space-between;gap:12px}
.month-navigation h2{margin:0;font-size:1.2rem}
.year-navigation{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}
.year-navigation a{display:inline-flex;align-items:center;min-height:44px;padding:8px 4px;font-size:.875rem;text-decoration:none}
.month-navigation a{padding:10px 16px;min-height:48px;text-decoration:none;font-size:1.3rem}
.month-picker{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:10px 0 18px}
.month-picker label{font-size:.875rem;color:#52647b}
.month-picker input{width:auto;min-width:0;flex:1;margin:0}
.week-list{list-style:none;margin:18px 0;padding:0}
.week-list a{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 8px;border-bottom:1px solid #e4eaf2;text-decoration:none;color:inherit;min-height:72px}
.week-list a[aria-current]{background:#edf3ff;border-radius:8px}
.week-list small{display:block;margin-top:3px}
.history-detail-heading{margin-top:26px}
.history-detail-heading h2{margin:0 0 8px}
@media(max-width:360px){.home-profile{gap:13px}.avatar{width:64px;height:64px}.count-meta{font-size:.8125rem}.video-grid{gap:12px}.home-counts>p{font-size:1.2rem}}
