/* AM Ayur Lexikon – minimal, modern, themable */
:root {
  --am-lex-bg:#ffffff;
  --am-lex-border:#e6e6e6;
  --am-lex-text:#1a1a1a;
  --am-lex-muted:#666;
  --am-lex-accent:#8b5cf6;
}
.am-lex{background:var(--am-lex-bg); color:var(--am-lex-text);}
.am-lex__search{margin:0 0 1rem;}
.am-lex__input{width:100%; padding:.75rem 1rem; border:1px solid var(--am-lex-border); border-radius:.6rem; font-size:1rem}
.am-lex__letters{display:flex; flex-wrap:wrap; gap:.4rem; margin:0 0 1rem}
.am-lex__letter{border:1px solid var(--am-lex-border); background:#fff; padding:.35rem .6rem; border-radius:.5rem; cursor:pointer}
.am-lex__letter.is-active, .am-lex__letter:hover{border-color:var(--am-lex-accent)}
.am-lex__filters{display:flex; gap:.5rem; margin:0 0 1rem}
.am-lex__select{padding:.5rem;}
.am-lex__results{display:grid; grid-template-columns:repeat(auto-fill,minmax(220px,1fr)); gap:1rem}
.am-lex-card{border:1px solid var(--am-lex-border); border-radius:1rem; padding:1rem; background:#fff; display:flex; flex-direction:column; gap:.5rem}
.am-lex-card h3{margin:0; font-size:1.05rem}
.am-lex-card__meta{font-size:.85rem; color:var(--am-lex-muted)}
.am-lex-card a.am-lex-more{margin-top:auto; text-decoration:none; border:1px solid var(--am-lex-border); border-radius:.5rem; padding:.4rem .6rem}
.am-lex-card a.am-lex-more:hover{border-color:var(--am-lex-accent)}

/* Tooltip */
.am-lex-tooltip{border-bottom:1px dotted var(--am-lex-accent); cursor:help}
.am-lex-tip{position:absolute; z-index:9999; max-width:320px; background:#111; color:#fff; padding:.7rem .8rem; border-radius:.5rem; box-shadow:0 8px 30px rgba(0,0,0,.25)}
.am-lex-tip h4{margin:.2rem 0 .4rem; font-size:1rem}
.am-lex-tip p{margin:0; font-size:.9rem; line-height:1.35}
