/* V1.48: Help that opens from the client configurator on every stage. */
.m3dc-play .m3dc-reference-return{gap:8px;align-items:center}
.m3dc-play .m3dc-client-help-button,.m3dc-topbar .m3dc-client-help-button{display:inline-flex;justify-content:center;align-items:center;gap:9px;min-height:40px;padding:0 16px;border:1px solid #bdd5c8;border-radius:12px;background:#eaf5ee;color:#1b6348;font-family:inherit;font-size:12px;font-weight:840;line-height:1.2;cursor:pointer;white-space:nowrap;box-shadow:0 4px 12px rgba(36,86,58,.06)}
.m3dc-play .m3dc-client-help-button:hover,.m3dc-topbar .m3dc-client-help-button:hover{background:#dbefe1;border-color:#84bc9c}
.m3dc-play .m3dc-client-help-button>span,.m3dc-topbar .m3dc-client-help-button>span{display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:#1d6548;color:#fff;font-size:12px;font-weight:850}
.m3dc-client-help-dialog{box-sizing:border-box;position:fixed;inset:0;z-index:2147483000;margin:auto!important;width:min(490px,calc(100vw - 28px));max-width:490px;max-height:calc(100vh - 38px);overflow:auto;padding:27px!important;border:1px solid #dfe9de!important;border-radius:23px!important;background:#fff!important;color:#203f2e!important;box-shadow:0 28px 75px rgba(12,35,25,.3)!important;font:inherit;font-family:Inter,system-ui,sans-serif}
.m3dc-client-help-dialog:not([open]){display:none}.m3dc-client-help-dialog::backdrop{background:rgba(12,29,23,.62);backdrop-filter:blur(4px)}
.m3dc-client-help-dialog *{box-sizing:border-box}.m3dc-client-help-dialog header{display:flex;align-items:center;justify-content:space-between}.m3dc-client-help-dialog .m3dc-help-symbol{display:grid;place-items:center;width:44px;height:44px;border-radius:15px;background:#184d38;color:#fff;font-size:24px;font-weight:850}.m3dc-client-help-dialog .m3dc-help-close{display:grid;place-items:center;width:35px;height:35px;border:1px solid #e1e9e0;border-radius:10px;background:#f7faf7;color:#496c54;font-size:23px;cursor:pointer}.m3dc-client-help-dialog .m3dc-help-eyebrow{display:block;margin-top:20px;font-size:10px;letter-spacing:.15em;font-weight:880;color:#46895c}.m3dc-client-help-dialog h2{font-size:29px;letter-spacing:-.045em;line-height:1.17;margin:8px 0!important;color:#163e2a;font-weight:790}.m3dc-client-help-dialog>p{color:#6e8071;font-size:12px;line-height:1.7;margin:0 0 17px}.m3dc-client-help-dialog ol{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:9px;counter-reset:clientstep}.m3dc-client-help-dialog li{display:grid;grid-template-columns:35px 1fr;align-items:start;gap:10px;padding:14px;border:1px solid #e7ede4;border-radius:13px;background:#fbfdfa}.m3dc-client-help-dialog li:before{content:counter(clientstep);counter-increment:clientstep;display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:#e7f3e8;color:#2c7850;font-size:13px;font-weight:900}.m3dc-client-help-dialog li strong{display:block;color:#214b34;font-size:13px}.m3dc-client-help-dialog li span{display:block;margin-top:4px;font-size:11px;line-height:1.5;color:#758777}.m3dc-client-help-dialog details{margin-top:15px;border-top:1px solid #e9ede8;padding:14px 0 0}.m3dc-client-help-dialog summary{cursor:pointer;font-size:12px;font-weight:830;color:#2d6847}.m3dc-client-help-dialog details p{font-size:11px;line-height:1.7;color:#768776}.m3dc-client-help-dialog footer{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:22px}.m3dc-client-help-dialog footer button{min-height:43px;padding:0 18px;border:0;border-radius:11px;background:#174d36;color:#fff;font-size:12px;font-weight:830;cursor:pointer}.m3dc-client-help-dialog footer a{color:#26724b;font-size:11px;font-weight:840;text-decoration:none}.m3dc-client-help-dialog footer a:hover{text-decoration:underline}
@media(max-width:700px){.m3dc-play .m3dc-reference-return{padding:0 12px;justify-content:space-between}.m3dc-play .m3dc-client-help-button{min-height:39px;padding:0 10px;font-size:11px}.m3dc-client-help-dialog{padding:21px!important}}

/* v1.59 help stays available through all dynamic steps and in the plan gallery. */
.m3dc-app[data-mode="client"] .m3dc-159-help-floating{position:fixed!important;right:max(18px,env(safe-area-inset-right,0px))!important;bottom:max(22px,env(safe-area-inset-bottom,0px))!important;z-index:999995!important;border:2px solid #fff!important;border-radius:999px!important;box-shadow:0 10px 30px #0b402e45!important;background:#0a563c!important;color:#fff!important;min-height:49px!important;min-width:101px!important;padding:10px 17px!important;font:800 14px/1.2 system-ui,sans-serif!important;cursor:pointer!important}
.m3dc-app[data-mode="client"] .m3dc-159-context-help{display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 auto!important;min-height:36px!important;max-width:100%!important;padding:7px 12px!important;margin:8px 0!important;border:1px solid #b7dcc5!important;border-radius:99px!important;background:#f0f8f3!important;color:#14513b!important;font:750 12px/1.3 system-ui,sans-serif!important;cursor:pointer!important}
.m3dc-app[data-mode="client"] .m3dc-159-context-help:hover{border-color:#499f70!important;background:#e0f1e6!important}
.m3dc-app[data-mode="client"] .m3dc-157-library-head .m3dc-159-context-help{order:3!important;margin:0!important}
.m3dc-app[data-mode="client"] .m3dc-easy-panel-head .m3dc-159-context-help{margin-left:auto!important}
.m3dc-app[data-mode="client"] [data-m3dc-157-library]~.m3dc-159-help-floating{display:none!important}
.m3dc-app[data-mode="client"] .m3dc-159-context-help:focus-visible,.m3dc-app[data-mode="client"] .m3dc-159-help-floating:focus-visible{outline:3px solid #8addad!important;outline-offset:3px!important}
@media(max-width:740px){.m3dc-app[data-mode="client"] .m3dc-159-help-floating{right:10px!important;bottom:calc(12px + env(safe-area-inset-bottom,0px))!important;min-height:46px!important;font-size:12px!important;padding:8px 13px!important}}
