/* ===== OWNER EDIT MODE (einhornnoe.com) ===== */
.pdf-tile{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;height:185px;background:linear-gradient(135deg,#faf5ea,#efe5cf);color:#5a3b14;text-decoration:none;border-bottom:1px solid #e2d4b8;font-weight:700}
.pdf-tile.small{height:120px;border-radius:8px;border:1px solid #e2d4b8}
.pdf-ico{font-size:36px;line-height:1}
.pdf-lbl{font-size:13px;letter-spacing:.04em}

.ed-fab{position:fixed;bottom:14px;left:14px;z-index:85;background:#f7f1e3;color:#7a5b28;border:1px solid #dccba8;border-radius:999px;padding:6px 11px;font-size:12px;font-weight:600;cursor:pointer;opacity:.55;transition:.18s;box-shadow:0 2px 8px rgba(0,0,0,.08)}
.ed-fab:hover{opacity:1;background:#efe2c4}
.ed-fab.active{opacity:1;background:#1C4072;color:#fff;border-color:#1C4072}

.ed-bar{position:sticky;top:0;z-index:95;background:linear-gradient(90deg,#1C4072,#254f8a);color:#fff;padding:7px 14px;display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:13px;box-shadow:0 2px 10px rgba(0,0,0,.15)}
.ed-bar[hidden]{display:none !important}
.ed-bar-btns{display:flex;gap:8px;align-items:center}
.ed-btn{background:#fff;color:#1C4072;border:1px solid #d2dce8;border-radius:8px;padding:6px 11px;font-size:12.5px;font-weight:600;cursor:pointer;font-family:inherit}
.ed-btn:hover{background:#eef4fb}
.ed-btn.primary{background:#1C4072;color:#fff;border-color:#1C4072}
.ed-btn.primary:hover{background:#15325a}
.ed-btn.gold{background:#b8892c;color:#fff;border-color:#b8892c}
.ed-btn.danger{background:#fff5f5;color:#a61e22;border-color:#f0c2c2}
.ed-btn.mini{padding:3px 8px;font-size:11.5px;border-radius:6px}

.ed-prof-bar{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0 14px;padding:9px 10px;background:#f7f3e8;border:1px solid #dfd1b0;border-radius:10px}
.ed-inline-acts{display:inline-flex;gap:5px;margin-inline-start:8px;vertical-align:middle}

.ed-modal-bg{position:fixed;inset:0;z-index:140;background:rgba(15,23,36,.55);display:flex;align-items:center;justify-content:center;padding:14px}
.ed-modal-bg[hidden]{display:none !important}
.ed-modal{background:#fffdf8;color:#1b2330;width:100%;max-width:520px;max-height:90vh;overflow-y:auto;border-radius:14px;border:1px solid #ded2b7;padding:18px 20px;box-shadow:0 18px 50px rgba(0,0,0,.28);direction:rtl}
.ed-modal h3{margin:0 0 10px;font-size:18px;color:#1C4072;display:flex;justify-content:space-between;align-items:center}
.ed-field{margin-bottom:11px}
.ed-field label{display:block;font-size:12.5px;font-weight:700;color:#4a5568;margin-bottom:4px}
.ed-field input,.ed-field textarea,.ed-field select{width:100%;box-sizing:border-box;padding:8px 10px;border:1px solid #cfc4ab;border-radius:8px;font-size:14px;font-family:inherit;background:#fff}
.ed-field textarea{min-height:76px;resize:vertical}
.ed-row2{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.ed-check{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:600;margin:8px 0;cursor:pointer}
.ed-check input{width:auto}
.ed-foot{display:flex;gap:8px;justify-content:flex-end;margin-top:14px;padding-top:10px;border-top:1px solid #ece3cf}
.ed-note{font-size:12px;color:#5c6573;background:#f4efe2;padding:8px 10px;border-radius:8px;margin-bottom:10px;line-height:1.45}
.ed-toast{position:fixed;bottom:18px;right:18px;z-index:200;background:#1a5632;color:#fff;padding:11px 16px;border-radius:10px;font-size:13.5px;font-weight:600;box-shadow:0 8px 24px rgba(0,0,0,.25);max-width:340px}
.ed-toast.err{background:#a61e22}
