/* بسامد واژگان (search/frequency.html); shares the واژه‌نما styles in concordance.css. */
.freq-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 14px; max-width: 980px; }
.freq-selects { display: flex; flex-wrap: wrap; gap: 10px; }
.freq-selects label { display: flex; flex-direction: column; gap: 3px; font-size: 13px; color: var(--ink-soft); }
.freq-selects select { min-height: 44px; max-width: 260px; padding: 0 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); font: inherit; font-size: 15px; color: var(--ink); }
.freq-go { min-height: 44px; padding: 0 22px; border: 0; border-radius: 10px; background: var(--cocoa); color: var(--cream); font: inherit; font-weight: 700; cursor: pointer; }
.js .freq-go { display: none; }
.freq-title { margin: 22px 0 0; font-size: 20px; }
.freq .conc-nums { margin-top: 10px; }
.freq-tools a { color: #8C2F1D; }

.freq-table { width: 100%; max-width: 760px; border-collapse: collapse; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; font-size: 14.5px; }
.freq-table th { padding: 8px 12px; border-bottom: 1px solid var(--line); background: var(--ground); font-size: 13px; font-weight: 700; color: var(--ink-soft); text-align: right; white-space: nowrap; }
.freq-table td { padding: 5px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.freq-table tr:last-child td { border-bottom: 0; }
.freq-table tbody tr:hover { background: #FBF7F1; }
.freq-rank { width: 1%; color: var(--ink-soft); font-size: 13px; }
.freq-word { font-family: var(--font-book); font-size: 19px; }
.freq-word a { color: var(--ink); }
.freq-word a:hover { color: #8C2F1D; }
.freq-n { position: relative; width: 34%; }
.freq-n i { position: absolute; inset-block: 7px; right: 0; border-radius: 3px; background: var(--hero-chip); }
.freq-n span { position: relative; }
.freq-per, .freq-rest { color: var(--ink-soft); }
.freq-pages { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; max-width: 760px; margin: 12px 0 24px; font-size: 14px; }
.freq-pages a { font-weight: 700; color: #8C2F1D; }

@media (max-width: 760px) {
  .freq-selects, .freq-selects label { width: 100%; }
  .freq-selects select { max-width: none; width: 100%; }
  .freq-table { font-size: 13.5px; }
  .freq-table th, .freq-table td { padding: 5px 7px; }
  .freq-table .freq-per, .freq-table .freq-rest { display: none; }
  .freq-word { font-size: 17px; }
}
.freq-foot { max-width: 760px; margin: -12px 0 24px; font-size: 13px; }

.freq-guide { max-width: 760px; margin: 0 0 12px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); font-size: 14px; }
.freq-guide summary { min-height: 44px; display: flex; align-items: center; font-weight: 700; color: #8C2F1D; cursor: pointer; }
.freq-guide dl { margin: 0 0 10px; }
.freq-guide dt { margin-top: 8px; font-weight: 700; }
.freq-guide dd { margin: 2px 0 0; color: var(--ink-soft); line-height: 1.9; }
.freq-phone { display: none; margin: 0 0 12px; font-size: 13px; color: var(--ink-soft); }
.freq-table th { white-space: normal; line-height: 1.5; vertical-align: bottom; }
@media (max-width: 760px) {
  .freq-phone { display: block; }
}

/* Looking one word up in the list. */
.freq-find { max-width: 760px; margin: 18px 0 12px; scroll-margin-top: 80px; }
.freq-find label { display: block; margin-bottom: 4px; font-size: 14px; font-weight: 700; }
.freq-find-row { display: flex; gap: 8px; }
.freq-find input[type=search] { flex: 1; min-width: 0; min-height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); font: inherit; font-size: 16px; color: var(--ink); }
.freq-find button { min-height: 44px; padding: 0 20px; border: 0; border-radius: 10px; background: var(--cocoa); color: var(--cream); font: inherit; font-weight: 700; cursor: pointer; }
.freq-find p { margin: 6px 0 0; font-size: 13px; line-height: 1.8; }
.freq-found { max-width: 760px; margin: 0 0 6px; padding: 0; list-style: none; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); overflow: hidden; }
.freq-found li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--ink-soft); }
.freq-found li:last-child { border-bottom: 0; }
.freq-found-word { min-width: 90px; font-family: var(--font-book); font-size: 21px; font-weight: 400; color: var(--ink); }
.freq-found-n { color: var(--ink); }
.freq-found-n b { font-size: 17px; }
.freq-found-note { flex-basis: 100%; }
.freq-found-links { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 4px 16px; }
.freq-found a, .freq-find-clear a { font-weight: 700; color: #8C2F1D; }
.freq-find-clear { max-width: 760px; margin: 0 0 14px; font-size: 13.5px; }
.freq-table tr { scroll-margin-top: 120px; }
@media (max-width: 760px) {
  .freq-found-word { flex-basis: 100%; }
  .freq-found-links a { min-height: 32px; display: inline-flex; align-items: center; }
}

/* این واژه نزد شاعران (search/word_spread.html). */
.freq-poet { font-size: 15px; }
.freq-poet a { color: var(--ink); }
.freq-poet a:hover { color: #8C2F1D; }
.freq-table tr.is-on td { background: var(--hero-chip); font-weight: 700; }
.freq-foot--top { margin: -4px 0 10px; }
.freq .conc-panel { max-width: 760px; margin-bottom: 14px; }
.freq-spread { margin-inline-start: 6px; color: var(--ink-soft); }
.freq-spread:hover { color: #8C2F1D; text-decoration: none; }
.freq-spread svg { width: 15px; height: 15px; vertical-align: -2px; }
.freq-icon { width: 14px; height: 14px; vertical-align: -2px; }
.freq-dagger { margin-inline-start: 2px; color: #8C2F1D; font-weight: 700; }
