:root{--bg:#f1f4f8;--panel:#fff;--canvas:#fbfcfe;--ink:#1b2430;--muted:#64748b;--line:#d9e0e8;--grid:#e6ecf2;--grid-axis:#9fb0c2;--accent:#1d5fbf;--accent-soft:#e5eefb;--on-accent:#fff;--slope:#eef3f9;--cut:#fff;--sh-full:#fff;--sh-trim:#fff6d8;--sh-short:#fde2d0;--sh-edited:#e2f4e7;--sh-stroke:#4a6585;--sh-text:#1b2430;--mono:ui-monospace, "SF Mono", Menlo, Consolas, monospace;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}@media (prefers-color-scheme:dark){:root:not([data-theme=light]){--bg:#0f141a;--panel:#171e27;--canvas:#121820;--ink:#e3e9f0;--muted:#8d9bab;--line:#2a3542;--grid:#1d2632;--grid-axis:#4b5b6e;--accent:#5b9bf0;--accent-soft:#1b2b42;--on-accent:#0b1220;--slope:#18222e;--cut:#0f141a;--sh-full:#2b4d78;--sh-trim:#6b5a22;--sh-short:#7a4426;--sh-edited:#2b6040;--sh-stroke:#8aa3c0;--sh-text:#e3e9f0;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}}:root[data-theme=dark]{--bg:#0f141a;--panel:#171e27;--canvas:#121820;--ink:#e3e9f0;--muted:#8d9bab;--line:#2a3542;--grid:#1d2632;--grid-axis:#4b5b6e;--accent:#5b9bf0;--accent-soft:#1b2b42;--on-accent:#0b1220;--slope:#18222e;--cut:#0f141a;--sh-full:#2b4d78;--sh-trim:#6b5a22;--sh-short:#7a4426;--sh-edited:#2b6040;--sh-stroke:#8aa3c0;--sh-text:#e3e9f0;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*{box-sizing:border-box}html,body{height:100%;margin:0}body{background:var(--bg);color:var(--ink);font:14px/1.4 system-ui,-apple-system,Segoe UI,Roboto,sans-serif}#app{flex-direction:column;height:100%;display:flex}button,input,select{font:inherit;color:inherit}button{background:var(--panel);border:1px solid var(--line);cursor:pointer;border-radius:6px;padding:6px 12px}button:hover:not(:disabled){border-color:var(--accent)}button:disabled{opacity:.45;cursor:default}button.primary{background:var(--accent);border-color:var(--accent);color:var(--on-accent);font-weight:600}button.ghost{background:0 0;border-color:#0000}button.ghost:hover:not(:disabled){background:var(--accent-soft)}button.small,select.small{padding:3px 8px;font-size:12px}input,select{background:var(--panel);border:1px solid var(--line);border-radius:5px;min-width:0;padding:4px 6px}input:focus,select:focus{outline:2px solid var(--accent-soft);border-color:var(--accent)}input[type=checkbox]{padding:0}h3{font-size:14px}h4{margin:0 0 8px;font-size:13px}.muted{color:var(--muted)}.spacer{flex:1}.row-btns{flex-wrap:wrap;align-items:center;gap:6px;margin:4px 0;display:flex}.field{color:var(--muted);flex-direction:column;gap:2px;font-size:12px;display:flex}.field input,.field select{color:var(--ink);font-size:14px}.check{align-items:center;gap:6px;font-size:13px;display:flex}.inline{color:var(--muted);align-items:center;gap:6px;font-size:13px;display:inline-flex}.card{background:var(--panel);border:1px solid var(--line);border-radius:8px;flex-direction:column;gap:6px;padding:10px 12px;display:flex}.card.grid2,.card.grid3{display:grid}.toolbar{flex-wrap:wrap;align-items:center;gap:10px;min-height:32px;display:flex}.work{flex:1;grid-template-columns:220px 1fr 300px;gap:12px;min-height:0;display:grid}.work>.center{flex-direction:column;gap:8px;min-width:0;min-height:0;display:flex}.work>.props{flex-direction:column;gap:10px;min-height:0;display:flex;overflow:auto}.legend{flex-wrap:wrap;gap:12px;font-size:12px;display:flex}.legend span{align-items:center;gap:4px;display:inline-flex}.legend i{border-radius:2px;width:14px;height:4px;display:inline-block}.modal-back{z-index:50;background:#0a101873;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.modal{background:var(--panel);border-radius:10px;max-width:100%;max-height:100%;padding:16px;overflow:auto;box-shadow:0 20px 60px #0000004d}.modal.wide{width:860px}.modal header{justify-content:space-between;align-items:center;margin-bottom:12px;display:flex}.modal h2{margin:0;font-size:16px}@media (width<=1000px){.work{grid-template-columns:1fr}.work>.center{min-height:60vh}}@media print{.no-print{display:none!important}body{background:#fff}main{padding:0!important;overflow:visible!important}}
