/* «שינוי סדר השיעורים»: entry under the orange edit button + its dialog. Nothing else on the page is restyled. */
.lm-editbar-order{display:block;width:100%;margin-top:6px;border:1px solid #f59e0b;border-radius:10px;padding:8px 12px;background:#fff7ea;color:#003a7d;font:800 14px/1.3 "Heebo",sans-serif;cursor:pointer;min-height:40px}
.lm-editbar-order:hover{background:#ffefd2}
.lo-stage{position:fixed;inset:0;z-index:2147483000;display:flex;align-items:center;justify-content:center;padding:12px;background:rgba(0,58,125,.28)}
.lo-card{display:flex;flex-direction:column;width:min(640px,100%);max-height:min(88dvh,820px);background:#fff;border-radius:18px;box-shadow:0 18px 48px rgba(0,30,80,.3);font-family:"Heebo","Rubik",sans-serif;color:#1b2559;overflow:hidden}
.lo-head{padding:16px 18px 10px;border-bottom:1px solid #dbe6fb;background:#f4f8ff}
.lo-head h2{margin:0;color:#003a7d;font-size:20px;font-weight:900}
.lo-product{margin:4px 0 2px;font-weight:800;color:#484dd2}
.lo-help{margin:4px 0 8px;font-size:13px;color:#53627a}
.lo-tools{display:flex;gap:8px;flex-wrap:wrap}
.lo-search{flex:1 1 180px;min-height:40px;border:1px solid #c9d7f2;border-radius:10px;padding:0 12px;font:600 15px "Heebo",sans-serif}
.lo-body{flex:1 1 auto;overflow-y:auto;padding:8px 12px;overscroll-behavior:contain}
.lo-branch{margin:6px 0;border:1px solid #dbe6fb;border-radius:12px;background:#fff}
.lo-branch-head{display:block;width:100%;text-align:right;border:0;background:#eef4ff;border-radius:12px;padding:10px 12px;font:800 15px "Heebo",sans-serif;color:#003a7d;cursor:pointer;min-height:42px}
.lo-branch-head::before{content:"◂ ";color:#f59e0b}
.lo-branch.is-open .lo-branch-head::before{content:"▾ "}
.lo-branch-head small{font-weight:600;color:#53627a}
.lo-list{list-style:none;margin:0;padding:6px}
.lo-row{display:flex;align-items:center;gap:8px;width:100%;text-align:right;min-height:42px;margin:3px 0;padding:6px 10px;border:1px solid #e3ebfa;border-radius:10px;background:#fff;font:600 14px/1.35 "Heebo",sans-serif;color:#1b2559;cursor:grab;touch-action:none;user-select:none;-webkit-user-select:none}
.lo-row .lo-grip{flex:0 0 auto;color:#8aa0c8;font-size:18px}
.lo-row .lo-name{flex:1 1 auto;min-width:0;overflow-wrap:anywhere}
.lo-row.is-picked{border-color:#f59e0b;background:#fff7ea;box-shadow:0 0 0 2px #f59e0b inset}
.lo-row.is-dragging{opacity:.55}
.lo-row.is-target{border-color:#003a7d;background:#e7f0ff;box-shadow:0 0 0 2px #003a7d inset}
.lo-row:focus-visible{outline:3px solid #41d9f8;outline-offset:1px}
.lo-foot{display:flex;align-items:center;gap:8px;padding:10px 14px;border-top:1px solid #dbe6fb;background:#fff}
.lo-status{flex:1 1 auto;margin:0;font-size:13px;color:#53627a;min-height:18px}
.lo-status.is-error{color:#b3261e;font-weight:700}
.lo-btn{min-height:42px;padding:0 16px;border-radius:999px;border:1px solid #003a7d;background:#fff;color:#003a7d;font:800 14px "Heebo",sans-serif;cursor:pointer}
.lo-btn.is-ghost{border-color:#c9d7f2}
.lo-btn.is-save{background:linear-gradient(180deg,#fbbf24,#f59e0b);border-color:#d98606;color:#1b2559}
.lo-btn:disabled{opacity:.5;cursor:not-allowed}
.lo-hidden{font-style:normal;font-size:.78em;margin-inline-start:8px;padding:1px 8px;border-radius:999px;background:rgba(0,58,125,.08);color:#003a7d;white-space:nowrap}
.is-product-edit-tree .tree-topic-label{margin:10px 4px 4px;font-size:.85em;font-weight:700;color:#003a7d;opacity:.8}
/* Product edit bar sits at the very top: keep the floating design button below it so «מצב עריכה» stays clickable. */
body.is-product-builder .design-lab-fab{top:auto !important;bottom:16px !important}
.lo-empty{margin:6px;padding:12px;border:2px dashed #c9d7f2;border-radius:10px;text-align:center;color:#53627a;font:600 14px "Heebo",sans-serif}
.lo-branch-head.is-target-branch,.lo-empty.is-target-branch{box-shadow:0 0 0 2px #003a7d inset;background:#e7f0ff}
.lo-row.is-target.is-before{box-shadow:0 -3px 0 0 #f59e0b;background:#fff;border-color:#e3ebfa}
.lo-row.is-target.is-after{box-shadow:0 3px 0 0 #f59e0b;background:#fff;border-color:#e3ebfa}
