#marklockPanel{background:#111518;color:#e5e9ee;padding:14px 18px;height:100%;min-height:0;overflow:hidden;font-family:inherit}
#marklockPanel[hidden]{display:none!important}
.ml-shell{display:flex;flex-direction:column;min-height:0;height:100%;gap:12px}.ml-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.ml-heading h2{font-size:22px;margin:0 0 5px}.ml-heading p{font-size:12px;color:#b7c0c8;margin:0}.ml-heading .ml-privacy{white-space:nowrap;color:#b5ced4}.ml-eyebrow{font-size:10px!important;letter-spacing:1px;font-weight:800;color:#90b6cb!important;margin:0 0 7px!important}.ml-steps{display:flex;gap:20px;color:#b9c5cf;font-size:12px;border-bottom:1px solid #343d47;padding:2px 0 10px}.ml-steps span{flex:1}.ml-steps b{display:inline-grid;place-items:center;width:24px;height:24px;margin-right:8px;border-radius:50%;border:1px solid #53616f}.ml-grid{display:grid;grid-template-columns:minmax(0,1fr) 275px;min-height:0;flex:1;gap:14px}.ml-preview,.ml-controls{border:1px solid #38424c;border-radius:10px;background:#1d2228;min-height:0}.ml-preview{display:flex;flex-direction:column;overflow:hidden}.ml-preview-bar{padding:10px 13px;display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;border-bottom:1px solid #3b434b}.ml-preview-bar strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ml-preview-bar select{margin-left:5px;max-width:100px}.ml-stage-wrap{flex:1;min-height:0;display:flex;justify-content:center;align-items:center;overflow:auto;background:#272c33;padding:14px}.ml-empty{text-align:center;border:1px dashed #66727f;border-radius:12px;width:100%;max-width:760px;padding:65px 15px}.ml-empty h3{font-size:21px}.ml-empty p{font-size:13px}.ml-empty button,#mlChoose,#mlFour,#mlExport{background:#b13a40;color:white;border:1px solid #cb4c55}.ml-surface{position:relative;background:white;max-width:100%;max-height:100%;box-shadow:0 8px 35px #101319a0;touch-action:none}.ml-surface img,.ml-surface canvas,.ml-surface svg{position:absolute;inset:0;width:100%;height:100%}.ml-surface svg{overflow:visible;touch-action:none}.ml-surface svg circle{cursor:grab;pointer-events:all}.ml-surface svg circle:active{cursor:grabbing}.ml-surface svg circle[data-selected=true]{stroke:#ed504e;stroke-width:.7}.ml-preview>p[role=status]{margin:0;border-top:1px solid #3a434c;padding:9px 12px;color:#bce3cc;font-size:11px}.ml-preview>p[data-error=true]{color:#ffaaaa}.ml-controls{overflow:auto;padding:0;display:flex;flex-direction:column;gap:0}.ml-control-card{padding:14px;border-bottom:1px solid #39424a}.ml-control-card label{display:flex;flex-direction:column;gap:6px;font-size:12px;color:#c4cbd4;margin-top:9px}.ml-control-card select,.ml-control-card input{padding:9px;border:1px solid #46515d;border-radius:5px;background:#171c21;color:white;min-width:0;max-width:100%;font:inherit}.ml-control-card button{width:100%;margin-top:9px;padding:10px;border:1px solid #48515d;border-radius:5px;background:#303843;color:white;cursor:pointer}.ml-control-card button:disabled{opacity:.4;cursor:not-allowed}.ml-two{display:grid;grid-template-columns:1fr 1fr;gap:8px}.ml-two button{min-width:0}.ml-note,.ml-control-card p:not(.ml-eyebrow){font-size:11px;color:#b4bdc7;line-height:1.45}.ml-control-card button:not(:disabled):hover{filter:brightness(1.15)}@media(max-width:850px){#marklockPanel{overflow:auto}.ml-shell{height:auto}.ml-grid{grid-template-columns:1fr}.ml-stage-wrap{min-height:350px}.ml-controls{max-height:unset}.ml-heading{flex-wrap:wrap}.ml-steps{gap:5px}.ml-steps span{font-size:10px}}

/* Keep save visible while sequential tools share the viewport. */
.ml-controls .ml-control-card{border-bottom:0}
.ml-controls .work-action-dock #mlExport{width:100%;margin:0;padding:9px;border-radius:5px;font:inherit;font-size:12px;cursor:pointer}
.ml-controls .work-action-dock #mlExport:disabled{opacity:.4;cursor:not-allowed}
@media(max-width:850px){.ml-controls .work-panel-body{flex-basis:auto}.ml-controls .work-tool-panel{min-height:170px}}

.ml-control-card .ml-halo-choice{display:flex;flex-direction:row;align-items:center;gap:8px;margin:6px 0}
.ml-halo-choice input{width:auto}
.ml-zoom{display:flex;gap:4px}
.ml-zoom button{padding:5px 9px;min-width:30px;background:#303843;color:#fff;border:1px solid #48515d;border-radius:4px}
.ml-stage-wrap{align-items:safe center;justify-content:safe center}.ml-surface{flex-shrink:0}


.ml-surround-intro{border-bottom:1px solid #38424c;padding-bottom:12px;margin-bottom:12px}.ml-surround-intro h3{font-size:15px;margin:0 0 6px}#mlSurroundDialog{background:#1d2228;color:#e5e9ee;border:1px solid #60788e;border-radius:12px;padding:24px;width:min(440px,calc(100vw - 32px));box-sizing:border-box}#mlSurroundDialog::backdrop{background:#000b}#mlSurroundDialog h2{margin:0 0 14px;font-size:21px}#mlSurroundDialog p{line-height:1.5}#mlSurroundDialog label{display:block}#mlSurroundDialog input{box-sizing:border-box;display:block;width:100%;padding:10px;margin-top:6px;background:#111518;color:inherit;border:1px solid #60788e;border-radius:5px}#mlSurroundDialog button{padding:10px;border-radius:5px;cursor:pointer}#mlSurroundError{color:#ffb7b7;font-size:13px}#mlSurroundDialog .ml-note{color:#b7c0c8;font-size:12px}


.ml-controls .work-action-dock{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}.ml-controls .work-action-dock #mlSurroundQuick,.ml-controls .work-action-dock #mlExport{width:100%;min-width:0;margin:0;padding:9px 5px;font:inherit;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;border-radius:5px}.ml-controls .work-action-dock #mlSurroundQuick{border:1px solid #668da8;background:#244e68;color:#f1f7fb;cursor:pointer}.ml-controls .work-action-dock #mlSurroundQuick:disabled{opacity:.4;cursor:default}
