/* עורך שכבת הטקסט שמעל תמונה. public/layers.js */
#ly-editor { position: fixed; inset: 0; z-index: 200; background: rgba(28, 25, 38, .72); display: flex; align-items: stretch; justify-content: center; padding: 18px; }
.ly-box { background: #fff; border-radius: 16px; width: min(1180px, 100%); display: flex; flex-direction: column; overflow: hidden; }
.ly-box header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 22px; border-bottom: 1px solid var(--line); }
.ly-box header h2 { margin: 0 0 2px; font-size: 19px; } .ly-box header p { margin: 0; color: #736c7d; font-size: 13px; }
.ly-head-acts { display: inline-flex; align-items: center; gap: 8px; flex: none; }
.ly-err { color: #b3402a; font-size: 13px; }
.ly-main { display: grid; grid-template-columns: minmax(0, 1fr) 300px; min-height: 0; flex: 1; }
.ly-stage { background: #f1eff5; display: flex; align-items: center; justify-content: center; padding: 18px; min-height: 0; overflow: auto; }
#ly-canvas { max-width: 100%; max-height: calc(100vh - 170px); border-radius: 8px; box-shadow: 0 6px 24px rgba(0, 0, 0, .18); cursor: move; touch-action: none; }
#ly-panel { padding: 16px 18px; overflow: auto; border-inline-start: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.ly-list { display: grid; gap: 6px; }
.ly-row { text-align: start; border: 1px solid var(--line); background: #fff; border-radius: 9px; padding: 8px 11px; font: inherit; font-size: 14px; cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ly-row.on { border-color: #8f74c9; background: #f5f0ff; }
.ly-one { display: grid; gap: 10px; padding-top: 12px; border-top: 1px solid var(--line); } .ly-one .field { margin: 0; }
.ly-sw { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.ly-dot { width: 26px; height: 26px; border-radius: 50%; border: 2px solid #d9d5e2; cursor: pointer; padding: 0; } .ly-dot.on { border-color: #7660bc; box-shadow: 0 0 0 2px #e4dcf7; }
#ly-color { width: 34px; height: 30px; padding: 0; border: 1px solid var(--line); border-radius: 6px; background: none; }
.ly-toggles { display: flex; gap: 16px; font-size: 14px; }
@media (max-width: 820px) { #ly-editor { padding: 0; } .ly-box { border-radius: 0; } .ly-main { grid-template-columns: 1fr; overflow: auto; } #ly-canvas { max-height: 48vh; } #ly-panel { border-inline-start: 0; border-top: 1px solid var(--line); } .ly-box header { flex-direction: column; align-items: stretch; } }
.ly-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; } .ly-row small { flex: none; font-size: 11px; color: #a4542f; background: #fff0e9; border-radius: 999px; padding: 1px 7px; }
#ly-mark.primary { color: #fff; }
.ly-smart { margin: 0; font-size: 13px; color: #4a4356; background: #f5f0ff; border-radius: 8px; padding: 7px 10px; }
.ly-toggles { flex-wrap: wrap; align-items: center; } #ly-stroke-color { width: 30px; height: 26px; padding: 0; border: 1px solid var(--line); border-radius: 6px; background: none; }
.ly-head-acts { flex-wrap: wrap; justify-content: flex-end; }
