@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.block{display:block}.contents{display:contents}.grid{display:grid}.hidden{display:none}.inline{display:inline}.table{display:table}.shrink{flex-shrink:1}.grow{flex-grow:1}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.resize{resize:both}.rounded{border-radius:.25rem}.border{border-style:var(--tw-border-style);border-width:1px}.lowercase{text-transform:lowercase}.uppercase{text-transform:uppercase}.ordinal{--tw-ordinal:ordinal;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.ring{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}}:root{--navy:#112a5c;--blue:#2563eb;--muted:#64748b;--surface:#fff;--background:#f5f8ff}*{box-sizing:border-box}body{background:var(--background);color:#172554;margin:0;font-family:Arial,Apple SD Gothic Neo,Noto Sans KR,sans-serif}button,input{font:inherit}@media (pointer:coarse){input,textarea,select{font-size:max(16px,1em)!important}}button{cursor:pointer}button:disabled{cursor:wait;opacity:.6}.page{background:radial-gradient(circle at 14% 12%, #dbeafe 0, transparent 31rem), radial-gradient(circle at 88% 90%, #e0e7ff 0, transparent 28rem), var(--background);justify-content:center;align-items:center;min-height:100vh;padding:2rem 1rem;display:flex}.card{background:var(--surface);border:1px solid #e2e8f0;border-radius:24px;width:min(100%,29rem);padding:clamp(2rem,6vw,3.5rem);box-shadow:0 24px 60px #0f172a1f}.brand{align-items:center;gap:.9rem;display:flex}.logo{background:linear-gradient(135deg, var(--navy), var(--blue));color:#fff;border-radius:14px;justify-content:center;align-items:center;width:3.25rem;height:3.25rem;font-size:1.9rem;font-weight:700;display:flex}.eyebrow{color:var(--blue);letter-spacing:.14em;margin:0 0 .15rem;font-size:.72rem;font-weight:800}h1,h2,p{margin-top:0}.brand h1{letter-spacing:-.04em;margin-bottom:0;font-size:1.3rem}.intro{margin:2.4rem 0 1.75rem}.intro h2{letter-spacing:-.05em;margin-bottom:.55rem;font-size:1.65rem}.intro p,.dashboard p{color:var(--muted);line-height:1.55}.button{border:0;border-radius:10px;justify-content:center;align-items:center;width:100%;min-height:3.2rem;font-weight:700;display:flex}.google{color:#1e293b;background:#fff;border:1px solid #cbd5e1;gap:.7rem}.google:hover{background:#f8fafc}.google-icon{color:#4285f4;font-size:1.15rem;font-weight:800}.apple{color:#fff;background:#000;gap:.6rem;margin-top:.6rem}.apple:hover{background:#1f1f1f}.apple:disabled{opacity:.6}.apple-icon{flex:none;margin-top:-.15rem}.divider{color:#94a3b8;align-items:center;gap:.8rem;margin:1.6rem 0;font-size:.8rem;display:flex}.divider:before,.divider:after{content:"";background:#e2e8f0;flex:1;height:1px}.form{gap:.55rem;display:grid}.form label{margin-top:.55rem;font-size:.88rem;font-weight:700}.form input{border:1px solid #cbd5e1;border-radius:9px;outline:none;min-height:3rem;padding:0 .85rem}.form input:focus{border-color:var(--blue);box-shadow:0 0 0 3px #2563eb29}.primary{background:var(--blue);color:#fff;margin-top:1rem}.primary:hover{background:#1d4ed8}.text-button,.mode-switch button{color:var(--blue);text-align:right;background:0 0;border:0;padding:.35rem 0;font-size:.85rem;font-weight:700}.message{border-radius:8px;margin:.55rem 0 0;padding:.7rem .8rem;font-size:.85rem}.error{color:#b91c1c;background:#fef2f2}.success{color:#047857;background:#ecfdf5}.message>p{margin:0}.message .home-action{text-align:left;margin-top:.35rem;display:block}.password-rules{gap:.15rem;margin:.35rem 0 0;padding:0;font-size:.8rem;list-style:none;display:grid}.password-rules li.ok{color:#047857}.password-rules li.missing{color:#b91c1c;font-weight:700}.form>.password-rules li:not(.ok):not(.missing){color:var(--muted)}.home-small{opacity:.9;font-size:.78rem;margin-top:.45rem!important}.home-forgot{flex-wrap:wrap;justify-content:flex-end;gap:.2rem 1rem;display:flex}.mode-switch{color:var(--muted);text-align:center;margin:1.55rem 0 0;font-size:.9rem}.guest-button{color:var(--navy);background:#eef4ff;margin-top:.75rem;text-decoration:none}.guest-button:hover{background:#dfe9ff}.guest-note{color:var(--muted);text-align:center;margin:.45rem 0 0;font-size:.8rem}.project-menu-version{color:var(--muted);text-align:center;margin:.3rem 0 0;padding:.2rem .6rem 0;font-size:.72rem}.project-menu-version a{color:inherit;text-decoration:underline}.project-menu-account .project-menu-note{text-overflow:ellipsis;white-space:nowrap;padding:0 .6rem;overflow:hidden}.mode-switch button{margin-left:.4rem}.home-language{color:var(--muted);justify-content:center;align-items:center;gap:.5rem;margin-top:1.1rem;font-size:.85rem;display:flex}.text-button.danger{color:#b91c1c}.modeler-card{width:min(100%,72rem);padding:clamp(1.25rem,4vw,2.25rem)}.modeler-head{justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1rem;display:flex}.modeler-head h1{margin:0;font-size:1.55rem}.modeler-head-tools{gap:.4rem;margin-top:.45rem;display:flex}.photo-button{position:relative}.photo-menu{z-index:40;background:#fff;border:1px solid #e2e8f0;border-radius:12px;flex-direction:column;min-width:11rem;padding:.3rem;display:flex;position:absolute;top:calc(100% + .35rem);left:0;box-shadow:0 12px 30px #0f172a2e}.photo-menu button{color:var(--navy);cursor:pointer;text-align:left;background:0 0;border:0;border-radius:8px;padding:.55rem .7rem;font-size:.9rem;font-weight:600}.photo-menu button:hover{background:#eef4ff}.ai-dialog.camera-dialog{width:min(100%,40rem)}.camera-hint{color:var(--muted);margin:0;font-size:.85rem}.camera-pick{align-items:center;gap:.5rem;margin:0 0 .5rem;font-size:.82rem;font-weight:700;display:flex}.camera-pick select{font:inherit;border:1px solid #cbd5e1;border-radius:8px;flex:1;min-width:0;min-height:2.2rem;padding:0 .5rem;font-weight:500}.camera-phone-tip{font-size:.76rem}.ai-dialog.phone-camera-dialog{width:min(100%,26rem)}.phone-qr{border:1px solid #e2e8f0;border-radius:8px;align-self:center;width:100%;max-width:15rem;height:auto;margin:.5rem auto;display:block}.phone-camera-status{font-variant-numeric:tabular-nums;text-align:center;margin:0;font-size:.85rem}.camera-frame{aspect-ratio:4/3;background:#0f172a;border-radius:12px;position:relative;overflow:hidden}.camera-frame video{object-fit:contain;width:100%;height:100%;display:block}.camera-status{color:#fff;text-align:center;justify-content:center;align-items:center;margin:0;padding:1rem;font-size:.9rem;display:flex;position:absolute;inset:0}.camera-status.error{background:#0f172ad9}.camera-actions{justify-content:flex-end}.piece-export{flex:none}.ai-dialog.history-dialog{width:min(100%,38rem)}.history-list{gap:.5rem;margin:0;padding:0;list-style:none;display:grid}.history-item{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;gap:.75rem;padding:.6rem;display:flex}.history-item.named{background:#eff6ff;border-color:#bfdbfe}.history-thumb{object-fit:cover;background:#e2e8f0;border-radius:8px;flex:none;width:4.2rem;height:4.2rem}.history-text{flex:1;gap:.15rem;min-width:0;display:grid}.history-title{overflow-wrap:anywhere;flex-wrap:wrap;align-items:center;gap:.4rem;font-size:.92rem;display:flex}.history-text small{color:var(--muted);font-size:.76rem}.history-message{-webkit-line-clamp:3;color:var(--navy);overflow-wrap:anywhere;white-space:pre-line;-webkit-box-orient:vertical;margin:.1rem 0;font-size:.82rem;line-height:1.4;display:-webkit-box;overflow:hidden}.history-badge{background:var(--blue);color:#fff;border-radius:999px;padding:.05rem .45rem;font-size:.66rem;font-weight:700}.history-actions,.history-name-form{flex-wrap:wrap;align-items:center;gap:.35rem;margin-top:.3rem;display:flex}.history-actions .modeler-chip,.history-name-form .modeler-chip{min-height:2rem;padding:0 .75rem}.history-name-form input{font:inherit;border:1px solid #cbd5e1;border-radius:9px;flex:10rem;min-width:0;min-height:2rem;padding:0 .6rem}.history-actions .text-button.danger{color:#b91c1c}.ai-dialog.export-dialog{width:min(100%,42rem);padding-bottom:0}.export-dialog .ai-dialog-actions{background:#fff;border-top:1px solid #e2e8f0;margin:.2rem -1.5rem 0;padding:.75rem 1.5rem 1rem;position:sticky;bottom:0}.export-name-row{border:1px solid #cbd5e1;border-radius:9px;align-items:center;min-height:2.6rem;font-weight:400;display:flex;overflow:hidden}.export-name-row:focus-within{border-color:var(--blue);box-shadow:0 0 0 3px #2563eb29}.export-name-row input{border:0;outline:none;flex:1;align-self:stretch;min-width:0;padding:0 .7rem;font-size:.9rem}.export-extension{color:var(--muted);background:#f1f5f9;align-self:stretch;align-items:center;padding:0 .7rem;font-size:.85rem;display:flex}.export-formats{gap:.7rem;display:grid}.export-group{border:0;grid-template-columns:repeat(auto-fill,minmax(min(100%,17rem),1fr));gap:.35rem;min-width:0;margin:0;padding:0;display:grid}.export-group legend{color:var(--muted);letter-spacing:.04em;text-transform:uppercase;margin-bottom:.35rem;padding:0;font-size:.72rem;font-weight:800}.export-format{cursor:pointer;border:1px solid #e2e8f0;border-radius:10px;align-items:flex-start;gap:.5rem;padding:.5rem .6rem;display:flex}.export-format:hover{border-color:#93b4f5}.export-format.active{border-color:var(--blue);background:#eef4ff}.export-format.disabled{cursor:not-allowed;opacity:.6}.export-format input{accent-color:var(--blue);flex:none;margin:.2rem 0 0}.export-format-text{gap:.1rem;min-width:0;display:grid}.export-format-text strong{color:var(--navy);font-size:.86rem}.export-format-text small{color:var(--muted);font-size:.72rem;line-height:1.35}.ai-dialog.flat-dialog{width:min(100%,46rem)}.flat-result{grid-template-columns:minmax(0,1fr);gap:.9rem;min-width:0;display:grid}.flat-result>section{min-width:0}.flat-result h3{color:var(--navy);margin:0 0 .35rem;font-size:.8rem;font-weight:800}.flat-summary p{white-space:pre-wrap;margin:0;font-size:.86rem;line-height:1.5}.flat-warnings{background:#fffbeb;border:1px solid #fde68a;border-radius:10px;padding:.5rem .7rem}.flat-warnings ul{margin:0;padding-left:1.1rem;font-size:.8rem}.flat-files{grid-template-columns:repeat(auto-fill,minmax(min(100%,200px),1fr));gap:.6rem;margin:0;padding:0;list-style:none;display:grid}.flat-file{border:1px solid #e2e8f0;border-radius:10px;gap:.2rem;padding:.5rem;display:grid}.flat-file img{aspect-ratio:4/3;object-fit:contain;background:#fff;border-radius:6px;width:100%}.flat-file strong{color:var(--navy);overflow-wrap:anywhere;font-size:.82rem}.flat-file small{color:var(--muted);font-size:.72rem}.flat-table-wrap{overflow-x:auto}.flat-table{border-collapse:collapse;width:100%;font-size:.8rem}.flat-table th,.flat-table td{text-align:left;white-space:nowrap;border-bottom:1px solid #e2e8f0;padding:.3rem .4rem}.flat-table th{color:var(--muted);font-weight:700}.ai-files{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;gap:.3rem;padding:.6rem;display:grid}.ai-files-thumbs{grid-template-columns:repeat(3,minmax(0,1fr));gap:.3rem;display:grid}.ai-files-thumbs img{aspect-ratio:4/3;object-fit:contain;background:#fff;border:1px solid #e2e8f0;border-radius:6px;width:100%}.ai-files strong{color:var(--navy);font-size:.85rem}.ai-files small{color:var(--muted);font-size:.75rem}.ai-files-actions{justify-content:flex-end;align-items:center;gap:.5rem;display:flex}.export-working{color:var(--muted);margin-right:auto;font-size:.8rem}@media (max-width:400px){.modeler-head-tools,.modeler-head-actions{gap:.25rem}.modeler-head .modeler-icon-chip{padding:0 .45rem}.modeler-head .project-menu-button,.modeler-head .modeler-panel-toggle{width:2.5rem}}.modeler-help-button.active{background:var(--blue);border-color:var(--blue);color:#fff}.help-catcher{cursor:help;z-index:60;background:#2563eb0a;position:fixed;inset:0}.help-hover{border:2px solid var(--blue);pointer-events:none;z-index:61;border-radius:10px;transition:all 80ms ease-out;position:fixed;box-shadow:0 0 0 4px #2563eb2e}.help-banner{background:var(--navy,#0f172a);bottom:max(1rem, env(safe-area-inset-bottom));color:#fff;z-index:62;border-radius:999px;align-items:center;gap:.6rem;width:max-content;max-width:calc(100% - 1.5rem);padding:.45rem .5rem .45rem .6rem;display:flex;position:fixed;left:50%;transform:translate(-50%);box-shadow:0 12px 32px #0f172a4d}.help-banner-mark{background:var(--blue);border-radius:999px;flex:none;justify-content:center;align-items:center;width:1.6rem;height:1.6rem;font-weight:800;display:inline-flex}.help-banner-text{font-size:.85rem;font-weight:600}.help-banner .text-button{color:#bfdbfe;white-space:nowrap}@media (max-width:560px){.help-banner-text{font-size:.78rem}}.help-backdrop{z-index:70;background:#0f172a73;justify-content:center;align-items:center;padding:1rem;display:flex;position:fixed;inset:0}.help-popup{background:#fff;border-radius:18px;flex-direction:column;width:min(100%,34rem);max-height:calc(100dvh - 2rem);display:flex;overflow:hidden;box-shadow:0 24px 60px #0f172a4d}.help-topic{padding:1.25rem 1.4rem .5rem;overflow-y:auto}.help-group{color:var(--blue);letter-spacing:.05em;text-transform:uppercase;margin:0;font-size:.72rem;font-weight:800}.help-topic h2{margin:.15rem 0 .7rem;font-size:1.2rem}.help-shot{object-fit:contain;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:12px;width:100%;height:auto;max-height:42dvh;margin:0 0 .8rem;display:block}.help-summary{color:var(--navy);margin:0 0 .5rem;font-size:.95rem;font-weight:600;line-height:1.5}.help-detail{color:#334155;margin:0 0 .45rem;font-size:.86rem;line-height:1.55}.help-shortcut{color:var(--muted);margin:.3rem 0 .5rem;font-size:.82rem}.help-shortcut kbd{color:var(--navy);background:#f1f5f9;border:1px solid #cbd5e1;border-radius:6px;padding:.05rem .4rem;font-family:inherit;font-weight:700}.help-related{margin:.8rem 0 .4rem}.help-related>p{color:var(--muted);letter-spacing:.04em;text-transform:uppercase;margin:0 0 .35rem;font-size:.72rem;font-weight:800}.help-related ul{gap:.3rem;margin:0;padding:0;list-style:none;display:grid}.help-link{text-align:left;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;gap:.1rem;width:100%;padding:.5rem .7rem;display:grid}.help-link:hover{background:#eef4ff;border-color:#93b4f5}.help-link strong{color:var(--navy);font-size:.86rem}.help-link span{color:var(--muted);font-size:.76rem;line-height:1.4}.help-actions{border-top:1px solid #e2e8f0;flex-wrap:wrap;align-items:center;gap:.5rem;padding:.75rem 1.4rem 1rem;display:flex}.help-actions-gap{flex:1}@media (max-width:760px){.help-backdrop{align-items:flex-end;padding:0}.help-popup{border-radius:18px 18px 0 0;width:100%;max-height:88dvh}.help-topic{padding:1rem 1rem .4rem}.help-actions{padding:.6rem 1rem max(.8rem, env(safe-area-inset-bottom))}}.visually-hidden{clip:rect(0 0 0 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.modeler-open{white-space:nowrap;flex:none;width:auto;min-height:2.6rem;margin-top:0;padding:0 1.2rem}.modeler-file-input{display:none}.modeler-card>.message{margin:0 0 1rem}.modeler-layout{grid-template-columns:minmax(0,1fr) 21rem;gap:1rem;display:grid}.modeler-viewport{background:linear-gradient(#f8fafe 0%,#e4eaf5 100%);border:1px solid #e2e8f0;border-radius:16px;height:clamp(22rem,64vh,40rem);position:relative;overflow:hidden}.modeler-viewport.dragging{border-color:var(--blue);box-shadow:inset 0 0 0 3px #2563eb59}.modeler-canvas-host{position:absolute;inset:0}.section-probe-label{color:#9f1239;font-variant-numeric:tabular-nums;pointer-events:none;white-space:nowrap;z-index:2;background:#ffffffeb;border:1px solid #e11d48;border-radius:6px;padding:.1rem .35rem;font-size:.75rem;font-weight:700;line-height:1.2;position:absolute}.section-probe-label[data-axis=horizontal]{transform:translate(-50%,calc(-100% - 6px))}.section-probe-label[data-axis=vertical]{transform:translate(8px,-50%)}.modeler-canvas{touch-action:none;width:100%;height:100%;display:block}.modeler-empty{color:var(--navy);pointer-events:none;text-align:center;flex-direction:column;justify-content:center;align-items:center;margin:0;padding:1.5rem;display:flex;position:absolute;inset:0}.modeler-card>.text-button{margin-top:.9rem;display:inline-block}.modeler-loading{background:#f8fafeb3;font-weight:700}.modeler-drop{color:var(--blue);pointer-events:none;background:#2563eb1a;justify-content:center;align-items:center;margin:0;font-size:1.05rem;font-weight:800;display:flex;position:absolute;inset:0}.modeler-toolbar{flex-wrap:wrap;gap:.4rem;display:flex;position:absolute;bottom:.75rem;left:.75rem;right:.75rem}.modeler-chip{color:var(--navy);background:#ffffffeb;border:1px solid #cbd5e1;border-radius:999px;min-height:2.1rem;padding:0 .85rem;font-size:.8rem;font-weight:700}.modeler-chip:hover{border-color:var(--blue)}.modeler-chip.active,.modeler-chip.strong{background:var(--blue);border-color:var(--blue);color:#fff}.modeler-panel{flex-direction:column;gap:.75rem;min-width:0;height:clamp(22rem,64vh,40rem);display:flex}.modeler-panel-toggle{color:var(--navy);cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:12px;justify-content:center;align-items:center;width:2.9rem;min-height:2.6rem;padding:0;display:inline-flex}.modeler-panel-toggle:hover{border-color:var(--blue)}.modeler-panel-toggle.open{border-color:var(--blue);color:var(--blue);background:#eef4ff}.modeler-layout.panel-closed{grid-template-columns:minmax(0,1fr)}.modeler-layout.panel-closed .modeler-panel{display:none}.modeler-info{flex-direction:column;flex:1;gap:.9rem;min-height:0;display:flex;overflow-y:auto}.modeler-field{gap:.35rem;font-size:.8rem;font-weight:700;display:grid}.modeler-field select{color:#172554;font:inherit;background:#fff;border:1px solid #cbd5e1;border-radius:9px;min-height:2.6rem;padding:0 .6rem;font-size:.9rem;font-weight:400}.modeler-file{border-bottom:1px solid #e2e8f0;padding-bottom:.75rem}.modeler-file-name{text-overflow:ellipsis;white-space:nowrap;margin:0;font-weight:800;overflow:hidden}.modeler-file-meta{color:var(--muted);margin:.2rem 0 0;font-size:.8rem}.modeler-stats{gap:.7rem;margin:0;display:grid}.modeler-stats dt{color:var(--muted);font-size:.75rem;font-weight:700}.modeler-stats dd{font-variant-numeric:tabular-nums;margin:.15rem 0 0;font-size:1rem;font-weight:700}.modeler-fit{border-radius:9px;margin:0;padding:.65rem .75rem;font-size:.82rem;font-weight:700;line-height:1.45}.modeler-fit.ok{color:#047857;background:#ecfdf5}.modeler-fit.over{color:#b91c1c;background:#fef2f2}.modeler-note,.modeler-help{color:var(--muted);margin:0;font-size:.8rem;line-height:1.5}.modeler-help{margin-top:auto}.drawing-dialog{width:min(100%,48rem)}.drawing-preview{aspect-ratio:297/210;background:#fff;border:1px solid #e2e8f0;border-radius:9px;justify-content:center;align-items:center;display:flex;overflow:hidden}.drawing-preview img{object-fit:contain;width:100%;height:100%;display:block}.drawing-options{flex-wrap:wrap;align-items:end;gap:.6rem 1.2rem;display:flex}.drawing-options .ai-dialog-field{min-width:14rem}.drawing-check{align-items:center;gap:.4rem;min-height:2.6rem;font-size:.85rem;display:flex}.ai-files-thumbs img.drawing-thumb{aspect-ratio:297/210;grid-column:1/-1}.standard-part-dialog{max-width:26rem}.standard-part-row{grid-template-columns:1fr 1fr;align-items:end;gap:.6rem;display:grid}.standard-part-preview{color:var(--navy);background:#eff6ff;border-radius:9px;padding:.55rem .7rem;font-size:.82rem;line-height:1.5}.standard-part-preview p{margin:0}.print-check{border-top:1px solid #e2e8f0;gap:.6rem;padding-top:.8rem;display:grid}.print-check-title{margin:0;font-size:.9rem;font-weight:800}.print-check-settings{grid-template-columns:1fr 1fr;gap:.5rem;display:grid}.print-check-settings label{gap:.25rem;font-size:.75rem;font-weight:700;display:grid}.print-check-settings input{font:inherit;border:1px solid #cbd5e1;border-radius:9px;min-width:0;min-height:2.3rem;padding:0 .55rem;font-size:.9rem;font-weight:400}.print-check-run,.print-check-orient button{color:#fff;cursor:pointer;font:inherit;background:#1d4ed8;border:0;border-radius:9px;min-height:2.4rem;padding:0 .9rem;font-size:.85rem;font-weight:700}.print-check-run:disabled,.print-check-orient button:disabled{cursor:default;opacity:.5}.print-check-stats dd{font-size:.9rem}.print-check-warn{color:#92400e;background:#fffbeb;border-radius:9px;margin:0;padding:.5rem .65rem;font-size:.8rem;line-height:1.45}.print-check-orient{background:#eff6ff;border-radius:9px;gap:.45rem;padding:.6rem .7rem;font-size:.82rem;line-height:1.45;display:grid}.print-check-orient.ok{color:#047857;background:#ecfdf5}.print-check-orient p{margin:0}.print-check-show{align-items:center;gap:.45rem;font-size:.82rem;display:flex}.print-check-legend{color:var(--muted);flex-wrap:wrap;align-items:center;gap:.35rem .6rem;margin:0;font-size:.78rem;display:flex}.print-swatch{border-radius:3px;width:.8rem;height:.8rem;display:inline-block}.print-swatch.overhang{background:#e5484d}.print-swatch.thin{background:#8e4ec6}@media (max-width:760px){.modeler-layout{grid-template-columns:1fr}.modeler-panel{height:auto}.modeler-info{overflow:visible}.ai-log{min-height:8rem;max-height:22rem}.modeler-help{margin-top:0}.modeler-page{align-items:stretch;min-height:100dvh;padding:0}.modeler-card{box-shadow:none;border:0;border-radius:0;padding:.4rem}.modeler-head{gap:.5rem;margin-bottom:.4rem}.modeler-head .eyebrow{font-size:.62rem}.modeler-head-tools{margin-top:.15rem}.modeler-head-actions .modeler-fullscreen-button{display:none}.modeler-layout{gap:.6rem}.modeler-viewport{height:calc(100dvh - var(--modeler-head-height,4.5rem) - 1.2rem);border-radius:12px;min-height:18rem}.modeler-layout{position:relative}.modeler-panel{background:var(--surface);height:calc(100dvh - var(--modeler-head-height,4.5rem) - 1.2rem);z-index:30;border:1px solid #e2e8f0;border-radius:12px;width:min(88%,22rem);min-height:18rem;padding:.6rem;position:absolute;top:0;right:0;overflow-y:auto;box-shadow:-12px 0 32px #0f172a2e}}.modeler-viewport.busy .modeler-canvas{cursor:progress}.modeler-topbar{pointer-events:none;flex-wrap:wrap;align-items:center;gap:.4rem;display:flex;position:absolute;top:.75rem;left:.75rem;right:.75rem}.modeler-topbar>*,.modeler-topbar .modeler-toolbar.top>*{pointer-events:auto}.modeler-topbar .modeler-toolbar.top{display:contents}.modeler-topbar-break{flex-basis:100%;height:0}.modeler-narrow-label{display:none}.modeler-chip:disabled{cursor:not-allowed;opacity:.45}.modeler-segment{background:#ffffffeb;border:1px solid #cbd5e1;border-radius:999px;padding:2px;display:inline-flex}.modeler-segment button{color:var(--navy);background:0 0;border:0;border-radius:999px;min-height:1.9rem;padding:0 .8rem;font-size:.8rem;font-weight:700}.modeler-segment button.active{background:var(--blue);color:#fff}.modeler-segment[aria-label=Selection\ mode] button{justify-content:center;align-items:center;padding:0 .75rem;display:inline-flex}.modeler-icon-chip{justify-content:center;align-items:center;min-width:2.1rem;padding:0 .55rem;display:inline-flex}.modeler-slider{color:var(--navy);background:#ffffffeb;border:1px solid #cbd5e1;border-radius:999px;align-items:center;gap:.45rem;min-height:2.1rem;padding:0 .75rem;font-size:.75rem;font-weight:700;display:inline-flex}.modeler-slider span{white-space:nowrap;min-width:4.8rem}.modeler-slider input{accent-color:var(--blue);width:5.5rem}.modeler-tabs{background:#eef2f9;border-radius:10px;grid-auto-columns:1fr;grid-auto-flow:column;gap:2px;padding:3px;display:grid}.modeler-tabs button{color:var(--muted);background:0 0;border:0;border-radius:8px;min-height:2.2rem;font-size:.85rem;font-weight:700}.modeler-tabs button.active{color:var(--navy);background:#fff;box-shadow:0 1px 3px #0f172a1f}.ai-panel{flex-direction:column;flex:1;gap:.55rem;min-height:0;display:flex}.ai-panel-head{justify-content:space-between;align-items:center;display:flex}.ai-model-picker{align-items:center;gap:.35rem;min-width:0;display:flex}.ai-model-select{appearance:none;color:var(--navy);cursor:pointer;font:inherit;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23112a5c' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") right .7rem center no-repeat;border:1px solid #cbd5e1;border-radius:999px;min-width:0;min-height:2rem;padding:0 1.8rem 0 .8rem;font-size:.8rem;font-weight:700}.ai-model-select:hover:not(:disabled),.ai-settings-button:hover{border-color:var(--blue)}.ai-model-select:disabled{cursor:progress;opacity:.6}.ai-settings-button{color:var(--navy);cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:999px;flex:none;width:2rem;height:2rem;font-size:.9rem}.ai-log{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;flex-direction:column;flex:1;gap:.45rem;min-height:0;padding:.7rem;display:flex;overflow-y:auto}.ai-intro{color:var(--muted);text-align:center;margin:auto 0;font-size:.85rem;line-height:1.5}.ai-intro p{margin:0 0 .7rem}.ai-suggestions{flex-direction:column;gap:.4rem;display:flex}.ai-msg{white-space:pre-wrap;word-break:break-word;border-radius:12px;max-width:92%;margin:0;padding:.5rem .7rem;font-size:.87rem;line-height:1.5}.ai-msg.user{background:var(--blue);color:#fff;border-bottom-right-radius:4px;align-self:flex-end}.ai-msg.assistant{color:#172554;background:#fff;border:1px solid #e2e8f0;border-bottom-left-radius:4px;align-self:flex-start}.ai-tool{color:#1e40af;background:#eef4ff;border-radius:8px;align-self:flex-start;margin:0;padding:.3rem .55rem;font-size:.78rem;font-weight:700}.ai-tool.failed{color:#b91c1c;background:#fef2f2}.ai-notice{border-radius:8px;margin:0;padding:.45rem .6rem;font-size:.8rem;line-height:1.45}.ai-notice.info{color:#475569;background:#f1f5f9}.ai-notice.error{color:#b91c1c;background:#fef2f2}.ai-usage{color:#94a3b8;align-self:flex-end;margin:0;font-size:.7rem}.ai-ad{background:#fff;border:1px solid #e2e8f0;border-radius:12px;gap:.25rem;min-height:3rem;padding:.5rem;display:grid}.ai-ad-label{color:var(--muted);letter-spacing:.02em;font-size:.7rem}.ai-status{color:var(--blue);align-self:flex-start;margin:0;font-size:.8rem;font-weight:700;animation:1.2s ease-in-out infinite ai-pulse}@keyframes ai-pulse{50%{opacity:.45}}.selection-bar{color:var(--navy);background:#fffffff2;border:1px solid #cbd5e1;border-radius:12px;align-items:center;gap:.4rem;max-width:100%;margin:0;padding:.45rem .7rem;font-size:.8rem;font-weight:700;display:flex;box-shadow:0 8px 22px #0f172a1f}.selection-bar-dot{background:#ff8a3d;border-radius:50%;flex:none;width:.6rem;height:.6rem}.measure-dot{background:#16a34a}.measure-bar strong{color:#15803d}.measure-delta{color:var(--muted);font-weight:600}.measure-clear{color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:999px;margin-left:.2rem;padding:0 .3rem;font-size:.85rem}.measure-clear:hover{color:var(--navy)}.modeler-pick-actions{gap:.35rem;display:flex}.ai-compose{align-items:flex-end;gap:.45rem;display:flex}.ai-compose textarea{font:inherit;resize:none;border:1px solid #cbd5e1;border-radius:10px;outline:none;flex:1;min-width:0;padding:.55rem .7rem;font-size:.9rem;line-height:1.4}.ai-compose textarea:focus{border-color:var(--blue);box-shadow:0 0 0 3px #2563eb29}.ai-compose .modeler-chip{min-height:2.6rem}.mic-button{color:var(--navy);cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:999px;flex:none;justify-content:center;align-items:center;width:2.6rem;height:2.6rem;padding:0;display:inline-flex}.mic-button:hover:not(:disabled){border-color:var(--blue);color:var(--blue);background:#eef4ff}.mic-button:disabled{cursor:not-allowed;opacity:.4}.mic-button.listening{color:#fff;background:#e11d48;border-color:#e11d48;animation:1.2s ease-in-out infinite mic-pulse}@keyframes mic-pulse{0%,to{box-shadow:0 0 #e11d4873}50%{box-shadow:0 0 0 6px #e11d4800}}@media (prefers-reduced-motion:reduce){.mic-button.listening{animation:none}}.sketch-bar.bottom .mic-button{width:2.3rem;height:2.3rem}.mic-error{color:#b91c1c;margin:.3rem 0 0;font-size:.76rem;line-height:1.4}.sketch-mic-error{background:#fffffff2;border-radius:10px;padding:.35rem .6rem;position:absolute;bottom:3.6rem;left:.75rem;right:.75rem}.sketch-mic-error .mic-error{margin:0}.ai-dialog-backdrop{z-index:50;background:#0f172a73;justify-content:center;align-items:center;padding:1rem;display:flex;position:fixed;inset:0}.ai-dialog{background:#fff;border-radius:18px;flex-direction:column;gap:.7rem;width:min(100%,30rem);max-height:calc(100vh - 2rem);padding:1.5rem;display:flex;overflow-y:auto;box-shadow:0 24px 60px #0f172a4d}.ai-dialog h2{margin:0;font-size:1.2rem}.ai-dialog-owner{color:var(--muted);margin:-.4rem 0 .2rem;font-size:.8rem}.ai-dialog-field{gap:.35rem;font-size:.82rem;font-weight:700;display:grid}.ai-dialog-field select{color:var(--navy);font:inherit;background:#fff;border:1px solid #cbd5e1;border-radius:9px;outline:none;min-height:2.6rem;padding:0 .6rem;font-size:.9rem;font-weight:600}.ai-dialog-field select:focus{border-color:var(--blue);box-shadow:0 0 0 3px #2563eb29}.commit-message{color:var(--navy);font:inherit;resize:vertical;border:1px solid #cbd5e1;border-radius:9px;outline:none;min-height:6rem;padding:.55rem .7rem;font-size:.9rem;font-weight:400;line-height:1.45}.commit-message:focus{border-color:var(--blue);box-shadow:0 0 0 3px #2563eb29}.commit-count{color:var(--muted);justify-self:end;font-size:.72rem;font-weight:400}.ai-key-row{gap:.4rem;display:flex}.ai-key-row input{border:1px solid #cbd5e1;border-radius:9px;outline:none;flex:1;min-width:0;min-height:2.6rem;padding:0 .7rem;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.85rem}.ai-key-row input:focus{border-color:var(--blue);box-shadow:0 0 0 3px #2563eb29}.ai-dialog-note,.ai-dialog-warn{margin:0;font-size:.78rem;line-height:1.5}.ai-dialog-note{color:var(--muted)}.ai-usage-line{color:var(--navy);font-variant-numeric:tabular-nums;margin:0;font-size:.9rem;font-weight:700}.ai-usage-meter{background:#e2e8f0;border-radius:999px;height:.45rem;overflow:hidden}.ai-usage-meter span{background:var(--blue);border-radius:inherit;height:100%;display:block}.ai-dialog-note a{color:var(--blue);font-weight:700}.ai-dialog-warn{color:#b45309}.ai-dialog-actions{justify-content:flex-end;align-items:center;gap:.5rem;margin-top:.3rem;display:flex}.ai-dialog-actions .text-button.danger{margin-right:auto}.modeler-blank-hint{color:var(--muted);font-size:.9rem;font-weight:700}.step-list{counter-reset:none;gap:.4rem;margin:0;padding:0;list-style:none;display:grid}.step{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px}.step.open{border-color:var(--blue);background:#fff}.step.failed{border-color:#fca5a5}.step-head{color:#172554;text-align:left;background:0 0;border:0;align-items:center;gap:.55rem;width:100%;padding:.55rem .65rem;display:flex}.step-number{color:#1d4ed8;background:#dbeafe;border-radius:50%;flex:none;justify-content:center;align-items:center;width:1.4rem;height:1.4rem;font-size:.72rem;font-weight:800;display:inline-flex}.step.failed .step-number{color:#b91c1c;background:#fee2e2}.step-text{flex:1;font-size:.84rem;font-weight:700;line-height:1.35}.step-warn{color:#dc2626}.step-body{border-top:1px solid #e2e8f0;gap:.5rem;padding:.6rem .65rem .7rem;display:grid}.step-field{gap:.25rem;font-size:.75rem;font-weight:700;display:grid}.step-field input{font:inherit;border:1px solid #cbd5e1;border-radius:8px;min-width:0;min-height:2.1rem;padding:0 .5rem;font-size:.85rem;font-weight:400}.step-vec{grid-template-columns:repeat(3,minmax(0,1fr));gap:.3rem;display:grid}.step-error{color:#b91c1c;background:#fef2f2;border-radius:8px;margin:0;padding:.45rem .55rem;font-size:.78rem;line-height:1.45}.step-actions{justify-content:space-between;align-items:center;display:flex}.step-actions .text-button{padding:0;font-size:.78rem}@media (max-width:760px){.modeler-topbar{gap:.3rem;top:.5rem;left:.5rem;right:.5rem}.modeler-narrow-label{display:inline}.modeler-toolbar{gap:.3rem;bottom:.5rem;left:.5rem;right:.5rem}.modeler-chip{padding:0 .65rem}.modeler-slider{flex:1;min-width:0}.modeler-slider>span{flex:none;min-width:0}.modeler-slider input{flex:1;width:auto;min-width:3rem}.modeler-wide-label{display:none}}.modeler-head-actions{flex:none;align-items:center;gap:.5rem;display:flex}.modeler-fullscreen-button{align-items:center;gap:.4rem;min-height:2.6rem;display:inline-flex}.modeler-fullscreen-button svg{flex:none}.modeler-page.modeler-fullscreen{background:var(--background);z-index:40;align-items:stretch;height:100dvh;min-height:0;padding:0;position:fixed;inset:0;overflow-y:auto}.modeler-fullscreen .modeler-card{box-shadow:none;border:0;border-radius:0;flex-direction:column;width:100%;height:100dvh;padding:.75rem 1rem;display:flex}.modeler-fullscreen .modeler-head{margin-bottom:.6rem}.modeler-fullscreen .modeler-head .eyebrow,.modeler-fullscreen .modeler-card>.text-button{display:none}.modeler-fullscreen .modeler-head-tools{margin-top:0}.modeler-fullscreen .modeler-layout{flex:1;grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(0,1fr) 24rem;min-height:0}.modeler-fullscreen .modeler-layout.panel-closed{grid-template-columns:minmax(0,1fr)}.modeler-fullscreen .modeler-viewport,.modeler-fullscreen .modeler-panel{height:auto;min-height:0}@media (min-width:761px){.modeler-page{align-items:stretch;height:100dvh;min-height:0;padding:0;overflow:hidden}.modeler-card{box-shadow:none;border:0;border-radius:0;flex-direction:column;width:100%;height:100%;padding:.75rem 1rem;display:flex}.modeler-head{margin-bottom:.6rem}.modeler-layout{flex:1;grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(0,1fr) 24rem;min-height:0}.modeler-layout.panel-closed{grid-template-columns:minmax(0,1fr)}.modeler-viewport,.modeler-panel{height:auto;min-height:0}}.about-dialog{width:min(100%,38rem)}.about-table-wrap{border:1px solid #e2e8f0;border-radius:12px;overflow-x:auto}.about-table{border-collapse:collapse;width:100%;font-size:.85rem}.about-table th{color:var(--muted);text-align:left;text-transform:uppercase;background:#f8fafc;font-size:.75rem;font-weight:700}.about-table th,.about-table td{vertical-align:top;border-bottom:1px solid #e2e8f0;padding:.5rem .7rem}.about-table tr:last-child td{border-bottom:0}.about-table a{color:var(--blue);font-weight:700;text-decoration:none}.about-table a:hover{text-decoration:underline}.about-purpose{color:var(--muted);margin-top:.15rem;font-size:.78rem;display:block}.about-version{white-space:nowrap;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.about-section{border-top:1px solid #e2e8f0;flex-direction:column;gap:.4rem;padding-top:.7rem;display:flex}.about-section h3{color:var(--navy);margin:0;font-size:.95rem}.about-section h4{color:var(--navy);margin:.3rem 0 0;font-size:.82rem}.about-link{color:var(--blue);font-size:.85rem;font-weight:700;text-decoration:none}.about-link:hover{text-decoration:underline}.about-links{flex-wrap:wrap;gap:.3rem 1rem;margin:0;display:flex}.about-sources{flex-direction:column;gap:.45rem;margin:0;padding:0;list-style:none;display:flex}.about-sources li{border:1px solid #e2e8f0;border-radius:10px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.25rem .8rem;padding:.45rem .65rem;display:flex}.about-source-text{flex-direction:column;flex:14rem;min-width:0;display:flex}.about-sources .about-purpose{overflow-wrap:anywhere;margin-top:0}.about-sources .about-link{flex:0 auto}.about-source-name{color:var(--navy);overflow-wrap:anywhere;font-size:.85rem;font-weight:600}@media (max-width:760px){.modeler-fullscreen .modeler-card{height:auto;min-height:100dvh;padding:.5rem .5rem 4rem}.modeler-fullscreen .modeler-layout{grid-template-rows:none;grid-template-columns:1fr}.modeler-fullscreen .modeler-viewport{height:62dvh}.modeler-head-actions{gap:.35rem}.modeler-fullscreen-button{padding:0 .7rem}}.ai-attachments{flex-wrap:wrap;align-items:center;gap:.45rem;display:flex}.ai-attachment{border:1px solid #cbd5e1;border-radius:10px;width:4rem;height:4rem;margin:0;position:relative;overflow:hidden}.ai-attachment img{object-fit:cover;width:100%;height:100%;display:block}.ai-attachment-remove{color:#fff;cursor:pointer;background:#0f172ab3;border:0;border-radius:999px;justify-content:center;align-items:center;width:1.3rem;height:1.3rem;font-size:.85rem;line-height:1;display:flex;position:absolute;top:.2rem;right:.2rem}.ai-attachment-busy{color:var(--muted);font-size:.8rem;font-weight:700}.ai-msg-images{flex-wrap:wrap;gap:.35rem;margin-bottom:.35rem;display:flex}.ai-msg-images img{background:#fff;border-radius:8px;max-width:100%;max-height:8rem;display:block}.ai-intro-photo{color:#1e3a8a;background:#eef4ff;border-radius:10px;padding:.55rem .7rem}.ai-intro-photo .text-button{font-size:inherit;margin:0;padding:0}.modeler-nav-toggle{touch-action:manipulation;align-items:center;gap:.35rem;display:inline-flex}.modeler-nav-toggle svg{flex:none}.modeler-canvas[data-navigation=move]{cursor:move}@media (max-width:760px){.modeler-nav-toggle{justify-content:center;width:2.1rem;padding:0}}.project-menu{position:relative}.project-menu-button{justify-content:center;align-items:center;width:2.9rem;min-height:2.6rem;margin-top:0;padding:0;display:inline-flex}.project-menu-panel{z-index:45;background:#fff;border:1px solid #e2e8f0;border-radius:14px;flex-direction:column;width:min(19rem,100vw - 2rem);max-height:calc(100dvh - 7rem);padding:.45rem;display:flex;position:absolute;top:calc(100% + .45rem);right:0;overflow-y:auto;box-shadow:0 18px 44px #0f172a2e}.project-menu-name{gap:.25rem;padding:.35rem .5rem .55rem;display:grid}.project-menu-name span,.project-menu-heading{color:var(--muted);letter-spacing:.02em;text-transform:uppercase;margin:0;font-size:.72rem;font-weight:700}.project-menu-name input{font:inherit;border:1px solid #cbd5e1;border-radius:8px;outline:none;min-width:0;min-height:2.3rem;padding:0 .6rem;font-size:.9rem}.project-menu-name input:focus{border-color:var(--blue);box-shadow:0 0 0 3px #2563eb29}.project-menu-language{justify-content:space-between;align-items:center;gap:.6rem;padding:.45rem .75rem;display:flex}.project-menu-language span{color:var(--navy);font-size:.9rem;font-weight:600}.project-menu-language select,.home-language select{color:var(--navy);font:inherit;background:#fff;border:1px solid #cbd5e1;border-radius:8px;min-height:2.1rem;padding:0 .5rem;font-size:.88rem}.project-menu-group{border-top:1px solid #eef2f7;flex-direction:column;padding:.25rem 0;display:flex}.project-menu-group:first-child{border-top:0}.project-menu-group button{color:var(--navy);cursor:pointer;text-align:left;background:0 0;border:0;border-radius:8px;align-items:baseline;gap:.5rem;min-height:2.35rem;padding:.45rem .6rem;font-size:.9rem;font-weight:600;display:flex}.project-menu-group .project-menu-link{color:var(--blue);border-radius:8px;padding:.45rem .6rem;font-size:.9rem;font-weight:700;text-decoration:none}.project-menu-group .project-menu-link:hover{background:#eef4ff}.project-save-state{color:var(--muted);font-size:.74rem;font-weight:500;line-height:1.35}.project-save-state.saved{color:#15803d}.project-save-state.error,.project-menu-note.error{color:#b91c1c}.modeler-toast{background:var(--navy);color:#fff;z-index:60;border-radius:999px;margin:0;padding:.55rem 1.1rem;font-size:.85rem;font-weight:700;position:fixed;bottom:1.25rem;left:50%;transform:translate(-50%);box-shadow:0 8px 24px #0f172a40}.project-menu-group button:hover:not(:disabled){background:#eef4ff}.project-menu-group button:disabled{cursor:not-allowed;opacity:.4}.project-menu-group kbd,.project-menu-group small{color:var(--muted);margin-left:auto;font-family:inherit;font-size:.75rem;font-weight:500}.project-recent-open{cursor:pointer;text-align:left;background:0 0;border:0;border-radius:8px;flex:1;align-items:center;gap:.55rem;min-width:0;padding:.3rem;display:flex}.project-recent-open:hover:not(:disabled){background:#eef4ff}.project-recent-open img,.project-recent-blank{object-fit:cover;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:6px;flex:none;width:3.2rem;height:2.4rem}.project-recent-text{flex-direction:column;min-width:0;display:flex}.project-recent-name{color:var(--navy);text-overflow:ellipsis;white-space:nowrap;font-size:.85rem;font-weight:700;overflow:hidden}.project-recent-when{color:var(--muted);font-size:.75rem}.project-recent-delete{color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:999px;flex:none;width:1.8rem;height:1.8rem;font-size:1rem}.project-recent-delete:hover{color:#b91c1c;background:#fee2e2}.project-menu-note{color:var(--muted);margin:0;font-size:.75rem;line-height:1.4}.project-menu-group .project-menu-sub{align-items:center}.project-menu-group .project-menu-sub.active{color:var(--blue);background:#eef4ff}.project-menu-chevron{color:var(--muted);margin-left:auto;font-size:1.15rem;line-height:1}.projects-panel{z-index:45;background:#fff;border:1px solid #e2e8f0;border-radius:14px;flex-direction:column;gap:.35rem;width:min(22rem,100vw - 2rem);max-height:calc(100dvh - 7rem);padding:.45rem .5rem .55rem;display:flex;position:absolute;top:calc(100% + .45rem);right:calc(min(19rem,100vw - 2rem) + .5rem);overflow-y:auto;box-shadow:0 18px 44px #0f172a2e}.projects-head{align-items:center;gap:.35rem;padding:.1rem .1rem .25rem;display:flex}.projects-head h3{color:var(--navy);flex:1;margin:0;font-size:.95rem;font-weight:800}.projects-back{color:var(--navy);cursor:pointer;background:0 0;border:0;border-radius:8px;width:2rem;height:2rem;font-size:1.4rem;line-height:1;display:none}.projects-back:hover{background:#eef4ff}.projects-icon{color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:8px;flex:none;justify-content:center;align-items:center;width:1.9rem;height:1.9rem;display:inline-flex}.projects-icon:hover:not(:disabled),.projects-icon[aria-expanded=true]{color:var(--blue);background:#eef4ff}.projects-icon.grouped{color:var(--blue)}.projects-icon.danger:hover:not(:disabled){color:#b91c1c;background:#fee2e2}.projects-icon:disabled{cursor:not-allowed;opacity:.4}.projects-note{padding:0 .3rem}.projects-create{padding:0 .1rem}.projects-text-button{color:var(--navy);cursor:pointer;background:0 0;border:1px solid #cbd5e1;border-radius:8px;min-height:2rem;padding:0 .65rem;font-size:.82rem;font-weight:700}.projects-text-button:hover:not(:disabled){border-color:var(--blue);color:var(--blue);background:#eef4ff}.projects-text-button.strong{background:var(--blue);border-color:var(--blue);color:#fff}.projects-text-button.strong:hover:not(:disabled){color:#fff;background:#1d4ed8}.projects-text-button:disabled{cursor:not-allowed;opacity:.45}.projects-name-form{flex:1;align-items:center;gap:.3rem;min-width:0;display:flex}.projects-name-form input{font:inherit;border:1px solid #cbd5e1;border-radius:8px;outline:none;flex:1;min-width:0;min-height:2rem;padding:0 .5rem;font-size:.85rem}.projects-name-form input:focus{border-color:var(--blue);box-shadow:0 0 0 3px #2563eb29}.projects-list{flex-direction:column;gap:.3rem;display:flex}.projects-list ul{flex-direction:column;gap:.15rem;margin:0;padding:0;list-style:none;display:flex}.projects-group{border-top:1px solid #eef2f7;padding-top:.25rem}.projects-group:first-child{border-top:0}.projects-group>ul{padding-left:.55rem}.projects-group-head{align-items:center;gap:.15rem;min-height:2.2rem;display:flex}.projects-group-toggle{color:var(--navy);cursor:pointer;text-align:left;background:0 0;border:0;border-radius:8px;flex:1;align-items:center;gap:.4rem;min-width:0;min-height:2rem;padding:0 .35rem;font-size:.85rem;font-weight:700;display:flex}.projects-group-toggle:hover{background:#f1f5f9}.projects-group-toggle svg{color:var(--blue);flex:none}.projects-caret{color:var(--muted);flex:none;width:.7rem;font-size:1rem;transition:transform .15s;display:inline-block}.projects-caret.open{transform:rotate(90deg)}.projects-group-name{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.projects-group-count{color:var(--muted);background:#eef2f7;border-radius:999px;flex:none;padding:.05rem .45rem;font-size:.7rem;font-weight:700}.projects-empty{padding:.1rem .5rem .35rem 1.6rem}.projects-list li.current .project-recent-open{opacity:1;background:#eef4ff}.projects-list li.current .project-recent-open:disabled{cursor:default}.projects-row{align-items:center;gap:.15rem;display:flex}.projects-badge{background:var(--blue);color:#fff;border-radius:999px;margin-right:.35rem;padding:.05rem .4rem;font-size:.66rem;font-weight:700}.projects-picker{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;flex-direction:column;gap:.1rem;margin:.15rem 0 .35rem 3.9rem;padding:.3rem;display:flex}.projects-picker button{color:var(--navy);cursor:pointer;text-align:left;background:0 0;border:0;border-radius:7px;align-items:center;gap:.45rem;min-height:2rem;padding:0 .45rem;font-size:.82rem;font-weight:600;display:flex}.projects-picker button:hover{background:#eef4ff}.projects-picker button[aria-pressed=true]{color:var(--blue);background:#dbeafe}.projects-picker button svg{color:var(--blue);flex:none}.projects-picker-none{border:1.5px dashed #94a3b8;border-radius:4px;flex:none;width:1rem;height:.8rem}@media (max-width:760px){.project-menu.projects-open .project-menu-panel{display:none}.projects-panel{width:min(21rem,100vw - 2rem);right:0}.projects-back{display:inline-block}}@media (hover:none){.project-menu-group kbd{display:none}}.step-base{color:var(--muted);margin:0 0 .4rem;font-size:.78rem}.piece-panel,.piece-hint{z-index:5;background:#fffffff2;border:1px solid #cbd5e1;border-radius:12px;position:absolute;top:3.5rem;left:.75rem;box-shadow:0 8px 22px #0f172a1f}.piece-hint{color:var(--navy);margin:0;padding:.45rem .7rem;font-size:.8rem;font-weight:600}.piece-panel{flex-direction:column;gap:.4rem;width:min(17.5rem,100% - 1.5rem);padding:.55rem .6rem;display:flex}.piece-panel-head{justify-content:space-between;align-items:center;display:flex}.piece-panel-title{color:var(--navy);font-size:.85rem;font-weight:800}.piece-row{grid-template-columns:4.4rem repeat(3,minmax(0,1fr));align-items:center;gap:.3rem;display:grid}.piece-row span{color:var(--muted);font-size:.72rem;font-weight:700}.piece-row input{font:inherit;border:1px solid #cbd5e1;border-radius:7px;width:100%;min-width:0;min-height:1.9rem;padding:0 .35rem;font-size:.8rem}.piece-row input:focus{border-color:var(--blue);outline:none}.piece-actions{justify-content:flex-end;align-items:center;gap:.5rem;display:flex}.piece-actions .modeler-chip{min-height:2rem}.piece-panel-head{gap:.4rem}.piece-panel-head .modeler-segment{margin-left:auto}@media (max-width:760px){.piece-hint{top:5.6rem;left:.5rem}.piece-panel{gap:.3rem;padding:.45rem .5rem;top:auto;bottom:3.3rem;left:.5rem}.piece-row{grid-template-columns:3.6rem repeat(3,minmax(0,1fr))}.piece-actions .modeler-chip{min-height:1.9rem}}@media (pointer:coarse){.piece-row input{min-height:2.1rem;font-size:16px}}.modeler-sketch-button{align-items:center;gap:.3rem;display:inline-flex;position:relative}.sketch-layer{z-index:8;position:absolute;inset:0}.sketch-photo{background:#e2e8f0;position:absolute;inset:0}.sketch-photo img{object-fit:contain;width:100%;height:100%;display:block}.sketch-canvas{cursor:crosshair;touch-action:none;width:100%;height:100%;display:block;position:absolute;inset:0}.sketch-canvas.mark{cursor:cell}.sketch-tools{background:#fff;flex:none}.sketch-tools button{justify-content:center;align-items:center;min-width:2.4rem;display:inline-flex}.sketch-bar{align-items:center;gap:.4rem;display:flex;position:absolute;left:.75rem;right:.75rem}.sketch-bar.top{justify-content:flex-end;top:.75rem}.sketch-bar.bottom{bottom:.75rem}.sketch-title{color:#fff;background:#e11d48eb;border-radius:999px;margin-right:auto;padding:.4rem .75rem;font-size:.8rem;font-weight:800}.sketch-bar.bottom input{font:inherit;background:#fffffff2;border:1px solid #cbd5e1;border-radius:999px;outline:none;flex:1;min-width:0;min-height:2.3rem;padding:0 .9rem;font-size:.85rem}.sketch-bar.bottom input:focus{border-color:var(--blue)}.sketch-bar.bottom .modeler-chip{white-space:nowrap;min-height:2.3rem}.sketch-kept{gap:.4rem;max-width:calc(100% - 1.5rem);margin:0;padding:0;list-style:none;display:flex;position:absolute;bottom:3.6rem;left:.75rem;overflow-x:auto}.sketch-kept li{background:#fff;border:2px solid #fda4af;border-radius:8px;flex:none;width:4.2rem;height:3rem;position:relative;overflow:hidden}.sketch-kept img{object-fit:cover;width:100%;height:100%;display:block}.sketch-kept-number{color:#fff;background:#e11d48eb;border-radius:0 0 6px;padding:.15rem .3rem;font-size:.7rem;font-weight:800;line-height:1;position:absolute;top:0;left:0}.sketch-kept li.editing{border-color:#e11d48;box-shadow:0 0 0 2px #e11d4859}.sketch-kept-open{cursor:pointer;background:0 0;border:0;width:100%;height:100%;padding:0;display:block}.sketch-kept-open:disabled{cursor:default;opacity:1}.sketch-kept-remove{color:#fff;cursor:pointer;background:#0f172ab3;border:0;border-radius:0 0 0 6px;padding:.2rem .3rem;font-size:.7rem;line-height:1;position:absolute;top:0;right:0}.sketch-layer.has-kept .sketch-blocked,.sketch-layer.has-kept .sketch-mic-error{bottom:7rem}.modeler-sketch-badge{color:#fff;text-align:center;background:#e11d48;border-radius:999px;min-width:1rem;padding:.15rem .3rem;font-size:.66rem;font-weight:800;line-height:1;position:absolute;top:-.25rem;right:-.25rem}.sketch-blocked{color:#be123c;cursor:pointer;white-space:nowrap;background:#fff1f2;border:1px solid #fecdd3;border-radius:999px;padding:.35rem .8rem;font-size:.78rem;font-weight:700;position:absolute;bottom:3.6rem;left:50%;transform:translate(-50%)}@media (max-width:760px){.sketch-title{padding:.4rem .55rem;font-size:0}.sketch-title span{font-size:.85rem}.sketch-bar{left:.5rem;right:.5rem}.sketch-bar.top{top:.5rem}.sketch-bar.bottom{bottom:.5rem}}@media (max-width:480px){.sketch-bar.top{flex-wrap:wrap;gap:.3rem}.sketch-tools button{min-width:2rem;padding-inline:.3rem}.sketch-bar.top .modeler-chip{padding-inline:.6rem}}.modeler-viewport{container-type:inline-size}.view-more{display:flex;position:relative}.view-more-button{display:none}.view-popover{z-index:6;background:#fffffff5;border:1px solid #cbd5e1;border-radius:12px;grid-template-columns:repeat(3,auto);gap:.3rem;padding:.4rem;display:grid;position:absolute;bottom:calc(100% + .4rem);left:0;box-shadow:0 10px 24px #0f172a26}@container (max-width:660px){.view-face{display:none}.view-more-button{align-items:center;display:inline-flex}}.objects-panel{flex-direction:column;gap:.6rem;display:flex}.objects-hint,.objects-note,.objects-empty{color:var(--muted);margin:0;font-size:.8rem}.objects-head{justify-content:space-between;align-items:center;font-size:.85rem;display:flex}.objects-bulk{gap:.5rem;display:flex}.objects-list{gap:.35rem;margin:0;padding:0;list-style:none;display:grid}.objects-row{background:#fff;border:1px solid #e2e8f0;border-radius:10px;align-items:center;gap:.25rem;padding:.25rem;display:flex}.objects-row.active{border-color:var(--blue);box-shadow:0 0 0 2px #2563eb26}.objects-row.hidden .objects-name{opacity:.5}.objects-toggle{color:var(--navy);cursor:pointer;background:0 0;border:0;border-radius:8px;flex:none;justify-content:center;align-items:center;width:2.2rem;height:2.2rem;display:inline-flex}.objects-toggle[aria-pressed=true]{color:#92400e;background:#fef3c7}.objects-toggle:disabled{cursor:default;opacity:.5}.objects-name{cursor:pointer;text-align:left;background:0 0;border:0;flex:1;gap:.05rem;min-width:0;padding:.2rem .4rem;display:grid}.objects-name:disabled{cursor:default}.objects-rename{color:var(--muted);opacity:.75}.objects-rename:hover:not(:disabled){color:var(--navy);opacity:1;background:#eef2f8}.objects-name.editing{cursor:default}.objects-name-input{border:1px solid var(--blue);color:var(--navy);font:inherit;background:#fff;border-radius:7px;outline:none;width:100%;min-width:0;min-height:2rem;padding:0 .5rem;font-size:.88rem;font-weight:700;box-shadow:0 0 0 3px #2563eb29}@media (pointer:coarse){.objects-name-input{font-size:16px}}.objects-name strong{font-size:.88rem}.objects-name small{color:var(--muted);font-size:.74rem}.step.read-only .step-head{cursor:default;opacity:.5}.step-tag{color:var(--muted);background:#e2e8f0;border-radius:999px;flex:none;padding:.05rem .45rem;font-size:.68rem;font-weight:700}.step-focus{color:var(--navy);background:#eff6ff;border:1px solid #bfdbfe;border-radius:10px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.4rem;margin:0 0 .5rem;padding:.45rem .6rem;font-size:.8rem;display:flex}@media (min-width:761px){.modeler-toolbar:not(.top):not(.right){gap:.3rem}.modeler-toolbar:not(.top):not(.right)>.modeler-chip,.modeler-toolbar:not(.top):not(.right) .view-more-button{padding:0 .72rem}}.section-bar,.assembly-bar{color:var(--navy);background:#fffffff2;border:1px solid #cbd5e1;border-radius:999px;flex-wrap:wrap;align-items:center;gap:.3rem .8rem;margin:0;padding:.35rem .8rem;font-size:.8rem;font-weight:600;display:flex;box-shadow:0 4px 12px #0f172a1a}.assembly-bar-title{font-weight:700}.assembly-result{flex-direction:column;gap:.2rem;width:min(24rem,100% - 1.5rem);display:flex}.assembly-result p{margin:0}.assembly-start{flex-direction:column;gap:.4rem;width:min(22rem,100% - 1.5rem);display:flex}.assembly-start p{margin:0}.assembly-start-head{justify-content:space-between;align-items:center;gap:.6rem;display:flex}.assembly-start-title{font-size:.85rem;font-weight:700}.assembly-start-help{color:#475569;font-weight:500}.assembly-start-choices{flex-direction:column;gap:.4rem;display:flex}.assembly-choice{color:var(--navy);cursor:pointer;font:inherit;text-align:left;background:#fff;border:1px solid #cbd5e1;border-radius:10px;flex-direction:column;gap:.15rem;padding:.5rem .7rem;display:flex}.assembly-choice:hover{background:#eff6ff;border-color:#93c5fd}.assembly-choice span{color:#475569;font-weight:500}.assembly-start-list{border:1px solid #e2e8f0;border-radius:10px;max-height:11rem;margin:0;padding:.2rem;list-style:none;overflow-y:auto}.assembly-start-row{cursor:pointer;border-radius:7px;align-items:center;gap:.45rem;padding:.25rem .35rem;display:flex}.assembly-start-row.nested{padding-left:1.4rem;font-weight:500}.assembly-start-row:hover{background:#f1f5f9}.assembly-start-name{overflow-wrap:anywhere;flex:1;min-width:0}.assembly-start-count{color:#64748b;flex:none;font-weight:500}.assembly-start-note{flex-direction:column;gap:.25rem;display:flex}.assembly-start-note-row{align-items:center;gap:.3rem;display:flex}.assembly-start-note input{font:inherit;border:1px solid #cbd5e1;border-radius:9px;outline:none;flex:1;min-width:0;min-height:2.2rem;padding:0 .6rem;font-weight:500}.sketch-blocked.assembly-start-blocked{text-align:left;white-space:normal;position:static;bottom:auto;left:auto;transform:none}@media (max-width:760px){.assembly-on .piece-hint,.assembly-on .piece-panel{top:6.2rem}}.assembly-found{color:#be123c;font-weight:700}.assembly-clear{color:#15803d;font-weight:700}.assembly-pairs{flex-direction:column;gap:.15rem;max-height:9.5rem;margin:.2rem 0 0;padding:0;list-style:none;display:flex;overflow-y:auto}.assembly-pair{color:inherit;cursor:pointer;font:inherit;text-align:left;background:0 0;border:0;border-radius:8px;justify-content:space-between;align-items:baseline;gap:.6rem;width:100%;padding:.2rem .4rem;display:flex}.assembly-pair:hover:not(:disabled){background:#fff1f2}.assembly-pair-names{overflow-wrap:anywhere;min-width:0}.assembly-pair-volume{color:#be123c;font-variant-numeric:tabular-nums;flex:none;font-weight:700}.key-sync{border-top:1px solid #e2e8f0;flex-direction:column;gap:.5rem;padding-top:.8rem;display:flex}.key-sync h3{color:var(--navy);margin:0;font-size:.9rem}.key-sync input,.ai-unlock input{font:inherit;border:1px solid #cbd5e1;border-radius:9px;outline:none;min-width:0;min-height:2.6rem;padding:0 .7rem;font-size:.9rem}.key-sync input:focus,.ai-unlock input:focus{border-color:var(--blue);box-shadow:0 0 0 3px #2563eb29}.key-sync>.modeler-chip{align-self:flex-start;min-height:2.4rem}.key-sync-status{color:#047857;margin:0;font-size:.85rem;font-weight:700}.key-sync-ok{color:#047857;background:#ecfdf5;border-radius:8px;margin:0;padding:.45rem .6rem;font-size:.82rem}.key-sync-actions{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.6rem;display:flex}.key-sync-actions .modeler-chip{min-height:2.4rem}.ai-unlock{flex-direction:column;gap:.5rem;display:flex}.ai-unlock p{margin:0}.ai-unlock-row{gap:.4rem;display:flex}.ai-unlock-row input{flex:1}.ai-unlock-row .modeler-chip{min-height:2.6rem}.ai-unlock-error{color:#b91c1c;font-weight:700}.ai-own-key{flex-direction:column;gap:.55rem;padding:0 .1rem;display:flex}.ai-usage-meter.full span{background:#dc2626}.ai-intro-actions{flex-wrap:wrap;justify-content:center;align-items:center;gap:.5rem .8rem;display:flex}.ai-questions{background:#eff6ff;border:1px solid #bfdbfe;border-radius:12px;gap:.6rem;padding:.7rem .75rem;display:grid}.ai-questions fieldset{border:0;gap:.4rem;min-width:0;margin:0;padding:0;display:grid}.ai-questions legend{color:var(--navy);margin-bottom:.35rem;padding:0;font-size:.86rem;font-weight:700;line-height:1.45}.ai-question-options{flex-wrap:wrap;gap:.35rem;display:flex}.ai-question-input{font:inherit;border:1px solid #cbd5e1;border-radius:9px;width:100%;min-width:0;padding:.4rem .55rem;font-size:.85rem}.ai-question-input:focus{border-color:var(--blue);outline:none;box-shadow:0 0 0 3px #2563eb29}.ai-questions-send{justify-self:end}.ai-questions.answered{opacity:.8;background:#f8fafc;border-color:#e2e8f0}.ai-questions-done{color:var(--muted);margin:0;font-size:.76rem}.ai-proposal{background:#f5f3ff;border:1px solid #ddd6fe;border-radius:12px;gap:.55rem;padding:.7rem .75rem;display:grid}.ai-proposal-heading{color:#5b21b6;letter-spacing:.02em;margin:0;font-size:.76rem;font-weight:800}.ai-proposal-options{gap:.4rem;margin:0;padding:0;list-style:none;display:grid}.ai-proposal-options li{background:#fff;border:1px solid #e9e5fb;border-radius:10px;align-items:flex-start;gap:.55rem;padding:.5rem .6rem;display:flex}.ai-proposal-options li.picked{border-color:#7c3aed;box-shadow:0 0 0 2px #7c3aed2e}.ai-proposal-number{color:#fff;background:#7c3aed;border-radius:999px;flex:none;justify-content:center;align-items:center;width:1.45rem;height:1.45rem;font-size:.78rem;font-weight:800;display:inline-flex}.ai-proposal-text{gap:.15rem;min-width:0;display:grid}.ai-proposal-text strong{color:var(--navy);font-size:.86rem}.ai-proposal-text span{color:#334155;font-size:.8rem;line-height:1.45}.ai-proposal-actions{flex-wrap:wrap;gap:.35rem;display:flex}.ai-proposal-actions .ai-proposal-pick{min-width:2.4rem}.ai-proposal-change{flex-wrap:wrap;align-items:center;gap:.35rem;display:flex}.ai-proposal-change .ai-question-input{flex:12rem;width:auto}.ai-proposal-change .mic-button{width:2.2rem;height:2.2rem}.ai-proposal.answered{opacity:.85;background:#f8fafc;border-color:#e2e8f0}.ai-attachment.dxf{background:#fff;width:5.5rem}.ai-attachment.dxf img{object-fit:contain}.ai-attachment-name{overflow-wrap:anywhere;padding:.3rem;font-size:.7rem;display:block}.ai-access{background:#fffbeb;border:1px solid #fcd34d;border-radius:12px;gap:.4rem;padding:.7rem .75rem;display:grid}.ai-access.allowed,.ai-access.denied{background:#f8fafc;border-color:#e2e8f0}.ai-access p{margin:0}.ai-access-title{color:var(--navy);font-size:.86rem;font-weight:700;line-height:1.45}.ai-access-reason,.ai-access-note,.ai-access-done{color:var(--muted);font-size:.78rem;line-height:1.45}.ai-access-actions{flex-wrap:wrap;justify-content:flex-end;gap:.4rem;display:flex}.objects-row{flex-wrap:wrap}.objects-opacity{flex:1 0 100%;align-items:center;gap:.5rem;padding:.1rem .5rem .3rem 2.6rem;display:flex}.objects-opacity span{color:var(--muted);font-size:.76rem;font-weight:700}.objects-opacity input{accent-color:var(--blue);flex:1;min-width:0}.objects-opacity output{color:var(--navy);font-variant-numeric:tabular-nums;text-align:right;min-width:2.6rem;font-size:.78rem}.objects-color-dot{border:2px solid #fff;border-radius:999px;width:1rem;height:1rem;display:block;box-shadow:0 0 0 1px #0f172a40}.objects-colors{flex-wrap:wrap;flex:1 0 100%;gap:.4rem;padding:.1rem .5rem .4rem 2.6rem;display:flex}.objects-swatch{cursor:pointer;border:2px solid #fff;border-radius:999px;width:1.7rem;height:1.7rem;padding:0;box-shadow:0 0 0 1px #0f172a40}.objects-swatch.on{box-shadow:0 0 0 2px var(--navy)}.objects-swatch:focus-visible{outline:2px solid var(--blue);outline-offset:2px}@media (max-width:480px){.objects-toggle{width:1.9rem}.objects-colors{gap:.35rem;padding-left:.3rem}.objects-swatch{width:1.75rem;height:1.75rem}}.objects-opacity-toggle.on{color:var(--blue)}.objects-delete:not(:disabled):hover{color:#b91c1c;background:#fee2e2}.piece-delete:not(:disabled):hover{color:#b91c1c}.objects-opacity input[type=range]{box-shadow:none;background:0 0;border:0;height:1.4rem;padding:0}.objects-list.tree .objects-row{margin-inline-start:calc(var(--depth,0) * .9rem)}.objects-group{background:#f8fafc}.objects-group .objects-name strong{font-weight:800}.piece-panel-head{flex-wrap:wrap}.piece-panel-title{text-overflow:ellipsis;white-space:nowrap;min-width:0;max-width:16rem;overflow:hidden}.piece-parent{min-height:2rem;padding:0 .6rem;font-size:.78rem}.objects-chevron{color:var(--muted);width:1.6rem}.objects-chevron:disabled{opacity:.3}.objects-toggle.mixed{color:#b45309;background:#fef9e7}.objects-group-count{color:var(--muted);font-weight:600}.objects-tools{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem;display:flex}.objects-grouping{color:var(--navy);background:#fff7ed;border:1px solid #fed7aa;border-radius:8px;padding:.3rem .55rem;font-size:.85rem;font-weight:600}.objects-filter{color:var(--navy);font:inherit;background:#fff;border:1px solid #cbd5e1;border-radius:8px;flex:10rem;min-width:0;min-height:2rem;padding:0 .55rem;font-size:.85rem}@media (pointer:coarse){.objects-filter{font-size:16px}}@media (max-width:480px){.objects-list.tree .objects-row{margin-inline-start:calc(var(--depth,0) * .5rem)}}.debug-badge{color:#fff;letter-spacing:.08em;pointer-events:none;z-index:10000;background:#dc2626;border-radius:0 0 6px 6px;padding:.2rem .5rem .25rem;font-size:.62rem;font-weight:800;line-height:1;position:fixed;top:0;left:50%;transform:translate(-50%);box-shadow:0 0 0 1px #ffffffb3}.debug-badge:before{content:"";background:#dc2626;width:100vw;height:2px;position:absolute;top:0;left:calc(50% - 50vw)}.ai-dialog.account-dialog{width:min(100%,34rem)}.account-section{border-top:1px solid #e2e8f0;gap:.45rem;padding-top:.75rem;display:grid}.account-section h3{color:var(--navy);margin:0;font-size:.95rem}.account-confirm{gap:.5rem;display:grid}.account-confirm input{font:inherit;border:1px solid #cbd5e1;border-radius:8px;min-width:0;min-height:2.4rem;padding:0 .75rem}.account-actions{flex-wrap:wrap;align-items:center;gap:.4rem;display:flex}.modeler-chip.danger{color:#b91c1c;border-color:#dc2626}.modeler-chip.danger.strong{color:#fff;background:#dc2626}.modeler-chip.danger:disabled{opacity:.5}.phone-photo{text-align:center;flex-direction:column;align-items:center;gap:1rem;max-width:28rem;min-height:70vh;margin:0 auto;padding:2rem 1rem;display:flex}.phone-photo-lead,.phone-photo-left{color:var(--muted);margin:0}.phone-photo-preview{object-fit:contain;border-radius:12px;max-width:100%;max-height:40vh}.phone-photo-sent{color:#15803d;margin:0;font-weight:700}.modeler-chip.phone-photo-take{width:100%;min-height:3.25rem;font-size:1.05rem}.phone-photo-actions{gap:.6rem;width:100%;display:grid}.phone-photo-preview.review{max-height:55vh}.phone-photo-rotate{gap:.75rem;display:flex}.phone-photo-rotate .modeler-chip{justify-content:center;align-items:center;min-width:4rem;min-height:3rem;padding:0;display:inline-flex}.legal-page{padding:clamp(1rem,4vw,2.5rem) 1rem 3rem}.legal-card{background:var(--surface);border-radius:20px;max-width:46rem;margin:0 auto;padding:clamp(1.25rem,5vw,2.75rem);line-height:1.7;box-shadow:0 18px 50px #0f172a14}.legal-header{justify-content:space-between;align-items:center;margin-bottom:1.5rem;display:flex}.legal-brand{color:var(--navy);align-items:center;gap:.6rem;font-weight:700;text-decoration:none;display:flex}.legal-brand .logo{border-radius:10px;width:2.4rem;height:2.4rem}.legal-switch{color:var(--navy);border:1px solid #cbd5e1;border-radius:999px;padding:.3rem .85rem;font-size:.85rem;text-decoration:none}.legal-card h1{letter-spacing:-.02em;margin-bottom:.25rem;font-size:clamp(1.5rem,5vw,2rem)}.legal-effective{color:var(--muted);font-size:.9rem}.legal-card h2{margin:1.75rem 0 .5rem;font-size:1.1rem}.legal-card p,.legal-card li{color:#334155;overflow-wrap:anywhere}.legal-card p{margin:0 0 .75rem}.legal-card ul{margin:0 0 1rem;padding-left:1.4rem;list-style:outside}.legal-card li+li{margin-top:.35rem}.legal-card a{color:var(--blue)}.legal-card .legal-brand,.legal-card .legal-switch{color:var(--navy)}.home-legal{text-align:center;margin:.75rem 0 0;font-size:.8rem}.home-legal a{color:var(--muted)}.admin-page{gap:1rem;max-width:72rem;margin:0 auto;padding:1.5rem 1rem 3rem;display:grid}.admin-header{gap:.75rem;display:grid}.admin-header h1{color:var(--navy);margin:0;font-size:1.4rem}.admin-tabs{flex-wrap:wrap;gap:.35rem;display:flex}.admin-tabs button{color:var(--navy);cursor:pointer;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:999px;padding:.35rem .8rem;font-weight:600}.admin-tabs button.active{background:var(--blue);border-color:var(--blue);color:#fff}.admin-card{background:#fff;border:1px solid #e2e8f0;border-radius:14px;align-content:start;gap:.6rem;min-width:0;padding:1rem;display:grid}.admin-card h2{color:var(--navy);margin:0;font-size:1rem}.admin-grid{grid-template-columns:repeat(auto-fit,minmax(16rem,1fr));gap:1rem;display:grid}.admin-table{border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%;font-size:.85rem;display:block;overflow-x:auto}.admin-table th,.admin-table td{text-align:left;white-space:nowrap;border-bottom:1px solid #f1f5f9;padding:.35rem .5rem}.admin-table .negative,.admin-facts .negative{color:#b91c1c}.admin-facts{font-variant-numeric:tabular-nums;grid-template-columns:auto 1fr;gap:.25rem .75rem;margin:0;font-size:.88rem;display:grid}.admin-facts dt{color:#64748b}.admin-facts dd{text-align:right;margin:0}.admin-bar.total{border-top:1px solid #e2e8f0;padding-top:.35rem;font-weight:700}.admin-bar-track.negative span{background:#ef4444}.admin-note{color:#64748b;margin:0;font-size:.8rem}.admin-search,.admin-actions{flex-wrap:wrap;align-items:end;gap:.5rem;display:flex}.admin-search input{flex:1;min-width:12rem}.admin-actions label,.admin-field{gap:.2rem;font-size:.8rem;display:grid}.admin-page input,.admin-page select{border:1px solid #cbd5e1;border-radius:8px;padding:.4rem .55rem}.admin-list{gap:.4rem;margin:0;padding:0;font-size:.85rem;list-style:none;display:grid}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}
