.student-portal .paper-library{max-width:1000px;margin:auto;padding-bottom:24px}.paper-heading{justify-content:space-between;align-items:start;gap:16px;margin-bottom:24px;display:flex}.paper-heading h2{color:var(--study-ink);margin:8px 0;font-size:clamp(26px,5vw,36px);line-height:1.2}.paper-heading p{color:var(--study-muted);max-width:550px;font-size:14px;line-height:1.6}.paper-heading .study-back{margin-bottom:14px}.paper-icon-button{background:var(--study-surface);color:var(--study-ink);border:1px solid var(--study-line);cursor:pointer;border-radius:50%;flex:0 0 44px;place-items:center;width:44px;height:44px;display:grid}.paper-exam-grid{grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:18px;display:grid}.paper-exam{border:1px solid var(--study-line);background:linear-gradient(135deg,var(--study-soft),var(--study-surface));min-height:160px;color:var(--study-ink);text-align:left;cursor:pointer;border-radius:24px;align-items:center;gap:18px;padding:26px;display:flex}.paper-exam>span:nth-child(2){flex:1;gap:7px;display:grid}.paper-exam strong{font-size:26px}.paper-exam small{letter-spacing:.12em;font-size:11px;font-weight:700}.paper-exam span span{color:var(--study-muted);font-size:13px;line-height:1.5}.paper-exam-icon{background:var(--study-action);width:65px;height:65px;color:var(--study-on-action);border-radius:20px;flex-shrink:0;place-items:center;display:grid}.paper-subject-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr));gap:14px;margin-top:20px;display:grid}.paper-subject{border:1px solid var(--study-line);background:var(--study-surface);color:var(--study-ink);text-align:left;cursor:pointer;border-radius:20px;gap:12px;min-height:155px;padding:22px;display:grid;position:relative}.paper-subject>svg{color:var(--study-cyan)}.paper-subject>svg:last-child{color:var(--study-muted);position:absolute;bottom:20px;right:18px}.paper-subject strong{font-size:16px;line-height:1.4}.paper-subject small{color:var(--study-muted);font-size:12px}.paper-filter-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:18px;margin:16px 0;display:flex}.paper-filter-row h3{margin:0;font-size:19px}.paper-year{min-width:150px;color:var(--study-muted);gap:6px;font-size:12px;display:grid}.paper-year select{border:1px solid var(--study-line);background:var(--study-surface);min-height:44px;color:var(--study-ink);font:inherit;border-radius:12px;padding:10px 14px;font-size:15px}.paper-file-list{gap:12px;display:grid}.paper-file{border:1px solid var(--study-line);background:var(--study-surface);border-radius:18px;flex-wrap:wrap;align-items:center;gap:16px;padding:20px;display:flex}.paper-file-icon{background:var(--study-soft);width:48px;height:56px;color:var(--study-ink);border-radius:13px;place-items:center;display:grid}.paper-file-detail{flex:1;min-width:140px}.paper-file-year{color:var(--study-muted);font-size:12px}.paper-file h3{color:var(--study-ink);margin:6px 0;font-size:18px;line-height:1.4}.paper-file p{color:var(--study-muted);margin:0;font-size:12px;line-height:1.6}.paper-file-detail small{color:var(--study-muted);align-items:center;gap:5px;margin-top:6px;font-size:11px;display:flex}.paper-file-actions{flex-wrap:wrap;gap:9px;display:flex}.paper-offline,.paper-loading{border:1px solid var(--study-line);background:var(--study-surface);color:var(--study-ink);border-radius:13px;align-items:center;gap:10px;padding:13px;font-size:13px;display:flex}.paper-empty{text-align:center;border:1px dashed var(--study-line);color:var(--study-ink);border-radius:20px;justify-items:center;gap:12px;margin-top:20px;padding:32px 20px;display:grid}.paper-empty p{color:var(--study-muted);font-size:14px;line-height:1.6}.paper-progress{background:var(--study-surface);border:1px solid var(--study-line);color:var(--study-ink);z-index:6;border-radius:16px;flex-wrap:wrap;align-items:center;gap:12px;margin-top:16px;padding:16px;font-size:13px;display:flex;position:sticky;bottom:12px}.paper-progress progress{min-width:100px;accent-color:var(--study-action);flex:1}.paper-view iframe{border:0;width:100%;height:75vh}@media (max-width:480px){.paper-exam{gap:14px;min-height:140px;padding:20px}.paper-exam-icon{border-radius:16px;width:52px;height:52px}.paper-file{gap:12px;padding:16px}.paper-file-actions{justify-content:flex-end;width:100%}.paper-subject-grid{grid-template-columns:1fr}.paper-subject{gap:8px;min-height:115px}.paper-file-icon{width:40px;height:48px}}
