/* Mermak CAM Studio shared professional shell v3.14 — industrial CAD/CAM */
.mcs-app{--mcs-panel:clamp(250px,19vw,390px);--mcs-bg:#aeb4ba;--mcs-panel-bg:#e8ebed;--mcs-line:#aeb5bb;--mcs-text:#20272d;--mcs-muted:#69727a;--mcs-blue:#1769a5;--mcs-dark:#252b31;font-family:Inter,"Segoe UI",Arial,sans-serif;color:var(--mcs-text);position:relative;width:100%;margin:0}.mcs-app *{box-sizing:border-box}.mcs-app button,.mcs-app input,.mcs-app select{font:inherit}.mcs-launcher{padding:14px}.mcs-launch{max-width:1180px;margin:auto;padding:26px;border:1px solid var(--mcs-line);border-radius:16px;background:#fff}.mcs-launch__eyebrow{font-size:10px;font-weight:900;letter-spacing:.15em;color:var(--mcs-blue)}.mcs-launch h2{margin:6px 0}.mcs-launch>p{color:var(--mcs-muted)}.mcs-launch__grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.mcs-launch__card{display:block;padding:16px;border:1px solid var(--mcs-line);border-radius:12px;background:#f9fbfd;color:var(--mcs-text)!important;text-decoration:none!important}.mcs-launch__card strong{display:block}.mcs-launch__card span{font-size:12px;color:var(--mcs-muted)}.mcs-shell{display:grid;grid-template-columns:var(--mcs-panel) 5px minmax(0,1fr);height:max(720px,calc(100dvh - 42px));min-height:640px;border:1px solid #858c92;border-radius:3px;background:var(--mcs-bg);overflow:hidden;box-shadow:0 10px 28px rgba(0,0,0,.18)}.mcs-command{min-width:0;height:100%;display:flex;flex-direction:column;background:var(--mcs-panel-bg);border-right:1px solid #8e969d;overflow:hidden;box-shadow:2px 0 4px rgba(0,0,0,.08)}.mcs-command__brand{height:42px;display:flex;align-items:center;gap:7px;padding:0 7px;border-bottom:1px solid #151a1f;background:linear-gradient(#3d444b,#252b31);color:#fff}.mcs-command__brandmark{width:27px;height:27px;display:grid;place-items:center;border-radius:3px;background:#1769a5;color:#fff;font-weight:900;box-shadow:inset 0 0 0 1px rgba(255,255,255,.22)}.mcs-command__brandtext strong{display:block;font-size:12px}.mcs-command__brandtext span{display:block;color:#bfc6cc;font-size:8px}.mcs-engine-switch{margin-left:auto}.mcs-engine-switch select{max-width:92px;height:27px;border:1px solid #11161a;border-radius:2px;background:#4a5259;color:#fff;font-size:9px}.mcs-tabs{display:grid;grid-template-columns:repeat(4,1fr);border-bottom:1px solid #9ea5ab;background:#d8dcdf}.mcs-tab{height:36px;padding:0 2px;border:0;border-right:1px solid #afb5ba;background:linear-gradient(#f1f3f4,#d7dbde);color:#4e565d;cursor:pointer;font-size:8px;font-weight:850;text-shadow:0 1px #fff}.mcs-tab.is-active{background:linear-gradient(#2b7db7,#17659e);color:#fff;box-shadow:inset 0 -2px #0b426c;text-shadow:0 -1px rgba(0,0,0,.25)}.mcs-tab.is-stage-locked{opacity:.28;cursor:not-allowed;pointer-events:none}.mcs-tab[aria-disabled="true"]{filter:saturate(.35)}.mcs-command__body{flex:1;min-height:0;overflow:auto;padding:6px;background:#e8ebed}.mcs-pane{display:none}.mcs-pane.is-active{display:block}.mcs-group{margin-bottom:6px;border:1px solid #aeb5bb;border-radius:2px;background:#f5f6f7;overflow:hidden;box-shadow:0 1px 1px rgba(0,0,0,.05)}.mcs-group__title{padding:5px 7px;border-bottom:1px solid #aab1b7;background:linear-gradient(#e3e6e8,#cbd0d4);color:#2d343a;font-size:8.5px;font-weight:900;letter-spacing:.045em;text-shadow:0 1px #fff}.mcs-list{padding:4px}.mcs-cmd{width:100%;min-height:31px;display:flex;align-items:center;gap:6px;padding:4px 5px;border:1px solid #b8bec3;border-radius:2px;background:linear-gradient(#fff,#e2e5e7);color:#263038;text-align:left;cursor:pointer;box-shadow:0 1px 1px rgba(0,0,0,.04)}.mcs-cmd:hover{background:linear-gradient(#f4fbff,#d6e8f5);border-color:#8eb5d0}.mcs-cmd__icon{width:22px;height:22px;display:grid;place-items:center;border:1px solid #9fb6c6;border-radius:2px;background:#dbeaf4;color:#155c8e;font-size:9px;font-weight:900;flex:none}.mcs-cmd__text strong{display:block;font-size:10.5px}.mcs-cmd__text span{display:block;color:#7b8996;font-size:8.5px}.mcs-note{padding:8px;border:1px solid #dce5ec;border-radius:7px;background:#f8fafc;color:#647484;font-size:9px;line-height:1.45}.mcs-stage-card{display:flex;align-items:center;gap:7px;margin-bottom:6px;padding:6px;border:1px solid #9db7c9;border-radius:2px;background:linear-gradient(#edf6fb,#d8e8f2)}.mcs-stage-card>span{width:25px;height:25px;display:grid;place-items:center;border-radius:50%;background:#176c9f;color:#fff;font-size:10px;font-weight:900}.mcs-stage-card strong,.mcs-stage-card small{display:block}.mcs-stage-card strong{font-size:10px}.mcs-stage-card small{margin-top:2px;color:#6c7c89;font-size:8px}.mcs-fields{display:grid;grid-template-columns:1fr 1fr;gap:5px 6px;padding:6px}.mcs-fields--one{grid-template-columns:1fr}.mcs-field>span,.mcs-select>span{display:block;margin-bottom:3px;color:#586a79;font-size:8.5px;font-weight:800}.mcs-field__input{display:flex;align-items:center;height:28px;border:1px solid #9fa7ae;border-radius:2px;background:#fff;overflow:hidden;box-shadow:inset 0 1px 2px rgba(0,0,0,.08)}.mcs-field__input input{width:100%;min-width:0;height:29px;padding:0 6px;border:0!important;outline:0;background:transparent!important;color:#182a38!important;font-size:10.5px!important;font-weight:750!important}.mcs-field__input em{padding-right:6px;color:#82909c;font-size:8px;font-style:normal}.mcs-select{display:block;padding:8px}.mcs-select select{width:100%;height:32px;border:1px solid #d3dde6;border-radius:6px;background:#fff}.mcs-toggle-list{padding:5px 7px}.mcs-toggle{display:flex;align-items:flex-start;gap:7px;padding:6px 2px}.mcs-toggle>input{position:absolute;opacity:0}.mcs-toggle__mark{width:28px;height:16px;flex:none;border-radius:99px;background:#c9d3dc;position:relative}.mcs-toggle__mark:after{content:"";position:absolute;width:12px;height:12px;left:2px;top:2px;border-radius:50%;background:#fff;transition:.16s}.mcs-toggle>input:checked+.mcs-toggle__mark{background:#1681bd}.mcs-toggle>input:checked+.mcs-toggle__mark:after{transform:translateX(12px)}.mcs-toggle strong{display:block;font-size:9.5px}.mcs-toggle small{display:block;color:#7d8a95;font-size:8px}.mcs-native-status{min-height:72px;padding:8px;white-space:pre-wrap;background:#111b24;color:#b9f4cd;font:9px/1.45 Consolas,monospace}.mcs-resizer{position:relative;z-index:15;cursor:col-resize;background:#d8e0e7}.mcs-work{min-width:0;height:100%;display:flex;flex-direction:column;overflow:hidden}.mcs-workbar{height:52px;flex:0 0 52px;display:flex;align-items:center;gap:10px;padding:0 12px;border-bottom:1px solid var(--mcs-line);background:#fff}.mcs-mobile-menu{display:none}.mcs-workbar__title strong{display:block;font-size:12px}.mcs-workbar__title span{display:block;color:#7a8794;font-size:9px}.mcs-workbar__tools{display:flex;gap:5px;margin-left:auto}.mcs-workbar__tools button{height:30px;padding:0 9px;border:1px solid #d5dee6;border-radius:6px;background:#fff;font-size:9px;font-weight:800}.mcs-workbar__status{font-size:9px}.mcs-viewport{position:relative;flex:1;min-height:0;overflow:auto;background:#e9eef3}.mcs-engine-host{min-width:100%;min-height:100%;padding:6px}.mcs-engine-host>.mdn-app,.mcs-engine-host>.src-wrap{max-width:none!important;margin:0!important}.mcs-mobile-tabs{display:none}.mcs-command__head{flex:none}.mcs-drawer-close{display:none;margin-left:auto;width:38px;height:38px;border:0;border-radius:8px;background:#edf2f6;color:#273746;font-size:22px;line-height:1}.mcs-brand{display:flex;align-items:center;gap:9px;min-width:0}.mcs-engine-select>span{display:none}.mcs-step{display:flex;align-items:center;gap:6px;margin-left:4px;color:#607181;font-size:9px;white-space:nowrap}.mcs-step__dot,.mcs-statusdot{width:7px;height:7px;flex:none;border-radius:50%;background:#39a66b}.mcs-command__foot{min-height:34px;display:flex;align-items:center;gap:7px;padding:6px 10px;border-top:1px solid var(--mcs-line);background:#fff;color:#657583;font-size:9px}.mcs-visual-slot{margin:7px 8px 0;min-height:58px;display:flex;align-items:center;gap:9px;padding:7px;border:1px dashed #cbd7e1;border-radius:7px;background:#f8fafc}.mcs-visual-slot img{width:72px;height:48px;aspect-ratio:3/2;object-fit:contain;flex:none;border-radius:5px;background:#fff;content-visibility:auto}.mcs-visual-slot:not(.has-asset):before{content:'GÖRSEL';width:72px;height:48px;display:grid;place-items:center;flex:none;border-radius:5px;background:#e9eef3;color:#82909c;font-size:8px;font-weight:900;letter-spacing:.08em}.mcs-visual-slot figcaption{min-width:0}.mcs-visual-slot strong,.mcs-visual-slot small{display:block}.mcs-visual-slot strong{font-size:9.5px}.mcs-visual-slot small{margin-top:2px;color:#71808d;font-size:8px;line-height:1.35}
/* Existing 2D reference */
.mcs-cam2d-reference .cam-prod-wrapper.mcs-studio-embedded{max-width:none!important;width:100%!important;min-height:100%!important;margin:0!important;padding:0!important;border:0!important;background:#0b1118!important}.mcs-cam2d-reference .cam-prod-wrapper>.cam-header{display:none!important}.mcs-cam2d-reference .cam-prod-wrapper>.cam-layout{display:block!important}.mcs-cam2d-reference .cam-controls{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important;opacity:0!important;pointer-events:none!important}.mcs-cam2d-reference .cam-visuals{position:relative!important;top:auto!important;display:flex!important;width:100%!important;max-height:none!important}.mcs-cam2d-reference .cam-canvas-stage{order:1!important;width:100%!important}.mcs-cam2d-reference #cam-canvas{height:clamp(540px,calc(100dvh - 215px),900px)!important;min-height:500px!important}.mcs-cam2d-reference .sim-panel{order:2!important}.mcs-cam2d-reference #gcode-out{order:3!important;height:76px!important}.mcs-cam2d-reference .cam-mobile-actionbar,.mcs-cam2d-reference .cam-mobile-hint,.mcs-cam2d-reference .cam-brand-loader{display:none!important}
.mcs-workbar__tools button[hidden]{display:none!important}.mcs-tab.is-stage-locked,.mcs-mobile-tabs button.is-stage-locked{opacity:.34;pointer-events:none}.mcs-cam2d-reference.mcs-stage-1 .sim-panel,.mcs-cam2d-reference.mcs-stage-1 .cam-mobile-actionbar,.mcs-cam2d-reference.mcs-stage-1 #cam-context-menu{display:none!important}.mcs-nesting-reference.mcs-stage-1 .mdn-workspace-actions,.mcs-nesting-reference.mcs-stage-1 .mdn-sheet-toolbar{display:none!important}.mcs-has-unsaved .mcs-statusdot{box-shadow:0 0 0 3px rgba(245,158,11,.16)}.mcs-transfer-banner{position:fixed;z-index:2147483200;right:18px;bottom:18px;display:flex;align-items:center;gap:10px;max-width:min(440px,calc(100vw - 36px));padding:12px 14px;border:1px solid #a7d7bf;border-radius:10px;background:#effbf4;color:#173e2c;box-shadow:0 8px 30px rgba(0,0,0,.16);font-size:12px}.mcs-transfer-banner[hidden]{display:none}.mcs-transfer-banner strong{white-space:nowrap}.mcs-transfer-banner span{min-width:0}.mcs-transfer-banner button{margin-left:auto;border:0;background:transparent;font-size:22px;line-height:1;cursor:pointer}.mcs-nesting-reference.mcs-stage-1 .mcs-workbar__tools button:not(:first-child),.mcs-nesting-reference.mcs-stage-2 .mcs-workbar__tools [data-mcs-run="zip"]{display:none}
/* Deep touch UX v3.9 */
.mcs-action-sheet[hidden],.mcs-touch-hud[hidden]{display:none!important}.mcs-action-sheet{position:fixed;z-index:2147483644;inset:0}.mcs-action-sheet__backdrop{position:absolute;inset:0;width:100%;height:100%;border:0;background:rgba(7,15,24,.55)}.mcs-action-sheet__card{position:absolute;left:50%;bottom:0;transform:translateX(-50%);width:min(620px,100vw);max-height:min(calc(var(--mcs-vvh,100dvh) * .78),760px);display:flex;flex-direction:column;border-radius:18px 18px 0 0;background:#f8fafc;box-shadow:0 -18px 60px rgba(0,0,0,.32);padding-bottom:env(safe-area-inset-bottom)}.mcs-action-sheet__grab{width:42px;height:4px;margin:8px auto 3px;border-radius:99px;background:#c3ccd5}.mcs-action-sheet__card>header{display:flex;align-items:center;gap:12px;padding:10px 14px;border-bottom:1px solid #dde5ec}.mcs-action-sheet__card>header>div{min-width:0}.mcs-action-sheet__card>header strong,.mcs-action-sheet__card>header small{display:block}.mcs-action-sheet__card>header strong{font-size:14px}.mcs-action-sheet__card>header small{margin-top:2px;color:#6a7986;font-size:10px}.mcs-action-sheet__card>header button{margin-left:auto;width:44px;height:44px;border:0;border-radius:10px;background:#e9eef3;font-size:24px}.mcs-action-sheet__body{min-height:0;overflow:auto;padding:8px 10px;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}.mcs-sheet-action{width:100%;min-height:52px;display:block;padding:9px 11px;border:0;border-bottom:1px solid #e3e9ee;background:#fff;color:#17212b;text-align:left}.mcs-sheet-action:first-child{border-radius:10px 10px 0 0}.mcs-sheet-action:last-child{border-radius:0 0 10px 10px}.mcs-sheet-action strong,.mcs-sheet-action small{display:block}.mcs-sheet-action strong{font-size:12px}.mcs-sheet-action small{margin-top:3px;color:#71808d;font-size:9px}.mcs-action-sheet__card>footer{padding:8px 10px}.mcs-action-sheet__card>footer button{width:100%;min-height:46px;border:1px solid #ccd6df;border-radius:10px;background:#fff;font-weight:800}.mcs-touch-hud{position:fixed;z-index:2147483638;left:50%;top:max(10px,env(safe-area-inset-top));transform:translateX(-50%);display:flex;align-items:center;gap:7px;padding:8px 11px;border:1px solid rgba(255,255,255,.18);border-radius:999px;background:rgba(15,29,42,.92);color:#fff;font-size:10px;font-weight:800;pointer-events:none;box-shadow:0 7px 24px rgba(0,0,0,.25)}.mcs-touch-hud__dot{width:7px;height:7px;border-radius:50%;background:#58c58a}.mcs-action-open .mcs-mobile-tabs,.mcs-action-open .mcs-fullscreen-nav{pointer-events:none}.mcs-stl-gesture .mcs-viewport{overflow:hidden!important;touch-action:none!important}
/* Fullscreen safe navigation — all engines */
.mcs-fullscreen-nav{display:none;position:fixed;z-index:2147483600;top:max(10px,env(safe-area-inset-top));right:max(10px,env(safe-area-inset-right));gap:7px;align-items:center}.mcs-fullscreen-nav button{min-width:48px;height:48px;padding:0 13px;border:1px solid #506579;border-radius:10px;background:rgba(12,23,34,.94);color:#fff;font:800 11px/1 Arial,sans-serif;box-shadow:0 5px 22px rgba(0,0,0,.28);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}.mcs-fullscreen-nav button span{margin-left:5px}.mcs-fullscreen-active .mcs-fullscreen-nav{display:flex}.mcs-fullscreen-active .mcs-viewport{overflow:auto!important;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-x pan-y pinch-zoom}.mcs-fullscreen-active .mcs-engine-host{min-height:100%;overflow:visible!important}.mcs-fullscreen-active .mcs-work{min-height:100dvh}.mcs-fullscreen-active.is-drawer-open .mcs-command{z-index:2147483640!important;overflow:hidden}.mcs-fullscreen-active.is-drawer-open .mcs-command__body{overflow-y:auto!important;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding-bottom:max(90px,calc(60px + env(safe-area-inset-bottom)))}.mcs-fullscreen-active.is-drawer-open .mcs-fullscreen-nav{display:none}.mcs-fs-document{overscroll-behavior:none}
/* STL / 3D reference */
.mcs-stl-reference .stl-raster-cam-plugin.mcs-studio-embedded{max-width:none!important;width:100%!important;min-height:100%!important;margin:0!important;background:transparent!important}.mcs-stl-reference .stl-raster-cam-plugin>.topbar,.mcs-stl-reference .mobileQuickBar,.mcs-stl-reference .educationIntroGap,.mcs-stl-reference .educationArea{display:none!important}.mcs-stl-reference .layout{display:block!important;min-height:100%!important;margin:0!important;padding:0!important}.mcs-stl-reference .layout>.controls,.mcs-stl-reference .layout>.output{position:absolute!important;left:-10000px!important;top:0!important;width:1px!important;height:1px!important;overflow:hidden!important;opacity:0!important;pointer-events:none!important}.mcs-stl-reference .viewerWrap{width:100%!important;min-height:calc(100dvh - 112px)!important;margin:0!important;border:0!important;border-radius:0!important;background:#101820!important;overflow:hidden!important}.mcs-stl-reference #viewer{width:100%!important;height:calc(100dvh - 132px)!important;min-height:560px!important}.mcs-stl-reference .viewerHelp{position:absolute!important;left:10px!important;bottom:10px!important;z-index:8!important;max-width:calc(100% - 20px)!important}.mcs-stl-reference.mcs-stage-1 .viewerWrap:before{content:'STL modelini yükleyin';position:absolute;z-index:7;left:50%;top:50%;transform:translate(-50%,-50%);padding:12px 18px;border:1px dashed #607080;border-radius:8px;color:#b8c5d0;background:#15202bcc;font-size:12px;font-weight:800;pointer-events:none}.mcs-stl-reference.mcs-stage-1 .mcs-workbar__tools button:not(:first-child),.mcs-stl-reference.mcs-stage-2 .mcs-workbar__tools [data-mcs-run="download"]{display:none}.mcs-stl-reference .mcs-native-status{white-space:normal;background:#f6f8fa;color:#435362;font-family:inherit}.mcs-stl-reference .mcs-command__body{overscroll-behavior:contain}
/* Nesting + Composite workspace normalization */
.mcs-nesting-reference .mdn-app.mcs-studio-embedded,.mcs-composite-reference .mdn-app.mcs-studio-embedded{max-width:none!important;width:100%!important;margin:0!important;padding:0!important;background:transparent!important}.mcs-nesting-reference .mdn-head,.mcs-nesting-reference .mdn-drop,.mcs-nesting-reference .mdn-toolbar,.mcs-nesting-reference .mdn-seo-edu,.mcs-composite-reference .mdn-head,.mcs-composite-reference .mdn-drop,.mcs-composite-reference .mcp-top-toolbar{display:none!important}.mcs-nesting-reference .mdn-shell,.mcs-composite-reference .mdn-shell{max-width:none!important;width:100%!important;margin:0!important;padding:0!important;background:transparent!important;box-shadow:none!important;border:0!important}.mcs-nesting-reference .mdn-status,.mcs-composite-reference .mdn-status{margin:0 0 6px!important;padding:7px 10px!important;border-radius:5px!important;font-size:10px!important}.mcs-nesting-reference .mdn-result,.mcs-composite-reference .mdn-result{width:100%!important;margin:0!important;padding:0!important;overflow:visible!important}.mcs-nesting-reference .mdn-svg-wrap,.mcs-composite-reference .mdn-svg-wrap{width:100%!important;min-width:680px!important;overflow:visible!important}.mcs-nesting-reference .mdn-sheet-svg,.mcs-composite-reference .mdn-sheet-svg{display:block!important;width:100%!important;height:auto!important;min-height:420px!important;touch-action:none}.mcs-nesting-reference .mdn-modal,.mcs-composite-reference .mdn-modal{z-index:2147483550!important}.mcs-nesting-reference .mdn-modal-card,.mcs-composite-reference .mdn-modal-card{max-height:92dvh!important;display:flex!important;flex-direction:column!important;overflow:hidden!important}.mcs-nesting-reference .mdn-modal-body,.mcs-composite-reference .mdn-modal-body{flex:1!important;min-height:0!important;overflow:auto!important}.mcs-nesting-reference .mdn-modal-actions,.mcs-composite-reference .mdn-modal-actions{position:sticky!important;bottom:0!important;z-index:10!important;background:inherit!important}.mcs-composite-reference .mcp-cam-bar{display:none!important}.mcs-composite-reference .mcp-flow-menu,.mcs-composite-reference .mcp-work-panel{z-index:2147483560!important}.mcs-composite-reference.mcs-stage-1 .mdn-status{min-height:calc(100dvh - 170px);display:grid!important;place-items:center!important;text-align:center!important;font-size:13px!important;color:#64748b!important;background:#f8fafc!important;border:1px dashed #cbd5e1!important}.mcs-composite-reference.mcs-stage-1 .mdn-result:empty{display:none!important}.mcs-composite-reference.mcs-stage-2 .mdn-result:empty{min-height:260px}.mcs-composite-reference.mcs-stage-3 .mcs-workbar__tools [data-mcs-run="simselected"],.mcs-composite-reference.mcs-stage-4 .mcs-workbar__tools [data-mcs-run="simselected"],.mcs-composite-reference.mcs-stage-4 .mcs-workbar__tools [data-mcs-run="gcodezip"]{display:inline-block}.mcs-composite-reference.mcs-stage-1 .mcs-workbar__tools button:not([data-mcs-run="nestconfig"]),.mcs-composite-reference.mcs-stage-2 .mcs-workbar__tools [data-mcs-run="simselected"],.mcs-composite-reference.mcs-stage-2 .mcs-workbar__tools [data-mcs-run="gcodezip"]{display:none}
.mcs-modal[hidden],.mcs-drawer-backdrop[hidden]{display:none!important}.mcs-modal{position:fixed;z-index:2147483600;inset:0;display:grid;place-items:center;padding:18px}.mcs-modal__backdrop{position:absolute;inset:0;background:#0f172a94}.mcs-modal__box{position:relative;width:min(780px,94vw);max-height:88dvh;overflow:hidden;border-radius:12px;background:#fff;display:flex;flex-direction:column}.mcs-modal__head{display:flex;align-items:center;padding:11px 13px;border-bottom:1px solid var(--mcs-line)}.mcs-modal__close{margin-left:auto}.mcs-modal__body{padding:12px;overflow:auto}.mcs-toast{position:fixed;z-index:2147483640;left:50%;bottom:22px;transform:translate(-50%,15px);opacity:0;padding:9px 13px;border-radius:8px;background:#17212b;color:#fff;font-size:10px;transition:.18s}.mcs-toast.is-show{opacity:1;transform:translate(-50%,0)}
@media(max-width:980px){.mcs-mobile-tabs button.is-stage-locked,.mcs-mobile-tabs button[aria-disabled="true"]{display:none!important}.mcs-command,.mcs-viewport{overscroll-behavior:contain}.mcs-modal__body,.mcs-action-sheet__body{overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.mcs-shell{height:var(--mcs-vvh,100dvh);min-height:0}.mcs-drawer-close{display:grid;place-items:center}.mcs-command__brand{height:auto;min-height:58px;flex-wrap:wrap;padding-top:max(7px,env(safe-area-inset-top));padding-bottom:7px}.mcs-engine-switch{order:3;width:100%;margin-left:0}.mcs-engine-switch select{width:100%;max-width:none;height:38px}.mcs-step{margin-left:auto}.mcs-command__foot{padding-bottom:max(8px,env(safe-area-inset-bottom))}.mcs-visual-slot{min-height:64px}.mcs-visual-slot img,.mcs-visual-slot:not(.has-asset):before{width:82px;height:52px}.mcs-work{height:var(--mcs-vvh,100dvh)}.mcs-mobile-tabs button[hidden]{display:none!important}.mcs-mobile-tabs:has(button[hidden]){grid-template-columns:repeat(auto-fit,minmax(72px,1fr))}.mcs-keyboard-open .mcs-mobile-tabs{display:none!important}.mcs-keyboard-open .mcs-engine-host{padding-bottom:4px}.mcs-keyboard-open .mcs-command{height:var(--mcs-vvh,100dvh);bottom:auto}.mcs-keyboard-open .mcs-action-sheet__card{max-height:calc(var(--mcs-vvh,100dvh) - 8px)}.mcs-nesting-reference .mdn-sheet-svg.mcs-active-plate{outline:3px solid rgba(11,99,167,.78);outline-offset:-3px}.mcs-command__body{overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.mcs-command__body>.mcs-pane:not(.is-active){display:none!important}.mcs-command__body .mcs-pane.is-active{display:block!important}.mcs-command__body .mcs-pane.is-active .mcs-group{content-visibility:auto}.mcs-cmd{min-height:48px}.mcs-tab{min-height:46px}.mcs-mobile-tabs button{min-height:48px}.mcs-nesting-reference .mdn-sheet-svg,.mcs-composite-reference .mdn-sheet-svg{touch-action:pan-x pan-y}.mcs-nesting-reference [data-mdn-item="1"],.mcs-composite-reference [data-mcp-seg]{touch-action:none}.mcs-composite-reference .mcp-line-menu[data-mcp-touch-menu="1"],.mcs-nesting-reference .mdn-piece-menu{max-height:1px!important;overflow:hidden!important;opacity:0!important;pointer-events:none!important}.mcs-stl-reference #viewer{touch-action:none!important;overscroll-behavior:none}.mcs-launch__grid{grid-template-columns:repeat(2,1fr)}.mcs-shell{grid-template-columns:1fr;height:max(680px,calc(100dvh - 10px));border-left:0;border-right:0}.mcs-command{position:fixed;z-index:2147483500;left:0;top:0;bottom:0;width:min(370px,90vw);transform:translateX(-102%);transition:.2s;box-shadow:18px 0 45px #0f172a38}.mcs-app.is-drawer-open .mcs-command{transform:translateX(0)}.mcs-resizer{display:none}.mcs-workbar{height:48px;flex-basis:48px;padding:0 8px}.mcs-mobile-menu{display:grid;place-items:center;width:34px;height:34px;border:1px solid #d4dde5;border-radius:7px;background:#fff}.mcs-workbar__tools,.mcs-workbar__status{display:none}.mcs-engine-host{padding:2px 2px 58px}.mcs-mobile-tabs{position:absolute;z-index:2147483400;left:6px;right:6px;bottom:max(6px,env(safe-area-inset-bottom));display:grid;grid-template-columns:repeat(4,1fr);gap:3px;padding:4px;border:1px solid #293847;border-radius:11px;background:#162330f5}.mcs-mobile-tabs button{height:44px;border:0;border-radius:7px;background:transparent;color:#d7e2eb;font-size:9px;font-weight:800}.mcs-mobile-tabs button.is-active{background:#31536c;color:#fff}.mcs-mobile-tabs button.is-stage-locked{opacity:.24}.mcs-drawer-backdrop{position:fixed;z-index:2147483450;inset:0;background:#0f172a61;border:0}.mcs-cam2d-reference #cam-canvas{height:calc(100dvh - 150px)!important;min-height:420px!important}.mcs-cam2d-reference .sim-panel,.mcs-cam2d-reference #gcode-out{display:none!important}.mcs-nesting-reference .mdn-result,.mcs-composite-reference .mdn-result{overflow:auto!important;-webkit-overflow-scrolling:touch}.mcs-nesting-reference .mdn-svg-wrap,.mcs-composite-reference .mdn-svg-wrap{min-width:760px!important}.mcs-nesting-reference .mdn-modal,.mcs-composite-reference .mdn-modal{position:fixed!important;inset:0!important;padding:0!important}.mcs-nesting-reference .mdn-modal-card,.mcs-composite-reference .mdn-modal-card{width:100vw!important;max-width:none!important;height:100dvh!important;max-height:100dvh!important;margin:0!important;border-radius:0!important}.mcs-nesting-reference .mdn-modal-head,.mcs-composite-reference .mdn-modal-head{position:sticky!important;top:0!important;z-index:20!important;padding-top:max(12px,env(safe-area-inset-top))!important}.mcs-nesting-reference .mdn-modal-body,.mcs-composite-reference .mdn-modal-body{padding-bottom:90px!important}.mcs-nesting-reference .mdn-modal-actions,.mcs-composite-reference .mdn-modal-actions{position:absolute!important;left:0!important;right:0!important;bottom:0!important;padding:10px 10px max(10px,env(safe-area-inset-bottom))!important;background:#fff!important}.mcs-nesting-reference .mdn-modal-actions .mdn-btn,.mcs-composite-reference .mdn-modal-actions .mdn-btn{min-height:48px!important;font-size:13px!important}.mcs-nesting-reference .mdn-grid,.mcs-composite-reference .mdn-grid{grid-template-columns:1fr!important}.mcs-composite-reference.mcs-stage-1 .mdn-status{min-height:calc(100dvh - 112px)!important}.mcs-composite-reference .mcp-pro-sim-main{position:sticky!important;bottom:58px!important;z-index:20!important}.mcs-modal{padding:5px}.mcs-modal__box{width:calc(100vw - 10px);max-height:calc(100dvh - 10px)}}
@media(max-width:980px){.mcs-transfer-banner{left:10px;right:10px;bottom:max(68px,calc(58px + env(safe-area-inset-bottom)));max-width:none}.mcs-fullscreen-nav{top:max(8px,env(safe-area-inset-top));right:max(8px,env(safe-area-inset-right))}.mcs-fullscreen-nav button{height:46px;min-width:46px;padding:0 10px}.mcs-fullscreen-nav button span{display:none}.mcs-fullscreen-active .mcs-workbar{padding-right:108px!important}.mcs-fullscreen-active .mcs-viewport{height:calc(100dvh - env(safe-area-inset-top))!important;max-height:none!important;padding-bottom:max(66px,env(safe-area-inset-bottom))!important}.mcs-fullscreen-active .mcs-mobile-tabs{position:fixed!important;z-index:2147483500!important;left:0;right:0;bottom:0;padding-bottom:env(safe-area-inset-bottom);background:#111d29}.mcs-fullscreen-active .mcs-drawer-backdrop{position:fixed!important;z-index:2147483630!important}.mcs-stl-reference #viewer{height:calc(100dvh - 108px)!important;min-height:480px!important}.mcs-stl-reference .viewerWrap{min-height:calc(100dvh - 108px)!important}.mcs-stl-reference .viewerHelp{bottom:64px!important;font-size:9px!important}.mcs-stl-reference.mcs-stage-1 .viewerWrap:before{top:42%;font-size:11px}.mcs-stl-reference .mcs-command{overflow:hidden}.mcs-stl-reference .mcs-command__body{padding-bottom:max(18px,env(safe-area-inset-bottom))}}
@media(max-width:560px){.mcs-launcher{padding:0}.mcs-launch{padding:18px 13px;border-radius:0}.mcs-launch__grid{grid-template-columns:1fr}.mcs-command__brand{height:50px}.mcs-tab{font-size:8px}.mcs-engine-host{padding-left:0;padding-right:0}.mcs-fields{grid-template-columns:1fr;gap:6px;padding:7px}.mcs-field__input{height:40px}.mcs-field__input input,.mcs-select select{height:38px!important;font-size:16px!important}.mcs-cmd{min-height:46px}.mcs-cmd__text strong{font-size:11px}.mcs-cam2d-reference #cam-canvas{height:calc(100dvh - 146px)!important;min-height:380px!important}.mcs-nesting-reference .mdn-svg-wrap,.mcs-composite-reference .mdn-svg-wrap{min-width:680px!important}.mcs-nesting-reference input,.mcs-nesting-reference select,.mcs-composite-reference input,.mcs-composite-reference select{font-size:16px!important}.mcs-composite-reference .mcp-work-panel,.mcs-composite-reference .mcp-flow-menu{max-width:100vw!important;width:100vw!important;left:0!important;right:0!important}}

/* ===== MCS 3.15 UNIFIED INDUSTRIAL CAD/CAM SHELL ===== */
.mcs-shell{grid-template-columns:var(--mcs-panel) 5px minmax(0,1fr)!important;grid-template-rows:34px minmax(0,1fr)!important;background:#aeb4ba!important;border-color:#858c92!important;border-radius:3px!important;box-shadow:0 10px 28px rgba(0,0,0,.18)!important}
.mcs-ribbon{grid-column:1/-1;grid-row:1;display:flex;align-items:center;min-width:0;height:34px;background:linear-gradient(#252b31,#171c21);border-bottom:1px solid #0b0e10;color:#e9eef2;box-shadow:0 1px 4px rgba(0,0,0,.3);z-index:80}
.mcs-ribbon__brand{height:100%;display:flex;align-items:center;gap:7px;padding:0 11px;border-right:1px solid #3d454c;white-space:nowrap}.mcs-ribbon__mark{width:22px;height:22px;display:grid;place-items:center;border-radius:2px;background:#1769a5;color:#fff;font-size:11px;font-weight:900}.mcs-ribbon__brand strong{font-size:10px;letter-spacing:.05em}.mcs-ribbon__engine{height:100%;display:flex;align-items:center;gap:7px;padding:0 11px;border-right:1px solid #3d454c;white-space:nowrap}.mcs-ribbon__engine span{font-size:7px;color:#8f9aa4;letter-spacing:.12em}.mcs-ribbon__engine strong{font-size:10px;color:#fff}.mcs-ribbon__stage{margin-left:auto;display:flex;align-items:center;gap:6px;padding:0 11px;font-size:9px;color:#c5cdd4;white-space:nowrap}
.mcs-command{grid-column:1;grid-row:2!important;background:#e8ebed!important;border-right:1px solid #8e969d!important;box-shadow:2px 0 4px rgba(0,0,0,.08)}.mcs-resizer{grid-column:2;grid-row:2!important;background:linear-gradient(90deg,#878e94,#c3c8cc,#878e94)!important}.mcs-work{grid-column:3;grid-row:2!important}
.mcs-command__brand{height:42px!important;min-height:42px!important;padding:0 7px!important;background:linear-gradient(#3d444b,#252b31)!important;border-bottom:1px solid #151a1f!important;color:#fff!important}.mcs-command__brandmark{border-radius:3px!important;background:#1769a5!important}.mcs-command__brandtext span{color:#bfc6cc!important}.mcs-engine-switch select{height:27px!important;border:1px solid #11161a!important;border-radius:2px!important;background:#4a5259!important;color:#fff!important;font-size:9px!important}
.mcs-tabs{background:#d8dcdf!important;border-bottom:1px solid #9ea5ab!important}.mcs-tab{height:36px!important;background:linear-gradient(#f1f3f4,#d7dbde)!important;color:#4e565d!important;border-right:1px solid #afb5ba!important;font-size:8px!important;text-shadow:0 1px #fff}.mcs-tab.is-active{background:linear-gradient(#2b7db7,#17659e)!important;color:#fff!important;box-shadow:inset 0 -2px #0b426c!important;text-shadow:0 -1px rgba(0,0,0,.25)}
.mcs-command__body{padding:6px!important;background:#e8ebed!important}.mcs-group{margin-bottom:6px!important;border:1px solid #aeb5bb!important;border-radius:2px!important;background:#f5f6f7!important;box-shadow:0 1px 1px rgba(0,0,0,.05)!important}.mcs-group__title{padding:5px 7px!important;border-bottom:1px solid #aab1b7!important;background:linear-gradient(#e3e6e8,#cbd0d4)!important;color:#2d343a!important;font-size:8.5px!important;letter-spacing:.045em!important;text-shadow:0 1px #fff}.mcs-stage-card{margin-bottom:6px!important;padding:6px!important;border:1px solid #9db7c9!important;border-radius:2px!important;background:linear-gradient(#edf6fb,#d8e8f2)!important}.mcs-stage-card>span{width:22px!important;height:22px!important;border-radius:2px!important;font-size:9px!important}
.mcs-list{padding:3px!important}.mcs-cmd{min-height:31px!important;gap:6px!important;padding:4px 5px!important;border:1px solid #b8bec3!important;border-radius:2px!important;background:linear-gradient(#fff,#e2e5e7)!important;color:#263038!important;box-shadow:0 1px 1px rgba(0,0,0,.04)!important}.mcs-cmd:hover{background:linear-gradient(#f4fbff,#d6e8f5)!important;border-color:#8eb5d0!important}.mcs-cmd__icon{width:22px!important;height:22px!important;border:1px solid #9fb6c6!important;border-radius:2px!important;background:#dbeaf4!important;color:#155c8e!important}.mcs-cmd__text strong,.mcs-cmd strong{font-size:9.5px!important}.mcs-cmd__text span,.mcs-cmd small{font-size:7.8px!important;color:#707981!important}
.mcs-fields{gap:5px 6px!important;padding:6px!important}.mcs-field>span,.mcs-select>span{margin-bottom:2px!important;font-size:8px!important;color:#4d555d!important}.mcs-field__input{height:28px!important;border:1px solid #9fa7ae!important;border-radius:2px!important;box-shadow:inset 0 1px 2px rgba(0,0,0,.08)!important}.mcs-field__input input{height:26px!important;font-size:10px!important}.mcs-select select{height:28px!important;border-radius:2px!important;border-color:#9fa7ae!important;font-size:10px!important}.mcs-toggle{padding:4px 2px!important}.mcs-toggle strong{font-size:8.8px!important}
.mcs-command__foot{min-height:25px!important;justify-content:center!important;padding:4px 7px!important;border-top:1px solid #9ea5ab!important;background:#d5d9dc!important;color:#667078!important;font-size:7.5px!important;letter-spacing:.08em!important}
.mcs-workbar{height:40px!important;flex-basis:40px!important;padding:0 6px!important;gap:6px!important;background:linear-gradient(#414950,#292f35)!important;border-bottom:1px solid #11161a!important;color:#fff!important;box-shadow:0 2px 3px rgba(0,0,0,.2)!important}.mcs-workbar__title strong{font-size:10px!important;color:#fff!important}.mcs-workbar__title span{font-size:7px!important;color:#aeb7bf!important;letter-spacing:.1em!important}.mcs-workbar__tools{gap:2px!important;overflow-x:auto!important;scrollbar-width:none}.mcs-workbar__tools::-webkit-scrollbar{display:none}.mcs-workbar__tools button{height:27px!important;padding:0 7px!important;border:1px solid #151a1f!important;border-radius:2px!important;background:linear-gradient(#515a62,#343b42)!important;color:#eef2f5!important;font-size:8.5px!important;font-weight:750!important;box-shadow:inset 0 1px rgba(255,255,255,.12)!important}.mcs-workbar__tools button:hover{background:linear-gradient(#2c7db6,#17649d)!important;border-color:#0c4168!important}
.mcs-viewport{background:#020617!important;box-shadow:inset 0 0 0 1px #334155!important}.mcs-engine-host{padding:3px!important;background:#020617!important}.mcs-nesting-reference .mdn-status,.mcs-composite-reference .mdn-status{margin:0 0 3px!important;padding:5px 7px!important;border:1px solid #979ea4!important;border-radius:1px!important;background:#dfe3e6!important;color:#333b42!important;font-size:9px!important;box-shadow:inset 0 1px #fff!important}.mcs-nesting-reference .mdn-sheet-svg,.mcs-composite-reference .mdn-sheet-svg{background:#020617!important;border:1px solid #334155!important;box-shadow:0 2px 10px rgba(0,0,0,.42)!important}.mcs-stl-reference .viewerWrap{border:1px solid #717981!important;background:#2f363d!important;box-shadow:inset 0 0 28px rgba(0,0,0,.28)!important}
.mcs-visual-slot{margin:4px 6px 2px!important;min-height:44px!important;padding:4px 5px!important;border:1px solid #adb4ba!important;border-radius:2px!important;background:#e1e5e8!important}.mcs-visual-slot img,.mcs-visual-slot:not(.has-asset):before{width:58px!important;height:38px!important;border-radius:1px!important}.mcs-visual-slot strong{font-size:8.7px!important}.mcs-visual-slot small{font-size:7.5px!important}

@media(max-width:980px){
.mcs-shell{grid-template-columns:1fr!important;grid-template-rows:34px minmax(0,1fr)!important;height:var(--mcs-vvh,100dvh)!important;min-height:0!important;border:0!important;border-radius:0!important;box-shadow:none!important}.mcs-ribbon{grid-column:1;grid-row:1;height:34px;position:relative;z-index:2147483520}.mcs-ribbon__brand{padding:0 8px}.mcs-ribbon__brand strong{font-size:9px}.mcs-ribbon__engine{display:none}.mcs-ribbon__stage{font-size:8px;padding:0 7px;max-width:45vw;overflow:hidden;text-overflow:ellipsis}.mcs-work{grid-column:1;grid-row:2!important;height:calc(var(--mcs-vvh,100dvh) - 34px)!important}.mcs-command{grid-column:auto;grid-row:auto;top:34px!important;height:calc(var(--mcs-vvh,100dvh) - 34px)!important;width:min(360px,88vw)!important;background:#e8ebed!important}.mcs-command__brand{height:auto!important;min-height:50px!important;padding:max(5px,env(safe-area-inset-top)) 7px 5px!important;flex-wrap:wrap!important}.mcs-engine-switch{order:3;width:100%!important;margin-left:0!important}.mcs-engine-switch select{width:100%!important;max-width:none!important;height:34px!important}.mcs-tabs{position:sticky;top:0;z-index:10}.mcs-tab{height:39px!important;font-size:8px!important}.mcs-command__body{padding:5px!important}.mcs-group{margin-bottom:5px!important}.mcs-stage-card{padding:5px!important}.mcs-stage-card small{display:none!important}.mcs-cmd{min-height:44px!important;padding:6px!important}.mcs-cmd__icon{width:28px!important;height:28px!important}.mcs-cmd__text strong,.mcs-cmd strong{font-size:10px!important}.mcs-cmd__text span,.mcs-cmd small{font-size:8px!important}.mcs-fields{grid-template-columns:1fr!important;gap:5px!important;padding:6px!important}.mcs-field__input{height:42px!important}.mcs-field__input input,.mcs-select select{height:40px!important;font-size:16px!important}.mcs-toggle{min-height:42px!important;align-items:center!important}.mcs-workbar{height:43px!important;flex-basis:43px!important;padding:0 5px!important}.mcs-mobile-menu{display:grid!important;width:34px!important;height:34px!important;border-radius:2px!important;border:1px solid #151a1f!important;background:#444c53!important;color:#fff!important}.mcs-workbar__title>span{display:none!important}.mcs-workbar__tools{display:flex!important;max-width:calc(100vw - 48px)!important}.mcs-workbar__tools button{height:33px!important;min-width:44px!important;font-size:8px!important}.mcs-viewport{height:calc(var(--mcs-vvh,100dvh) - 77px)!important;padding-bottom:56px!important}.mcs-engine-host{padding:0!important}.mcs-mobile-tabs{position:fixed!important;left:5px!important;right:5px!important;bottom:max(5px,env(safe-area-inset-bottom))!important;z-index:2147483400!important;display:grid!important;gap:2px!important;padding:3px!important;border:1px solid #0c1115!important;border-radius:4px!important;background:linear-gradient(#30373d,#1d2227)!important;box-shadow:0 4px 14px rgba(0,0,0,.35)!important}.mcs-mobile-tabs button{height:46px!important;border-radius:2px!important;color:#d7dde2!important;font-size:9px!important}.mcs-mobile-tabs button.is-active{background:linear-gradient(#2d7fb9,#17659e)!important;color:#fff!important}.mcs-fullscreen-active .mcs-ribbon{position:fixed;top:0;left:0;right:0}.mcs-fullscreen-active .mcs-work{padding-top:34px}.mcs-fullscreen-active .mcs-viewport{height:calc(var(--mcs-vvh,100dvh) - 34px)!important}.mcs-nesting-reference .mdn-svg-wrap,.mcs-composite-reference .mdn-svg-wrap{min-width:620px!important}.mcs-nesting-reference .mdn-sheet-svg,.mcs-composite-reference .mdn-sheet-svg{min-height:360px!important}.mcs-stl-reference #viewer{height:calc(var(--mcs-vvh,100dvh) - 122px)!important;min-height:360px!important}.mcs-stl-reference .viewerWrap{min-height:calc(var(--mcs-vvh,100dvh) - 100px)!important}.mcs-visual-slot{min-height:52px!important}.mcs-visual-slot img,.mcs-visual-slot:not(.has-asset):before{width:70px!important;height:46px!important}
}

@media(max-width:560px){.mcs-ribbon__brand strong{max-width:44vw;overflow:hidden;text-overflow:ellipsis}.mcs-ribbon__stage{max-width:48vw}.mcs-command{width:min(340px,92vw)!important}.mcs-workbar__tools button{padding:0 6px!important}.mcs-mobile-tabs{left:3px!important;right:3px!important}.mcs-mobile-tabs button{font-size:8.5px!important}.mcs-nesting-reference .mdn-svg-wrap,.mcs-composite-reference .mdn-svg-wrap{min-width:580px!important}}

/* ===== MCS 3.16 LARGE VISUAL TRANSFORMATION ===== */
.mcs-shell{--mcs-panel:clamp(238px,18vw,350px)!important;background:#737a80!important}
.mcs-ribbon{height:36px!important;background:linear-gradient(#20262b,#11161a)!important}.mcs-ribbon__brand{min-width:var(--mcs-panel);box-sizing:border-box;background:#161b20!important}.mcs-ribbon__engine{background:#252c32!important}.mcs-ribbon__stage{height:100%;padding-right:14px!important;background:#151a1f!important}
.mcs-command{background:#d8dcdf!important}.mcs-command__brand{background:#252b30!important}.mcs-command__body{background:#d8dcdf!important;scrollbar-width:thin;scrollbar-color:#8e969d #d8dcdf}.mcs-command__body::-webkit-scrollbar{width:7px}.mcs-command__body::-webkit-scrollbar-thumb{background:#8e969d}.mcs-command__body::-webkit-scrollbar-track{background:#d8dcdf}
.mcs-tabs{box-shadow:0 2px 3px rgba(0,0,0,.12)!important}.mcs-tab span{font-size:7px!important;opacity:.7}.mcs-tab.is-active span{opacity:1}
.mcs-pane{background:transparent!important}.mcs-group{background:#eceeef!important}.mcs-group__title{position:sticky;top:0;z-index:2;background:linear-gradient(#d6dade,#bcc2c7)!important;color:#20262b!important}.mcs-stage-card{background:#cddfeb!important;border-color:#829ead!important}.mcs-stage-card strong{font-size:9px!important}.mcs-stage-card small{font-size:7.5px!important}
.mcs-cmd{background:#e7e9eb!important;border-color:#a6adb3!important}.mcs-cmd:hover{background:#d7e8f4!important}.mcs-cmd__icon{background:#c7dce9!important;border-color:#8aa9bd!important}.mcs-field__input,.mcs-select select{background:#fdfdfd!important;border-color:#929aa1!important}
.mcs-work{background:#737a80!important}.mcs-workbar{height:36px!important;flex-basis:36px!important;background:#2b3238!important}.mcs-workbar__tools button{height:25px!important;background:#3b434a!important;border-color:#11161a!important}.mcs-workbar__tools button:not(:disabled):active{transform:translateY(1px)}
.mcs-viewport{background:#737a80!important;padding:4px!important}.mcs-engine-host{background:#737a80!important;padding:0!important;min-height:100%!important}
.mcs-empty{inset:4px!important;border-radius:0!important;border:1px solid #5e666c!important;background:#aeb4b9!important;color:#343b41!important}

/* Native motorlar Studio icinde artik web sayfasi degil CAD viewport gibi davranir. */
.mcs-cam2d-reference .cam-prod-wrapper.mcs-studio-embedded{background:#747b81!important;min-height:100%!important}.mcs-cam2d-reference .cam-prod-wrapper>.cam-layout{min-height:100%!important;background:#747b81!important}.mcs-cam2d-reference .cam-main{margin:0!important;padding:0!important;background:#747b81!important;border:0!important;border-radius:0!important;box-shadow:none!important}.mcs-cam2d-reference .cam-canvas-wrap{margin:0!important;border:1px solid #4d555b!important;border-radius:0!important;background:#f7f8f8!important;box-shadow:0 2px 8px rgba(0,0,0,.25)!important}.mcs-cam2d-reference canvas,.mcs-cam2d-reference svg{background:#f8f9f9!important}
.mcs-nesting-reference .mdn-app.mcs-studio-embedded,.mcs-composite-reference .mdn-app.mcs-studio-embedded{background:#747b81!important;min-height:100%!important}.mcs-nesting-reference .mdn-shell,.mcs-composite-reference .mdn-shell{max-width:none!important;margin:0!important;padding:0!important;background:#747b81!important;border:0!important;border-radius:0!important;box-shadow:none!important}.mcs-nesting-reference .mdn-result,.mcs-composite-reference .mdn-result{margin:0!important;padding:0!important;background:#747b81!important}.mcs-nesting-reference .mdn-sheet-wrap,.mcs-composite-reference .mdn-sheet-wrap{margin:0 0 6px!important;padding:4px!important;background:#656d73!important;border:1px solid #4c5359!important;border-radius:0!important;box-shadow:none!important}.mcs-nesting-reference .mdn-sheet-svg,.mcs-composite-reference .mdn-sheet-svg{border:1px solid #3e464c!important;border-radius:0!important;background:#f8f9fa!important;box-shadow:0 2px 8px rgba(0,0,0,.28)!important}
.mcs-stl-reference .stl-raster-cam-plugin.mcs-studio-embedded{background:#747b81!important;min-height:100%!important}.mcs-stl-reference .viewerWrap{margin:0!important;border:1px solid #444c52!important;border-radius:0!important;background:#31383e!important;box-shadow:0 2px 9px rgba(0,0,0,.3)!important}.mcs-stl-reference #viewer{background:radial-gradient(circle at 50% 42%,#465159 0,#2d343a 55%,#1d2226 100%)!important}

/* Dialoglar ortak CAD penceresi. */
.mcs-modal__box,.mcs-action-sheet__card{border-radius:3px!important;border:1px solid #555d64!important;background:#e8eaec!important;box-shadow:0 16px 45px rgba(0,0,0,.42)!important}.mcs-modal__head,.mcs-action-sheet__card>header{background:#293037!important;color:#fff!important;border-bottom:1px solid #12171b!important}.mcs-modal__close,.mcs-action-sheet__card>header button{border-radius:2px!important;background:#414950!important;color:#fff!important;border:1px solid #151a1f!important}

/* Masaustunde ilk bakista cizim baskin: panel yaklasik beste bir. */
@media(min-width:981px){.mcs-shell{height:calc(100dvh - 24px)!important;min-height:680px!important}.mcs-command__brand{height:38px!important;min-height:38px!important}.mcs-command__brand .mcs-brand{display:none!important}.mcs-engine-switch{margin-left:0!important;width:100%!important;display:grid!important;grid-template-columns:48px 1fr!important;align-items:center!important}.mcs-engine-switch span{font-size:7px!important;color:#b9c0c6!important}.mcs-engine-switch select{max-width:none!important;width:100%!important}.mcs-command__foot{display:none!important}.mcs-visual-slot{margin:3px 4px!important}.mcs-workbar__title{min-width:145px}.mcs-viewport{min-height:0!important}}

/* Mobil: referanslardaki gibi cizim ana ekran; menu sadece gerektiginde gelir. */
@media(max-width:980px){.mcs-ribbon{height:32px!important}.mcs-shell{grid-template-rows:32px minmax(0,1fr)!important}.mcs-ribbon__brand{min-width:0!important;border-right:0!important}.mcs-ribbon__mark{width:20px!important;height:20px!important}.mcs-ribbon__stage{background:transparent!important}.mcs-work{height:calc(var(--mcs-vvh,100dvh) - 32px)!important}.mcs-workbar{height:38px!important;flex-basis:38px!important}.mcs-workbar__tools{flex:1!important;justify-content:flex-end!important}.mcs-workbar__tools button{height:30px!important;max-width:90px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.mcs-viewport{height:calc(var(--mcs-vvh,100dvh) - 70px)!important;padding:0 0 54px!important;background:#020617!important}.mcs-command{top:32px!important;height:calc(var(--mcs-vvh,100dvh) - 32px)!important;box-shadow:10px 0 28px rgba(0,0,0,.38)!important}.mcs-command__brand{background:#20262b!important}.mcs-command__body{padding-bottom:max(18px,env(safe-area-inset-bottom))!important}.mcs-tabs{height:40px!important}.mcs-tab{height:40px!important}.mcs-mobile-tabs{height:50px!important;grid-template-columns:repeat(4,1fr)!important}.mcs-mobile-tabs button{height:42px!important;min-width:0!important}.mcs-mobile-tabs button span{font-size:14px!important}.mcs-cam2d-reference .cam-canvas-wrap{min-height:calc(var(--mcs-vvh,100dvh) - 128px)!important}.mcs-nesting-reference .mdn-result,.mcs-composite-reference .mdn-result{min-height:calc(var(--mcs-vvh,100dvh) - 128px)!important}.mcs-nesting-reference .mdn-sheet-wrap,.mcs-composite-reference .mdn-sheet-wrap{padding:2px!important;margin:0 0 4px!important}.mcs-stl-reference .viewerWrap{min-height:calc(var(--mcs-vvh,100dvh) - 122px)!important}.mcs-fullscreen-nav{top:max(38px,env(safe-area-inset-top))!important}}

@media(max-width:560px){.mcs-ribbon__stage{max-width:42vw!important}.mcs-ribbon__stage .mcs-statusdot{display:none}.mcs-workbar__tools button{font-size:7.5px!important;padding:0 5px!important}.mcs-command{width:94vw!important;max-width:360px!important}.mcs-mobile-tabs{left:2px!important;right:2px!important;bottom:max(2px,env(safe-area-inset-bottom))!important}.mcs-mobile-tabs button{font-size:8px!important}.mcs-group__title{font-size:8px!important}}
