/* قول الدار: the page where what has no paper is said, read and acted upon. */
.wd-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 14px; align-items: start; }
.wd-side { position: sticky; top: calc(var(--top-h) + 14px); }
@media (max-width: 900px) { .wd-grid { grid-template-columns: 1fr; } .wd-side { position: static; } }

#wd-text { width: 100%; font-size: 15px; line-height: 1.7; font-family: var(--ui-font); padding: 10px 12px; }
.wd-egs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.wd-egs .btn { font-size: 11.5px; opacity: .85; }

.wd-read .facts { margin: 0; padding: 0 14px 12px; }
.wd-summary { margin: 0; padding: 10px 14px 6px; font-family: var(--ui-serif); font-size: 15.5px; line-height: 1.8; }
.wd-bar { width: 84px; height: 6px; border-radius: 4px; background: var(--ui-line); overflow: hidden; margin-inline-start: 8px; }
.wd-bar i { display: block; height: 100%; background: var(--ui-gold-2); }

.wd-props { padding: 4px 14px 10px; }
.wd-prop { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--ui-line); border-radius: 8px; margin-bottom: 8px; cursor: pointer; }
.wd-prop:hover { background: var(--ui-cream); }
.wd-prop.money { border-color: var(--ui-gold); background: #fdfbf4; }
.wd-prop input[type=checkbox] { margin-top: 3px; }
.wd-prop > div { min-width: 0; flex: 1 1 auto; }
.wd-asks { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 8px; margin-top: 8px; }
.wd-asks .fld { margin: 0; }

.wd-how { margin: 0; padding: 0 28px 12px; font-size: 12.5px; line-height: 1.6; color: var(--ui-ink-2); }
body:not(.ui-en) .wd-how { list-style: arabic-indic; }
.wd-how li { margin-bottom: 2px; }
tr.wd-out td { opacity: .55; text-decoration: line-through; }
tr.wd-out td .tag { text-decoration: none; }
/* The examples: each on one line, cut with an ellipsis where it runs long (the whole sentence goes in when chosen). */
.wd-egs .wd-eg { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: inline-block; }
/* The examples start at the line's start edge in both languages, each at its own width. */
.wd-egs { justify-content: flex-start; }
#view .wd-egs .btn.wd-eg { text-align: start; }
