/* ENTRA V19.4 — browser-only 2D preliminary layout planner */
.lp-section{overflow:hidden}.lp-heading-row{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:24px}.lp-scale-control{display:flex;align-items:center;gap:10px;color:#53647f;font-size:12px;font-weight:800}.lp-scale-control select{min-height:40px;padding:0 12px;border:1px solid #d7e0eb;border-radius:9px;background:#fff;color:#173260;font-weight:700}.lp-workspace{display:grid;grid-template-columns:minmax(220px,280px) minmax(0,1fr);gap:16px;align-items:stretch}.lp-toolbox,.lp-stage-wrap{background:#fff;border:1px solid #dfe6ee;border-radius:16px;box-shadow:0 12px 32px #0c23400c}.lp-toolbox{padding:18px}.lp-toolbox>h3{margin:0;color:#142744;font-size:17px;font-weight:900}.lp-toolbox>p{margin:5px 0 16px;color:#71819a;font-size:12px;line-height:1.5}.lp-add-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.lp-add-grid button{min-height:88px;padding:11px 8px;border:1px solid #e1e8f0;border-radius:10px;background:#f9fbfd;color:#203454;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:9px;cursor:pointer;transition:border-color .18s,transform .18s,background .18s}.lp-add-grid button:hover{border-color:#f36e21;background:#fff8f3;transform:translateY(-2px)}.lp-add-grid b{font-size:11px;line-height:1.25;text-align:center}.lp-symbol{position:relative;display:block;width:43px;height:22px;border:2px solid #24456b;border-radius:4px;background:#dce9f5}.lp-symbol--roller{background:repeating-linear-gradient(90deg,#dce9f5 0 5px,#6586a8 5px 7px)}.lp-symbol--curve{border-radius:0 18px 0 0;border-top:3px solid #24456b;border-right:3px solid #24456b;border-bottom:0;border-left:0;background:transparent;width:34px;height:26px}.lp-symbol--machine{width:34px;height:30px;background:#fff0e6;border-color:#d65b19}.lp-symbol--transfer{width:28px;height:28px;transform:rotate(45deg);background:#f4f0ff;border-color:#7554a6}.lp-symbol--pallet{width:39px;height:24px;border:2px dashed #8b6325;background:#fff3d7}.lp-selection{margin-top:17px;padding:13px;border-radius:10px;background:#f4f7fa;min-height:110px}.lp-selection-kicker{display:block;color:#8a98aa;font-size:9px;font-weight:900;letter-spacing:.1em}.lp-selection strong{display:block;margin:5px 0 10px;color:#203454;font-size:12px}.lp-selection-actions{display:flex;flex-wrap:wrap;gap:6px}.lp-selection-actions button,.lp-toolbar button,.lp-exports button{min-height:31px;padding:0 9px;border:1px solid #d7e0eb;border-radius:7px;background:#fff;color:#314967;font-size:10px;font-weight:800;cursor:pointer}.lp-selection-actions button:disabled,.lp-toolbar button:disabled{opacity:.4;cursor:not-allowed}.lp-selection-actions button:hover,.lp-toolbar button:hover,.lp-exports button:hover{border-color:#f36e21;color:#c95212}.lp-toolbar{display:flex;gap:7px;margin-top:11px}.lp-toolbar button{flex:1}.lp-exports{display:grid;gap:8px;margin-top:13px}.lp-exports button{min-height:38px}.lp-exports .lp-export-primary{border-color:#f36e21;background:#f36e21;color:#fff}.lp-exports .lp-export-primary:hover{background:#d95c16;color:#fff}.lp-stage-wrap{min-width:0;padding:12px}.lp-stage-toolbar{display:flex;justify-content:space-between;gap:12px;padding:2px 4px 10px;color:#71819a;font-size:10px;font-weight:700}.lp-stage-toolbar #lpStatus{color:#c95212}.lp-canvas{display:block;width:100%;height:auto;max-height:680px;aspect-ratio:1000/650;border:1px solid #dce4ed;border-radius:10px;touch-action:none;user-select:none}.lp-object{cursor:grab;outline:none}.lp-object:active{cursor:grabbing}.lp-object.is-selected .lp-shape{stroke:#f36e21!important;stroke-width:4!important}.lp-object:focus-visible .lp-shape{stroke:#f36e21!important;stroke-width:4!important}.lp-object text{pointer-events:none;font-family:Inter,Arial,sans-serif;font-size:13px;font-weight:800;fill:#173260;text-anchor:middle}.lp-object .lp-subtext{font-size:10px;font-weight:650;fill:#53647f}.lp-stage-legend{display:flex;align-items:center;flex-wrap:wrap;gap:13px;padding:11px 4px 1px;color:#71819a;font-size:10px;font-weight:700}.lp-stage-legend span{display:inline-flex;align-items:center;gap:6px}.lp-stage-legend i{display:inline-block;width:14px;height:9px;border:1px solid #24456b;border-radius:2px;background:#dce9f5}.lp-stage-legend .lp-legend-machine{background:#fff0e6;border-color:#d65b19}.lp-stage-legend .lp-legend-transfer{background:#f4f0ff;border-color:#7554a6}.lp-stage-legend #lpCount{margin-inline-start:auto;color:#314967}.lp-bottom-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:16px;margin-top:18px}.lp-note,.lp-share{padding:19px;border-radius:13px}.lp-note{border:1px solid #f3d1b9;background:#fff8f3}.lp-note b{color:#a9430c;font-size:13px}.lp-note p,.lp-share p{margin:7px 0 0;color:#596b83;font-size:12px;line-height:1.65}.lp-share{border:1px solid #dfe6ee;background:#f8fafc}.lp-share h3{margin:0;color:#173260;font-size:15px;font-weight:900}.lp-share .ds-btn{margin-top:12px}.lp-share .ds-btn:focus-visible,.lp-add-grid button:focus-visible,.lp-toolbar button:focus-visible,.lp-exports button:focus-visible,.lp-selection-actions button:focus-visible{outline:3px solid #f6a36f;outline-offset:2px}
@media(max-width:900px){.lp-workspace{grid-template-columns:1fr}.lp-toolbox{order:2}.lp-stage-wrap{order:1}.lp-add-grid{grid-template-columns:repeat(3,1fr)}.lp-selection{min-height:0}.lp-bottom-grid{grid-template-columns:1fr}}
@media(max-width:560px){.lp-heading-row{align-items:start;flex-direction:column}.lp-add-grid{grid-template-columns:repeat(2,1fr)}.lp-stage-wrap{padding:7px}.lp-stage-toolbar{font-size:9px}.lp-stage-legend{gap:8px;font-size:9px}.lp-bottom-grid{gap:10px}.lp-note,.lp-share{padding:15px}}
@media(prefers-reduced-motion:reduce){.lp-add-grid button{transition:none}}
