body>.modal-shade{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);isolation:isolate;z-index:1200!important;box-sizing:border-box!important;background:#0d1d336b!important;justify-content:center!important;align-items:center!important;width:100%!important;height:100dvh!important;padding:24px!important;display:flex!important;position:fixed!important;inset:0!important;overflow:hidden!important}body>.modal-shade>section,body>.modal-shade>form{box-sizing:border-box;overscroll-behavior:contain;min-width:0;overflow:auto;box-shadow:0 24px 90px #0a203b35;max-width:calc(100vw - 48px)!important;max-height:88dvh!important;margin:0!important;position:relative!important;inset:auto!important;transform:none!important}body>.modal-shade>.library-dialog{color:#24494d;background:#fff;border:1px solid #e0e8ef;border-radius:16px;flex-direction:column;width:580px;padding:0;display:flex;overflow:hidden}body>.modal-shade>.library-dialog>header{background:#fff;border-bottom:1px solid #e7edf2;flex-shrink:0;align-items:center;margin:0;padding:20px 24px}body>.modal-shade>.library-dialog>form{scrollbar-width:thin;min-height:0;padding:22px 24px 0;overflow:auto}body>.modal-shade>.library-dialog>form>.primary,body>.modal-shade>.library-dialog>form>.form-actions{z-index:2;background:#fff;margin:0;padding-block:12px;position:sticky;bottom:0;box-shadow:0 -12px 18px #fff}body>.modal-shade>.library-dialog>form>.primary{color:#fff;background:#205f61;margin:0 -1px 16px;padding:12px}body>.modal-shade>.library-preview{width:960px}body>.modal-shade>.library-preview>footer{background:#fff;flex-shrink:0;padding:14px 24px}@media (width<=600px){body>.modal-shade{padding:12px!important}body>.modal-shade>section,body>.modal-shade>form{max-width:calc(100vw - 24px)!important;max-height:88dvh!important}body>.modal-shade>.library-dialog>header{padding:16px}body>.modal-shade>.library-dialog>form{padding:18px 16px 0}}@media (prefers-reduced-motion:reduce){body>.modal-shade{-webkit-backdrop-filter:none;backdrop-filter:none}}.modal-shade:has(>.attachment-viewer){z-index:10000;padding:12px}.attachment-viewer{color:#172334;background:#fff;border-radius:12px;flex-direction:column;width:min(1200px,100%);height:min(900px,96dvh);display:flex;overflow:hidden;box-shadow:0 15px 60px #0006}.attachment-viewer header{border-bottom:1px solid #ddd;align-items:center;gap:16px;padding:12px 16px;display:flex}.attachment-viewer header strong{overflow-wrap:anywhere;flex:1}.attachment-toolbar{background:#f4f6f8;flex-wrap:wrap;align-items:center;gap:8px;padding:8px 12px;display:flex}.attachment-viewer button{cursor:pointer;background:#fff;border:1px solid #ccd3dd;border-radius:6px;min-height:40px;padding:8px 12px}.attachment-viewer button:disabled{opacity:.45;cursor:default}.attachment-image-stage{touch-action:none;cursor:grab;background:#e9edf2;flex:1;justify-content:center;align-items:center;min-height:0;display:flex;position:relative;overflow:hidden}.attachment-image-stage img{object-fit:contain;-webkit-user-select:none;user-select:none;max-width:100%;max-height:100%}.attachment-image-stage p{z-index:1;background:#fff;padding:16px;position:absolute}.attachment-pdf{background:#e9edf2;flex:1;min-height:0;overflow:auto}.attachment-pdf-controls{z-index:1;background:#fff;flex-wrap:wrap;align-items:center;gap:12px;padding:8px;display:flex;position:sticky;top:0}.attachment-pdf canvas{margin:12px auto;display:block}.attachment-thumbnail{cursor:zoom-in;background:0 0;border:0;max-width:100%;padding:0;display:inline-block}.attachment-thumbnail img{max-width:100%;display:block}@media (width<=600px){.modal-shade:has(>.attachment-viewer){padding:4px}.attachment-viewer{height:98dvh}.attachment-toolbar{gap:4px}.attachment-viewer button{padding:8px}.attachment-viewer header{gap:8px;padding:8px}}
