:root{--ink:#22292d;--muted:#58616a;--purple:#653b80;--light:#f0eaf4;--line:#ddd8df;--cream:#f7f5f0}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:#fff;font:17px/1.55 Arial,Helvetica,sans-serif}button,input,a{ -webkit-tap-highlight-color:transparent}button,input{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}a{color:var(--purple)}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #a264c9;outline-offset:4px}.skip{position:absolute;left:20px;top:-70px;z-index:20;background:#fff;padding:10px}.skip:focus{top:10px}header{max-width:1360px;margin:auto;display:flex;align-items:center;padding:23px 48px;gap:30px;border-bottom:1px solid var(--line)}.brand img{display:block;width:162px;height:106px;object-fit:contain}.header-label{font-size:13px;letter-spacing:.15em;margin-left:12px;color:var(--muted)}.contact{margin-left:auto;text-decoration:none;font-weight:bold;font-size:15px}.intro{max-width:1360px;margin:auto;padding:50px 48px;display:grid;grid-template-columns:1.3fr 1fr;gap:70px;align-items:center;background:linear-gradient(110deg,#fff 58%,#f7f4f8)}.eyebrow{color:var(--purple);font-size:12px;letter-spacing:.13em;font-weight:bold;margin:0 0 16px}h1{font-size:clamp(38px,4.5vw,66px);line-height:1.07;letter-spacing:-.045em;margin:0 0 22px;font-weight:650}.lead{font-size:20px;max-width:520px;margin:0 0 9px}.how{color:var(--muted);margin:0}.spotlight{padding:0;display:grid;grid-template-columns:160px 1fr;align-items:center;text-align:left;gap:24px;border:1px solid var(--line);background:#fff;border-radius:10px;box-shadow:0 15px 40px #392c4610;overflow:hidden;min-height:210px}.spotlight img{width:160px;height:225px;object-fit:contain;background:var(--cream);padding:10px}.spotlight span{padding-right:24px}.spotlight b{font-size:23px;line-height:1.25;display:block}.spotlight small{font-size:15px;color:var(--purple);display:block;margin-top:12px}.finder{max-width:1360px;margin:auto;padding:40px 48px 72px;scroll-margin-top:10px}h2{font-size:26px;line-height:1.25;letter-spacing:-.02em;margin:0 0 22px}.searchrow{display:flex;gap:18px;align-items:center}.searchbox{display:flex;align-items:center;gap:12px;border:1px solid #a89aad;border-radius:7px;background:#fff;flex:1;padding:0 15px}.searchbox>span{font-size:30px;color:var(--purple)}input{width:100%;height:58px;border:none;background:none;outline:none;min-width:0}input::placeholder{color:#747078}.searchbox:focus-within{outline:2px solid var(--purple);outline-offset:2px}#clear{border:0;background:transparent;font-size:24px;min-width:38px;min-height:44px}.quiet{background:none;border:0;color:var(--purple);font-size:15px;min-height:44px;text-decoration:underline}nav{display:flex;flex-wrap:wrap;gap:9px;margin:22px 0 25px}nav button{border:1px solid var(--line);border-radius:6px;background:#fff;padding:10px 15px;font-size:15px;min-height:44px}nav button[aria-pressed=true]{background:var(--purple);border-color:var(--purple);color:#fff}.resultsbar{display:flex;align-items:center;justify-content:space-between;gap:14px}#formats{display:flex;background:var(--cream);border-radius:6px;padding:4px;gap:4px}#formats button{border:0;padding:8px 18px;background:transparent;color:var(--muted);border-radius:4px;font-size:15px;min-height:44px}#formats button[aria-pressed=true]{background:#fff;box-shadow:0 1px 4px #0002;color:var(--ink);font-weight:bold}#count{font-size:15px;color:var(--muted);margin:0}.hint{font-size:14px;color:var(--muted);margin:16px 0 24px}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px}.card{border:1px solid var(--line);border-radius:8px;overflow:hidden;background:#fff;display:flex;flex-direction:column}.thumb{height:240px;background:var(--cream);border:0;border-bottom:1px solid var(--line);width:100%;padding:14px;overflow:hidden}.thumb img{height:100%;width:100%;object-fit:contain;transition:transform .18s ease}.thumb:hover img{transform:scale(1.035)}.body{padding:19px 20px 20px;display:flex;flex-direction:column;flex:1}.meta{font-size:12px;color:var(--purple);letter-spacing:.035em;font-weight:bold}.card h3{font-size:20px;line-height:1.3;margin:10px 0 18px;font-weight:650;flex:1}.actions{display:flex;gap:9px}.button{display:inline-flex;align-items:center;justify-content:center;min-height:45px;padding:10px 15px;border:1px solid #b4a5be;border-radius:5px;background:#fff;color:var(--purple);text-decoration:none;font-size:15px;font-weight:bold}.button.primary{background:var(--purple);border-color:var(--purple);color:#fff}.actions .button{flex:1}.more{display:flex;justify-content:center;margin-top:32px}.empty{grid-column:1/-1;background:var(--cream);padding:36px;border-radius:8px}.empty p{margin:0;color:var(--muted)}footer{border-top:1px solid var(--line);padding:30px max(30px,calc((100vw - 1264px)/2));display:flex;gap:30px;justify-content:space-between;background:var(--cream);font-size:15px}footer p{margin:6px 0;color:var(--muted)}footer a{display:block;text-decoration:none;margin:4px 0}dialog{width:min(1140px,96vw);max-height:94dvh;padding:0;border:0;border-radius:9px;box-shadow:0 20px 80px #0004}dialog::backdrop{background:#15111bd9}.dialog-head{display:flex;align-items:flex-start;gap:20px;padding:22px 26px 12px;background:#fff}.dialog-head h2{font-size:25px;margin:0 0 5px}.dialog-head p{margin:0;color:var(--muted);font-size:14px}#close{margin-left:auto;flex:none;border:none;border-radius:50%;background:var(--cream);width:44px;height:44px;font-size:29px}.dialog-actions{display:flex;gap:12px;align-items:center;padding:0 26px 18px;border-bottom:1px solid var(--line);flex-wrap:wrap}.drive-link{font-size:14px;margin-left:auto}#pages{padding:24px;background:#e9e6ec;max-height:calc(94dvh - 177px);overflow:auto}#pages figure{margin:0 auto 25px;max-width:980px}#pages img{width:100%;height:auto;display:block;background:white;box-shadow:0 2px 7px #0002}#pages figcaption{font-size:14px;color:var(--muted);margin-bottom:7px}body:has(dialog[open]){overflow:hidden}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:50;background:var(--ink);color:white;padding:14px 25px;border-radius:7px;font-size:16px;max-width:90vw}.toast[hidden]{display:none}[hidden]{display:none!important}@media(max-width:1050px){.intro{gap:30px}.spotlight{grid-template-columns:120px 1fr;gap:15px}.spotlight img{width:120px}.spotlight b{font-size:20px}.grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){header{padding:16px 20px;gap:12px}.brand img{width:130px;height:85px}.header-label{display:none}.contact{font-size:14px}.intro{padding:30px 20px;display:block;background:#faf8fb}.eyebrow{font-size:10px}h1{font-size:44px}.lead{font-size:18px}.how{font-size:16px}.spotlight{margin-top:26px;width:100%;min-height:140px;grid-template-columns:110px 1fr}.spotlight img{width:110px;height:150px}.spotlight b{font-size:21px}.finder{padding:28px 20px 45px}h2{font-size:24px}.searchrow{display:block}.searchbox input{font-size:16px;height:54px}.quiet{float:right;margin:4px 0}nav{clear:both;gap:7px;margin:14px 0 20px}nav button{font-size:14px;padding:8px 11px}.resultsbar{align-items:flex-start;flex-direction:column;gap:12px}#formats{width:100%}#formats button{flex:1;padding:8px}.hint{font-size:14px}.grid{grid-template-columns:1fr;gap:20px}.thumb{height:270px}.card h3{font-size:21px}.button{min-height:48px}.dialog-head{padding:16px 16px 12px}.dialog-head h2{font-size:20px}.dialog-actions{padding:0 16px 14px;gap:8px}.dialog-actions .button{flex:1}.drive-link{width:100%;margin:0;text-align:center}#pages{padding:12px;max-height:calc(94dvh - 215px)}footer{padding:25px 20px;display:block}footer>div+div{margin-top:20px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.thumb img{transition:none}}

/* Compact introduction keeps the resource finder close to the top. */
header{padding-top:14px;padding-bottom:14px}.brand img{width:145px;height:94px}.intro{padding-top:30px;padding-bottom:30px}h1{font-size:clamp(34px,3.4vw,49px)}.lead{font-size:18px}.spotlight{min-height:180px;grid-template-columns:135px 1fr}.spotlight img{height:180px;width:135px}.finder{padding-top:30px}@media(max-width:650px){header{padding:12px 20px}.brand img{width:120px;height:78px}.intro{padding:24px 20px}h1{font-size:35px}.lead{font-size:16px}.spotlight{grid-template-columns:94px 1fr;min-height:126px;margin-top:20px}.spotlight img{width:94px;height:126px}.spotlight b{font-size:19px}.spotlight small{font-size:14px}.finder{padding-top:24px}}

.mobile-topic{display:none}@media(max-width:650px){.spotlight{display:none}#topics{display:none}.mobile-topic{clear:both;display:flex;flex-direction:column;gap:6px;margin:14px 0 20px;font-size:14px;color:var(--muted)}.mobile-topic select{font:inherit;font-size:16px;color:var(--ink);padding:12px;border:1px solid #a89aad;background:white;border-radius:6px;min-height:48px;width:100%}}

#share-panel{padding:14px 26px;background:var(--light)}#share-panel label{font-size:14px;font-weight:bold}#share-panel>div{display:flex;gap:8px;margin:5px 0}#share-url{height:46px;background:#fff;border:1px solid #b4a5be;padding:8px;font-size:14px;border-radius:4px}#share-panel small{font-size:13px;color:var(--muted)}dialog:has(#share-panel:not([hidden])) #pages{max-height:calc(94dvh - 325px)}
