/* Self-contained resource library layout. Keep this file beside app.css on the host. */
:root{--rl-ink:#102e52;--rl-blue:#2f66f3;--rl-green:#0da87a;--rl-mist:#f4f7fc;--rl-line:#dce6f2;--rl-muted:#607895}*{box-sizing:border-box}body{margin:0;background:radial-gradient(circle at 90% 5%,#dce9ff,transparent 26rem),radial-gradient(circle at 4% 80%,#dff6ec,transparent 21rem),var(--rl-mist);color:var(--rl-ink);font:14px/1.5 Inter,Segoe UI,Arial,sans-serif}.public-top{position:sticky;top:0;z-index:30;display:flex;align-items:center;justify-content:space-between;gap:22px;min-height:74px;padding:0 clamp(22px,5vw,72px);border-bottom:1px solid var(--rl-line);background:#fffffff2;backdrop-filter:blur(14px)}.public-brand{display:flex;align-items:center;gap:15px;min-width:0;color:var(--rl-ink);font-size:16px;font-weight:900;line-height:1.14;text-decoration:none}.public-brand img{width:180px;height:68px;padding-right:15px;border-right:1px solid var(--rl-line);object-fit:contain;object-position:left center}.public-brand small{display:block;margin-top:4px;color:var(--rl-muted);font-size:10px}.public-nav{display:flex;align-items:center;gap:12px}.public-nav a{padding:9px 13px;border:1px solid #cbd9ed;border-radius:10px;color:#1b429b;font-size:12px;font-weight:850;text-decoration:none}.public-nav .nav-cta{border-color:#b8ccef;background:#fff;box-shadow:0 5px 13px #173f700b}.library-shell{width:min(1220px,calc(100% - 42px));margin:auto}.library-hero{display:flex;align-items:end;justify-content:space-between;gap:30px;padding:52px 0 27px}.public-eyebrow{display:inline-flex;align-items:center;gap:8px;color:var(--rl-blue);font-size:10px;font-weight:900;letter-spacing:.13em}.public-eyebrow:before{width:7px;height:7px;border-radius:50%;background:var(--rl-green);box-shadow:0 0 0 5px #0da87a20;content:""}.library-hero h1{margin:8px 0 5px;font-size:38px;letter-spacing:-1.4px}.library-hero p{max-width:650px;margin:0;color:var(--rl-muted);font-size:16px}.library-search{display:flex;align-items:center;gap:8px;width:min(100%,355px);padding:11px 13px;border:1px solid #cbd9ed;border-radius:12px;background:#fff;box-shadow:0 8px 19px #173f7010}.library-search svg{width:18px;fill:none;stroke:#66809f;stroke-width:2}.library-search span{color:#8092aa;font-size:13px}.library-featured{display:grid;grid-template-columns:1.2fr .8fr;gap:28px;align-items:center;margin-bottom:22px;padding:27px 30px;border:1px solid #3058c3;border-radius:21px;background:linear-gradient(120deg,#102e66,#2449be);box-shadow:0 18px 38px #153b8726;color:#fff}.library-featured small{color:#bdd1ff;font-size:10px;font-weight:900;letter-spacing:.12em}.library-featured h2{margin:8px 0;font-size:25px}.library-featured p{max-width:650px;margin:0;color:#d5e2ff}.library-actions{display:flex;justify-content:end;gap:9px;flex-wrap:wrap}.public-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:11px 13px;border:1px solid #c9daf1;border-radius:10px;background:#fff;color:#183e96;font-size:12px;font-weight:850;text-decoration:none}.library-actions .outline{border-color:#ffffff4e;background:#ffffff13;color:#fff}.library-layout{display:grid;grid-template-columns:245px minmax(0,1fr);gap:20px;padding-bottom:54px}.library-filters{height:max-content;padding:19px;border:1px solid var(--rl-line);border-radius:17px;background:#fff;box-shadow:0 9px 24px #173f700a}.library-filters h2{margin:0 0 14px;font-size:15px}.filter-label{display:block;margin:17px 0 7px;color:#69809b;font-size:10px;font-weight:900;letter-spacing:.1em}.library-filters a{display:flex;align-items:center;justify-content:space-between;margin:3px 0;padding:9px 10px;border-radius:9px;color:#486480;font-size:12px;font-weight:750;text-decoration:none}.library-filters a.active{background:#eaf0ff;color:#1e4fcb}.library-filters a span{display:grid;place-items:center;min-width:23px;height:20px;padding:0 6px;border-radius:99px;background:#eef3fa;color:#7186a0;font-size:10px}.library-filters a.active span{background:#2f66f3;color:#fff}.filter-note{margin-top:19px;padding:13px;border-radius:11px;background:#eefbf6;color:#087756;font-size:11px}.resource-list-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:2px 0 13px}.resource-list-head h2{margin:0;font-size:20px}.resource-list-head span{color:#69809b;font-size:12px}.resource-sort{padding:8px 10px;border:1px solid #cedbed;border-radius:9px;background:#fff;color:#365676;font:750 11px Inter,Segoe UI,Arial,sans-serif}.resource-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.resource-card{display:flex;min-height:218px;flex-direction:column;padding:18px;border:1px solid var(--rl-line);border-radius:16px;background:#fff;box-shadow:0 8px 20px #173f7009;transition:.18s transform,.18s box-shadow}.resource-card:hover{transform:translateY(-3px);box-shadow:0 14px 26px #173f7015}.resource-type{display:flex;align-items:center;justify-content:space-between;gap:8px}.resource-type-icon{display:grid;place-items:center;width:35px;height:35px;border-radius:10px;background:#eaf0ff;color:#2f66f3}.resource-type-icon.green{background:#e8faf2;color:#07805b}.resource-type-icon svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}.resource-tag{padding:4px 7px;border-radius:99px;background:#f0f5fb;color:#607895;font-size:9px;font-weight:850}.resource-card h3{margin:14px 0 6px;font-size:15px;line-height:1.3}.resource-card p{margin:0;color:var(--rl-muted);font-size:12px}.resource-card footer{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:auto;padding-top:15px}.resource-card small{color:#7186a0;font-size:10px}.resource-card footer a{color:#1d4fcd;font-size:11px;font-weight:900;text-decoration:none}.resource-pager{display:flex;justify-content:center;gap:7px;margin-top:24px}.resource-pager button{display:grid;place-items:center;width:31px;height:31px;border:1px solid var(--rl-line);border-radius:8px;background:#fff;color:#4c6581;font:800 12px Inter,Segoe UI,Arial,sans-serif}.resource-pager button.active{border-color:#2f66f3;background:#2f66f3;color:#fff}@media(max-width:950px){.resource-grid{grid-template-columns:repeat(2,1fr)}.library-featured{grid-template-columns:1fr}.library-actions{justify-content:start}}@media(max-width:720px){.public-top{padding:0 15px}.public-brand img{width:104px;height:48px;padding-right:10px}.public-brand{font-size:13px}.public-brand small{display:none}.public-nav a:not(.nav-cta){display:none}.library-hero{align-items:start;flex-direction:column}.library-layout{grid-template-columns:1fr}.library-filters{display:grid;grid-template-columns:repeat(2,1fr);gap:0 12px}.library-filters h2,.filter-note{grid-column:1/-1}.filter-label{margin-top:12px}.resource-grid{grid-template-columns:1fr}.library-shell{width:min(100% - 30px,1220px)}}
