html{scroll-behavior:smooth;scroll-padding-top:64px}[id=about],[id=faq]{scroll-margin-top:64px}.back-to-top{position:fixed;right:max(16px,env(safe-area-inset-right,0px));bottom:calc(18px + env(safe-area-inset-bottom,0px));z-index:30;display:grid;width:44px;height:44px;place-items:center;padding:0;border:1px solid var(--line);border-radius:50%;background:#fff;color:var(--navy);box-shadow:var(--shadow-float);cursor:pointer;transition:background-color .15s,color .15s}.back-to-top:hover{background:#eef2f6}.back-to-top svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}.back-to-top[hidden]{display:none}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}@media(max-width:520px){.back-to-top{right:max(12px,env(safe-area-inset-right,0px));bottom:calc(14px + env(safe-area-inset-bottom,0px));width:42px;height:42px}}html.viewer-embedded .back-to-top{display:none!important}:root{--font-sans:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;--font-mono:"JetBrains Mono",ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;--ink:#0b1220;--ink-2:#2b3647;--muted:#3a4658;--subtle:#5a6576;--navy:#0b2b50;--navy-hover:#123a68;--navy-active:#081f3a;--blue:#1565c0;--blue-soft:#d6e4f7;--cyan:#22b5e6;--page:#e6eaf0;--surface:#fff;--surface-2:#f1f4f8;--viewport:#dfe4ea;--line:#aeb8c6;--line-soft:#d5dce5;--line-faint:#e3e8ee;--open-edge:#d97706;--open-edge-ink:#92400e;--open-edge-bg:#fff4e0;--non-manifold:#be185d;--non-manifold-ink:#9d174d;--self-intersect:#6d28d9;--self-intersect-ink:#5b21b6;--ok:#15803d;--ok-ink:#166534;--ok-bg:#ecfdf3;--error:#b42318;--error-bg:#fef3f2;--radius:10px;--radius-sm:6px;--shadow-float:0 2px 8px rgba(11,18,32,.1);--ui-primary:var(--navy);--ui-primary-hover:var(--navy-hover);--ui-primary-active:var(--navy-active);--ui-active:var(--blue);--ui-hover-bg:#e8eef6;--ui-active-bg:var(--blue-soft);--ui-focus:var(--blue);--ui-text:var(--ink);--ui-secondary:var(--muted);--ui-border:var(--line);--ui-page:var(--page);--ui-panel:var(--surface);font-family:var(--font-sans);color:var(--ink);background:var(--page);line-height:1.45;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}body{margin:0;background:var(--page);color:var(--ink)}a{color:inherit;text-decoration:none}hr{border:0;border-top:1px solid var(--line-soft);margin:16px 0}h3{font-size:13px;margin:0 0 10px}.eyebrow{font-size:11px;letter-spacing:.12em;color:var(--blue);font-weight:800;margin:0 0 8px}.mono,.num{font-family:var(--font-mono)}.site-header{position:sticky;top:0;z-index:20;height:52px;display:flex;align-items:center;gap:16px;padding:0 16px;background:var(--surface);border-bottom:1px solid var(--line)}.site-header .brand{display:inline-flex;align-items:center;gap:8px;color:var(--ink);flex:0 0 auto}.site-header .brand-mark{display:block;width:28px;height:28px}.site-header .brand-name{font-size:18px;font-weight:800;letter-spacing:-.03em}.site-header .brand-pad{font-weight:600;color:var(--blue)}.site-header .site-title{margin:0;padding-left:14px;border-left:1px solid var(--line-soft);font-size:14px;font-weight:600;letter-spacing:0;color:var(--muted);white-space:nowrap}.mode-nav{display:inline-flex;gap:2px;padding:3px;background:#dde3ea;border-radius:8px}.mode-nav a{display:inline-flex;align-items:center;height:30px;padding:0 14px;border-radius:var(--radius-sm);font-size:13px;font-weight:600;color:var(--ink-2);transition:background .15s,color .15s}.mode-nav a:hover{background:#eef2f6;color:var(--ink)}.mode-nav a.active{background:var(--navy);color:#fff}.header-spacer{flex:1 1 auto}.aux-nav{display:flex;gap:4px}.aux-nav a{display:inline-flex;align-items:center;height:30px;padding:0 10px;border-radius:var(--radius-sm);font-size:13px;font-weight:600;color:var(--ink-2)}.aux-nav a:hover{background:#eef2f6;color:var(--ink)}.aux-nav a.active{background:var(--blue-soft);color:var(--navy)}.local-badge{display:inline-flex;align-items:center;gap:6px;height:28px;padding:0 10px;border:1px solid var(--line);border-radius:var(--radius-sm);background:#eef2f6;color:var(--ink-2);font-size:12px;font-weight:600;white-space:nowrap}.local-badge svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}@media(max-width:1100px){.site-header .site-title,.local-badge{display:none}}@media(max-width:640px){.site-header{gap:8px;padding:0 10px}.site-header .brand-name{display:none}.mode-nav{margin-left:auto}.mode-nav a{height:36px;padding:0 12px}.header-spacer{display:none}.aux-nav a:last-child{display:none}.aux-nav a{height:36px;padding:0 8px}}@media(max-width:360px){.aux-nav{display:none}}.site-footer{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;max-width:1440px;margin:0 auto;padding:16px;border-top:1px solid var(--line-soft);color:var(--muted);font-size:12px}.site-footer nav{display:flex;gap:14px}.site-footer a{color:var(--ink-2);font-weight:600}.site-footer a:hover{color:var(--blue);text-decoration:underline}.intro{max-width:1440px;margin:auto;padding:40px 16px 20px}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 340px;min-height:650px;margin:0 16px}.viewer-column{min-width:0;position:relative}.viewer-toolbar{display:flex;gap:2px;flex-wrap:wrap;align-items:center}.viewer-toolbar button,.open-button{font:inherit;font-size:13px;cursor:pointer}.open-button input{display:none}.canvas{height:560px}.dropzone{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;pointer-events:auto;text-align:center}.drop-icon{font-size:56px}.dropzone h2{margin:6px 0}.dropzone small{font-size:12px}.status{padding:8px 12px;font-size:12px}.analysis{padding:16px;overflow:auto}.panel-title{display:flex;justify-content:space-between;gap:12px;font-size:11px;letter-spacing:.08em;font-weight:800}.panel-title span:last-child{text-transform:none;letter-spacing:0;font-weight:600;max-width:160px;overflow:hidden;text-overflow:ellipsis}.unit-note,.muted{font-size:12px;color:var(--muted);margin:14px 0 8px}.segmented{display:flex;margin-bottom:16px}.segmented button{flex:1;padding:6px 3px;font-size:12px;cursor:pointer}.stat{display:flex;justify-content:space-between;gap:12px;padding:6px 0;font-size:13px}.stat strong{text-align:right}.stat.large{display:block;padding-bottom:10px}.stat.large strong{display:block;font-size:22px;margin-top:4px}.health{display:flex;gap:8px;align-items:center;margin:12px 0;font-size:13px}.health-dot{height:8px;width:8px;border-radius:50%;background:var(--open-edge)}.field{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:8px 0;font-size:13px}.field select,.field input{border-radius:var(--radius-sm);padding:6px;max-width:165px}.fit-result{padding:10px;border:1px solid;border-radius:var(--radius-sm);font-size:13px}.readiness{margin:24px 16px 0;padding:18px 20px;display:flex;justify-content:space-between;gap:20px;align-items:center}.readiness h2{margin:0}.content-grid{display:grid;grid-template-columns:1fr 1fr;gap:48px;padding:48px 16px}.content-grid h2{font-size:22px;margin-top:24px}@media(max-width:900px){.workspace{grid-template-columns:1fr;margin:0 10px}.canvas{height:460px}.readiness{margin:20px 10px;display:block}.content-grid{grid-template-columns:1fr;padding:32px 16px;gap:16px}}@media(max-width:520px){.canvas{height:400px}}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--blue);outline-offset:2px}html.shared-model-mode .site-header .mode-nav,html.shared-model-mode .site-header .aux-nav,html.shared-model-mode .site-header .local-badge,html.shared-model-mode .site-header .header-spacer{display:none}html.shared-model-mode .site-header .site-title{display:block}
