.grating-editor {min-width:0;font-size:12px}
.grating-editor[hidden] {display:none}
.grating-table-scroll {overflow:auto;max-height:min(55vh,calc(100dvh - 300px));margin-top:8px}
.grating-editor table {border-collapse:collapse;width:100%;font:inherit}
.grating-editor caption {text-align:left;padding:8px 0}
.grating-editor th,.grating-editor td {border:1px solid var(--line,#738797);padding:8px;vertical-align:middle;text-align:center}
.grating-editor thead th {position:sticky;top:0;background:var(--panel-bg,#fff);z-index:1}
.grating-editor table[data-kind=straight] th:first-child {width:90px;min-width:75px}
.workspace-dialog .grating-editor button {font-weight:400}
.workspace-dialog .grating-editor select {width:100%;min-width:155px;height:30px;padding:4px 6px;font:inherit;font-weight:400}
.grating-editor .production-cost-confirm {display:flex;gap:8px;align-items:center;margin-top:10px}
.grating-editor .production-cost-confirm input {width:16px;height:16px;flex:0 0 16px}
body:not([data-theme=day]) .grating-editor thead th {background:#18212b}
.workspace-dialog .spiral-step-geometry {border:0;border-top:1px solid var(--line);padding:16px 0 0;margin-top:16px;border-radius:0;box-shadow:none;background:transparent}
.spiral-step-geometry .steps-setup-scroll {max-height:45vh}
