#mm51Editor{width:min(1500px,98vw);height:94dvh;max-width:98vw;max-height:96dvh;padding:0;border:1px solid #9cb6cc;border-radius:12px;background:#f7fafc;color:#17334b;box-shadow:0 20px 80px #0005;overflow:hidden;box-sizing:border-box}#mm51Editor[open]{display:flex;flex-direction:column}#mm51Editor::backdrop{background:#14283e99}#mm51Editor *{box-sizing:border-box}#mm51Editor header,#mm51Editor footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;background:#fff;flex:none}#mm51Editor header strong{font-size:20px}#mm51Editor header small{display:block;color:#536b80;max-width:240px;overflow:hidden;text-overflow:ellipsis}#mm51Editor button{font:inherit;color:#17334b;background:#fff;border:1px solid #b7ccdf;border-radius:6px;padding:7px 10px;cursor:pointer;min-height:34px}#mm51Editor button:disabled{opacity:.45;cursor:default}#mm51Editor .mm51Primary,#mm51Editor button[aria-pressed=true]{background:#175a9e;color:#fff;border-color:#175a9e}#mm51Editor .mm51Actions{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}#mm51Editor .mm51Grid{display:grid;grid-template-columns:190px minmax(0,1fr) 245px;flex:1;min-height:0;border-block:1px solid #c4d6e5}#mm51Editor aside{overflow:auto;padding:12px;background:#f2f7fb;min-width:0}#mm51Editor h3{font-size:13px;margin:12px 0 8px;color:#38556e}#mm51Editor .mm51ToolGroup{display:grid;grid-template-columns:1fr 1fr;gap:5px}#mm51Editor .mm51ToolGroup button{display:flex;flex-direction:column;align-items:center;gap:3px;font-size:11px;padding:6px 2px;min-width:0}#mm51Editor svg{width:22px;height:22px;flex:none}#mm51Editor .mm51Stage{display:flex;flex-direction:column;min-height:0;min-width:0;padding:0;background:#dce6ee}#mm51Preview{flex:1;min-height:0;overflow:auto;display:grid;place-items:safe center;padding:18px}#mm51Canvas{display:block;touch-action:none;box-shadow:0 0 0 1px #90a4b5,0 5px 20px #213a5225;background-color:white;background-image:conic-gradient(#d4dce4 25%,white 0 50%,#d4dce4 0 75%,white 0);background-size:20px 20px;max-width:none;max-height:none}#mm51Editor .mm51Bottom{display:flex;justify-content:space-between;align-items:center;gap:12px;background:#fff;padding:8px 12px;flex:none}#mm51Editor .mm51Settings{border-left:1px solid #c4d6e5;display:flex;flex-direction:column;gap:6px}#mm51Editor .mm51Settings label{display:grid;grid-template-columns:1fr auto;gap:4px;font-size:12px;align-items:center}#mm51Editor .mm51Settings input[type=range]{grid-column:1;width:100%}#mm51Editor output{font-size:11px}#mm51Swatches{display:flex;flex-wrap:wrap;gap:4px}#mm51Swatches button{min-height:22px;width:22px;padding:0}#mm51Editor footer{font-size:12px;flex-wrap:wrap}body.mm51Editing #mm45AdBanner{display:none!important}.mmws-rail button[data-mm51-icon] svg{fill:none;stroke:currentColor;stroke-width:1.7}@media(max-width:850px){#mm51Editor .mm51Grid{grid-template-columns:120px minmax(0,1fr) 175px}#mm51Editor aside{padding:6px}#mm51Editor header{align-items:flex-start}#mm51Editor header strong{font-size:16px}#mm51Editor button{font-size:12px;padding:5px}#mm51Editor footer{padding:6px}}@media(max-width:600px){#mm51Editor .mm51Grid{grid-template-columns:90px minmax(0,1fr);grid-template-rows:minmax(0,1fr) 145px}#mm51Editor .mm51Settings{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start}#mm51Editor .mm51ToolGroup{grid-template-columns:1fr}#mm51Editor header{display:block}#mm51Editor .mm51Actions{justify-content:flex-start}#mm51Editor .mm51Bottom{flex-wrap:wrap;gap:4px}#mm51Editor footer span:last-child{display:none}}@media print{#mm51Editor{display:none!important}}
#mm52Compose{width:min(1250px,96vw);height:88dvh;max-width:96vw;max-height:92dvh;padding:0;border:1px solid #9cb6cc;border-radius:12px;background:#f7fafc;color:#17334b;overflow:hidden}#mm52Compose[open]{display:flex;flex-direction:column}#mm52Compose::backdrop{background:#14283e99}#mm52Compose *{box-sizing:border-box}#mm52Compose header,#mm52Compose footer{display:flex;gap:8px;align-items:center;flex-wrap:wrap;padding:10px;background:white}#mm52Compose header strong{margin-right:auto}#mm52Compose section{display:grid;grid-template-columns:200px minmax(0,1fr) 220px;flex:1;min-height:0}#mm52Compose aside{overflow:auto;padding:10px;background:#eef4fa;display:flex;flex-direction:column;gap:6px}#mm52Compose [data-list]{display:grid;gap:4px}#mm52Compose button{background:white;color:#17334b;border:1px solid #adc5d9;border-radius:5px;padding:7px;cursor:pointer;overflow-wrap:anywhere}#mm52Compose button[aria-pressed=true],#mm52Compose [data-c=merge]{background:#175a9e;color:white}#mm52Compose label{display:flex;flex-direction:column;gap:3px;font-size:12px}#mm52Compose input,#mm52Compose textarea{max-width:100%;min-width:0}#mm52Compose main{display:grid;place-items:center;min-width:0;min-height:0;padding:12px;background:#dce6ee;overflow:hidden}#mm52Compose canvas{max-width:100%;max-height:100%;object-fit:contain;touch-action:none;background:conic-gradient(#d4dce4 25%,white 0 50%,#d4dce4 0 75%,white 0) 0 0/20px 20px;box-shadow:0 0 0 1px #90a4b5}#mm52Compose footer{font-size:12px}@media(max-width:700px){#mm52Compose section{grid-template-columns:110px minmax(0,1fr);grid-template-rows:minmax(0,1fr) 180px}#mm52Compose [data-props]{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}#mm52Compose button{font-size:12px}}@media print{#mm52Compose{display:none!important}}
/* Studio 53: non-exporting transformation overlay */
#mm52Compose .mm53Surface{position:relative;max-width:100%;max-height:100%;min-width:0;min-height:0;display:flex;align-items:center;justify-content:center}#mm52Compose .mm53Surface canvas{display:block;max-width:100%;max-height:calc(88dvh - 150px);width:auto;height:auto}#mm52Compose .mm53Handles{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none;touch-action:none}#mm52Compose .mm53Handles [data-h]{pointer-events:all;cursor:grab;touch-action:none}.mm53Library{max-width:min(650px,90vw);max-height:80vh;padding:20px;border:1px solid #aac0d5;border-radius:10px;background:white;color:#17334b}.mm53Library [data-results]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:12px 0;max-height:55vh;overflow:auto}.mm53Library button{padding:8px;overflow-wrap:anywhere}@media(max-width:700px){#mm52Compose .mm53Surface canvas{max-height:calc(88dvh - 380px)}}

.mm54Align{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}.mm54Ink{display:grid;gap:6px}.mm54Ink input[type=number]{width:70px}#mm52Compose [data-props]{overflow:auto;min-height:0}#mm52Compose [data-props] input[type=range]{max-width:100%;width:100%}
#mm52Compose [data-list] button[aria-pressed="true"]{background:#d5e8fa;border-color:#3976b1;color:#17334b} #mm52Compose [data-multi55]{width:auto} #mm52Compose header{flex-wrap:wrap}
