/* Scoped sharing dialog; existing classroom layouts and preview stay unchanged. */
.camp-share-modal{position:fixed;inset:0;z-index:1800;display:flex;align-items:center;justify-content:center;padding:20px;background:rgba(27,20,42,.48);overscroll-behavior:contain}
.camp-share-modal [hidden]{display:none!important}
.camp-share-card{box-sizing:border-box;width:100%;max-width:560px;max-height:calc(100vh - 40px);max-height:calc(100dvh - 40px);overflow-y:auto;overscroll-behavior:contain;min-width:0;padding:24px;border-radius:22px;background:#fff;color:#252235;box-shadow:0 20px 70px rgba(25,14,47,.2);font-size:14px;line-height:1.65}
.camp-share-head{display:flex;align-items:flex-start;gap:12px;justify-content:space-between}.camp-share-head h2{font-size:20px;line-height:1.4;margin:0}.camp-share-close{flex:none;min-height:40px;padding:7px 10px;border:0;border-radius:10px;background:#f3f0f8;color:#453954;cursor:pointer}
.camp-share-filename{margin:8px 0 14px;font-weight:650;overflow-wrap:anywhere}.camp-share-copy{margin:12px 0}.camp-share-format{font-size:12px;color:#6b617a;margin:12px 0}.camp-share-format summary{cursor:pointer;padding:5px 0}.camp-share-format p{margin:7px 0}.camp-share-format summary:focus-visible{outline:3px solid #ba9de6;outline-offset:3px}.camp-share-status{background:#f3effa;padding:12px;border-radius:12px;overflow-wrap:anywhere}.camp-share-status.camp-share-error{background:#fff0ee;color:#9c3228}.camp-share-warnings{padding:12px 12px 12px 28px;border:1px solid #efd9a0;background:#fff9e8;border-radius:12px;color:#725720;overflow-wrap:anywhere}
.camp-share-confirm{display:flex;align-items:flex-start;gap:9px;cursor:pointer;padding:10px 0}.camp-share-confirm input{flex:none;width:18px;height:18px;margin:3px 0;accent-color:#7955b4}.camp-share-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.camp-share-button{font:inherit;line-height:1.4;min-height:44px;padding:10px 14px;border:1px solid #ded7eb;border-radius:12px;background:#fff;color:#4c3a66;text-decoration:none;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;text-align:center;box-sizing:border-box}.camp-share-primary{background:#7955b4;border-color:#7955b4;color:#fff}.camp-share-danger{color:#a03831;border-color:#edc8c4}.camp-share-button:disabled,.camp-share-close:disabled{opacity:.5;cursor:default}.camp-share-button:focus-visible,.camp-share-close:focus-visible,.camp-share-url:focus-visible,.camp-share-confirm input:focus-visible{outline:3px solid #ba9de6;outline-offset:3px}
.camp-share-published{border-top:1px solid #e9e3f1;margin-top:18px;padding-top:18px}.camp-share-published label{font-weight:650;display:block;margin-bottom:8px}.camp-share-url{display:block;width:100%;box-sizing:border-box;border:1px solid #d9d1e6;border-radius:10px;background:#faf8fe;padding:11px;font:inherit;font-size:16px;color:#4c3a66;min-width:0}.camp-share-revoke{margin-top:14px;padding:12px;border-radius:12px;background:#fff3f1}.camp-share-revoke p{margin:0}.st-file-actions{flex-wrap:wrap}
@media(max-width:480px){.camp-share-modal{padding:12px;padding-bottom:max(12px,env(safe-area-inset-bottom))}.camp-share-card{padding:18px;border-radius:18px;max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px - env(safe-area-inset-bottom))}.camp-share-head h2{font-size:18px}.camp-share-actions>.camp-share-button{flex:1 1 auto}.camp-share-primary{min-width:150px}}
