.library-hero{padding:42px 0 28px;max-width:900px}.library-hero h1{font-size:clamp(2.2rem,5vw,4rem);line-height:1.08;letter-spacing:-.045em;margin:12px 0 20px}.library-hero p{line-height:1.7}.library-example{background:#e8eee0;border-color:#bfd0bc;margin-bottom:28px}
.library-search{display:grid;grid-template-columns:minmax(180px,1fr) auto auto;align-items:end;gap:16px;margin:24px 0}.library-topics{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}.library-topic{font-size:.85rem;padding:7px 12px;border-radius:30px;background:#e5ebdf;color:#1e5349;text-decoration:none}
.library-card h2{font-size:1.35rem;line-height:1.35}.library-body{white-space:pre-wrap;line-height:1.8;max-width:850px;font-size:1.02rem}.library-byline{color:#4c695d}.library-language-note{padding:12px 16px;background:#f5eddb;border-radius:8px}
#content>article h1{max-width:24ch;font-size:clamp(2.2rem,4.2vw,3.8rem);line-height:1.08;letter-spacing:-.035em}.library-card h2,.library-byline,.library-body,#content>article h1{overflow-wrap:anywhere}
.library-photo{margin:18px 0}.library-photo img{width:100%;max-height:550px;object-fit:contain;background:#e7ece1;border-radius:10px}.library-photo figcaption{font-size:.82rem;line-height:1.6;margin-top:8px}.library-photo.synthetic img{max-height:300px}
.editor-form{display:grid;gap:22px}.editor-form fieldset{border:1px solid #cddbc9;border-radius:12px;padding:18px}.editor-form legend{font-weight:650;padding:0 7px}.editor-form textarea{min-height:110px;resize:vertical;width:100%;box-sizing:border-box}.editor-form textarea.article-body{min-height:220px}.editor-form .fields{display:grid;gap:16px}.editor-form input:not([type=checkbox]),.editor-form select{width:100%;box-sizing:border-box}
.editor-split{display:grid;grid-template-columns:1fr 1fr;gap:20px}.editor-warning{padding:12px 16px;background:#f5eddb;border-left:3px solid #bd9558}.editor-photo-form{padding:20px;border:1px solid #d3dfcd;border-radius:12px;margin-top:16px}.editor-preview{margin:32px 0}.editor-private-rights{background:#edf0e4;padding:18px;border-radius:10px;white-space:pre-wrap;overflow-wrap:anywhere}.editor-consent{display:flex;align-items:start;gap:10px;line-height:1.6}.editor-consent input{width:auto!important;margin-top:6px}.editor-events{font-size:.85rem}.editor-photos{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:20px}.library-revision-state{display:inline-block;padding:7px 12px;border-radius:20px;background:#e5ebdf;font-size:.85rem}.library-note{white-space:pre-wrap}.source-preview{max-height:330px;overflow:auto}.editor-snapshot{margin-top:20px}.editor-snapshot>.card-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr))}.snapshot-card .muted{overflow-wrap:anywhere}.library-actions{display:flex;gap:12px;flex-wrap:wrap;margin:20px 0}
@media(max-width:700px){.library-search,.editor-split{grid-template-columns:1fr}.library-hero{padding-top:24px}.editor-form fieldset{padding:14px}.library-photo img{max-height:420px}.source-preview{max-height:260px}}
