@font-face{font-family:Inter;src:local('Inter');font-weight:100 900;font-display:swap}
:root{font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI','Noto Sans JP',sans-serif;color:#252c32;font-synthesis:none;--cyan:#189ed0;--cyan-dark:#087fac;--line:#e8ebed;--muted:#748089;--paper:#fff;--soft:#f4f6f7;--radius:7px;font-size:13px}
*{box-sizing:border-box}body{margin:0;background:#fff}button,input,select{font:inherit}button,select,input[type=checkbox],input[type=range],input[type=color]{cursor:pointer}button{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid var(--line);background:#fff;color:inherit;padding:9px 12px;border-radius:var(--radius);transition:background .12s,border-color .12s,color .12s}button:hover{background:#f5f7f8;border-color:#cdd7dd}button:disabled{opacity:.4;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid var(--cyan);outline-offset:3px}button svg,svg.ui-icon{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex:none}a{color:inherit;text-decoration:none}a:hover{color:var(--cyan-dark)}[hidden]{display:none!important}.icon-defs{position:absolute;width:0;height:0;overflow:hidden}.header{height:74px;display:flex;align-items:center;padding:0 28px;border-bottom:1px solid var(--line);gap:24px;position:relative;z-index:5;background:#fff}.brand{display:flex;align-items:center;gap:8px;font-size:21px;font-weight:780;letter-spacing:-.8px;white-space:nowrap}.brand img{width:31px;height:35px}.brand:hover{color:inherit}.beta{font-size:9px;letter-spacing:.7px;color:#7993a1;background:#edf4f7;border-radius:3px;padding:3px 4px;font-weight:600;align-self:flex-start;margin-top:5px;margin-left:3px}.workflow{display:flex;align-items:center;gap:12px;margin:0 auto}.workflow>svg{width:12px;height:12px;fill:none;stroke:#c5cdd2;stroke-width:1.4}.workflow button{border:0;padding:8px 5px;color:#88939a;font-weight:600;font-size:13px;gap:8px;background:transparent;white-space:nowrap}.step-number{border:1px solid #dce2e6;border-radius:50%;width:23px;height:23px;display:grid;place-items:center;font-size:11px;font-weight:650}.workflow button.active{color:var(--cyan-dark)}.workflow button.active .step-number{color:#fff;background:var(--cyan);border-color:var(--cyan)}.header-actions{display:flex;align-items:center;gap:13px}.language{display:flex;gap:5px}.language button{padding:4px 1px;border:0;border-radius:0;color:#a4adb3;font-size:10px;font-weight:750;background:transparent}.language button[aria-pressed=true]{color:#303941}.primary{background:var(--cyan);color:#fff;border-color:var(--cyan);font-weight:600;min-height:39px}.primary:hover{background:var(--cyan-dark);border-color:var(--cyan-dark)}.primary.small{min-height:35px;padding:8px 12px;font-size:12px}.primary.small svg{width:16px;height:16px}.icon-button{width:34px;height:34px;padding:7px;flex:none;background:transparent;border-color:transparent;color:#6e7c86}.icon-button:hover{background:#edf2f5}.text-button{background:transparent;border:0;padding:4px 0;color:#75858f;font-size:11px}.text-button:hover{color:var(--cyan-dark);background:transparent}.text-button svg{width:13px;height:13px}.secondary{background:#fff;min-height:36px;font-size:12px}.full{width:100%}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 340px;height:calc(100dvh - 74px);min-height:510px}.stage-column{display:flex;flex-direction:column;min-width:0;min-height:0;background:#f6f8f9}.stage-toolbar{height:54px;display:flex;align-items:center;justify-content:space-between;padding:0 23px;border-bottom:1px solid #e4e9ec;background:#f9fafb;flex:none}.segmented{display:flex;border:1px solid #dfe6e9;border-radius:7px;padding:3px;gap:3px;background:#f3f6f8}.segmented button{flex:1;background:transparent;border:1px solid transparent;border-radius:4px;padding:6px 12px;font-size:12px;white-space:nowrap;color:#6c7a84}.segmented button.active{background:#fff;box-shadow:0 1px 3px #1c344b12;color:#253b46;border-color:#e2e8eb}.view-mode button{padding:5px 13px;font-size:11px;min-width:51px}.toolbar-right{display:flex;gap:3px;align-items:center}.divider{height:18px;width:1px;background:#dce3e7;margin:0 7px}.save-state{font-size:10px;color:#8a969e;margin-right:9px}.stage-wrap{position:relative;flex:1;min-height:260px;overflow:hidden}.viewport{position:absolute;inset:0;background:#eef1f3;touch-action:none}.viewport.checker{background-color:#fff;background-image:linear-gradient(45deg,#e9edf0 25%,transparent 25%),linear-gradient(-45deg,#e9edf0 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#e9edf0 75%),linear-gradient(-45deg,transparent 75%,#e9edf0 75%);background-size:20px 20px;background-position:0 0,0 10px,10px -10px,-10px 0}.viewport canvas{width:100%;height:100%;display:block}.stage-caption{position:absolute;left:26px;top:23px;display:flex;flex-direction:column;gap:5px;pointer-events:none;color:#4d606d;z-index:2;font-size:11px;letter-spacing:.1px}.stage-caption #dimensions{font-size:10px;color:#81919c;font-variant-numeric:tabular-nums}.stage-bottom{position:absolute;bottom:25px;left:0;width:100%;display:flex;justify-content:center;pointer-events:none}.camera-views{pointer-events:auto;display:flex;align-items:center;gap:4px;border:1px solid #ffffffab;background:#ffffffdb;backdrop-filter:blur(14px);border-radius:9px;padding:5px 6px;box-shadow:0 3px 20px #26313a0a}.camera-views button{padding:6px 12px;border:0;background:transparent;color:#77848e;font-size:11px}.camera-views button.active{background:#eaf5fa;color:#117fa8}.camera-views .icon-button{margin-left:4px;width:30px;height:28px;border-left:1px solid #e3eaed;border-radius:0;padding:6px}.stage-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:36px;flex:none;padding:0 25px;font-size:10px;color:#8b969d;border-top:1px solid #e9edef;background:#fafbfc}.stage-footer>span:last-child{display:flex;align-items:center;gap:18px}.stage-footer button{font-size:10px;border:0;background:transparent;color:#89959c;padding:3px}.inspector{display:flex;flex-direction:column;min-height:0;background:#fff;border-left:1px solid var(--line)}.inspector-scroll{flex:1;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#dbe2e6 transparent}.panel-section{padding:22px 24px;border-bottom:1px solid var(--line)}.panel-section:last-child{border-bottom:0}.panel-section h2{font-size:12px;font-weight:650;margin:0 0 15px;color:#34434e;letter-spacing:.2px}.section-title{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:13px}.section-title h2{margin:0}.section-title .text-button{font-size:10px}.product-types{padding:4px;gap:5px}.product-types button{flex-direction:column;gap:6px;padding:12px 5px;font-size:11px}.product-types button.active{border-color:#c0e2ee;background:#fff;color:#138bb8}.product-types svg{width:27px;height:27px;stroke-width:1.3}.upload-card{width:100%;justify-content:start;gap:14px;padding:12px;border:1px dashed #cfdce2;background:#fcfdfe;text-align:left}.upload-card:hover{border-color:var(--cyan);background:#f6fbfd}.upload-card>img{width:64px;height:70px;object-fit:contain;border-radius:4px;flex:none;background:repeating-conic-gradient(#edf1f3 0% 25%,transparent 0% 50%) 50% / 12px 12px}.upload-card>span{display:flex;flex-direction:column;gap:4px;min-width:0}.upload-card strong{font-size:11px;font-weight:550;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:164px}.upload-card small{font-size:9px;color:#94a0a8}.upload-label{font-size:10px;color:#1493c1;margin-top:5px;display:flex;align-items:center;gap:4px}.upload-label svg{width:13px;height:13px}.field-note{font-size:10px;line-height:1.75;color:#8c989f;margin:8px 0 0}.field{display:flex;flex-direction:column;gap:9px;margin-bottom:15px;color:#63737e;font-size:11px}.field:last-child{margin-bottom:0}.field.inline{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:12px;min-height:30px}.field select{width:145px}.field input[type=color]{width:38px}.field>span:first-child{flex-shrink:0}.number-unit{border:1px solid #e0e6e9;background:#fafcfd;border-radius:5px;display:flex;align-items:center;min-width:0;flex:none;overflow:hidden;height:32px}.number-unit input{border:0!important;min-width:0;width:62px;height:30px!important;text-align:right;background:transparent!important;padding:4px 3px 4px 7px!important;border-radius:0;font-size:12px;color:#334b5a;font-variant-numeric:tabular-nums;outline-offset:-2px}.number-unit>span{padding:0 8px 0 5px;color:#9aa5ad;font-size:10px}.number-unit:focus-within{border-color:#189ed0}input[type=number],select{height:33px;border:1px solid #e0e6e9;background:#fafcfd;border-radius:5px;color:#405966;padding:4px 8px;max-width:100%;font-size:11px;font-variant-numeric:tabular-nums}select{padding-right:21px}input[type=number]{width:68px}input[type=range]{appearance:none;background:#e5ebee;height:3px;margin:7px 1px;border:0;border-radius:4px;min-width:30px;flex:1;accent-color:var(--cyan)}input[type=range]::-webkit-slider-thumb{appearance:none;width:13px;height:13px;border-radius:50%;background:#fff;border:3px solid var(--cyan);box-shadow:0 1px 4px #173f6020}input[type=range]::-moz-range-thumb{width:9px;height:9px;border-radius:50%;background:#fff;border:3px solid var(--cyan)}.range-field{display:flex;align-items:center;gap:15px;min-width:0}.range-field>input[type=number]{width:62px}.range-field .number-unit{width:83px}.range-field .number-unit input{width:52px}.size-presets{display:flex;gap:6px;justify-content:flex-end;margin:-5px 0 18px}.size-presets button{padding:4px 8px;font-size:10px;border-color:transparent;background:#f4f7f9;min-width:34px;color:#7a8b96}.size-presets button.active{background:#e7f5fb;color:#148ab5}.check-row{display:flex;align-items:center;gap:9px;min-height:27px;font-size:11px;color:#617481;margin:7px 0 12px}.check-row input{width:15px;height:15px;margin:0;accent-color:var(--cyan)}details{margin-top:14px}summary{font-size:10px;color:#82939e;cursor:pointer;list-style:none;display:flex;align-items:center;gap:6px;min-height:21px}summary::before{content:'›';font-size:14px;line-height:10px;transform-origin:center;transition:transform .15s}details[open]>summary::before{transform:rotate(90deg)}details[open]>summary{margin-bottom:14px}details .field{margin-bottom:12px}.metal-options{display:flex;gap:9px}.metal{width:22px;height:22px;border-radius:50%;padding:0;border:2px solid white;box-shadow:0 0 0 1px #e3e6e9}.metal.active{box-shadow:0 0 0 1.5px var(--cyan)}.metal.silver{background:linear-gradient(120deg,#acb4bf,#f8fbfe 55%,#a1aab5)}.metal.gold{background:linear-gradient(120deg,#bda16c,#f8e9b4 55%,#c7ac74)}.metal.black{background:linear-gradient(120deg,#19232c,#66747e 55%,#1b2830)}.two-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.two-fields .number-unit{width:100%}.two-fields .number-unit input{width:100%}input[type=color]{border:1px solid #dce5e9;border-radius:5px;width:30px;height:27px;padding:2px;background:#fff}.inline-note{padding:9px 10px;background:#f3f8fb;border-radius:5px;font-size:10px;line-height:1.7;color:#77919e;margin:10px 0}.inline-note.warning{background:#fff9ed;color:#947849}.sample-list{display:flex;gap:6px;margin-top:10px}.sample-list button{flex:1;font-size:10px;padding:5px}.inspector-bottom{padding:15px 22px;min-height:68px;border-top:1px solid var(--line);background:#fff;display:flex;align-items:center;justify-content:space-between;gap:15px;flex:none}.inspector-bottom .primary{flex:1;justify-content:space-between;font-size:12px;padding:10px 14px}.inspector-bottom .text-button{padding:5px 9px}.layout-options{display:flex;gap:8px}.layout-options button{flex:1;flex-direction:column;gap:13px;padding:15px 6px 10px;font-size:10px;color:#748792;background:#fafcfd}.layout-options button.active{border-color:#8fcede;background:#f1fafd;color:#168db8}.layout-drawing{display:flex;height:33px;width:51px;align-items:center;justify-content:center;position:relative}.layout-drawing i{display:block;width:24px;height:31px;border:1.5px solid currentColor;border-radius:9px 9px 7px 7px;transform:rotate(-9deg)}.layout-drawing.pair i{position:absolute;width:21px;height:28px;left:5px;top:6px;transform:rotate(-12deg)}.layout-drawing.pair i:last-child{left:25px;top:0;transform:rotate(12deg)}.layout-drawing.flat i{transform:rotateX(60deg) rotate(-24deg);width:35px}.camera-preset-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:10px}.camera-preset-grid button{font-size:11px;background:#fafcfd}.background-modes{margin-bottom:15px}.color-swatches{display:flex;gap:9px;align-items:center}.color-swatches button{width:25px;height:25px;background:var(--swatch);padding:0;border:2px solid #fff;box-shadow:0 0 0 1px #dfe6ea;border-radius:50%;flex:none}.color-swatches button.active{box-shadow:0 0 0 1.5px #189ed0}.color-swatches input{width:25px;height:25px;margin-left:2px;border-radius:50%;padding:3px}.export-section .primary{margin-top:7px;min-height:43px}.output-size{text-align:center;font-variant-numeric:tabular-nums}.svg-export{margin-top:23px}.busy{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);padding:12px 18px;background:#fffdf9eb;box-shadow:0 4px 25px #15374d12;border:1px solid #ffffffd9;border-radius:9px;display:flex;align-items:center;gap:10px;font-size:12px;color:#6b8492;z-index:6;pointer-events:none}.spinner{width:17px;height:17px;border-radius:50%;border:2px solid #d4e9f2;border-top-color:#189ed0;animation:spin .7s linear infinite}.drop-overlay{position:absolute;inset:12px;background:#effaffeb;border:2px dashed var(--cyan);z-index:20;border-radius:10px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:15px;color:var(--cyan)}.drop-overlay svg{width:40px;height:40px;fill:none;stroke:currentColor;stroke-width:1.4}.fatal{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;padding:30px;background:#f4f7f9;z-index:5;text-align:center}.fatal p{max-width:330px;font-size:12px;line-height:1.9;color:#7d8e99}.cut-view{position:absolute;inset:0;background:radial-gradient(#c9d5dc75 .8px,transparent .8px) 0 0/20px 20px #f4f7f9;display:flex;align-items:center;justify-content:center;padding:70px 55px}.cut-view>svg{width:100%;height:100%;overflow:visible}.cut-legend{position:absolute;bottom:28px;left:0;width:100%;display:flex;gap:8px;align-items:center;justify-content:center;font-size:10px;color:#78909d}.legend-line{width:18px;height:2px;background:#189ed0;margin-left:12px}.legend-fill{width:12px;height:12px;border:1px solid #acd4e3;background:#d9edf6;margin-left:15px}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:1000;background:#263d49;color:#fff;border-radius:8px;padding:12px 20px;box-shadow:0 8px 35px #1335492b;font-size:12px;line-height:1.7;max-width:min(90vw,600px)}.toast.error{background:#823f38}dialog{border:1px solid #e3eaf0;border-radius:14px;padding:0;color:#344753;background:#fff;box-shadow:0 25px 100px #1a334d38;max-height:90dvh}dialog::backdrop{background:#1e354a38;backdrop-filter:blur(3px)}.dialog-heading{display:flex;align-items:center;justify-content:space-between;padding:19px 24px;border-bottom:1px solid var(--line)}.dialog-heading h2{font-size:15px;font-weight:650;margin:0}.dialog-footer{display:flex;justify-content:flex-end;gap:10px;padding:16px 23px;border-top:1px solid var(--line)}.dialog-footer button{min-width:86px}.outline-dialog{width:min(850px,94vw)}.editor-toolbar{padding:13px 24px;display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#7f929d;gap:20px}.outline-editor{height:min(58dvh,510px);background:radial-gradient(#cbd9e080 .8px,transparent .8px) 0 0/20px 20px #f4f8fa;padding:25px}.outline-editor svg{height:100%;width:100%;overflow:visible;touch-action:none}.outline-editor circle{cursor:grab}.outline-editor circle:active{cursor:grabbing}.edit-error{color:#a05848;padding:0 24px;font-size:12px}.help-dialog{width:min(620px,93vw)}.help-content{padding:10px 25px 25px;max-height:70dvh;overflow:auto;font-size:12px;line-height:1.95;color:#667d8b}.help-content h3{font-size:13px;color:#344b58;margin:20px 0 7px}.help-content p{margin:7px 0}.help-content a{color:#138bb6;text-decoration:underline;text-underline-offset:3px}.help-content ul{padding-left:18px}.help-content table{border-collapse:collapse;width:100%;font-size:11px;margin:12px 0}.help-content th,.help-content td{padding:7px 9px;text-align:left;border-bottom:1px solid #edf1f4}.progress-dialog{padding:30px;width:390px;max-width:90vw}.progress-dialog h2{font-size:16px}.progress-dialog p{font-size:12px;color:#758d9b}.progress-dialog progress{width:100%;height:6px;margin:10px 0 25px;accent-color:var(--cyan)}.progress-dialog button{display:flex;margin-left:auto}body.exporting .workspace{pointer-events:none;opacity:.82}@keyframes spin{to{transform:rotate(360deg)}}
@media(min-width:1650px){.workspace{grid-template-columns:minmax(0,1fr) 365px}.panel-section{padding:24px 27px}.header{padding:0 34px}.stage-toolbar{padding:0 30px}}
@media(max-width:1100px){.header{padding:0 18px;gap:12px}.brand{font-size:18px;gap:5px}.brand img{width:28px}.workflow{gap:7px}.workflow button{font-size:11px;gap:5px}.header-actions{gap:8px}.workspace{grid-template-columns:minmax(0,1fr) 310px}.panel-section{padding:20px}.stage-toolbar{padding:0 15px}.save-state{display:none}.brand .beta{display:none}.language{gap:4px}}
@media(max-width:790px){.header{height:102px;align-items:flex-start;padding:14px 16px;gap:12px;flex-wrap:wrap}.brand{font-size:19px;line-height:30px}.brand img{height:30px}.header-actions{margin-left:auto;height:31px;gap:5px}.header-actions .primary.small{min-height:31px;padding:6px 9px;font-size:11px}.header-actions>.icon-button{width:29px;height:29px}.workflow{position:absolute;bottom:7px;left:50%;transform:translateX(-50%);gap:18px}.workflow button{font-size:11px}.workflow .step-number{width:20px;height:20px;font-size:10px}.workspace{height:calc(100dvh - 102px);grid-template-columns:1fr 285px}.panel-section{padding:18px 17px}.stage-toolbar{padding:0 10px;height:48px}.stage-toolbar .icon-button{width:28px;height:30px;padding:5px}.view-mode button{padding:5px 8px;font-size:10px;min-width:34px}.stage-caption{left:18px;top:18px}.stage-footer{padding:0 14px}.stage-footer>span:last-child{display:none}.camera-views button{padding:6px 7px;font-size:10px}.stage-bottom{bottom:17px}.stage-column{min-width:230px}.upload-card strong{max-width:140px}.cut-view{padding:65px 25px}}
@media(max-width:590px){.workspace{display:flex;flex-direction:column;height:auto;min-height:calc(100dvh - 102px)}.stage-column{height:52dvh;min-height:360px;flex:none;position:sticky;top:0;z-index:3}.stage-wrap{min-height:235px}.stage-footer{display:none}.stage-caption{top:15px;left:17px}.inspector{border-left:0;border-top:1px solid #dfe7ec;min-height:42dvh;overflow:visible}.inspector-scroll{overflow:visible}.panel-section{padding:20px 25px}.inspector-bottom{position:sticky;bottom:0;z-index:4;padding:12px 25px}.inspector-bottom .primary{min-height:39px}.upload-card>img{width:70px;height:65px}.upload-card strong{max-width:65vw}.two-fields{gap:20px}.layout-options button{padding:14px 7px}.stage-toolbar{padding:0 16px}.editor-toolbar{flex-direction:column;align-items:flex-start;gap:5px;padding:10px 18px}.outline-editor{height:52dvh}.brand{font-size:18px}.header{padding-left:12px;padding-right:12px}.brand img{width:26px}.stage-bottom{bottom:12px}.camera-views{padding:4px 6px}.stage-caption #dimensions{font-size:9px}.outline-dialog{max-height:94dvh}.dialog-heading{padding:14px 18px}.workflow{gap:20px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

@media(max-width:590px){.language button{font-size:9px}.header-actions{gap:7px}.header-actions>.icon-button{display:none}}

/* CD Mocky-style parallel exports and turntable settings. */
.capture-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;margin-top:19px}
.export-section .capture-actions>button{width:100%;min-width:0;min-height:46px;margin:0;padding:10px 7px;font-size:11px;gap:6px;white-space:nowrap}
.capture-actions>button svg{width:16px;height:16px}
.capture-actions>.secondary{background:#f3f7f9;border-color:#e0e9ed;color:#385767;font-weight:600}
.capture-actions>.secondary:hover{background:#e9f3f8;border-color:#bddce9;color:#147fa6}
.mocky-movie-dialog{width:min(520px,94vw);max-height:90dvh;overflow:hidden}
.mocky-movie-dialog .dialog-heading{flex:none}
.mocky-movie-content{padding:20px 24px 22px;max-height:calc(90dvh - 148px);overflow-y:auto;scrollbar-width:thin;scrollbar-color:#d7e2e8 transparent}
.mocky-movie-intro{font-size:11px;color:#7b8e99;line-height:1.9;margin:0 0 22px}
.mocky-movie-options{border:0;padding:0;margin:0;min-width:0}
.mocky-movie-options .field{font-size:12px;gap:9px;margin-bottom:18px}
.mocky-movie-options .field select{width:100%;height:37px;font-size:12px;background:#fafcfd}
.mocky-movie-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:17px}
.mocky-movie-grid .field{min-width:0}
.mocky-movie-options .check-row{margin:0 0 7px;min-height:28px;font-size:12px}
.mocky-movie-options .field-note{font-size:11px;line-height:1.8;color:#7f929e}
.mocky-movie-advanced{margin-top:19px;border-top:1px solid #edf1f4;padding-top:12px}
.mocky-movie-advanced summary{font-size:11px;color:#668292}
.mocky-movie-advanced[open]>summary{margin-bottom:17px}
.mocky-movie-advanced .mocky-movie-grid .field{margin-bottom:3px}
.mocky-movie-size{font-size:11px;color:#90a0a9;font-variant-numeric:tabular-nums;margin:19px 0 0;text-align:right}
.mocky-movie-dialog .dialog-footer{justify-content:space-between;padding:15px 24px}
.mocky-movie-dialog .dialog-footer .primary{min-width:180px}
.mocky-movie-result{border-top:1px solid #e4edf2;margin-top:22px;padding-top:20px}
.mocky-movie-result h3{font-size:12px;font-weight:650;color:#36576a;margin:0 0 12px}
.mocky-movie-preview{width:min(100%,calc(260px * var(--movie-preview-ratio,1)));margin:0 auto 16px;border:1px solid #e2e9ed;border-radius:7px;overflow:hidden;background:#edf1f3}
.mocky-movie-preview[data-transparent=true]{background:repeating-conic-gradient(#e4e9ed 0% 25%,#fff 0% 50%) 50% / 18px 18px}
.mocky-movie-preview video{display:block;width:100%;aspect-ratio:var(--movie-preview-ratio,1);object-fit:contain}
.mocky-movie-result .primary{display:flex;align-items:center;justify-content:center;width:100%;min-height:41px;padding:10px 14px;border-radius:7px;font-size:12px;text-decoration:none}
.mocky-movie-result .field-note{font-size:10px;text-align:center;margin-top:9px}
.mocky-visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:790px){.export-section .capture-actions>button{font-size:10px;gap:4px;padding:10px 5px}.capture-actions{gap:6px}.capture-actions>button svg{width:14px;height:14px}}
@media(max-width:590px){.export-section .capture-actions>button{font-size:12px;min-height:46px;padding:10px 9px;gap:7px}.capture-actions{gap:9px}.capture-actions>button svg{width:17px;height:17px}.mocky-movie-content{padding:17px 19px 20px;max-height:calc(90dvh - 138px)}.mocky-movie-dialog .dialog-footer{padding:13px 18px;gap:9px}.mocky-movie-dialog .dialog-footer .primary{min-width:0;flex:1}.mocky-movie-grid{gap:12px}}

.hole-dialog{width:min(920px,95vw);max-height:94dvh;padding:0}
.hole-editor-content{padding:0 24px 18px;overflow:auto;max-height:calc(94dvh - 140px)}
.hole-editor-layout{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);gap:16px;margin:14px 0}
.hole-editor-canvas{height:330px;border:1px solid #e2e9ed;border-radius:8px;background:repeating-conic-gradient(#f0f3f5 0% 25%,#fff 0% 50%) 50%/20px 20px;overflow:hidden}
#hole-svg{width:100%;height:100%;touch-action:none;cursor:crosshair;outline-offset:-3px}
.hole-drag-target{cursor:grab}#hole-svg:active{cursor:grabbing}
#hole-3d{width:100%;height:300px;overflow:hidden;border-radius:8px;background:#eef1f3}
.hole-preview-column .field-note{text-align:center;margin:8px 0}
.hole-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.hole-fields input{width:85px;max-width:100%}
.hole-metrics{font-size:12px;color:#577484;font-variant-numeric:tabular-nums}.hole-dialog .dialog-footer{gap:10px}.hole-dialog #hole-auto{margin-right:auto}
@media(max-width:650px){.hole-editor-content{padding:0 16px 12px}.hole-editor-layout{grid-template-columns:1fr;gap:10px}.hole-editor-canvas{height:270px}#hole-3d{height:190px}.hole-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.hole-dialog .dialog-footer{flex-wrap:wrap}}

.hardware-direction-controls{margin:15px 0 18px}.direction-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px;color:#577484;margin-bottom:10px}.direction-buttons{display:flex;gap:5px}.direction-buttons button{font-size:11px;padding:7px 9px;white-space:nowrap}.direction-buttons button.active{background:#189ed0;border-color:#189ed0;color:white}.direction-angle{margin:0}.direction-angle>span{font-size:11px}.direction-angle input[type=number]{width:62px}.hole-preview-column .hardware-direction-controls{margin:12px 0 0}.hole-preview-column .direction-heading{flex-wrap:wrap}.project-file-button{padding:6px 9px;min-height:33px;font-size:11px}.project-file-button svg{width:16px;height:16px}.product-types button{padding-left:7px;padding-right:7px;gap:5px}
@media(max-width:650px){.project-file-button{padding:6px}.project-file-button span{display:none}.hole-preview-column .hardware-direction-controls{margin:12px 0}.direction-heading{font-size:11px}}

/* Keep the requested beta wording visible at every size. */
.header .brand .beta{display:inline-flex;white-space:nowrap;letter-spacing:.1px}
@media(max-width:420px){.header .brand{font-size:16px}.header .brand .beta{font-size:8px;margin-left:1px;padding:2px 3px}.header-actions #export-top{width:32px;padding:7px}.header-actions #export-top>span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.header{gap:7px}.header-actions{gap:5px}}

.header .brand .beta{align-self:center;margin:0 0 0 3px;line-height:1.3}
@media(max-width:360px){.header{padding-inline:8px;gap:4px}.header .brand{font-size:14px;gap:4px}.brand img{width:22px}.header .brand .beta{font-size:7px;margin-left:0}.header-actions{gap:4px}}

@media(max-width:360px){.header .workflow{gap:12px}}
