@font-face{font-family:Inter;src:url(/ui-fonts/InterVariable.woff2) format("woff2");font-weight:100 900;font-display:swap}@font-face{font-family:JetBrains Mono;src:url(/ui-fonts/JetBrainsMono-Regular.woff2) format("woff2");font-weight:400;font-display:swap}:root{--app-background:#f1f3f6;--surface-primary:#fff;--surface-secondary:#f7f8fa;--surface-hover:#e9edf3;--canvas-background:#263441;--text-primary:#253348;--text-secondary:#64748b;--text-muted:#8b97a7;--border-primary:#dde3ea;--border-secondary:#e9edf2;--accent-primary:#5278b4;--accent-hover:#41669f;--accent-light:#e8effa;--success:#39966f;--warning:#c58c45;--danger:#d46565;--accent:var(--accent-primary)}*{box-sizing:border-box}html,body,#root{margin:0;width:100%;height:100%;overflow:hidden}body{font-family:Inter,Noto Sans SC,sans-serif;color:var(--text-primary);font-size:13px}button,input,select,textarea{font:inherit}button{cursor:pointer;color:inherit;border:0;background:transparent}button:disabled{opacity:.42;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--accent-primary);outline-offset:2px}a{color:inherit;text-decoration:none}button:hover:not(:disabled){background:var(--surface-hover)}input[type=checkbox]{accent-color:var(--accent-primary)}svg{flex-shrink:0}h3{font-size:13px;font-weight:650}p{line-height:1.6}.language-control{position:relative;flex-shrink:0}.language-toggle{display:flex;align-items:center;gap:6px;padding:7px;color:inherit;max-width:150px}.language-current{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.language-popover{position:absolute;inset-inline-end:0;top:calc(100% + 8px);width:270px;background:#f8fafc;color:#263548;border:1px solid #dbe2eb;border-radius:10px;box-shadow:0 12px 35px #19273638;z-index:220;overflow:hidden;text-align:start}.language-popover header{display:flex;align-items:center;justify-content:space-between;padding:12px 14px;border-bottom:1px solid #dce3ed;gap:12px}.language-popover header button{padding:5px}.language-list{overflow-y:auto;max-height:min(480px,70dvh);padding:5px;overscroll-behavior:contain}.language-option{display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%;text-align:start;min-height:42px;padding:9px 13px;white-space:normal;font-family:Inter,system-ui,sans-serif}.language-option[aria-pressed=true]{background:#e4edfb;color:#2a62b9;border-radius:6px}.language-option:focus-visible{outline:2px solid #4c7fc7;outline-offset:-2px}.language-popover>p{padding:0 12px}.header-tools .language-current{display:none}.language-control svg{flex-shrink:0}html[dir=rtl] .brand,html[dir=rtl] .tool-details,html[dir=rtl] .inspector,html[dir=rtl] .legal-content,html[dir=rtl] .tool-dialog-body,html[dir=rtl] .tool,html[dir=rtl] .layer-detail button{text-align:start}.drawing-stage,.cad-host,.canvas-compass,.viewport-grid,.measurement-overlay,.annotation-overlay,.drawing-name,.header-filename,.mobile-header strong,.statusbar,.property-list dd,.entity strong,input[type=number],input[data-cad-input],textarea[data-cad-input],[data-source-value]{direction:ltr;unicode-bidi:isolate}html[dir=rtl] .directional-icon{transform:scaleX(-1)}html[dir=rtl] .vip-measure-panel,html[dir=rtl] .vip-annotation-panel,html[dir=rtl] .vip-cad-panel,html[dir=rtl] .vip-panel,html[dir=rtl] .command-panel,html[dir=rtl] .empty,html[dir=rtl] .loading,html[dir=rtl] .active-tool-dismiss,html[dir=rtl] .toast{direction:rtl;text-align:start}html[dir=rtl] .coords,html[dir=rtl] .command-log,html[dir=rtl] .layer-row>span,html[dir=rtl] .layout-list span,html[dir=rtl] .header-layouts,html[dir=rtl] .status-layouts{direction:ltr;unicode-bidi:isolate}.tool .tool-name,.nav-rail span,.mobile-nav span{overflow-wrap:anywhere}.tool{min-width:0}.tool span{white-space:normal;overflow-wrap:anywhere}.tool-dialog-footer{flex-wrap:wrap}.form-row label,.settings-categories button,.dialog label{overflow-wrap:anywhere}@media(max-width:640px){.language-current{display:none}.language-popover{position:fixed;left:0;right:0;bottom:0;top:auto;width:auto;border-radius:14px 14px 0 0;padding-bottom:env(safe-area-inset-bottom);box-shadow:0 -16px 55px #14233150}.language-list{max-height:65dvh}.language-option{min-height:46px;padding:11px 17px}.language-control .language-toggle{min-width:36px;min-height:36px}}.route-loading,.route-not-found{padding:48px;line-height:1.6;background:#f1f3f6;min-height:100dvh}.header-tools .language-popover button{width:auto;height:auto;min-height:42px;justify-content:space-between;border-radius:6px}.header-tools .language-popover .language-option{width:100%}.language-popover header button{flex-shrink:0}@media(max-width:600px),(max-width:900px)and (pointer:coarse){.inspector-tabs .close-inspector:after{content:attr(aria-label)}.mobile-header .language-popover button{color:#263548}.mobile-header .language-popover button[aria-pressed=true]{color:#2a62b9}}
