/* Shared point workbench for the Load and Rigging editors. */
[data-lp-beam-panel][hidden] { display: none !important; }
.geometry-figure.lp-point-workbench { display: flex; flex-direction: column; padding: 0; overflow: visible; background: #fff; }
.lp-point-tools { order: 0; padding: 14px 110px 10px 16px; border-bottom: 1px solid #e4e7ec; }
.lp-tool-row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.lp-tool-row + .lp-tool-row { margin-top: 10px; }
.lp-tool-row strong { font-size: 15px; margin-right: auto; }
.lp-presets > span { color: #667085; font-size: 12px; }
.lp-point-workbench button { min-height: 40px; padding: 8px 12px; background: #fff; color: #344054; border: 1px solid #d0d5dd; border-radius: 8px; font-size: 12px; }
.lp-point-workbench button.is-active { background: #eff6ff; border-color: #175cd3; color: #175cd3; }
.lp-point-workbench button:disabled { opacity: .4; cursor: default; }
.lp-view-switch { display: flex; gap: 4px; }
.lp-svg-stage { order: 1; overflow: auto; width: 100%; min-height: 0; }
.lp-svg-stage > svg { display: block; width: calc(100% * var(--lp-zoom)); height: auto; max-height: none; aspect-ratio: 640 / 330; padding: 10px; box-sizing: border-box; }
.lp-point-inspector { order: 2; padding: 14px 16px; border-top: 1px solid #e4e7ec; background: #f8fafc; border-radius: 0 0 12px 12px; }
.lp-point-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.lp-point-coordinates { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.lp-point-coordinates label { min-width: 0; font-size: 12px; }
.lp-point-coordinates label > span { display: flex; align-items: center; gap: 6px; }
.lp-point-coordinates input { min-width: 0; width: 100%; min-height: 42px; background: #fff; }
.lp-point-coordinates small { color: #667085; font-weight: 400; font-size: 11px; }
.lp-point-inspector p { margin: 10px 0 0; font-size: 11px; color: #667085; line-height: 1.6; }
.lp-point-workbench [data-lp-drag-point].is-selected .lp-drag-ring { opacity: 1; stroke: #175cd3; stroke-dasharray: none; }
.lp-point-workbench [data-lp-drag-point]:focus { outline: none; }
.lp-point-workbench [data-lp-drag-point]:focus .lp-drag-ring { opacity: 1; }
.geometry-figure.lp-point-workbench.is-expanded { inset: 12px; padding: 0; display: flex; align-items: stretch; overflow: auto; }
.geometry-figure.lp-point-workbench.is-expanded .lp-svg-stage { flex: 1 0 250px; min-height: 250px; }
.geometry-figure.lp-point-workbench.is-expanded .lp-svg-stage > svg { width: calc(100% * var(--lp-zoom)); height: 100%; min-height: 250px; max-height: none; }
.lp-point-workbench.is-expanded .lp-point-tools, .lp-point-workbench.is-expanded .lp-point-inspector { flex-shrink: 0; }
.lp-point-workbench .diagram-expand-button { top: 14px; right: 14px; }
.editor > details { scroll-margin-top: 100px; }
.editor-actions { align-items: center; }
[data-lp-step-status] { font-size: 11px; color: #667085; }
.editor-actions .lp-more-actions { position: relative; margin: 0; padding: 0; border: 0; box-shadow: none; }
.lp-more-actions > summary { padding: 10px; font-size: 12px; }
.lp-more-actions > div { position: absolute; bottom: 45px; right: 0; display: grid; gap: 6px; width: 175px; padding: 10px; background: #fff; border: 1px solid #d0d5dd; border-radius: 12px; box-shadow: 0 8px 30px #10182822; }
@media (max-width: 767px) {
  .lp-point-tools { padding: 12px; padding-top: 56px; }
  .lp-tool-row strong { font-size: 14px; }
  .lp-point-workbench button { min-height: 44px; padding: 8px 10px; }
  .lp-point-coordinates { gap: 6px; }
  .lp-point-coordinates label { font-size: 10px; }
  .lp-point-inspector { padding: 12px; }
  .geometry-figure.lp-point-workbench.is-expanded { inset: 5px; }
  .editor-actions { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 5px; padding: 8px; bottom: env(safe-area-inset-bottom, 0px); }
  .editor-actions > button { min-width: 0; min-height: 42px; padding: 7px; font-size: 11px; }
  .editor-actions [data-lp-step-status] { display: none; }
  .editor-actions > .status { grid-column: 1 / -1; width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 10px; margin: 0; }
}
@media print {
  .lp-point-tools, .lp-point-inspector, .diagram-expand-button { display: none !important; }
  .lp-drag-hit, .lp-drag-ring { display: none !important; }
}
