/* AllmaDesign ModularPro v1.57: opt-in plan library in the live workspace */
.m3dc-app[data-mode="client"] .m3dc-studio-config-canvas{position:relative!important}
.m3dc-app.m3dc-play .m3dc-157-open-library{display:inline-flex!important;align-items:center!important;gap:10px!important;min-height:48px!important;padding:11px 16px!important;margin:12px 0 0!important;background:#0f5039!important;color:white!important;border:1px solid #0f5039!important;border-radius:12px!important;font-size:14px!important;font-weight:780!important;box-shadow:0 5px 13px #0c42331a!important;white-space:normal!important;max-width:100%!important;text-align:left!important}
.m3dc-app.m3dc-play .m3dc-157-open-library:hover{background:#126846!important}
.m3dc-app.m3dc-play .m3dc-157-open-library span{font-size:12px!important;border-radius:99px!important;background:#ffffff32!important;padding:3px 8px!important;color:#fff!important}
.m3dc-app.m3dc-play .m3dc-157-chosen{font-size:12px!important;line-height:1.45!important;color:#20563d!important;margin:6px 0 0!important;font-weight:700!important}
.m3dc-app.m3dc-play .m3dc-157-workspace-library{position:absolute!important;inset:0!important;z-index:110!important;overflow-y:auto!important;overscroll-behavior:contain!important;min-height:100%!important;min-width:0!important;padding:clamp(20px,3vw,42px)!important;background:linear-gradient(147deg,#f2f8f1,#ffffff 58%,#f4f8f5)!important;color:#12382a!important;box-shadow:0 24px 70px #123a2a1c!important;display:block!important;box-sizing:border-box!important;scrollbar-width:thin}
.m3dc-app.m3dc-play .m3dc-157-library-head{display:flex;gap:28px;align-items:flex-start;justify-content:space-between;margin-bottom:24px;flex-wrap:wrap}
.m3dc-app.m3dc-play .m3dc-157-library-head h2{font-size:clamp(25px,2.7vw,40px)!important;line-height:1.15!important;font-weight:850!important;letter-spacing:-.035em!important;color:#113c2e!important;margin:10px 0!important}
.m3dc-app.m3dc-play .m3dc-157-library-head p{margin:0;max-width:680px;font-size:14px;line-height:1.55;color:#647a70}
.m3dc-app.m3dc-play .m3dc-157-close{min-height:48px;padding:12px 18px;border-radius:12px;border:1px solid #cadcd1;background:#fff;color:#144631;font-size:13px;font-weight:800;cursor:pointer;display:inline-flex;align-items:center;gap:8px}
.m3dc-app.m3dc-play .m3dc-157-close:hover{background:#e8f2ed}
.m3dc-app.m3dc-play .m3dc-157-library-tools{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;margin-bottom:16px}
.m3dc-app.m3dc-play .m3dc-157-count{font-size:13px;font-weight:800;color:#275943;background:#e3efe5;border:1px solid #cbe0d0;border-radius:999px;padding:10px 14px}
.m3dc-app.m3dc-play .m3dc-157-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.m3dc-app.m3dc-play .m3dc-157-plan-card{background:#fff}
.m3dc-app.m3dc-play .m3dc-157-plan-card .m3dc-153-card-copy{padding:17px}
.m3dc-app.m3dc-play .m3dc-157-owner{display:flex;gap:9px;align-items:center;border-radius:10px;border:1px solid #efdfc2;background:#fff8e9;padding:11px;margin:0 0 14px;font-size:12px;line-height:1.5;color:#8a5d21}
.m3dc-app.m3dc-play .m3dc-157-owner.is-same{border-color:#d3e8d7;background:#f0faf1;color:#226142}
.m3dc-app.m3dc-play .m3dc-157-owner>span:first-child{font-size:18px}
.m3dc-app.m3dc-play .m3dc-157-owner strong{display:block;margin-top:2px;color:#1f4534;font-weight:800}
.m3dc-app.m3dc-play .m3dc-157-privacy-note{margin:22px 2px 0;color:#637a6b;font-size:12px;line-height:1.6}
.m3dc-app.m3dc-play .m3dc-157-note{border-radius:12px;margin:18px 0 0;padding:13px 16px;background:#e9f4ec;color:#265943;line-height:1.5;font-size:13px}
.m3dc-app.m3dc-play .m3dc-157-note.is-error{background:#fff0e8;color:#a04422}
.m3dc-app.m3dc-play .m3dc-157-note button{font:inherit;font-weight:800;color:inherit;border:0;background:transparent;text-decoration:underline;cursor:pointer}
.m3dc-app.m3dc-play .m3dc-157-workspace-library :is(button,input):focus-visible{outline:3px solid #459e6b!important;outline-offset:3px!important}
@media(max-width:1100px){.m3dc-app.m3dc-play .m3dc-157-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:740px){.m3dc-app.m3dc-play .m3dc-157-workspace-library{position:fixed!important;inset:0!important;min-height:100dvh!important;max-height:100dvh!important;padding:20px 15px 35px!important;z-index:999999!important}.m3dc-app.m3dc-play .m3dc-157-cards{grid-template-columns:minmax(0,1fr)}.m3dc-app.m3dc-play .m3dc-157-close{width:100%;justify-content:center}.m3dc-app.m3dc-play .m3dc-157-library-head{gap:17px}.m3dc-app.m3dc-play .m3dc-157-library-head p{font-size:13px}.m3dc-app.m3dc-play .m3dc-157-library-tools>*{width:100%;max-width:none}.m3dc-app.m3dc-play .m3dc-157-count{width:auto!important}.m3dc-app.m3dc-play .m3dc-157-open-library{width:100%;justify-content:center!important}}
@media(prefers-reduced-motion:reduce){.m3dc-app.m3dc-play .m3dc-157-plan-card{transition:none!important}}
@media(max-width:740px){.m3dc-app.m3dc-play .m3dc-studio-stage-product>.m3dc-157-open-library,.m3dc-app.m3dc-play .m3dc-studio-stage-product>.m3dc-157-chosen{grid-column:1/-1!important;grid-row:auto!important}}

.m3dc-app.m3dc-play .m3dc-157-open-from-plan{margin:0!important;min-width:185px!important;justify-content:center!important}
.m3dc-app.m3dc-play .m3dc-157-workspace-library .screen-reader-text{position:absolute!important;width:1px!important;height:1px!important;clip:rect(1px,1px,1px,1px)!important;overflow:hidden!important;white-space:nowrap!important;padding:0!important;border:0!important}

/* v1.59: one scroll container, no locked second scrollbar on the page. */
html.m3dc-159-library-open,body.m3dc-159-library-open{overflow:hidden!important;overscroll-behavior:none!important}
.m3dc-app.m3dc-play .m3dc-157-workspace-library{position:fixed!important;inset:0!important;width:100%!important;height:100dvh!important;max-height:100dvh!important;min-height:0!important;z-index:2147481000!important;overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior-y:contain!important;-webkit-overflow-scrolling:touch!important;scrollbar-gutter:stable!important;contain:layout style!important}
@media(max-width:740px){.m3dc-app.m3dc-play .m3dc-157-workspace-library{min-height:0!important;height:100dvh!important;max-height:100dvh!important;padding:20px 15px 55px!important;scrollbar-gutter:auto!important}}
