.ehmal-dictionary-widget,.ehmal-dictionary-widget *{font-family:inherit!important;box-sizing:border-box}
.ehmal-dictionary-widget{--ehmal-green:#83bd00;--ehmal-green-dark:#5c9100;--ehmal-ink:#182033;--ehmal-text:#2b3445;--ehmal-muted:#7a8494;--ehmal-border:#e5ebf2;direction:rtl;width:100%}
.ehmal-dictionary-box{max-width:860px;margin:22px auto;padding:18px;border-radius:24px;background:radial-gradient(circle at top right,rgba(131,189,0,.14),transparent 35%),linear-gradient(180deg,#fff 0%,#f8fafc 100%);border:1px solid rgba(229,235,242,.95);box-shadow:0 22px 55px rgba(24,32,51,.09)}
.ehmal-search-wrap{position:relative;display:flex;align-items:center;margin:0}
.ehmal-search-icon{position:absolute;right:14px;width:42px;height:42px;display:flex;align-items:center;justify-content:center;border-radius:14px;background:linear-gradient(135deg,var(--ehmal-green),var(--ehmal-green-dark));color:#fff;font-size:25px;line-height:1;z-index:2;pointer-events:none;box-shadow:0 8px 18px rgba(131,189,0,.25)}
.ehmal-clear-search{position:absolute;left:12px;width:36px;height:36px;border:0;border-radius:12px;background:#eef2f7;color:#64748b;font-size:22px;cursor:pointer}
.ehmal-dictionary-search{width:100%!important;min-height:64px!important;padding:0 68px 0 56px!important;border:1px solid #dfe7f0!important;border-radius:18px!important;background:rgba(255,255,255,.96)!important;color:var(--ehmal-text)!important;font-size:17px!important;font-weight:500!important;line-height:64px!important;outline:none!important;box-shadow:0 10px 28px rgba(24,32,51,.07)!important;transition:.2s ease!important}
.ehmal-dictionary-search:focus{border-color:var(--ehmal-green)!important;box-shadow:0 0 0 4px rgba(131,189,0,.16),0 10px 28px rgba(24,32,51,.07)!important}
.ehmal-member-tools{display:grid;gap:8px;margin:12px 0 0}
.ehmal-chip-group{display:flex;flex-wrap:wrap;align-items:center;gap:6px;color:var(--ehmal-muted);font-size:13px}
.ehmal-chip{border:1px solid #dfe7f0;background:#fff;border-radius:999px;padding:5px 10px;cursor:pointer;color:var(--ehmal-text)}
.ehmal-chip:hover{border-color:var(--ehmal-green);color:var(--ehmal-green-dark)}
.ehmal-dictionary-status{min-height:24px;padding:9px 4px 0;color:var(--ehmal-muted);font-size:13px}
.ehmal-dictionary-results{display:grid;gap:12px;margin-top:2px}
.ehmal-card{position:relative;overflow:hidden;display:grid;gap:10px;padding:18px;border:1px solid var(--ehmal-border);border-radius:18px;background:rgba(255,255,255,.98);box-shadow:0 10px 24px rgba(24,32,51,.055);transition:.18s ease}
.ehmal-card:before{content:'';position:absolute;inset:0 auto 0 0;width:5px;background:linear-gradient(180deg,var(--ehmal-green),#cde99a);opacity:.95}
.ehmal-card:hover{transform:translateY(-2px);border-color:rgba(131,189,0,.45);box-shadow:0 18px 36px rgba(24,32,51,.09)}
.ehmal-card-title{direction:ltr;text-align:left;color:var(--ehmal-ink);font-size:21px;font-weight:800;line-height:1.5;padding-left:6px}
.ehmal-card-translation{color:var(--ehmal-text);font-size:17px;font-weight:700;line-height:2;text-align:right;padding-left:6px}
.ehmal-card-description,.ehmal-card-example,.ehmal-card-synonyms{color:var(--ehmal-muted);font-size:14px;line-height:1.9;padding-top:8px;border-top:1px dashed #e3e9f1}
.ehmal-lock-note{display:inline-flex;align-items:center;width:max-content;max-width:100%;margin-top:4px;padding:7px 10px;border-radius:999px;background:#fff7e6;color:#9a6700;font-size:12px;font-weight:700;border:1px solid #ffe0a3}
.ehmal-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end;margin-top:4px}
.ehmal-actions button,.ehmal-cta-button,.ehmal-suggestion-box button{border:0!important;border-radius:12px!important;padding:9px 14px!important;cursor:pointer;font-size:13px!important;font-weight:700!important;line-height:1.5!important;text-decoration:none!important;transition:.18s ease}
.ehmal-copy-word{background:var(--ehmal-ink)!important;color:#fff!important}.ehmal-copy-meaning{background:var(--ehmal-green)!important;color:#fff!important}.ehmal-speak{background:#eef6e4!important;color:var(--ehmal-green-dark)!important}.ehmal-favorite{background:#fff1f2!important;color:#be123c!important}.ehmal-favorite.is-active{background:#be123c!important;color:#fff!important}
.ehmal-empty{padding:18px;border-radius:16px;background:#fff;border:1px dashed #dfe7f0;color:var(--ehmal-muted);text-align:center}
.ehmal-inline-buy{display:inline-block;margin-top:10px;color:var(--ehmal-green-dark);font-weight:800}
.ehmal-suggestion-box{margin-top:14px;padding:14px;border-radius:16px;background:#fff;border:1px solid var(--ehmal-border)}
.ehmal-toggle-suggest{background:#eef6e4!important;color:var(--ehmal-green-dark)!important}
.ehmal-suggest-form{margin-top:10px;display:grid;gap:8px}
.ehmal-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.ehmal-suggest-form input,.ehmal-suggest-form textarea,.ehmal-suggest-form select{width:100%;border:1px solid #dfe7f0;border-radius:12px;padding:10px;background:#fff}
.ehmal-suggest-form button{background:var(--ehmal-ink)!important;color:#fff!important;width:max-content}
.ehmal-suggest-status{font-size:13px;color:var(--ehmal-muted)}
.ehmal-woo-cta{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px;padding:14px 16px;border-radius:16px;background:linear-gradient(135deg,var(--ehmal-ink),#26324d);color:#fff}
.ehmal-cta-button{background:var(--ehmal-green)!important;color:#fff!important}
@media(max-width:640px){.ehmal-dictionary-box{margin:16px auto;padding:13px;border-radius:20px}.ehmal-search-icon{right:11px;width:38px;height:38px;border-radius:12px}.ehmal-clear-search{left:10px}.ehmal-dictionary-search{min-height:58px!important;line-height:58px!important;padding-right:60px!important;font-size:15px!important}.ehmal-card{padding:15px;border-radius:16px}.ehmal-card-title{font-size:18px}.ehmal-card-translation{font-size:16px}.ehmal-actions{justify-content:stretch}.ehmal-actions button{flex:1 1 auto}.ehmal-form-grid{grid-template-columns:1fr}.ehmal-woo-cta{flex-direction:column;align-items:stretch}}
