/* ===== مشخصات کتاب: کارت‌های سریع + تب مشخصات + تاریخچه‌ی چاپ‌ها (v1.4.0) ===== */
.fd-ltr{direction:ltr;unicode-bidi:isolate;font-variant-numeric:tabular-nums;letter-spacing:.2px}
.fd-copy-mini{display:inline-grid;place-items:center;width:26px;height:26px;margin-inline-start:8px;vertical-align:middle;border:0;border-radius:8px;background:var(--fd-sky-2);color:var(--fd-blue-dd);transition:.25s}
.fd-copy-mini:hover{background:var(--fd-blue);color:#fff}

/* مشخصات سریع */
.fd-qs-wrap{margin:14px 0 10px}
.fd-qs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0;padding:0;list-style:none}
.fd-qs li{display:flex;align-items:center;gap:11px;min-width:0;padding:10px 12px;background:var(--fd-soft);border:1px solid var(--fd-line);border-radius:8px;transition:border-color .25s,box-shadow .25s}
.fd-qs li:hover{border-color:var(--fd-blue);box-shadow:var(--fd-shadow-s)}
.fd-qs li .fd-ico{flex:none;box-sizing:content-box;padding:8px;border-radius:8px;background:var(--fd-sky-2);color:var(--fd-blue-dd)}
.fd-qs li div{display:flex;flex-direction:column;min-width:0;line-height:1.5}
.fd-qs li small{font-size:.72rem;color:var(--fd-ink2);font-weight:500}
.fd-qs li b{font-size:.9rem;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fd-qs-isbn{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:10px;padding:8px 14px;border:1px dashed var(--fd-line);border-radius:8px;font-size:.85rem}
.fd-qs-isbn span{color:var(--fd-ink2);font-weight:500}
.fd-qs-isbn .fd-ltr{font-weight:700;color:var(--fd-ink)}
.fd-qs-isbn .fd-copy-mini{margin-inline-start:2px}

/* تب مشخصات */
.fd-specs-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:16px;max-width:1100px}
.fd-spec-card,.fd-eds{background:#fff;border:1px solid var(--fd-line);border-radius:8px;overflow:hidden}
.fd-spec-card h3,.fd-eds h3{display:flex;align-items:center;gap:10px;margin:0;padding:12px 18px;font-size:.95rem;font-weight:800;color:var(--fd-blue-dd);background:var(--fd-sky);border-bottom:1px solid var(--fd-line)}
.fd-spec-card dl{margin:0;padding:4px 0}
.fd-spec-card dl>div{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:11px 18px;border-bottom:1px dashed var(--fd-line)}
.fd-spec-card dl>div:last-child{border-bottom:0}
.fd-spec-card dt{flex:none;margin:0;font-size:.86rem;font-weight:500;color:var(--fd-ink2)}
.fd-spec-card dd{margin:0;font-size:.9rem;font-weight:700;text-align:end;min-width:0}
.fd-spec-card dd a{color:var(--fd-blue-d)}
.fd-spec-card dd a:hover{text-decoration:underline}

/* تاریخچه‌ی چاپ‌ها */
.fd-eds{max-width:1100px;margin-top:16px}
.fd-eds-scroll{overflow-x:auto}
.fd-eds table{width:100%;border-collapse:collapse;min-width:420px}
.fd-eds th,.fd-eds td{padding:11px 18px;text-align:right;font-size:.88rem;border-bottom:1px solid var(--fd-line)}
.fd-eds th{background:var(--fd-soft);color:var(--fd-ink2);font-weight:600;font-size:.8rem}
.fd-eds tbody tr:last-child td{border-bottom:0}
.fd-eds td{font-weight:600}
.fd-eds tr.is-cur td{background:var(--fd-sky)}
.fd-eds-badge{display:inline-block;margin-inline-start:10px;padding:0 10px;border-radius:8px;background:var(--fd-green);color:#fff;font-size:.7rem;font-weight:700;line-height:1.9}

@media (max-width:640px){
	.fd-qs{grid-template-columns:repeat(2,minmax(0,1fr))}
	.fd-specs-grid{grid-template-columns:1fr}
	.fd-spec-card dl>div{padding:10px 14px}
}

/* ---- توضیح خودکار «درباره‌ی این کتاب در یک نگاه» (v1.6) ---- */
.fd-autodesc{margin-top:22px;padding:16px 18px;border:1px dashed var(--fd-sky-2,#cfe3ee);border-radius:8px;background:var(--fd-soft,#f4f9fc)}
.fd-autodesc h3{margin:0 0 8px;font-size:.95rem;font-weight:800;color:var(--fd-navy,#0b2c3d)}
.fd-autodesc p{margin:0;line-height:2;font-size:.9rem;color:var(--fd-ink2,#3b4d5a)}
.fd-desc-short p{line-height:2}
