.rx-library-hub-page{padding:34px 0 68px;background:linear-gradient(180deg,#f5f9ff 0,#edf6f7 100%)}
.rx-library-hub{--rx-hub-ink:#0f172a;--rx-hub-muted:#52637b;--rx-hub-line:#d6e3f0;--rx-hub-primary:#0969da;--rx-hub-teal:#07857f;display:grid;gap:26px}
.rx-library-hub__hero,.rx-library-hub__pathways,.rx-library-hub__finder{border:1px solid var(--rx-hub-line);border-radius:30px;background:#fff;box-shadow:0 22px 65px rgba(15,23,42,.07)}
.rx-library-hub__hero{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:30px;padding:38px;align-items:stretch}
.rx-library-hub__kicker,.rx-library-hub__section-head span{display:inline-flex;color:var(--rx-hub-teal);font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}
.rx-library-hub__copy h1{margin:13px 0 12px;color:var(--rx-hub-ink);font-size:clamp(42px,5.6vw,72px);line-height:1;letter-spacing:-.045em}.rx-library-hub__copy>p{max-width:780px;margin:0 0 24px;color:var(--rx-hub-muted);font-size:17px;line-height:1.75}
.rx-library-hub__search{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px;padding:7px;border:1px solid #bfd5ed;border-radius:19px;background:#fff;box-shadow:0 12px 28px rgba(9,105,218,.1)}.rx-library-hub__search input{min-width:0;padding:13px 15px!important;border:0!important;box-shadow:none!important;background:transparent!important;font-size:16px}.rx-library-hub__search button{min-height:50px;padding:0 25px;border:0;border-radius:14px;background:linear-gradient(135deg,var(--rx-hub-primary),var(--rx-hub-teal));color:#fff;font-weight:900;cursor:pointer}
.rx-library-hub__stats{display:grid;gap:13px}.rx-library-hub__stats article{display:flex;flex-direction:column;justify-content:center;min-height:105px;padding:22px;border:1px solid var(--rx-hub-line);border-radius:22px;background:linear-gradient(145deg,#fff,#f5f9fd)}.rx-library-hub__stats strong{color:var(--rx-hub-primary);font-size:34px;line-height:1}.rx-library-hub__stats span{margin-top:10px;color:var(--rx-hub-muted);font-weight:800}
.rx-library-hub__pathways,.rx-library-hub__finder{padding:30px}.rx-library-hub__section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:20px}.rx-library-hub__section-head h2{margin:6px 0 0;color:var(--rx-hub-ink);font-size:clamp(26px,3vw,38px);letter-spacing:-.03em}
.rx-library-hub__cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.rx-library-hub__card{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:16px;align-items:start;min-height:180px;padding:22px;border:1px solid var(--rx-hub-line);border-radius:22px;background:linear-gradient(145deg,#fff,#f7fafc);color:inherit;text-decoration:none!important;overflow:hidden;transition:.2s ease}.rx-library-hub__card:before{content:"";position:absolute;inset:0 auto 0 0;width:5px;background:var(--rx-library-card-accent)}.rx-library-hub__card:hover{transform:translateY(-3px);border-color:color-mix(in srgb,var(--rx-library-card-accent) 42%,#d6e3f0);box-shadow:0 16px 36px rgba(15,23,42,.09)}.rx-library-hub__icon{display:grid;place-items:center;width:52px;height:52px;border-radius:17px;background:color-mix(in srgb,var(--rx-library-card-accent) 13%,#fff);color:var(--rx-library-card-accent);font-weight:950}.rx-library-hub__card h3{margin:2px 0 8px;color:var(--rx-hub-ink);font-size:23px}.rx-library-hub__card p{margin:0;color:var(--rx-hub-muted);line-height:1.6}.rx-library-hub__card-meta{display:grid;justify-items:end;min-width:95px}.rx-library-hub__card-meta strong{color:var(--rx-library-card-accent);font-size:25px}.rx-library-hub__card-meta span,.rx-library-hub__card-meta small{color:#6a7a8f}.rx-library-hub__state{position:absolute;left:22px;bottom:18px;padding:5px 10px;border-radius:999px;font-size:11px;font-style:normal;font-weight:900;text-transform:uppercase}.rx-library-hub__state.is-ready{background:#e8f8ef;color:#087f54}.rx-library-hub__state.is-building{background:#fff4d8;color:#9a6300}.rx-library-hub__arrow{position:absolute;right:20px;bottom:18px;color:var(--rx-library-card-accent);font-size:23px;font-weight:900}
.rx-library-hub__filters{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px}.rx-library-hub__filters button{padding:9px 14px;border:1px solid #cbd9e8;border-radius:999px;background:#f5f8fb;color:#42546a;font-weight:850;cursor:pointer}.rx-library-hub__filters button.is-active,.rx-library-hub__filters button:hover{border-color:var(--rx-hub-primary);background:#eaf4ff;color:#075bb8}.rx-library-hub__status{min-height:24px;margin:6px 0 15px;color:var(--rx-hub-muted)}.rx-library-hub__status.is-loading{color:var(--rx-hub-primary);font-weight:900}.rx-library-hub__results{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.rx-library-hub__result{margin:0;border:1px solid var(--rx-hub-line);border-radius:18px;background:#fff;overflow:hidden}.rx-library-hub__result>a{display:block;height:100%;padding:18px;color:inherit;text-decoration:none!important}.rx-library-hub__result:hover{border-color:#9fc3e8;box-shadow:0 12px 28px rgba(15,23,42,.08)}.rx-library-hub__result-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.rx-library-hub__result-top>span{display:grid;place-items:center;width:30px;height:30px;border-radius:10px;background:#eaf4ff;color:#0969da;font-weight:900}.rx-library-hub__result-tags{display:flex;justify-content:flex-end;gap:5px;flex-wrap:wrap}.rx-library-hub__result-tags small{padding:4px 7px;border-radius:999px;background:#f1f5f9;color:#617188;font-size:10px}.rx-library-hub__result h3{margin:12px 0 0;color:var(--rx-hub-ink);font-size:18px;line-height:1.35}.rx-library-hub__result p{margin:9px 0 0;color:var(--rx-hub-muted);font-size:14px;line-height:1.55}.rx-library-hub__empty{grid-column:1/-1;padding:28px;border:1px dashed #b8cadf;border-radius:17px;background:#f7fafc;color:var(--rx-hub-muted);text-align:center;font-weight:800}.rx-library-hub__actions{display:flex;justify-content:center;margin-top:19px}.rx-library-hub__actions button{padding:12px 24px;border:0;border-radius:13px;background:var(--rx-hub-ink);color:#fff;font-weight:900;cursor:pointer}
@media(max-width:1000px){.rx-library-hub__hero{grid-template-columns:1fr}.rx-library-hub__stats{grid-template-columns:repeat(2,1fr)}.rx-library-hub__results{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.rx-library-hub-page{padding:18px 0 45px}.rx-library-hub__hero,.rx-library-hub__pathways,.rx-library-hub__finder{padding:20px;border-radius:22px}.rx-library-hub__copy h1{font-size:42px}.rx-library-hub__search{grid-template-columns:1fr}.rx-library-hub__cards,.rx-library-hub__results{grid-template-columns:1fr}.rx-library-hub__card{grid-template-columns:auto minmax(0,1fr);padding-bottom:56px}.rx-library-hub__card-meta{grid-column:2;justify-items:start}.rx-library-hub__filters{flex-wrap:nowrap;overflow-x:auto;padding-bottom:5px}.rx-library-hub__filters button{white-space:nowrap}}
