/* Project gallery extends the shared article library and canonical Johari tokens. */
.jd-project-library .jd-knowledge-hero p{max-width:none}
.jd-project-library .jd-library-toolbar{margin-bottom:20px;flex-direction:row;align-items:center}
.jd-project-library .jd-library-count{margin:0;white-space:nowrap}
.jd-project-filters{display:grid;grid-template-columns:1fr 1fr 1.25fr auto;gap:16px;align-items:end;padding:24px;margin-bottom:32px;border:1px solid var(--jd-line);border-radius:14px;background:var(--jd-surface)}
.jd-project-field{display:flex;flex-direction:column;gap:8px;min-width:0}
.jd-project-field label{font-size:13px;font-weight:700;color:var(--jd-text)}
.jd-project-field :is(input,select){box-sizing:border-box;min-width:0;width:100%;min-height:48px;margin:0;border:1px solid var(--jd-line);border-radius:9px;padding:10px 12px;background:var(--jd-bg);color:var(--jd-text);font:inherit;font-size:14px;line-height:1.8}
.jd-project-field input::placeholder{color:var(--jd-muted);opacity:1}
.jd-project-filters>.jd-button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:48px;white-space:nowrap;cursor:pointer}
.jd-project-reset{grid-column:1/-1;justify-self:start;min-height:44px;display:flex;align-items:center;font-size:13px;font-weight:700;color:var(--jd-text)}
.jd-project-categories{display:flex;flex-wrap:wrap;gap:8px 14px;color:var(--jd-muted);font-size:12px;line-height:1.8}
.jd-project-card h3{margin-bottom:24px}
.jd-project-no-photo{display:grid;place-items:center;aspect-ratio:3/2;background:var(--jd-surface);color:var(--jd-muted)}
.jd-project-library .jd-empty{padding:32px 24px;text-align:center}
.jd-project-library .jd-empty p{text-align:center}
.jd-project-library :is(a,button,input,select):focus-visible{outline:2px solid var(--jd-gold);outline-offset:4px}
.jd-project-library .jd-library-pagination{scroll-margin-top:140px}
@media(max-width:1100px){.jd-project-filters{grid-template-columns:1fr 1fr}.jd-project-filters>.jd-button{align-self:end}}
@media(max-width:600px){.jd-project-library .jd-knowledge-hero{gap:24px;margin-bottom:32px}.jd-project-library .jd-knowledge-hero>img{grid-row:auto}.jd-project-library .jd-knowledge-hero h1{font-size:28px;margin-bottom:16px}.jd-project-filters{grid-template-columns:1fr;padding:20px;gap:16px}.jd-project-library .jd-library-toolbar{gap:16px;flex-wrap:wrap}.jd-project-library .jd-library-toolbar h2{font-size:22px}.jd-project-library .jd-library-card-copy{padding:20px}}
