.archive-editor-access{position:fixed;right:1.2rem;bottom:.55rem;z-index:40;background:#eadbbd;color:#51374c;border:1px solid #9e7e91;border-radius:3px;padding:.35rem .8rem;font:1.15rem ArchiveHand,cursive;text-decoration:none}
.note-edit{position:absolute;right:4.3rem;top:.85rem;z-index:6;font:1.2rem ArchiveScript,cursive;color:#614368;background:#efe1c7;border:1px solid #a68aa6;border-radius:3px;padding:.25rem .65rem}
.editor-dialog{max-width:calc(100vw - 2rem);width:470px;max-height:92dvh;padding:1.6rem;color:#372936;background:#f2e6cd;border:1px solid #977f96;border-radius:5px;box-shadow:0 20px 80px #150e2280;font:1rem/1.5 system-ui,sans-serif;overflow:auto}
.editor-dialog::backdrop{background:#160e22b5;backdrop-filter:blur(4px)}.editor-dialog h2{font:2rem ArchiveScript,cursive;margin:0 0 1rem}.editor-wide{width:850px}
.editor-dialog button,.editor-campus-link{background:#725374;color:white;border:1px solid #654568;border-radius:4px;padding:.55rem .8rem;font:inherit;cursor:pointer;min-height:40px}.editor-dialog button:disabled{opacity:.5}.editor-dialog input,.editor-dialog textarea{box-sizing:border-box;width:100%;padding:.6rem;border:1px solid #b49cb0;border-radius:3px;background:#fffaf0;color:#302331;font:inherit;resize:vertical}.editor-field{display:block;margin:.65rem 0}.editor-field>span{display:block;font-size:.9rem;font-weight:600;margin-bottom:.25rem}.editor-dialog input[type=file]{font-size:.85rem}
.editor-actions{display:flex;flex-wrap:wrap;gap:.6rem;margin:1rem 0}.editor-block,.editor-images{border:1px solid #bca7b7;padding:1rem;margin:1.3rem 0}.editor-block legend,.editor-images legend{font-weight:600;padding:0 .5rem}.editor-row{display:grid;grid-template-columns:1fr 2fr;gap:.7rem;border-bottom:1px solid #d4c6cb;padding-bottom:.7rem}.editor-row button{grid-column:1/-1;justify-self:end}.editor-dialog .editor-small{font-size:.8rem;padding:.25rem .5rem;background:#ede1d5;color:#63435e;min-height:32px}.editor-row textarea{min-height:4rem}.editor-thumb{max-width:160px;max-height:160px;object-fit:contain}.editor-image{border-top:1px solid #d4c6cb;padding:1rem 0}.editor-image button{margin-right:.5rem}.editor-status{white-space:pre-wrap;overflow-wrap:anywhere;color:#70405c}.editor-preview{height:auto;max-height:60dvh;padding:1rem;overflow:auto}
.archive-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.gallery-thumbnail{padding:.3rem;background:#e6d4b3;border:1px solid #ac8f76;box-shadow:0 3px 9px #4c343433}.gallery-thumbnail img{display:block;width:100%;aspect-ratio:3/4;object-fit:cover}.gallery-lightbox{width:min(1100px,94vw);text-align:center}.gallery-lightbox>img{max-width:100%;max-height:70dvh;object-fit:contain}.gallery-lightbox .editor-actions{justify-content:center}
@media(max-width:760px){.editor-dialog{padding:1rem;max-width:calc(100vw - 1rem)}.editor-row{grid-template-columns:1fr}.editor-row button{grid-column:1}.archive-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.note-edit{right:4rem;top:.85rem;font-size:1rem}.archive-editor-access{right:.6rem;font-size:1rem;bottom:.4rem}.editor-block,.editor-images{padding:.65rem}.editor-dialog .note-scroll{padding:1rem}}
