/* Complete catalog presentation; original artwork and editor are unchanged. */
.library-filters{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1.2fr) auto;align-items:end;gap:14px;padding:20px;margin-top:24px;border:1px solid #c9d1dd;border-radius:18px;background:linear-gradient(135deg,#fff,#f0f3f8);box-shadow:0 10px 28px #12264108}
.library-filters label{display:block;margin:0 0 8px;font-size:.875rem;font-weight:650;color:#273c55}.library-filters input,.library-filters select{width:100%;min-width:0;min-height:48px;padding:12px;border:1px solid #9aa9bc;border-radius:10px;background:#fff;color:#172c46;font:inherit}.library-filters .button{min-height:48px}.library-filters :focus-visible{outline:3px solid #4d76a2;outline-offset:3px}
#library-results{font-size:.875rem;line-height:1.6;color:#475a73;margin:16px 0}#library-empty{border:1px dashed #94a4b8;border-radius:12px;padding:24px;background:#f8fafc;color:#253d58}#library-more{display:block;min-width:220px;margin:24px auto 12px}.selection-summary{display:flex;flex-wrap:wrap;gap:12px;margin-top:20px}.selection-limit{font-size:.875rem;color:#66511f;background:#fbf3de;padding:10px 12px;border-radius:8px;line-height:1.5}.gallery-card .eyebrow{font-size:.875rem}.gallery-card .gallery-art-description{font-size:.875rem;line-height:1.55;color:#475a73}.gallery-card h3{font-size:1.5rem}.collection-gallery{align-items:stretch}.selection-card input{min-width:0;width:100%}.selection-card .selection-message{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}.selection-card h3{font-size:1.5rem}
@media(min-width:1100px){.collection-gallery{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.library-filters{grid-template-columns:1fr 1fr;padding:16px;gap:12px}.library-filters>div:first-child{grid-column:1/-1}.library-filters .button{font-size:.875rem;padding:12px}.gallery-card{padding:14px}.gallery-card>:is(img,.catalog-cover-frame){height:210px}.selection-card{gap:16px;padding:16px}.selection-summary .button{flex:1 1 160px}}
@media(max-width:380px){.library-filters{grid-template-columns:1fr}.library-filters>div:first-child{grid-column:auto}.selection-card{grid-template-columns:1fr}.selection-card>:is(img,.catalog-cover-frame){max-height:180px;object-fit:contain}.library-filters .button{width:100%}}
@media(prefers-reduced-motion:reduce){.library-filters{scroll-behavior:auto}}
/* Audit 2: enlarged-text controls need whole words and reflow, including the private notice. */
.notice strong{white-space:normal;overflow-wrap:anywhere}
@media(max-width:700px){.library-filters{grid-template-columns:repeat(auto-fit,minmax(min(100%,12rem),1fr))}.gallery-card .form-actions{grid-template-columns:1fr}.gallery-card .button{overflow-wrap:normal;word-break:normal}.selection-card .button{overflow-wrap:normal;word-break:normal}}

/* Final visual check: let the artwork lead; secondary filters open on request. */
.library-refine{min-width:0;border:0;padding:0;margin:0}.library-refine summary{list-style-position:inside;cursor:pointer;color:#273c55;font-size:.875rem;line-height:1.5;min-height:48px;padding:12px;border:1px solid #9aa9bc;border-radius:10px;background:#fff}.library-refine[open] summary{margin-bottom:12px}.library-refine label{font-size:.875rem}.library-refine:focus-within{outline-offset:3px}
@media(max-width:700px){.library-filters{grid-template-columns:repeat(auto-fit,minmax(min(100%,8rem),1fr))}.library-filters>div:first-child{grid-column:1/-1}.library-refine summary{min-height:48px}.library-filters .button{align-self:end}.library-refine[open]{grid-column:1/-1}}
#little-light-writing-cue[hidden]::before{content:none!important;display:none!important}
@media(max-width:700px){.library-refine{grid-column:1/-1}}
