/*
Theme Name: Học liệu VNU
Description: Giao diện kho học liệu cộng đồng cho hoclieuvnu.com.
Version: 1.0.0
Requires PHP: 8.0
*/
:root{--green:#008653;--green-dark:#006c43;--green-light:#eaf7f0;--ink:#101b2c;--muted:#748095;--line:#e8edf0;--surface:#fff;--shadow:0 4px 18px rgba(24,48,42,.045);--radius:14px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:#fff;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;font-size:15px;line-height:1.6;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a,button{transition:color .18s,background .18s,border-color .18s,box-shadow .18s,transform .18s}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #6bcca3;outline-offset:4px}input,select,textarea{min-width:0}h1,h2,h3,p{margin:0}h1,h2,h3{line-height:1.3;letter-spacing:-.035em}h1{font-size:42px}h2{font-size:23px;font-weight:730}h3{font-size:17px}em{font-style:normal;color:var(--green)}.container{width:min(1280px,calc(100% - 80px));margin-inline:auto}.icon{width:22px;height:22px;flex-shrink:0;vertical-align:middle}.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;top:-70px;left:15px;z-index:10000;padding:10px 20px;background:#fff;box-shadow:var(--shadow)}.skip-link:focus{top:10px}.eyebrow{display:block;font-size:10px;font-weight:750;letter-spacing:.16em;color:#7a8793;margin-bottom:6px}.text-link{display:inline-flex;align-items:center;gap:10px;color:var(--green);font-weight:600;font-size:14px}.text-link .icon{width:19px;height:19px}.text-link:hover{color:var(--green-dark);gap:13px}.button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:46px;padding:11px 22px;border:1px solid transparent;border-radius:9px;font-size:14px;font-weight:650;white-space:nowrap}.button-primary{color:#fff;background:var(--green);box-shadow:0 3px 7px #00865312}.button-primary:hover{background:var(--green-dark);box-shadow:0 5px 16px #00865328;transform:translateY(-1px)}.button-outline{color:var(--green);background:#fff;border-color:#b7d9c9}.button-outline:hover{background:var(--green-light)}.button-full{width:100%}.button .icon{width:19px;height:19px}.muted,.small{color:var(--muted);font-size:13px}.site-header{height:88px;border-bottom:1px solid #f1f4f2;background:#ffffffed;position:relative;z-index:20}.header-inner{height:100%;display:flex;justify-content:space-between;align-items:center}.brand{display:flex;align-items:center;gap:13px}.brand-mark{width:46px;height:48px;display:grid;place-items:center;color:var(--green)}.brand-mark .icon{width:43px;height:43px;stroke-width:1.8}.brand strong{display:block;font-size:20px;font-weight:800;letter-spacing:-.045em;line-height:1.3}.brand small{display:block;font-size:11px;letter-spacing:.005em;color:#7b8696;margin-top:4px}.main-nav{display:flex;align-items:center;gap:35px;font-size:14px;color:#3e495b}.main-nav>a{position:relative;padding:10px 0}.main-nav>a:hover,.main-nav>a.active{color:var(--green)}.main-nav>a.active:after{content:"";position:absolute;height:2px;background:var(--green);bottom:1px;left:0;right:0}.main-nav .login-link{display:flex;align-items:center;gap:8px;border:1px solid #a2c8b5;border-radius:8px;padding:8px 15px;color:var(--green);font-size:13px;margin-left:1px}.login-link .icon{width:18px;height:18px}.login-link:hover{background:var(--green-light)}.mobile-toggle{display:none;background:none;border:0;padding:7px;color:var(--ink)}
.hero{position:relative;overflow:hidden;background:linear-gradient(110deg,#f4fbf7 0%,#fff 34%,#fff 67%,#f3faf6 100%);border-bottom:1px solid #f5f7f6}.hero-content{text-align:center;padding-top:40px;padding-bottom:28px;position:relative;z-index:1}.hero-kicker{display:inline-flex;align-items:center;gap:8px;font-size:10px;font-weight:750;letter-spacing:.14em;color:#648775;margin-bottom:15px}.hero-kicker>span{width:6px;height:6px;background:var(--green);border-radius:100%}.hero h1{font-size:clamp(30px,3.1vw,44px);font-weight:780;letter-spacing:-.045em;margin-bottom:10px;line-height:1.35}.hero h1 em{white-space:nowrap}.hero p{color:#788396;font-size:16px;line-height:1.7}.hero-blob{position:absolute;background:#daefe366;border-radius:50%;pointer-events:none}.blob-left{width:560px;height:450px;left:-435px;top:0;transform:rotate(-25deg)}.blob-left:after{content:"";position:absolute;width:450px;height:320px;left:150px;top:235px;border-radius:45%;background:#e2f3e999;transform:rotate(50deg)}.blob-right{height:470px;width:430px;right:-355px;top:60px;transform:rotate(38deg)}.blob-right:after{content:"";height:320px;width:280px;position:absolute;left:-90px;top:220px;border-radius:50%;background:#e0f2e888}
.search-form{max-width:860px;margin:26px auto 0}.search-line{display:flex;gap:12px}.search-box{background:#fff;border:1px solid #e4eae7;border-radius:10px;box-shadow:0 5px 19px #17382806;min-width:0;flex:1;display:flex;align-items:center;padding:0 18px;gap:12px;color:#8390a1;height:54px}.search-box:focus-within{border-color:#79bfa0;box-shadow:0 0 0 3px #0086530b}.search-box input{border:0;background:transparent;width:100%;height:100%;outline:none!important;box-shadow:none;font-size:14px;color:var(--ink)}.search-box input::placeholder{color:#97a1b1}.search-box .icon{width:21px;height:21px}.search-submit{min-width:146px;min-height:54px;font-size:15px}.search-submit .icon{display:none}.filter-line{display:flex;justify-content:center;gap:13px;margin-top:15px}.filter{display:flex;align-items:center;gap:11px;background:white;border:1px solid #e4eae7;box-shadow:var(--shadow);border-radius:9px;padding:0 13px;height:43px;min-width:162px;text-align:left;position:relative;color:#425166}.filter>.icon{height:17px;width:17px}.filter select{width:100%;height:100%;border:0;appearance:none;-webkit-appearance:none;outline:none;background:transparent;padding-right:17px;font-size:12px;color:#273549;cursor:pointer}.filter .select-arrow{position:absolute;right:12px;width:13px;height:13px;pointer-events:none}.answer-filter{display:flex;align-items:center;justify-content:center;gap:9px;border:1px solid #e4eae7;box-shadow:var(--shadow);border-radius:9px;height:43px;background:#fff;padding:0 15px;white-space:nowrap;font-size:12px;color:#273549}.answer-filter input{width:14px;height:14px;accent-color:var(--green);margin:0}.hero-notes{display:flex;align-items:center;justify-content:center;gap:25px;margin-top:20px;font-size:10px;color:#86948d}.hero-notes>span{display:flex;align-items:center;gap:5px}.hero-notes .icon{width:13px;height:13px;stroke:#69a589}
.home-sections{padding-top:29px;padding-bottom:30px}.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:16px}.section-hint{font-size:11px;color:#929ba7;padding-bottom:2px}.school-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}.school-card{border:1px solid var(--line);border-radius:12px;padding:18px 14px;display:flex;gap:12px;align-items:center;box-shadow:var(--shadow);background:#fff;min-height:86px}.school-card:hover{border-color:#b4d6c3;transform:translateY(-3px);box-shadow:0 7px 22px #1337250b}.school-icon{display:grid;place-items:center;color:var(--school-color);width:37px;height:40px;flex-shrink:0}.school-icon .icon{height:32px;width:32px;stroke-width:1.65}.school-label{min-width:0}.school-label strong{display:block;font-weight:750;font-size:16px;line-height:1.3;letter-spacing:-.02em}.school-label small{font-size:9px;line-height:1.55;color:#788396;display:block;margin-top:5px}.school-arrow{width:14px;height:14px;margin-left:auto;color:#768297}.latest-section{margin-top:29px}.document-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.document-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:13px;display:flex;gap:13px;box-shadow:var(--shadow);min-height:164px}.document-card:hover{box-shadow:0 7px 24px #173e270b;border-color:#c7ded2;transform:translateY(-2px)}.document-preview{position:relative;flex-shrink:0;width:85px;background:linear-gradient(135deg,#f8f9f8,#edeff0);border:1px solid #e8eceb;border-radius:6px;overflow:hidden;padding:12px 7px 7px;display:flex;flex-direction:column;align-items:center}.document-preview img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.format-label{position:absolute;top:6px;left:5px;border-radius:4px;background:#ea5b50;font-size:9px;color:#fff;line-height:16px;padding:0 4px;font-weight:750}.paper-title{text-align:center;font-size:6px;line-height:1.55;text-transform:uppercase;font-weight:750;height:46px;margin-top:20px;margin-bottom:8px;max-width:65px;overflow:hidden}.paper-line{width:85%;height:1px;background:#d2d7d7;margin:3px 0}.paper-line.short{width:65%;align-self:flex-start;margin-left:5px}.document-body{min-width:0;flex:1;display:flex;flex-direction:column;padding:3px 0}.document-body h3{font-size:13px;font-weight:650;line-height:1.5;letter-spacing:-.02em;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:38px}.document-body h3 a:hover{color:var(--green)}.document-meta{display:flex;gap:8px;font-size:10px;color:#8290a3;margin-top:4px}.badges{display:flex;gap:6px;flex-wrap:wrap;margin-top:11px}.badge{display:inline-flex;font-size:10px;border-radius:6px;line-height:1.5;padding:3px 7px;white-space:nowrap}.badge-type{background:#eaf3ff;color:#3171b4}.badge-answer{background:#e9f8ef;color:#008250}.document-stats{display:flex;justify-content:space-between;gap:5px;color:#8290a3;font-size:9px;margin-top:auto;padding-top:13px;white-space:nowrap}.document-stats>span{display:flex;align-items:center;gap:4px}.document-stats .icon{height:12px;width:12px}
.empty-state{display:flex;align-items:center;gap:26px;min-height:180px;padding:26px 35px;background:linear-gradient(110deg,#f8fcfa,#fff);border:1px solid #e2eee7;border-radius:13px;position:relative;overflow:hidden}.empty-icon{position:relative;display:grid;place-items:center;width:70px;height:70px;background:#e5f3eb;color:var(--green);border-radius:20px;flex-shrink:0;transform:rotate(-5deg)}.empty-icon>.icon{height:32px;width:32px;transform:rotate(5deg)}.small-spark{position:absolute;top:-4px;right:-3px;background:#fff;border:1px solid #cde7d7;box-shadow:var(--shadow);border-radius:9px;width:24px;height:24px;font-size:18px;line-height:21px;text-align:center}.empty-state .eyebrow{font-size:9px;color:#7f9b8b;letter-spacing:.13em}.empty-state h3{font-size:19px;font-weight:700;margin-bottom:6px}.empty-state p{font-size:12px;line-height:1.75;color:#8a959f;margin-bottom:10px}.empty-state .text-link{font-size:12px}.empty-paper{position:absolute;right:50px;top:28px;border:1px solid #e2eae5;border-radius:9px;background:#fff;transform:rotate(9deg);height:124px;width:96px;box-shadow:-12px 12px 0 #f0f6f2;opacity:.7;display:flex;align-items:center;flex-direction:column;padding-top:19px}.empty-paper>.icon{height:28px;width:28px;color:#a8c3b5;margin-bottom:11px}.empty-paper>span{height:3px;width:52px;background:#eaf0ec;border-radius:3px;margin:3px}.empty-paper>span:last-child{width:36px;align-self:flex-start;margin-left:20px}
.subjects-section{margin-top:25px}.subjects-section .section-heading{margin-bottom:13px}.subjects-section h2{font-size:21px}.subject-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.subject-card{border:1px solid var(--line);border-radius:10px;display:flex;align-items:center;gap:16px;padding:15px 17px;font-size:12px;box-shadow:var(--shadow)}.subject-card>.icon:first-child{color:#748093;width:22px;height:22px}.subject-card>.icon:last-child{width:14px;height:14px;margin-left:auto;color:#9aa4b2}.subject-card:hover{border-color:#b4d6c3;background:#fbfefc}.subject-empty{display:flex;align-items:center;gap:12px;border:1px solid #edf1ee;background:#fcfdfc;padding:15px 19px;border-radius:10px;color:#8e9a94}.subject-empty>.icon{width:21px;height:21px;color:#91ad9d}.subject-empty p{font-size:12px;flex:1}.subject-empty a{font-size:11px}.contribute-strip{margin-top:28px;display:flex;align-items:center;gap:15px;background:#f0f8f3;border-radius:12px;padding:20px 25px;border:1px solid #e1eee5}.strip-icon{width:40px;height:40px;display:grid;place-items:center;color:var(--green)}.strip-icon .icon{width:26px;height:26px}.contribute-strip h2{font-size:17px;font-weight:650;margin-bottom:3px}.contribute-strip p{color:#81958a;font-size:11px}.contribute-strip>.button{margin-left:auto;min-height:40px;font-size:12px;padding:9px 16px}
.site-footer{background:#fff;padding-top:2px}.footer-inner{border-top:1px solid var(--line);display:flex;align-items:center;padding-top:20px;gap:25px}.footer-brand{display:flex;align-items:center;gap:7px;font-weight:750;letter-spacing:-.02em;font-size:12px;color:#3f5c4b}.footer-brand .icon{height:19px;width:19px;color:var(--green)}.footer-inner p{font-size:11px;color:#88968c}.footer-inner nav{display:flex;gap:24px;margin-left:auto;font-size:11px;color:#7c8794}.footer-inner nav a:hover{color:var(--green)}.footer-note{display:flex;justify-content:space-between;font-size:10px;color:#a0aaa4;padding:14px 0 22px}.archive-main{min-height:70vh}.archive-hero{background:#f6fbf8;border-bottom:1px solid #edf3ef;padding:24px 0 32px}.breadcrumb{font-size:11px;color:#7c8d82;display:inline-block;margin-bottom:22px}.archive-hero>.container>.eyebrow{text-align:center}.archive-hero h1{text-align:center;font-size:36px;margin-bottom:5px}.archive-hero p{text-align:center;color:#8b9690;font-size:13px}.search-compact{margin-top:22px}.results-section{padding-top:29px;padding-bottom:60px}.results-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:23px;gap:20px}.results-heading h2{font-size:20px;display:flex;align-items:center;gap:10px}.result-count{font-size:12px;letter-spacing:0;font-weight:650;padding:2px 9px;background:#edf6f0;border-radius:7px;color:var(--green)}.reset-button{background:none;border:0;padding:5px;font-size:12px}.reset-button .icon{width:15px;height:15px}.results-section .document-grid{row-gap:20px}.results-section [data-results]{transition:opacity .2s}.results-section [data-results].loading{opacity:.4;pointer-events:none}.pagination{display:flex;justify-content:center;gap:7px;margin-top:28px}.pagination a,.pagination button{display:grid;place-items:center;width:36px;height:36px;border:1px solid var(--line);background:#fff;border-radius:7px;font-size:13px;color:#6b7789}.pagination .current{background:var(--green);border-color:var(--green);color:#fff}.pagination a:hover,.pagination button:hover{border-color:var(--green)}
.inner-main{padding-top:46px;padding-bottom:65px;min-height:65vh}.page-intro{text-align:center;margin-bottom:37px}.page-intro h1{font-size:38px;margin-bottom:12px}.page-intro>.eyebrow{margin-bottom:12px;color:#6a9b7c}.page-intro>p{color:#839087;font-size:14px}.upload-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;max-width:1060px;margin:auto;gap:32px}.form-panel{border:1px solid var(--line);border-radius:16px;padding:30px;box-shadow:var(--shadow)}.login-prompt{text-align:center;padding:35px 25px}.login-prompt>.empty-icon{margin:0 auto 23px}.login-prompt h2{margin-bottom:12px;font-size:23px}.login-prompt>p{color:#8a9590;font-size:13px;line-height:1.85;max-width:420px;margin:0 auto 24px}.login-prompt>p.small{margin-top:20px;font-size:11px}.login-prompt .small a{color:var(--green)}.upload-guide{padding:9px 0}.upload-guide h2{font-size:19px;margin-bottom:25px}.upload-guide>div{display:flex;gap:13px;margin-bottom:24px}.upload-guide>div>.icon{width:22px;height:22px;color:var(--green);margin-top:2px}.upload-guide strong{font-size:13px}.upload-guide p{font-size:12px;color:#89958d;line-height:1.85;margin-top:5px}.upload-guide .guide-note{background:#f3f8f5;border:1px solid #e7f1eb;border-radius:9px;padding:14px;font-size:11px}.upload-form{display:flex;flex-direction:column;gap:20px}.upload-form label{display:flex;flex-direction:column;gap:8px;font-size:13px;font-weight:600}.upload-form label>span:not(.file-selection){font-weight:400}.upload-form input:not([type=checkbox]):not([type=file]),.upload-form select,.upload-form textarea{width:100%;border:1px solid #dfe7e1;border-radius:8px;padding:11px 12px;background:#fff;font-size:13px;color:var(--ink)}.upload-form textarea{resize:vertical}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:20px}.form-row .form-checkbox{display:flex;flex-direction:row;align-items:center;gap:9px;margin-top:23px;font-weight:400}.form-checkbox input,.rights-checkbox input{accent-color:var(--green);width:16px;height:16px;flex-shrink:0}.upload-form .file-drop{align-items:center;position:relative;border:1px dashed #abcdb9;background:#f8fcfa;border-radius:10px;padding:26px 15px;text-align:center;cursor:pointer;overflow:hidden}.file-drop>.icon{height:28px;width:28px;color:var(--green);margin-bottom:3px}.file-drop>span{font-size:11px;color:#8a9b90}.file-drop input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%}.file-drop:focus-within{outline:3px solid #6bcca3;outline-offset:3px}.file-drop .file-selection{font-size:12px;color:var(--green);word-break:break-word}.upload-form .rights-checkbox{display:flex;flex-direction:row;gap:9px;font-size:11px;color:#7a8d80;align-items:flex-start;font-weight:400}.rights-checkbox input{margin-top:3px}.upload-form>.button{align-self:flex-start}.notice{display:flex;align-items:center;gap:10px;padding:16px 20px;background:#f4f8f6;border:1px solid #dcebe2;border-radius:10px;font-size:13px;color:#5e7867;margin-bottom:22px;line-height:1.75}.notice-success{background:#edf9f1;color:#147d42}.notice-error{background:#fff1ef;border-color:#f5d7d0;color:#a54536}.donate-main{max-width:940px}.donate-card{text-align:center;border:1px solid var(--line);border-radius:18px;background:linear-gradient(170deg,#fff,#fafdfa);max-width:560px;margin:0 auto;padding:38px 45px;box-shadow:var(--shadow)}.donate-heart{display:grid;place-items:center;margin:0 auto 20px;background:#eaf6ee;color:var(--green);height:74px;width:74px;border-radius:24px;transform:rotate(-5deg)}.donate-heart .icon{height:32px;width:32px;transform:rotate(5deg)}.donate-card h2{font-size:24px;margin-bottom:13px}.donate-card>p{font-size:13px;color:#8a958e;line-height:1.9;margin-bottom:25px}.donate-card .notice{text-align:left;font-size:12px}.donate-card .small{font-size:11px;margin-bottom:0}.donate-divider{height:1px;background:#e9efeb;margin:28px 0 22px}
.detail-main{padding-top:25px;padding-bottom:55px}.breadcrumbs{display:flex;gap:10px;font-size:11px;color:#8c9791;margin-bottom:30px}.breadcrumbs a:hover{color:var(--green)}.detail-layout{display:grid;grid-template-columns:minmax(0,1fr) 295px;gap:40px;align-items:start}.detail-content>.badges{margin-top:0;margin-bottom:14px}.detail-content>.badges .badge{font-size:11px}.detail-content h1{font-size:32px;line-height:1.4}.detail-facts{display:flex;flex-wrap:wrap;gap:20px;font-size:12px;color:#859086;margin:18px 0 25px}.detail-facts>span{display:flex;align-items:center;gap:7px}.detail-facts .icon{width:16px;height:16px}.prose{font-size:15px;line-height:1.85;color:#58665e;overflow-wrap:anywhere}.prose p{margin-bottom:17px}.prose a{color:var(--green);text-decoration:underline}.prose img{max-width:100%;height:auto}.prose h1,.prose h2,.prose h3{color:var(--ink);margin:22px 0 12px}.preview-heading{display:flex;justify-content:space-between;align-items:center;margin-top:30px;margin-bottom:15px}.preview-heading h2{font-size:19px}.preview-heading .text-link{font-size:12px}.pdf-preview{width:100%;height:680px;border:1px solid #dfe9e2;border-radius:10px;background:#f1f3f2}.pdf-preview+.muted{font-size:11px;margin-top:8px}.preview-unavailable{text-align:center;border:1px dashed #c6dace;border-radius:14px;background:#f8fcf9;padding:55px 25px;margin-top:30px;color:#84978a}.preview-unavailable>.icon{height:40px;width:40px;margin-bottom:15px;color:#659f7c}.preview-unavailable h2{font-size:20px;color:#476252;margin-bottom:8px}.preview-unavailable p{font-size:13px}.download-panel{border:1px solid #e1ebe4;border-radius:14px;padding:25px;box-shadow:var(--shadow);position:sticky;top:25px}.file-emblem{height:50px;width:44px;display:grid;place-items:center;background:#edf8f0;border-radius:10px;color:var(--green);margin-bottom:15px}.file-emblem .icon{height:27px;width:27px}.download-panel h2{font-size:20px}.download-panel dl{font-size:12px;margin:22px 0}.download-panel dl>div{display:flex;justify-content:space-between;gap:10px;margin:12px 0}.download-panel dt{color:#8c9a90}.download-panel dd{margin:0;color:#425b4a;font-weight:600;text-align:right;overflow-wrap:anywhere}.download-panel .button+.button{margin-top:10px;font-size:12px}.download-note{font-size:10px;color:#87998d;line-height:1.9;display:flex;align-items:flex-start;gap:8px;margin:19px 0}.download-note .icon{height:16px;width:16px;margin-top:3px}.report-link{font-size:10px}.not-found{text-align:center;padding-top:90px;padding-bottom:100px}.not-found h1{font-size:36px;margin:15px 0}.not-found p{font-size:14px;color:#8b9690;margin:0 auto 25px;max-width:560px}
@media(min-width:1500px){.container{width:min(1400px,calc(100% - 120px))}.hero-content{padding-top:47px;padding-bottom:34px}.hero h1{font-size:46px}.school-card{padding:20px 18px}.school-label small{font-size:10px}.document-card{min-height:176px}.document-preview{width:94px}.document-body h3{font-size:14px}.home-sections{padding-top:31px}.school-grid{gap:17px}}
@media(max-width:1150px){.container{width:calc(100% - 48px)}.hero h1{font-size:36px}.school-grid{gap:10px}.school-card{padding:16px 10px;gap:9px}.school-icon{width:28px}.school-icon .icon{height:27px;width:27px}.school-label small{font-size:8px}.school-arrow{display:none}.document-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.school-label strong{font-size:15px}.empty-paper{right:35px}.hero-blob{opacity:.6}.detail-layout{gap:25px}.upload-layout{grid-template-columns:minmax(0,1fr) 270px;gap:25px}}
@media(max-width:800px){.container{width:calc(100% - 36px)}.site-header{height:75px}.brand strong{font-size:18px}.brand small{font-size:10px}.brand-mark,.brand-mark .icon{width:36px;height:39px}.main-nav{gap:20px;font-size:12px}.main-nav .login-link{font-size:11px;padding:7px 10px}.hero-content{padding-top:31px;padding-bottom:23px}.hero h1{font-size:31px;max-width:660px;margin-inline:auto}.hero p{font-size:13px}.hero-kicker{font-size:9px}.search-form{margin-top:23px}.search-box{height:50px}.search-submit{min-width:120px;min-height:50px;font-size:13px}.filter{min-width:0;flex:1;padding:0 10px}.filter-line{gap:9px}.filter select{font-size:11px}.answer-filter{font-size:11px;padding:0 11px}.filter>.icon{width:15px;height:15px}.school-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.school-card{padding:17px 13px;min-height:81px;gap:11px}.school-label small{font-size:9px}.school-card:last-child{grid-column:auto}.section-hint{display:none}.empty-state{padding:25px;gap:20px}.empty-paper{display:none}.subject-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.contribute-strip{padding:20px;gap:10px;flex-wrap:wrap}.contribute-strip h2{font-size:15px}.contribute-strip p{font-size:10px}.contribute-strip>.button{margin-left:50px}.subject-empty{flex-wrap:wrap}.subject-empty>.text-link{margin-left:33px}.upload-layout{grid-template-columns:1fr}.upload-guide{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.upload-guide h2,.upload-guide .guide-note{grid-column:1/-1}.upload-guide>div{gap:9px;margin-bottom:5px}.upload-guide p{font-size:11px}.upload-guide h2{margin-bottom:3px}.detail-layout{grid-template-columns:minmax(0,1fr) 245px;gap:23px}.download-panel{padding:20px}.detail-content h1{font-size:27px}.detail-facts{gap:12px}.detail-facts>span{font-size:10px}.footer-note{font-size:9px;gap:20px}.footer-inner{gap:15px}}
@media(max-width:600px){.container{width:calc(100% - 32px)}.site-header{height:73px}.brand{gap:9px}.brand strong{font-size:17px}.brand small{font-size:9px}.brand-mark .icon{height:35px;width:35px}.mobile-toggle{display:block}.main-nav{display:none;position:absolute;top:72px;left:0;right:0;background:white;padding:15px 22px 23px;border-bottom:1px solid var(--line);box-shadow:0 10px 15px #183a240a;flex-direction:column;align-items:stretch;gap:7px;font-size:14px}.main-nav.open{display:flex}.main-nav>a.active:after{display:none}.main-nav .login-link{justify-content:center;padding:10px;font-size:13px;margin-top:4px}.hero-content{padding-top:27px;padding-bottom:22px}.hero-kicker{font-size:8px;letter-spacing:.12em;margin-bottom:14px}.hero h1{font-size:29px;max-width:350px;line-height:1.38;letter-spacing:-.045em;margin-bottom:13px}.hero h1 em{white-space:normal}.hero p{font-size:12px;line-height:1.9;max-width:360px;margin:auto}.desktop-break{display:none}.hero-blob{opacity:.45}.search-form{margin-top:22px}.search-line{gap:8px}.search-box{padding:0 12px;gap:8px;height:48px}.search-box .icon{width:17px;height:17px}.search-box input{font-size:11px}.search-submit{min-width:84px;min-height:48px;font-size:12px;padding:9px 12px}.filter-line{flex-wrap:wrap;gap:9px;margin-top:12px}.filter{flex:0 0 calc(50% - 5px);height:41px;gap:9px;padding:0 11px}.filter select{font-size:11px}.answer-filter{flex:1;height:41px;font-size:11px;justify-content:flex-start;padding-left:13px}.hero-notes{gap:12px;font-size:8px;margin-top:19px;flex-wrap:wrap}.hero-notes .icon{width:11px;height:11px}.home-sections{padding-top:24px}.section-heading{margin-bottom:13px;gap:10px}.section-heading .eyebrow{font-size:8px;letter-spacing:.12em;margin-bottom:5px}.section-heading h2{font-size:20px}.section-heading>.text-link{font-size:11px;gap:5px;white-space:nowrap}.section-heading>.text-link .icon{width:15px;height:15px}.school-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.school-card{padding:13px 11px;min-height:76px;gap:9px}.school-label strong{font-size:14px}.school-label small{font-size:8px;line-height:1.6;margin-top:4px}.school-icon{width:26px;height:30px}.school-icon .icon{width:25px;height:25px}.school-card:last-child{grid-column:1/-1;min-height:65px}.school-card:last-child .school-arrow{display:block}.latest-section{margin-top:25px}.document-grid{grid-template-columns:1fr;gap:12px}.document-card{padding:13px;min-height:157px;gap:16px}.document-preview{width:88px;min-height:129px}.document-body h3{font-size:14px;min-height:0}.document-meta{font-size:11px}.badges{margin-top:11px}.document-stats{font-size:10px;padding-top:17px}.empty-state{min-height:0;padding:25px 21px;gap:0;flex-direction:column;align-items:flex-start}.empty-icon{width:51px;height:51px;border-radius:15px;margin-bottom:21px}.empty-icon>.icon{width:27px;height:27px}.small-spark{width:20px;height:20px;font-size:16px;line-height:17px;border-radius:7px}.empty-state .eyebrow{font-size:7px;letter-spacing:.09em}.empty-state h3{font-size:18px;margin-bottom:9px}.empty-state p{font-size:11px;line-height:1.9}.empty-state p br{display:none}.empty-state .text-link{font-size:11px;margin-top:4px}.subjects-section{margin-top:25px}.subject-grid{grid-template-columns:1fr;gap:10px}.subject-card{font-size:12px;padding:13px 15px}.subject-empty{padding:15px;gap:9px}.subject-empty p{font-size:11px;line-height:1.8;flex-basis:calc(100% - 35px)}.subject-empty>.text-link{font-size:10px;margin-left:30px}.contribute-strip{margin-top:24px;padding:21px 18px;align-items:flex-start;gap:10px}.strip-icon{width:26px;height:30px}.strip-icon>.icon{width:23px;height:23px}.contribute-strip>div:nth-child(2){flex:1}.contribute-strip h2{font-size:16px;line-height:1.5}.contribute-strip p{font-size:10px;line-height:1.8;margin-top:6px}.contribute-strip>.button{margin-top:5px;margin-left:36px;font-size:11px}.footer-inner{flex-wrap:wrap;padding-top:21px;row-gap:12px;column-gap:12px}.footer-brand{font-size:10px}.footer-inner p{font-size:10px;margin-left:auto}.footer-inner nav{margin-left:0;flex-basis:100%;font-size:11px;gap:25px}.footer-note{flex-direction:column;font-size:9px;gap:5px;padding-top:15px}.archive-hero{padding:18px 0 24px}.breadcrumb{font-size:10px;margin-bottom:22px}.archive-hero h1{font-size:29px}.archive-hero p{font-size:11px}.archive-hero .eyebrow{font-size:8px}.results-section{padding-top:24px}.results-heading h2{font-size:17px}.result-count{font-size:11px}.reset-button{font-size:10px}.results-heading{gap:10px}.inner-main{padding-top:30px;padding-bottom:42px}.page-intro{margin-bottom:26px}.page-intro h1{font-size:29px}.page-intro>.eyebrow{font-size:8px}.page-intro p{font-size:12px;line-height:1.85}.form-panel{padding:20px 17px}.login-prompt{padding:15px 4px}.login-prompt h2{font-size:21px}.login-prompt>p{font-size:12px}.login-prompt .button{font-size:12px}.upload-guide{grid-template-columns:1fr;margin-top:10px;gap:14px}.upload-guide>div{gap:12px}.upload-guide strong{font-size:13px}.upload-guide p{font-size:12px}.upload-guide h2{margin-bottom:9px}.form-row{grid-template-columns:1fr;gap:19px}.form-row .form-checkbox{margin-top:0}.upload-form{gap:19px}.upload-form label{font-size:12px}.upload-form .rights-checkbox{font-size:10px}.upload-form .file-drop{padding:23px 13px}.file-drop>span{font-size:10px}.donate-card{padding:28px 21px}.donate-card h2{font-size:23px}.donate-card>p{font-size:12px}.donate-card .notice{font-size:11px}.detail-main{padding-top:20px}.breadcrumbs{font-size:10px;margin-bottom:22px;gap:7px}.detail-layout{display:flex;flex-direction:column;gap:25px}.detail-content{width:100%}.detail-content h1{font-size:27px}.detail-facts{font-size:11px;gap:13px}.download-panel{position:static;width:100%}.pdf-preview{height:460px}.prose{font-size:14px}.preview-heading h2{font-size:17px}.preview-heading .text-link{font-size:10px}.not-found h1{font-size:29px}.not-found p{font-size:12px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

/* Keep the contribution callout balanced on small screens. */
@media(max-width:600px){
.contribute-strip{display:grid;grid-template-columns:26px minmax(0,1fr);gap:10px 12px}
.contribute-strip>div:nth-child(2){min-width:0}
.contribute-strip>.button{grid-column:2;margin:7px 0 0;justify-self:start}
.school-label small{font-size:9px}
}
