.dict-slots-editor {margin:0}
.dict-slot-sentence {min-width:0;padding:10px 13px;color:#355347;background:#f1f3e6;border:1px solid #bfceba;border-radius:8px;line-height:2.6}
.dict-slot {display:inline-block;vertical-align:baseline;margin:.2rem .04rem;min-width:2.8rem;max-width:100%;min-height:1.9rem;font:inherit;line-height:1.5;text-align:center}
.dict-slot.empty {width:2.8rem;vertical-align:middle;border-bottom:2px solid #728975}
.dict-slot.filled {overflow-wrap:anywhere;padding:.12rem .42rem;border:1px solid #668675;border-radius:5px;box-shadow:0 2px #92a692;background:#fffdf2;color:#284f43;font-weight:650}
.dict-slot.editing {outline:2px solid #9b5916;outline-offset:2px}
.dict-slot.just-placed {animation:slot-placed .45s ease-out}
@keyframes slot-placed {0%{transform:translateY(-2px);background:#ffdfa1}100%{transform:translateY(0);background:#fffdf2}}
.dict-slots-editor>.hint {margin:.4rem 0 0;color:#506258;font-size:.86rem}
.dict-slots-editor .field {margin:.95rem 0 .28rem;color:#354f43}
.dict-slot-input {display:flex;gap:.5rem;flex-wrap:wrap;align-items:stretch}
.dict-slot-input input {flex:1 1 7rem;min-width:0;max-width:100%;min-height:44px;border:1.5px solid #92a593;border-radius:7px;background:#fff;padding:.55rem .75rem}
.dict-slot-edits:not([hidden]){display:flex;gap:1rem;flex-wrap:wrap}
@media(prefers-reduced-motion:reduce){.dict-slot.just-placed{animation:none}}
