.media-library.svelte-xjrraa{width:min(1000px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);margin:auto;padding:0;overflow:hidden;border:1px solid var(--color-neutral-darkgrey);border-radius:12px;background:var(--color-neutral-white);color:var(--color-navy);font-family:var(--font-sans);pointer-events:auto;box-shadow:0 24px 64px #00000038}.media-library[open].svelte-xjrraa{display:flex;flex-direction:column}.media-library.upload-view.svelte-xjrraa{width:min(640px,calc(100vw - 32px))}.upload-panel.svelte-xjrraa{min-height:0;overflow-y:auto;padding:8px 16px 16px}.media-library.svelte-xjrraa::backdrop{background:#0006}.library-header.svelte-xjrraa{display:flex;flex-shrink:0;align-items:center;gap:12px;padding:12px 12px 8px}.library-header.svelte-xjrraa h2:where(.svelte-xjrraa){min-width:0;flex:1;font-size:17px;line-height:24px;font-weight:600}.library-heading.svelte-xjrraa{display:flex;min-width:0;flex:1;flex-direction:column;align-items:flex-start;gap:4px}.back-button.svelte-xjrraa{display:inline-flex;max-width:100%;min-height:28px;align-items:center;gap:6px;border-radius:4px;color:var(--color-neutral-charcoal);font:12px/18px var(--font-sans);cursor:pointer}.back-button.svelte-xjrraa img:where(.svelte-xjrraa){width:14px;height:14px;flex-shrink:0}.back-button.svelte-xjrraa span:where(.svelte-xjrraa){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.back-button.svelte-xjrraa:hover:not(:disabled){color:var(--color-blue-dark)}.back-button.svelte-xjrraa:focus-visible{outline:2px solid var(--color-blue-dark);outline-offset:2px}.back-button.svelte-xjrraa:disabled{opacity:.5;cursor:default}.upload-view.svelte-xjrraa .close-button:where(.svelte-xjrraa){align-self:flex-start}.upload-button.svelte-xjrraa{display:inline-flex;align-items:center;height:32px;flex-shrink:0;border-radius:6px;padding:0 12px;background:var(--color-navy);color:#fff;font-size:12px;font-weight:500;cursor:pointer}.upload-button.svelte-xjrraa:hover:not(.disabled){background:var(--color-blue-dark)}.upload-button.disabled.svelte-xjrraa,.upload-button.svelte-xjrraa:disabled{opacity:.5;cursor:default}.close-button.svelte-xjrraa{width:28px;height:28px;flex-shrink:0;border-radius:6px;font-size:22px;line-height:24px;color:var(--color-neutral-charcoal);cursor:pointer}.close-button.svelte-xjrraa:hover:not(:disabled){background:var(--color-neutral-grey)}.close-button.svelte-xjrraa:disabled{opacity:.4;cursor:default}.library-toolbar.svelte-xjrraa{display:flex;flex-shrink:0;align-items:center;gap:8px;margin:0 12px 12px}.library-search.svelte-xjrraa{position:relative;flex:1;min-width:0}.folder-action.svelte-xjrraa{flex-shrink:0;border:1px solid var(--color-neutral-darkgrey);border-radius:6px;padding:7px 10px;background:#fff;font-size:12px;line-height:18px;cursor:pointer}.folder-action.svelte-xjrraa:hover:not(:disabled){background:var(--color-neutral-lightgrey)}.folder-action.svelte-xjrraa:disabled{opacity:.5;cursor:default}.upload-destination.svelte-xjrraa{min-width:0;flex:1;font-size:12px;color:var(--color-neutral-charcoal);overflow-wrap:anywhere}.upload-destination.svelte-xjrraa strong:where(.svelte-xjrraa){font-weight:500;color:var(--color-navy)}.folder-form.svelte-xjrraa{flex-shrink:0;margin:0 12px 12px;padding:10px;border:1px solid var(--color-neutral-darkgrey);border-radius:8px;background:var(--color-neutral-lightgrey)}.folder-form-fields.svelte-xjrraa{display:flex;align-items:flex-end;gap:8px}.folder-form.svelte-xjrraa label:where(.svelte-xjrraa){display:flex;min-width:0;flex:1;flex-direction:column;gap:4px;font-size:11px;line-height:16px}.folder-form.svelte-xjrraa input:where(.svelte-xjrraa){width:100%;min-width:0;height:34px;border:1px solid var(--color-neutral-darkgrey);border-radius:5px;padding:0 8px;background:#fff;font-size:13px}.folder-form.svelte-xjrraa input:where(.svelte-xjrraa):focus-visible{outline:2px solid var(--color-blue-dark);outline-offset:1px}.folder-form.svelte-xjrraa p:where(.svelte-xjrraa),.folder-notice.svelte-xjrraa{font-size:11px;line-height:16px;color:var(--color-neutral-charcoal)}.folder-form.svelte-xjrraa p:where(.svelte-xjrraa){margin-top:6px}.folder-form.svelte-xjrraa .folder-error:where(.svelte-xjrraa){color:var(--color-brand-red)}.folder-notice.svelte-xjrraa{flex-shrink:0;margin:0 12px 10px}.library-search.svelte-xjrraa>img:where(.svelte-xjrraa){position:absolute;left:10px;top:50%;width:16px;height:16px;transform:translateY(-50%);opacity:.55;pointer-events:none}.library-search.svelte-xjrraa input:where(.svelte-xjrraa){width:100%;height:36px;border:1px solid var(--color-neutral-darkgrey);border-radius:6px;background:var(--color-neutral-lightgrey);padding:0 10px 0 34px;font-size:13px;outline:none}.library-search.svelte-xjrraa input:where(.svelte-xjrraa):focus{border-color:var(--color-blue-dark);background:#fff;box-shadow:0 0 0 3px #3373cc1f}.library-error.svelte-xjrraa{display:flex;flex-shrink:0;align-items:center;gap:12px;padding:8px 12px;background:#c4002f0f;color:var(--color-brand-red);font-size:12px}.library-error.svelte-xjrraa span:where(.svelte-xjrraa){min-width:0;overflow-wrap:anywhere}.library-error.svelte-xjrraa button:where(.svelte-xjrraa){flex-shrink:0;font-weight:600;text-decoration:underline;cursor:pointer}.library-browser.svelte-xjrraa{display:flex;min-height:0;border-block:1px solid #e7e9ed}.folder-list.svelte-xjrraa{display:flex;width:154px;flex-shrink:0;flex-direction:column;gap:2px;overflow-y:auto;padding:12px 8px;border-right:1px solid #e7e9ed;background:var(--color-neutral-white)}.folder-heading.svelte-xjrraa{padding:0 8px 6px;font-size:10px;line-height:16px;color:var(--color-neutral-charcoal);font-weight:600;text-transform:uppercase;letter-spacing:.06em}.folder-list.svelte-xjrraa button:where(.svelte-xjrraa){display:flex;min-width:0;flex-shrink:0;align-items:center;justify-content:space-between;gap:8px;padding:7px 8px;border-radius:6px;text-align:left;font-size:12px;line-height:18px;cursor:pointer}.folder-list.svelte-xjrraa button:where(.svelte-xjrraa)>span:where(.svelte-xjrraa):first-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.folder-list.svelte-xjrraa button:where(.svelte-xjrraa):hover:not(:disabled){background:var(--color-neutral-grey)}.folder-list.svelte-xjrraa button[aria-pressed=true]:where(.svelte-xjrraa){background:var(--color-blue-extralight);color:#245699;font-weight:600}.folder-count.svelte-xjrraa{flex-shrink:0;font-size:11px;font-weight:400}.folder-list.svelte-xjrraa button:where(.svelte-xjrraa):disabled{opacity:.5;cursor:default}.library-content.svelte-xjrraa{display:flex;min-width:0;min-height:0;flex:1;flex-direction:column}.results-heading.svelte-xjrraa{display:flex;flex-shrink:0;min-width:0;align-items:center;gap:12px;justify-content:space-between;padding:9px 12px}.results-heading.svelte-xjrraa h3:where(.svelte-xjrraa){overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:600}.results-heading.svelte-xjrraa>span:where(.svelte-xjrraa){flex-shrink:0;font-size:11px;color:var(--color-neutral-charcoal)}.library-results.svelte-xjrraa{min-height:0;max-height:52dvh;overflow-y:auto;overscroll-behavior:contain;padding:8px;background:var(--color-neutral-lightgrey)}.library-results.svelte-xjrraa,.folder-list.svelte-xjrraa{scrollbar-width:thin;scrollbar-color:#a8b5c5 #e8edf3}.media-grid.svelte-xjrraa{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,150px),1fr));gap:8px}.media-grid.svelte-xjrraa>li:where(.svelte-xjrraa){min-width:0}.media-card.svelte-xjrraa{display:flex;width:100%;height:100%;min-width:0;flex-direction:column;gap:4px;border:1px solid #e1e4e8;border-radius:8px;background:#fff;padding:6px;text-align:left;cursor:pointer}.media-card.svelte-xjrraa:hover:not(:disabled),.media-card.selected.svelte-xjrraa{border-color:var(--color-blue-dark);background:#f0f6ff}.media-card.svelte-xjrraa:disabled{cursor:wait}.media-preview.svelte-xjrraa{position:relative;display:flex;width:100%;aspect-ratio:4 / 3;align-items:center;justify-content:center;overflow:hidden;border-radius:5px;background:#e8edf3}.media-preview.svelte-xjrraa>img:where(.svelte-xjrraa){width:100%;height:100%;object-fit:contain}.pdf-preview.svelte-xjrraa{display:flex;align-items:center;justify-content:center;font-size:16px;font-weight:600;color:var(--color-neutral-charcoal);background:#e8edf3}.use-overlay.svelte-xjrraa{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;background:#0000004d;opacity:0;transition:opacity .12s ease}.use-overlay.svelte-xjrraa>span:where(.svelte-xjrraa){border-radius:5px;padding:5px 8px;background:#fff;color:var(--color-navy);font-size:12px;font-weight:500}.media-card.svelte-xjrraa:hover:not(:disabled) .use-overlay:where(.svelte-xjrraa),.media-card.svelte-xjrraa:focus-visible .use-overlay:where(.svelte-xjrraa){opacity:1}.current-badge.svelte-xjrraa{position:absolute;z-index:1;top:5px;left:5px;border-radius:4px;padding:2px 5px;background:var(--color-blue-dark);color:#fff;font-size:10px;line-height:14px}.media-name.svelte-xjrraa,.media-description.svelte-xjrraa,.media-folder.svelte-xjrraa{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.media-name.svelte-xjrraa{font-size:12px;line-height:17px;font-weight:500}.media-description.svelte-xjrraa,.media-folder.svelte-xjrraa{font-size:11px;line-height:15px;color:var(--color-neutral-charcoal)}.media-details.svelte-xjrraa{font-size:10px;line-height:15px;color:var(--color-neutral-charcoal)}.library-empty.svelte-xjrraa{display:flex;min-height:180px;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:24px;text-align:center;font-size:12px;color:var(--color-neutral-charcoal)}.library-empty.svelte-xjrraa strong:where(.svelte-xjrraa){font-size:14px;font-weight:500;color:var(--color-navy)}.library-empty.svelte-xjrraa button:where(.svelte-xjrraa){color:var(--color-blue-dark);text-decoration:underline;cursor:pointer}.library-footer.svelte-xjrraa{display:flex;flex-shrink:0;min-width:0;align-items:center;justify-content:space-between;gap:16px;padding:10px 12px}.current-media.svelte-xjrraa{display:flex;min-width:0;flex:1;align-items:center;gap:8px}.current-thumbnail.svelte-xjrraa{width:36px;height:36px;flex-shrink:0;object-fit:cover;border-radius:4px;font-size:10px}.current-media.svelte-xjrraa>div:where(.svelte-xjrraa){display:flex;min-width:0;flex-direction:column;gap:2px;font-size:11px;line-height:15px}.current-media.svelte-xjrraa strong:where(.svelte-xjrraa){overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:500}.current-media.svelte-xjrraa>div:where(.svelte-xjrraa)>span:where(.svelte-xjrraa){color:var(--color-neutral-charcoal)}.library-footer.svelte-xjrraa p:where(.svelte-xjrraa){max-width:55%;margin-left:auto;font-size:10px;line-height:15px;text-align:right;color:var(--color-neutral-charcoal)}.library-footer.svelte-xjrraa p:where(.svelte-xjrraa)>span:where(.svelte-xjrraa){display:block}.library-footer.svelte-xjrraa p:where(.svelte-xjrraa) strong:where(.svelte-xjrraa){font-weight:500;overflow-wrap:anywhere}.media-library.svelte-xjrraa button:where(.svelte-xjrraa):focus-visible,.upload-button.svelte-xjrraa:focus-within{outline:2px solid var(--color-blue-dark);outline-offset:2px}@media(max-width:640px){.library-header.svelte-xjrraa{gap:8px;padding:10px 10px 8px}.library-header.svelte-xjrraa h2:where(.svelte-xjrraa){font-size:15px}.upload-button.svelte-xjrraa{padding-inline:8px}.library-toolbar.svelte-xjrraa{margin:0 10px 10px}.folder-form-fields.svelte-xjrraa{flex-wrap:wrap}.folder-form.svelte-xjrraa label:where(.svelte-xjrraa){flex-basis:100%}.library-browser.svelte-xjrraa{flex-direction:column}.folder-list.svelte-xjrraa{width:100%;max-height:58px;flex-direction:row;overflow-x:auto;overflow-y:hidden;gap:4px;border-right:0;border-bottom:1px solid #e7e9ed;padding:8px}.folder-heading.svelte-xjrraa{display:none}.folder-list.svelte-xjrraa button:where(.svelte-xjrraa){max-width:180px;padding:5px 8px;white-space:nowrap}.library-results.svelte-xjrraa{max-height:45dvh}.media-grid.svelte-xjrraa{grid-template-columns:repeat(2,minmax(0,1fr))}.library-footer.svelte-xjrraa{gap:8px;padding:8px 10px}.library-footer.svelte-xjrraa p:where(.svelte-xjrraa){max-width:50%}.media-details.svelte-xjrraa{font-size:9px}}@media(prefers-reduced-motion:reduce){.use-overlay.svelte-xjrraa{transition:none}}
