.kd{display:block;border:1px solid #dfe4f0;border-radius:18px;background:#f5f7fc;padding:20px;margin-block:8px;font-family:inherit}
.kd__title{margin:0 0 4px;font-weight:800;font-size:1.0625rem;color:#12215c}
.kd__desc{margin:0 0 14px;font-size:.9rem;color:#4a5578;line-height:1.5}
.kd__drop{display:flex;align-items:center;gap:14px;border:2px dashed #b9c2dc;border-radius:14px;background:#fff;padding:16px;cursor:pointer;transition:border-color .2s,background .2s}
.kd__drop:hover,.kd__drop.is-over{border-color:#c8a24a;background:#fffaf0}
.kd__file{position:absolute;opacity:0;width:1px;height:1px}
.kd__drop-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:#12215c;color:#e4c26e;flex:none}
.kd__drop-text{display:flex;flex-direction:column;gap:2px;color:#12215c}
.kd__drop-text small{color:#6b7599;font-size:.78rem}
.kd__file:focus-visible+.kd__drop-icon{outline:2px solid #c8a24a;outline-offset:3px}
.kd__panel{margin-top:14px;display:grid;gap:10px}
.kd__file-row{display:flex;align-items:center;gap:10px;background:#fff;border-radius:12px;padding:8px 10px}
.kd__thumb{width:44px;height:44px;object-fit:contain;border-radius:8px;background:#eef1f8}
.kd__name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.85rem;color:#12215c}
.kd__status{font-size:.75rem;color:#6b7599;white-space:nowrap}
.kd__status.ok{color:#1d7a46}.kd__status.bad{color:#b3261e}
.kd__remove,.kd__reset{background:none;border:0;color:#12215c;text-decoration:underline;cursor:pointer;font:inherit;font-size:.82rem;padding:4px;justify-self:start}
.kd__range{display:grid;grid-template-columns:96px 1fr;align-items:center;gap:10px;font-size:.85rem;color:#12215c}
.kd__range input{accent-color:#12215c;width:100%}
.kd__note{margin:0;font-size:.75rem;color:#6b7599;line-height:1.45}
.kd__error{margin:10px 0 0;color:#b3261e;font-size:.85rem}
.kd__warn{margin:10px 0 0;font-size:.75rem;color:#8a5a00}
.kd.is-shake{animation:kdshake .4s}
@keyframes kdshake{20%,60%{transform:translateX(-6px)}40%,80%{transform:translateX(6px)}}
.kd__actions{display:flex;gap:14px;align-items:center}
.kd__update{border:0;border-radius:999px;background:#12215c;color:#fff;font:inherit;font-weight:700;font-size:.85rem;padding:9px 16px;cursor:pointer}
.kd__update:disabled{opacity:.5;cursor:wait}
.kd__next{display:none;border:0;border-radius:999px;background:#d4af37;color:#0b1f3a;font:inherit;font-weight:800;font-size:.85rem;padding:9px 16px;cursor:pointer}
@media (max-width:749px){.kd__actions{flex-wrap:wrap}.kd__next{display:inline-flex;align-items:center;width:100%;justify-content:center;padding:12px 16px;font-size:.92rem}}
.kd__hint{margin:0;padding:8px 12px;border-radius:10px;background:#fff6dd;color:#6b4a00;font-size:.8rem;line-height:1.4}
.kd-hide{display:none!important}
.kenani-designer [hidden],kenani-designer [hidden]{display:none!important}
.kd-stage{width:100%}
.kd-stage[hidden]{display:none}
.kd-stage__bar{display:inline-flex;gap:4px;padding:4px;border-radius:999px;background:#f3f5fb;margin-bottom:12px}
.kd-stage__bar button{border:0;background:none;border-radius:999px;padding:8px 16px;font:inherit;font-size:.85rem;font-weight:700;color:#12215c;cursor:pointer}
.kd-stage__bar button.is-on{background:#12215c;color:#fff}
.kd-stage__main{position:relative;aspect-ratio:1/1;border-radius:18px;overflow:hidden;background:#f3f5fb}
.kd-stage__main>img,.kd-stage__main>canvas{width:100%;height:100%;object-fit:contain;display:block}
.kd-stage [hidden]{display:none!important}
.kd-stage__wait{position:absolute;inset:0;display:grid;place-items:center;background:rgba(243,245,251,.94)}
.kd-stage__wait[hidden]{display:none}
.kd-stage__card{display:grid;justify-items:center;gap:12px;padding:20px;text-align:center;color:#12215c;font-weight:700;font-size:.95rem}
.kd-stage__card img{max-width:140px;max-height:140px;object-fit:contain;border-radius:12px;background:#fff;padding:10px}
.kd-stage__card p{margin:0}
.kd-spin{width:28px;height:28px;border-radius:50%;border:3px solid #dde2f0;border-top-color:#e3b13a;animation:kdspin .8s linear infinite}
@keyframes kdspin{to{transform:rotate(360deg)}}
.kd-stage__thumbs{display:flex;gap:8px;margin-top:12px;overflow-x:auto}
.kd-thumb{flex:none;width:72px;height:72px;padding:0;border:2px solid transparent;border-radius:12px;overflow:hidden;background:#f3f5fb;cursor:pointer}
.kd-thumb.is-on{border-color:#12215c}
.kd-thumb img{width:100%;height:100%;object-fit:cover;display:block}

.kd__place{display:grid;gap:6px}
.kd__place-label{font-size:.8rem;font-weight:600;color:#12215c}
.kd__chips{display:flex;flex-wrap:wrap;gap:6px}
.kd__chip{padding:7px 14px;border:1.5px solid #cfd6ea;border-radius:999px;background:#fff;color:#12215c;font:inherit;font-size:.82rem;cursor:pointer}
.kd__chip:hover{border-color:#12215c}
.kd__chip.is-on{background:#12215c;border-color:#12215c;color:#fff}

.kd-stage__note{display:flex;align-items:center;gap:10px;margin:10px 0 0;padding:9px 14px;border-radius:12px;background:#f3f5fb;color:#12215c;font-size:.85rem;font-weight:600}
.kd-spin--s{width:16px;height:16px;border-width:2px;flex:none}
.kd-thumb__live{display:grid;place-items:center;width:100%;height:100%;background:#12215c;color:#e3b13a;font-size:.75rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase}
