#kf-live-edit-toggle{position:fixed;z-index:790;left:20px;bottom:22px;border:0;border-radius:999px;background:#4d36b9;color:white;padding:14px 20px;font:700 14px Alexandria,Tahoma,sans-serif;box-shadow:0 12px 35px #21165b44;cursor:pointer;display:flex;align-items:center;gap:9px}
#kf-live-edit-toggle.active{background:#0b766e}
#kf-live-edit-toggle:focus-visible,#kf-liveedit-panel button:focus-visible{outline:3px solid #fbc75f;outline-offset:3px}
#kf-live-editor-tools{position:fixed;z-index:791;left:20px;bottom:84px;width:min(410px,calc(100vw - 40px));background:#fff;color:#22203b;border:1px solid #ded8f4;border-radius:22px;padding:18px;box-shadow:0 18px 55px #21165b36;direction:rtl;font:14px Alexandria,Tahoma,sans-serif}
#kf-live-editor-tools h3{margin:0 0 8px;font-size:18px;font-weight:800}
#kf-live-editor-tools p{margin:0 0 12px;font-size:12px;color:#68647d;line-height:1.9}
#kf-live-editor-tools label{display:block;margin:10px 0;font-size:12px;font-weight:700}
#kf-live-editor-tools textarea,#kf-live-editor-tools input[type=text],#kf-live-editor-tools input[type=number]{display:block;box-sizing:border-box;width:100%;border:1px solid #ded8f4;border-radius:12px;background:#faf9fe;color:#24223e;padding:9px 11px;margin-top:5px;font:inherit;resize:vertical}
#kf-live-editor-tools .kf-live-row{display:flex;gap:10px;align-items:end}
#kf-live-editor-tools .kf-live-row label{flex:1}
#kf-live-editor-tools input[type=color]{height:38px;width:100%;border:1px solid #ddd;border-radius:9px;background:#fff;cursor:pointer}
#kf-live-editor-tools .kf-live-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:15px}
#kf-live-editor-tools button{background:#f0edff;color:#3e2d9f;border:1px solid #dfd8fc;padding:10px 13px;border-radius:11px;font:700 12px Alexandria,Tahoma,sans-serif;cursor:pointer}
#kf-live-editor-tools button.primary{background:#4e3bcf;color:white}
#kf-live-editor-tools button:disabled{opacity:.5;cursor:not-allowed}
#kf-live-editor-tools .kf-live-error{color:#b3261e;font-size:12px;margin:10px 0}
.kf-editor-highlight{outline:3px dashed #684de5!important;outline-offset:4px!important;cursor:crosshair!important}
#kf-liveedit-grants{margin-top:22px;padding:22px;background:linear-gradient(160deg,#f7f5ff,#fff);border:1px solid #ded8f4;border-radius:22px;direction:rtl}
#kf-liveedit-grants h2{font-size:21px;font-weight:800;margin:0 0 9px;color:#252147}
#kf-liveedit-grants p{font-size:13px;color:#716c8a;line-height:1.9}
#kf-liveedit-grants input{border:1px solid #dcd7ec;padding:12px 13px;border-radius:13px;width:100%;max-width:480px;background:white;color:#252147}
.kf-grant-entry{display:flex;align-items:center;justify-content:space-between;gap:15px;background:white;border:1px solid #e5e0f2;border-radius:15px;padding:13px;margin:9px 0}
.kf-grant-entry div{display:flex;flex-direction:column;gap:4px}.kf-grant-entry strong{font-size:14px}.kf-grant-entry small{font-size:11px;color:#777}
.kf-grant-entry label{display:flex;gap:9px;align-items:center;color:#4834b7;font-size:13px}.kf-grant-entry input[type=checkbox]{width:20px;height:20px;accent-color:#4d36b9}
#kf-liveupdate-notice{position:fixed;z-index:792;bottom:22px;right:20px;background:#241b52;color:white;border-radius:13px;box-shadow:0 12px 40px #21165b44;padding:13px 17px;font:700 13px Alexandria,Tahoma,sans-serif;max-width:370px;display:flex;align-items:center;gap:12px}
#kf-liveupdate-notice button{border:0;border-radius:8px;padding:8px 10px;background:white;color:#32237a;cursor:pointer}
@media(max-width:600px){#kf-live-edit-toggle{bottom:12px;left:12px}#kf-live-editor-tools{left:10px;bottom:75px;width:calc(100vw - 20px);padding:15px}.kf-grant-entry{align-items:flex-start;flex-direction:column}}
