:root{--ink:#24151d;--muted:#765d66;--wine:#7b1e3b;--wine-dark:#5d142c;--cream:#fff9f6;--gold:#d99a2b;--line:#ead5dc;--soft:#f5e9eb;--green:#247554;--shadow:0 22px 60px rgba(108,48,64,.12)}*{box-sizing:border-box}body{margin:0;background:var(--cream);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;line-height:1.5}.skip-link{position:fixed;left:16px;top:-80px;z-index:30;background:var(--ink);color:#fff;padding:10px 14px;border-radius:8px}.skip-link:focus{top:12px}.resource-header{max-width:1180px;min-height:76px;margin:auto;padding:0 26px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:10px;color:var(--ink);text-decoration:none;font-size:1.12rem}.brand img{width:38px;height:38px;border-radius:10px}.resource-header nav{display:flex;gap:20px}.resource-header nav a{color:var(--muted);font-size:.9rem;font-weight:700;text-decoration:none}.resource-header nav a:hover{color:var(--wine)}.resource-hero{max-width:1180px;margin:auto;padding:68px 26px 48px;background:linear-gradient(135deg,transparent 45%,rgba(217,154,43,.12))}.eyebrow{margin:0 0 10px;color:var(--wine);font-size:.72rem;font-weight:900;letter-spacing:.12em;text-transform:uppercase}.resource-hero h1{max-width:760px;margin:0 0 16px;font-size:clamp(2.6rem,6vw,4.8rem);line-height:.98;letter-spacing:-.055em}.resource-hero>p:last-child{max-width:640px;margin:0;color:var(--muted);font-size:1.1rem}.resource-layout{max-width:1180px;margin:auto;padding:20px 26px 80px;display:grid;grid-template-columns:255px 1fr;gap:30px}.filters{align-self:start;padding:22px;border:1px solid var(--line);border-radius:16px;background:#fff}.filters h2{margin:0 0 18px;font-size:1.05rem}.filters label{display:grid;gap:6px;margin:14px 0;color:var(--muted);font-size:.82rem;font-weight:800}.filters input,.filters select{width:100%;border:1px solid var(--line);border-radius:8px;padding:10px;background:#fff;color:var(--ink);font:inherit}.help-text{margin:20px 0 0;padding-top:18px;border-top:1px solid var(--line);color:var(--muted);font-size:.84rem}.resource-list-heading{display:flex;justify-content:space-between;align-items:end;gap:18px;margin-bottom:20px}.resource-list-heading h2{margin:0;font-size:2rem;letter-spacing:-.04em}.resource-list-heading>p{margin:0;color:var(--muted);font-size:.88rem}.resource-list{display:grid;gap:12px}.resource-card{display:grid;grid-template-columns:auto 1fr auto;gap:17px;align-items:center;padding:20px;border:1px solid var(--line);border-radius:14px;background:#fff;box-shadow:0 9px 25px rgba(108,48,64,.05)}.file-icon{display:grid;place-items:center;width:45px;height:52px;border-radius:9px;background:var(--soft);color:var(--wine);font-size:.72rem;font-weight:950}.resource-card h3{margin:0 0 4px;font-size:1.05rem}.resource-card p{margin:0;color:var(--muted);font-size:.87rem}.resource-tags{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}.tag{padding:3px 8px;border-radius:99px;background:var(--soft);color:var(--wine);font-size:.72rem;font-weight:800}.tag.gold{background:#fff4df;color:#98610a}.card-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.button{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:8px;padding:10px 13px;text-decoration:none;font:inherit;font-size:.84rem;font-weight:850;cursor:pointer}.primary{background:var(--wine);color:#fff}.primary:hover{background:var(--wine-dark)}.secondary{border:1px solid var(--line);background:#fff;color:var(--wine)}.empty-state{padding:35px 24px;border:1px dashed var(--line);border-radius:14px;background:#fff;color:var(--muted)}.resource-viewer{width:min(1000px,94vw);max-height:92vh;border:0;border-radius:18px;padding:0;box-shadow:var(--shadow)}.resource-viewer::backdrop{background:rgba(36,21,29,.55)}.viewer-header{display:flex;justify-content:space-between;gap:20px;padding:22px 24px 16px;border-bottom:1px solid var(--line)}.viewer-header h2{margin:0;font-size:1.3rem}.icon-button{display:grid;place-items:center;width:36px;height:36px;border:1px solid var(--line);border-radius:50%;background:#fff;color:var(--ink);font-size:1.5rem;cursor:pointer}.viewer-body{min-height:280px;max-height:calc(92vh - 160px);overflow:auto;background:#f2f2f2}.viewer-body iframe{display:block;width:100%;height:min(70vh,760px);border:0;background:#fff}.viewer-message{padding:48px 30px;text-align:center;color:var(--muted)}.viewer-footer{display:flex;justify-content:flex-end;gap:10px;padding:16px 24px;border-top:1px solid var(--line)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid rgba(123,30,59,.3);outline-offset:2px}@media(max-width:760px){.resource-layout{grid-template-columns:1fr}.resource-card{grid-template-columns:auto 1fr}.card-actions{grid-column:1/-1;justify-content:flex-start}.resource-header{padding:0 18px}.resource-header nav{gap:12px}.resource-hero{padding:45px 18px 32px}.resource-layout{padding:16px 18px 50px}.filters{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.filters h2,.help-text{grid-column:1/-1}.filters label{margin:0}}@media(max-width:540px){.resource-header nav a:first-child{display:none}.filters{grid-template-columns:1fr}.resource-list-heading{align-items:start;flex-direction:column}.resource-card{grid-template-columns:auto 1fr;gap:12px}.resource-card>div:nth-child(2){grid-column:2}.card-actions{grid-column:1/-1}.viewer-footer{justify-content:stretch;flex-direction:column}.viewer-footer .button{width:100%}}
.publish-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;padding:22px;border:1px solid var(--line);border-radius:15px;background:#fff}.publish-form label{display:grid;gap:6px;color:var(--muted);font-size:.83rem;font-weight:800}.publish-form input,.publish-form select,.publish-form textarea{width:100%;border:1px solid var(--line);border-radius:8px;padding:10px;background:#fff;color:var(--ink);font:inherit}.publish-form .wide{grid-column:1/-1}@media(max-width:540px){.publish-form{grid-template-columns:1fr}}

.admin-layout{max-width:1180px;padding-top:55px}.admin-title{font-size:1.8rem;line-height:1.1}.admin-publish-section{margin-top:46px}.admin-publish-title{margin-top:0}.admin-publish-help{margin:0 0 20px;border:0;padding:0}.admin-publish-status{border:0;padding:0;margin:12px 0 0}

.stack-form{display:grid;gap:14px}.filters details{margin:20px 0}.filters details label{margin-top:14px}.filters details button{margin-top:12px}.filters>a{margin-top:20px}.founder-admin-preview{display:block;width:150px;aspect-ratio:5/6;object-fit:cover;border-radius:14px;margin-bottom:20px}.admin-publish-section form{margin-top:20px}[hidden]{display:none!important}
