/* The dictionary /translate (2026-10-13, DictionaryController) */
.dict-lead { color: var(--muted); font-size: 1.05rem; }
.dict-search { position: relative; display: flex; gap: 8px; margin: 14px 0 22px; }
.dict-search input { flex: 1 1 auto; min-width: 0; height: 48px; padding: 0 16px; border: 2px solid #D9E0F2; border-radius: 14px; font: inherit; font-size: 17px; background: #fff; color: var(--ink); }
.dict-search input:focus { outline: none; border-color: var(--primary); }
.dict-search button { flex: 0 0 auto; height: 48px; padding: 0 20px; border: 0; border-radius: 14px; background: var(--primary); color: #fff; font: inherit; font-weight: 800; cursor: pointer; }
.dict-search button:hover { background: var(--primary-dark); }
.dict-suggest { position: absolute; z-index: 20; top: 52px; left: 0; right: 0; margin: 0; padding: 6px; list-style: none; background: #fff; border: 1px solid #D9E0F2; border-radius: 14px; box-shadow: 0 10px 30px rgba(30, 40, 90, .12); }
.dict-suggest li { margin: 0; }
.dict-suggest a { display: flex; gap: 10px; align-items: baseline; padding: 8px 10px; border-radius: 10px; color: var(--ink); text-decoration: none; }
.dict-suggest a:hover, .dict-suggest a.is-active { background: #EEF2FF; }
.dict-suggest strong, .dict-list strong { color: var(--primary-dark); }
.dict-suggest span, .dict-list span { color: var(--muted); font-size: .95em; }
.dict-list { list-style: none; padding: 0; display: grid; gap: 6px; }
.dict-list a { display: flex; gap: 12px; align-items: baseline; padding: 10px 14px; border: 1px solid #E5E9F5; border-radius: 12px; text-decoration: none; background: #fff; }
.dict-list a:hover { border-color: var(--primary); }
.dict-head { padding: 18px 20px; border-radius: 18px; background: #F5F7FF; margin-bottom: 22px; }
.dict-head h1 { margin: 0 0 6px; font-size: 2.2rem; line-height: 1.15; }
.dict-head h1 small { font-size: .45em; font-weight: 700; color: var(--muted); }
.dict-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 10px; }
.dict-ipa { font-size: 1.15rem; color: #374151; }
.dict-pos, .dict-level { padding: 2px 10px; border-radius: 999px; background: #fff; font-size: .82rem; font-weight: 800; color: var(--primary-dark); box-shadow: 0 1px 0 #E0E5F3; }
.dict-level { color: #15803D; }
.dict-ru { margin: 0; padding-left: 1.2em; font-size: 1.25rem; font-weight: 700; }
.dict-ru li { margin: 2px 0; }
.dict-also { margin: 10px 0 0; }
.dict-note { margin: 10px 0 0; color: #4B5563; font-size: .95rem; }
.dict-block { margin: 0 0 24px; }
.dict-block h2 { font-size: 1.25rem; margin: 0 0 10px; }
.dict-table { width: 100%; border-collapse: collapse; font-size: .98rem; }
.dict-table th, .dict-table td { padding: 8px 10px; border-bottom: 1px solid #E5E9F5; text-align: left; vertical-align: top; }
.dict-table tbody th { width: 45%; font-weight: 600; color: #4B5563; }
.dict-tenses thead th { font-size: .8rem; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); }
.dict-tenses tbody th { width: auto; color: var(--primary-dark); white-space: nowrap; }
.dict-tenses td:nth-child(2) { color: var(--muted); font-size: .9rem; }
.dict-hint { color: var(--muted); font-size: .9rem; }
.dict-examples { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.dict-examples li { display: grid; gap: 2px; padding: 10px 14px; border-left: 4px solid #C7D2FE; background: #fff; border-radius: 0 12px 12px 0; box-shadow: 0 1px 0 #E5E9F5; }
.dict-en { font-size: 1.08rem; }
.dict-en b { color: var(--primary-dark); }
.dict-tr { color: #4B5563; }
.dict-more ul { padding-left: 1.2em; }
@media (max-width: 640px) {
  .dict-head h1 { font-size: 1.8rem; }
  .dict-search button { padding: 0 14px; }
  .dict-tenses td:nth-child(2), .dict-tenses thead th:nth-child(2) { display: none; }
  .dict-table th, .dict-table td { padding: 7px 6px; }
}
/* own padding like .article-body (owner, 2026-10-13: «контент идёт прямо к краям») */
.article.dict { padding: 26px 32px 30px; }
.article.dict .article-header { padding: 0; }
@media (max-width: 900px) { .article.dict { padding: 20px 20px 24px; } }
@media (max-width: 480px) { .article.dict { padding: 16px 16px 20px; } }
