/* ===================== Πλάνο εργαστηρίου (js/labplan.js) ===================== */
/* Χρησιμοποιεί το πλαίσιο της Ζωγραφικής (.pt-*) και τις σελίδες εκτύπωσης (.pr-page, cards.css) */
.lp-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lp-tools .pt-tool { min-width: 0; }
.lp-tools .pt-tool .n { white-space: normal; text-align: center; font-size: 11px; }
.lp-canvas-box { flex: 1; min-width: 0; display: flex; align-items: center; justify-content: center; background: #cfd8dc; border-radius: 18px; box-shadow: inset 0 0 0 3px rgba(255,255,255,.7); overflow: hidden; }
.lp-svg { width: 100%; height: 100%; display: block; touch-action: none; cursor: default; user-select: none; }
.lp-svg .lp-item { cursor: move; }
.lp-svg .lp-item text { pointer-events: none; }
.lp-svg .lp-handle { cursor: nwse-resize; }
.lp-svg .lp-handle.rot { cursor: grab; }
.lp-opts { width: 250px; }
.lp-palette { max-height: calc(100% - 60px); }
.lp-palette .pt-opt.wide { gap: 8px; height: auto; min-height: 40px; padding: 4px 8px; line-height: 1.15; }
.lp-palette .pt-opt .e { font-size: 20px; flex: none; }
.lp-palette .pt-opt small { margin-left: auto; color: #90a4ae; font-size: 11px; font-weight: 600; }
.lp-dims { display: flex; gap: 6px; }
.lp-dims label { flex: 1; font-size: 12px; font-weight: 700; color: #607d8b; display: flex; flex-direction: column; gap: 2px; }
.lp-dims input { font-family: inherit; font-size: 16px; font-weight: 700; color: #37474f; width: 100%; box-sizing: border-box; padding: 4px 6px; border: 2px solid #cfd8dc; border-radius: 8px; user-select: text; -webkit-user-select: text; }
.lp-range { width: 100%; margin: 2px 0 6px; }
.lp-names { display: flex; flex-direction: column; gap: 5px; margin-bottom: 8px; }
.lp-name { font-family: inherit; font-size: 15px; font-weight: 700; color: #1a237e; width: 100%; box-sizing: border-box; padding: 6px 8px; border: 2px solid #9fa8da; border-radius: 10px; background: #e8eaf6; user-select: text; -webkit-user-select: text; }
.lp-name:focus { outline: none; border-color: #3f51b5; background: #fff; }
.pt-opt.wide small { margin-left: auto; color: #90a4ae; font-size: 12px; }
.lp-legend { display: flex; flex-direction: column; gap: 3px; font-size: 13px; font-weight: 600; color: #455a64; margin-bottom: 8px; }
.lp-legend b { color: #00897b; }
.pt-opts .pt-opt.wide .e { font-size: 20px; }

/* σελίδα εκτύπωσης */
.lp-pr .lp-pr-title { position: absolute; left: 0; right: 0; top: 3%; text-align: center; font-weight: 800; color: #37474f; }
.lp-pr .lp-pr-title small { font-weight: 600; color: #78909c; margin-left: .6em; }
.lp-pr .lp-pr-plan { position: absolute; }
.lp-pr .lp-pr-plan svg { display: block; }
.lp-pr .lp-pr-legend { position: absolute; left: 4%; right: 4%; text-align: center; color: #546e7a; font-weight: 600; line-height: 1.3; }
.pr-preview .lp-pr { font-family: inherit; }
@media print { .lp-pr .lp-pr-title, .lp-pr .lp-pr-legend { font-family: Arial, sans-serif; } }

/* κινητό: εργαλεία και πάνελ πιο στενά */
html.mobile .lp-opts { width: 170px; }
html.mobile .lp-tools { width: 110px; }
