.pattern-field{grid-column:1 / -1}.pattern-picker{min-width:0;margin:0;padding:0;border:0}.pattern-picker legend{margin-bottom:7px;padding:0;color:#d6e2f1;font-size:12px;font-weight:700}.pattern-choices{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.pattern-choices label{position:relative;display:grid;justify-items:center;align-content:start;gap:5px;padding:8px 4px;background:#101d2c;border:1px solid #ffffff26;border-radius:9px;text-align:center;overflow-wrap:anywhere;cursor:pointer}.pattern-choices label:hover{border-color:#81c9bf}.pattern-choices label:has(:checked){background:#163738;border-color:#59ffd2a8;color:#baffee}.pattern-choices label:has(:focus-visible){outline:2px solid var(--mint);outline-offset:2px}.pattern-choices input{position:absolute;inset:0;height:100%;margin:0;opacity:0;cursor:pointer}.pattern-choices svg{width:min(52px,100%);height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linejoin:round}@media(max-width:400px){.pattern-choices{grid-template-columns:repeat(2,minmax(0,1fr))}}#viewer-tools:has(.assembly-view-switch){align-items:start;flex-wrap:wrap;justify-content:flex-end}#viewer-tools>.assembly-view-switch{display:flex;padding:3px;gap:2px;background:#0c1726}.assembly-view-switch button{padding:5px 9px;border:1px solid transparent;border-radius:7px;background:transparent;color:var(--muted);font-size:12px;font-weight:700}.assembly-view-switch button:hover{color:#fff}.assembly-view-switch button[aria-pressed=true]{color:#beffef;border-color:#59ffd245;background:#183a3e}#assembly-panel{position:absolute;inset-inline:0;bottom:48px;width:fit-content;max-width:calc(100% - 24px);margin-inline:auto;padding:11px 15px 8px;display:flex;gap:20px;border:1px solid var(--line);border-radius:13px;background:#0c1726f5;box-shadow:0 6px 20px #0004}.assembly-slider{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:baseline;gap:2px 8px;width:160px;min-width:0;font-size:12px}.assembly-slider label{font-weight:700}.assembly-slider output{color:var(--mint);font-variant-numeric:tabular-nums}.assembly-slider input{grid-column:1 / -1;width:100%;height:24px;margin:0;accent-color:var(--mint);cursor:pointer}html[dir=rtl] :is(#assembly-panel,.assembly-view-switch){direction:rtl}:root{font-family:Arial,Helvetica,sans-serif;color-scheme:dark;--text: #f7fbff;--muted: #b9c8dc;--mint: #59ffd2;--line: rgba(255,255,255,.13);--accent: linear-gradient(135deg,#2f80ed,#59ffd2);--card: linear-gradient(145deg,rgba(255,255,255,.085),rgba(255,255,255,.032)),rgba(9,17,31,.88)}*{box-sizing:border-box}body{margin:0;color:var(--text);background:#08111f}button,select,input{font:inherit;color:inherit}button,select{cursor:pointer}button{border:0}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--mint);outline-offset:3px}[hidden]{display:none!important}#app{display:grid;grid-template-columns:minmax(0,1fr) 560px;grid-template-rows:auto minmax(0,1fr);grid-template-areas:"head menu" "viewer menu";height:100dvh}.topbar{grid-area:head;min-width:0;display:flex;align-items:center;flex-wrap:wrap;gap:16px;min-height:70px;padding:12px 20px;background:linear-gradient(100deg,#091322,#101c2c);border-bottom:1px solid var(--line);box-shadow:0 12px 34px #0003;z-index:1}.brand{display:inline-flex;align-items:center;gap:11px;color:inherit;text-decoration:none}.brand-mark{display:grid;place-items:center;width:42px;height:42px;border-radius:14px;background:var(--accent);box-shadow:0 9px 24px #0004;color:#07111f;font-size:22px;font-weight:900}.brand-copy{display:flex;flex-direction:column;line-height:1.12}.brand-copy b{font-size:16px;letter-spacing:-.02em}.brand-copy small{margin-top:3px;font-size:12px;color:#9fb0c7}.divider{width:1px;height:34px;background:linear-gradient(180deg,transparent,#91a4be6b 18%,#91a4be6b 82%,transparent)}.account-language-button{width:42px;height:34px;padding:0;border:1px solid transparent;border-radius:8px;background:var(--accent);color:#07111f;font-size:12px;font-weight:900;line-height:1}.status{margin-left:auto;display:flex;gap:8px;align-items:center;padding:7px 10px;border:1px solid #59ffd260;border-radius:999px;background:#050a12b8;color:var(--mint);font-weight:800;font-size:12px}.status:before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor}#viewer{grid-area:viewer;position:relative;min-width:0;min-height:0;background:radial-gradient(circle at 22% 16%,rgba(47,128,237,.27),transparent 34rem),radial-gradient(circle at 76% 9%,rgba(89,255,210,.11),transparent 31rem),linear-gradient(135deg,#08111ffc,#090b12fc)}#viewport,#viewport canvas,#welcome{position:absolute;inset:0;width:100%;height:100%}#viewport canvas{touch-action:none}#welcome{display:flex;align-items:flex-start;overflow:auto;padding:clamp(20px,4vw,54px);background:radial-gradient(circle at 15% 22%,#2f80ed18,transparent 34%),radial-gradient(circle at 85% 86%,#59ffd211,transparent 34%)}.welcome-card{width:min(100%,660px);margin:auto;padding:clamp(25px,4vw,42px);text-align:center;border:1px solid var(--line);border-radius:30px;background:linear-gradient(145deg,#ffffff13,#ffffff06),#09111fb8;box-shadow:0 24px 70px #0004;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.art{display:flex;align-items:center;justify-content:center;gap:clamp(15px,3vw,32px);margin-bottom:28px}.art img{display:block;width:min(31%,148px);aspect-ratio:1;object-fit:contain;border-radius:24px;border:1px solid var(--line);box-shadow:0 18px 44px #0005;background:#cfe3ff}.art img:last-child{border-color:#59ffd248}.art span{font-size:28px;color:var(--mint)}[data-module=hingedbox] .art img{width:min(35%,200px);background:#0b192b;border-radius:clamp(14px,2vw,22px)}.eyebrow{margin:0 0 8px;font-size:11px;font-weight:900;letter-spacing:.13em;color:var(--mint);text-transform:uppercase}.welcome-card h2{margin:0 auto 15px;font-size:clamp(32px,4vw,52px);line-height:1.04;letter-spacing:-.045em}#welcome-copy{max-width:570px;margin:0 auto 27px;color:var(--muted);font-size:clamp(14px,1.35vw,17px);line-height:1.62}.hero,.action{background:var(--accent);color:#07111f;font-weight:900;border:1px solid transparent;border-radius:999px}.hero{min-height:48px;padding:10px 22px;font-size:16px;box-shadow:0 10px 24px #2f80ed33}.hero:hover,.action:hover:enabled,.account-language-button:hover{background:linear-gradient(135deg,#438fff,#7affdf);filter:brightness(1.08)}#viewer-tools{position:absolute;top:18px;right:18px;display:flex;gap:8px;max-width:calc(100% - 36px)}#viewer-tools>*{min-width:0;max-width:100%;padding:8px 10px;border:1px solid var(--line);border-radius:10px;background:#101d2c;color:var(--text);font-size:12px}#viewer-info{position:absolute;bottom:13px;left:16px;padding:7px 11px;border-radius:8px;background:#091321d9;color:var(--muted);font-size:11px;line-height:1.5;pointer-events:none}#settings{grid-area:menu;min-height:0;min-width:0;overflow-y:auto;scrollbar-width:thin;scrollbar-color:rgba(89,255,210,.7) rgba(255,255,255,.045);scrollbar-gutter:stable;padding:20px;border-left:1px solid rgba(255,255,255,.11);background:linear-gradient(145deg,#ffffff12,#ffffff06),#09111ff0;box-shadow:-24px 0 80px #0005}#settings::-webkit-scrollbar{width:10px}#settings::-webkit-scrollbar-track{background:#ffffff0b}#settings::-webkit-scrollbar-thumb{border:2px solid #09111f;border-radius:999px;background:linear-gradient(#2f80ed,#59ffd2)}#settings::-webkit-scrollbar-thumb:hover{background:linear-gradient(#438fff,#7affdf)}nav,.wizard-heading,.dialog-top{display:flex;align-items:center;justify-content:space-between;gap:12px}nav a{color:#9fe8ff;font-size:13px;font-weight:800;text-decoration:none}nav a:hover{color:#fff;text-decoration:underline}.about{min-height:36px;padding:8px 12px;border:1px solid #477185;border-radius:10px;background:#102638ed;color:#eff9ff;font-size:12px;font-weight:700}.about:hover{background:#2a4c60;border-color:#83edce}h1{margin:7px 0 6px;font-size:30px;line-height:1;letter-spacing:-.045em}.intro,.step{border:1px solid var(--line);background:var(--card);box-shadow:0 24px 70px #0003}.intro{margin:0 0 18px;padding:12px 14px;border-radius:10px;color:#dbeafe;font-size:13px;line-height:1.45}.wizard-heading{gap:8px;margin-bottom:10px}.wizard-heading h2{margin:0 auto 0 0;font-size:16px;font-weight:900}#reset,#progress{border:1px solid #59ffd247;border-radius:999px;color:#bffff0;background:#59ffd219;font-weight:900}#reset{padding:6px 11px;font-size:11px}#progress{padding:4px 9px;font-size:12px;white-space:nowrap}.steps{display:grid;gap:10px}.step{border-radius:14px}.step.current{border-color:#59ffd257;background:linear-gradient(145deg,#2f80ed29,#59ffd20c),#09111fe0}.step.done{border-color:#00ff7861;background:linear-gradient(145deg,#00ff7814,#ffffff06),#09111fe0}.step-row{display:grid;grid-template-columns:34px minmax(0,1fr) 108px;align-items:center;gap:10px;padding:12px}.counter{display:grid;place-items:center;width:30px;height:30px;border:1px solid var(--line);border-radius:50%;background:#ffffff14}.current .counter{border-color:#59ffd26b;background:#59ffd221;color:var(--mint)}.done .counter{border-color:#00ff786b;background:#00ff7821;color:#7dffad}h3{margin:0 0 4px;color:#fff;font-size:14px}.step-row small{color:var(--muted);font-size:12px;line-height:1.35}.action{width:100%;padding:9px 10px;font-size:12px}.action:disabled{cursor:not-allowed;opacity:.75;background:#ffffff17;color:#8fa0b8;border-color:#ffffff14}#options{padding:16px;margin:0;border-top:1px solid var(--line)}#fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.field{min-width:0;display:flex;flex-direction:column;gap:7px}.field label{font-weight:700;font-size:12px;color:#d6e2f1}.field small{color:var(--muted);font-size:11px;line-height:1.45}.field input,.field select{width:100%;min-height:38px;border:1px solid #ffffff26;border-radius:9px;background:#101d2c;padding:8px 10px;font-size:13px}footer{margin:28px 0 8px;text-align:center;color:#9fb0c7;font-size:11px}footer a{color:inherit}.module-footer{margin:24px 0 0;padding:20px 6px 2px;border-top:1px solid var(--line);font-size:12px;line-height:1.6}.module-footer p{margin:0 0 8px}.module-footer a{text-decoration:none}.module-footer p a{margin-inline-start:5px;color:#9fe8ff;font-weight:800}.module-footer nav{flex-wrap:wrap;justify-content:center;gap:9px;font-size:11px}.module-footer nav a{color:var(--muted);font-size:inherit;font-weight:400}.module-footer a:hover{color:#fff;text-decoration:underline}dialog{box-sizing:border-box;width:min(620px,calc(100vw - 32px));max-height:calc(100dvh - 40px);overflow:auto;scrollbar-width:thin;margin:auto;padding:28px;color:var(--text);background:linear-gradient(145deg,#172536,#0c1422);border:1px solid var(--line);border-radius:24px;box-shadow:0 34px 120px #0008}dialog::backdrop{background:#02070ec7;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px)}dialog h2{margin:0 0 14px;font-size:25px;line-height:1.2;letter-spacing:-.025em}dialog p{font-size:14px;line-height:1.6;color:var(--muted)}.dialog-top{margin-bottom:18px}.warning,.cross{display:grid;place-items:center}.warning{width:44px;height:44px;border-radius:14px;background:#ffd36a14;border:1px solid #ffd36a4d;color:#ffd36a;font-size:26px}.cross{width:36px;height:36px;border-radius:10px;background:#ffffff14;font-size:22px}.guidance{margin:20px 0;padding:16px 18px;border:1px solid #59ffd233;border-radius:14px;background:#59ffd20b}.guidance b,dialog a{color:var(--mint)}.guidance p{margin:4px 0 0;color:var(--text)}dialog small{color:var(--muted)}.close{min-height:44px;padding:11px 24px;border-radius:999px;font-weight:700;background:var(--mint);color:#07151c}.close{display:block;margin:24px 0 0 auto}@media(max-width:1100px){#app{grid-template-columns:minmax(0,1fr) minmax(390px,44%)}.status{font-size:11px}}@media(max-width:800px){#app{height:auto;min-height:100dvh;display:flex;flex-direction:column}#viewer{height:clamp(420px,64dvh,700px)}#settings{border-top:1px solid var(--line);border-left:0}}@media(max-width:560px){.topbar{gap:9px;padding:10px}.divider{display:none}.status{margin-left:auto}#settings{padding:16px}#welcome{padding:14px}.welcome-card{padding:20px 14px;border-radius:22px}.welcome-card h2{font-size:32px}.art{margin-bottom:15px}.art img{width:80px}.step-row{grid-template-columns:30px minmax(0,1fr) 90px;gap:6px}dialog{padding:20px}dialog h2{font-size:21px}.close{width:100%}}.language-control{position:relative;flex:0 0 42px;margin-left:6px}.topbar .language-toggle-button{margin:0;height:34px;min-height:34px}.language-toggle-button:focus-visible,.language-menu button:focus-visible{outline:2px solid #59ffd2;outline-offset:3px}.language-menu{position:absolute;z-index:200;top:calc(100% + 10px);left:0;min-width:190px;max-height:calc(100dvh - 90px);overflow-y:auto;padding:6px;border:1px solid #477185;border-radius:12px;background:#101e2f;box-shadow:0 16px 36px #0007}.language-menu[hidden]{display:none}.language-menu button{display:flex;align-items:center;justify-content:space-between;gap:20px;width:100%;min-height:38px;padding:9px 12px;border:0;border-radius:7px;background:transparent;color:#dbeafe;text-align:left;font-size:13px;cursor:pointer}.language-menu button small{color:#9fb0c7;font-size:11px;font-weight:800}.language-menu button:hover,.language-menu button[aria-checked=true]{background:#59ffd21a;color:#59ffd2}.language-menu button[aria-checked=true] small{color:#59ffd2}html[dir=rtl] #appShell,html[dir=rtl] .account-topbar,html[dir=rtl] .workspace,html[dir=rtl] .workspace-hud{direction:ltr}html[dir=rtl] #wizardPanel,html[dir=rtl] .account-panel,html[dir=rtl] .cad-note-dialog,html[dir=rtl] [data-pt-public],html[dir=rtl] .workspace-hud .intro,html[dir=rtl] .viewport-project-host,html[dir=rtl] .viewer-empty{direction:rtl;text-align:start}html[dir=rtl] .viewer-empty{text-align:center}html[dir=rtl] .cad-start-choice,html[dir=rtl] .example-button{text-align:start}html[dir=rtl] .cad-single-part-notice{direction:rtl;text-align:start}html[dir=rtl] input[type=number],html[dir=rtl] input[type=email],html[dir=rtl] .coordinate-legend,html[dir=rtl] .axis-key,html[dir=rtl] .language-menu,html[dir=rtl] .account-user-email{direction:ltr;unicode-bidi:isolate}html[dir=rtl] .model-edit-panel,html[dir=rtl] .cad-start-step{font-family:Tahoma,Arial,sans-serif}html[dir=rtl] .cad-start-copy>small,html[dir=rtl] .cad-single-part-notice,html[dir=rtl] .model-edit-panel p{font-size:12px;line-height:1.7}html[dir=rtl] .model-edit-form label,html[dir=rtl] .notes-label{text-align:start}@media(max-width:1100px){.language-menu{left:auto;right:0}}#language-host{display:contents}html[dir=rtl] #app{direction:ltr}html[dir=rtl] :is(#settings,.welcome-card,#viewer-info,.status,dialog){direction:rtl;font-family:Tahoma,Arial,sans-serif}html[dir=rtl] :is(#settings,dialog){text-align:start}html[dir=rtl] .wizard-heading h2{margin:0;margin-inline-end:auto}html[dir=rtl] :is(input[type=number],.art,#part,#progress){direction:ltr;unicode-bidi:isolate}html[dir=rtl] :is(.intro,.step-row small,.field small,.welcome-card p,dialog p){line-height:1.7}.step-row button,.wizard-heading,.step-row small,#settings h1{overflow-wrap:anywhere}.file-picker{position:relative;padding:8px 10px;border:1px solid #477185;border-radius:9px;background:#102638;font-size:13px;font-weight:700}.file-picker input[type=file]{position:absolute;inset:0;width:100%;height:100%;min-height:0;padding:0;opacity:0;cursor:pointer}.file-picker:focus-within{outline:2px solid var(--mint);outline-offset:3px}@media(max-width:1100px){.topbar .brand{min-width:150px;max-width:calc(100% - 92px)}.brand-mark{flex-shrink:0}.brand-copy{min-width:0;overflow-wrap:anywhere}}@media(max-width:560px){.topbar .brand{max-width:calc(100% - 64px)}}
