/* =====================================================================
   [kc-dft 2026-10-29] computer-booklet.html (chosen designs)
   .kc-dfs  strip under the article header: 3 chips + year picker + download (picker filled by kc_rows.js)
   .kc-dfn  «نکته‌های مهم» box: ink title bar + numbered items (text of the article, unchanged)
   .kc-dft  booklet list of mod_kc_flip «kc_rows»: jump by decade (gold bar) + one framed list, real covers
   Loaded only by mod_kc_flip when the «kc_rows» layout is used (only computer-booklet.html), so no other page carries it.
   ===================================================================== */
.kc-dfs { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 14px; margin: 0 0 20px;
  padding: 10px 14px; border: 1.5px solid transparent; border-radius: 14px; background: linear-gradient(#fff, #fff) padding-box, var(--kc-gg) border-box; }
.kc-dfs__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.kc-dfs__chips span { display: inline-flex; align-items: center; min-height: 30px; padding: 0 12px; border-radius: 999px; background: var(--kc-cream);
  box-shadow: inset 0 0 0 1px rgba(201, 164, 101, .45); color: var(--kc-goldd); font: 12.5px/1 'vazirmedium', tahoma, sans-serif; white-space: nowrap; }
.kc-dfs__pick { display: flex; align-items: center; gap: 8px; }
.kc-dfs__lb { font: 13px/1.4 'vazirmedium', tahoma, sans-serif; color: var(--kc-ink); white-space: nowrap; }
.kc-dfs__slot { display: inline-flex; align-items: center; justify-content: center; width: 104px; height: 40px; flex: none; box-sizing: border-box;
  border: 1px solid var(--kc-gold2); border-radius: 10px; background: #fff; color: var(--kc-ink); font: 14px/1 'vazirmedium', tahoma, sans-serif; }
.kc-dfs__slot select { width: 100%; height: 100%; margin: 0; padding: 0 10px; border: 0; border-radius: 10px; background: transparent; color: inherit;
  font: inherit; cursor: pointer; }
.kc-dfs__slot select:focus-visible { outline: 2px solid var(--kc-gold2); outline-offset: 2px; }
.item-page .kc-dfs a.kc-dfs__go, .kc-dfs a.kc-dfs__go { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 40px; padding: 0 16px;
  border-radius: 10px; background: var(--kc-ink); color: var(--kc-gold); font: 13.5px/1 'vazirmedium', tahoma, sans-serif; text-decoration: none;
  white-space: nowrap; transition: box-shadow .2s, transform .2s; }
.kc-dfs a.kc-dfs__go::before { content: ""; display: block; width: 16px; height: 16px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v11M7 10l5 5 5-5M5 20h14'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v11M7 10l5 5 5-5M5 20h14'/%3E%3C/svg%3E") center / contain no-repeat; }
.kc-dfs a.kc-dfs__go:hover, .kc-dfs a.kc-dfs__go:focus-visible { color: var(--kc-gold); box-shadow: 0 0 0 3px rgba(226, 195, 138, .35); }
.kc-dfs a.kc-dfs__go:focus-visible { outline: 2px solid var(--kc-gold2); outline-offset: 2px; }
@media (max-width: 575.98px) {
  .kc-dfs { padding: 10px; }
  .kc-dfs__pick { width: 100%; }
  .kc-dfs__slot { flex: 1 1 auto; width: auto; }
}

.kc-dfn { margin: 18px 0 22px; border: 1px solid var(--kc-line); border-radius: 16px; background: #fff; overflow: hidden; }
.item-page .kc-dfn p.kc-dfn__h, .kc-dfn p.kc-dfn__h { margin: 0; padding: 12px 18px; background: linear-gradient(160deg, var(--kc-ink2), var(--kc-ink));
  box-shadow: inset 0 -2px 0 var(--kc-gold2); color: var(--kc-gold); font: 15px/1.6 'vazirmedium', tahoma, sans-serif; text-align: right; }
.kc-dfn ol.kc-dfn__l { margin: 0; padding: 16px 18px 6px; list-style: none; counter-reset: kcdfn; }
.kc-dfn ol.kc-dfn__l > li { position: relative; margin: 0 0 12px; padding: 0 42px 0 0; counter-increment: kcdfn; line-height: 2; list-style: none; }
.kc-dfn ol.kc-dfn__l > li::before { content: counter(kcdfn); position: absolute; top: 3px; right: 0; width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; background: var(--kc-ink); color: var(--kc-gold);
  box-shadow: 0 0 0 1px rgba(226, 195, 138, .55); font: 13px/1 'vazirmedium', tahoma, sans-serif; }
@media (max-width: 575.98px) { .kc-dfn ol.kc-dfn__l { padding: 14px 12px 4px; } .kc-dfn ol.kc-dfn__l > li { padding-right: 38px; } }

.kc-dft { margin: 6px 0 18px; }
.kc-dft__jump { display: grid; gap: 8px; margin: 0 0 16px; padding: 12px 14px; border: 1px solid var(--kc-line); border-radius: 16px; background: #fff; }
.kc-dft__dec { display: grid; grid-template-columns: 92px minmax(0, 1fr); align-items: center; gap: 8px; }
.kc-dft__dn { font: 12.5px/1.6 'vazirmedium', tahoma, sans-serif; color: var(--kc-goldd); }
.kc-dft__ys { display: flex; flex-wrap: wrap; gap: 6px; }
.kc-dft .kc-dft__ys a { display: inline-flex; align-items: center; justify-content: center; min-width: 52px; height: 36px; padding: 0 8px; box-sizing: border-box;
  border-radius: 10px 10px 4px 4px; background: #fff; color: var(--kc-ink); text-decoration: none; font: 13px/1 'vazirmedium', tahoma, sans-serif;
  box-shadow: inset 0 0 0 1px var(--kc-line), inset 0 -3px 0 var(--kc-gold2); transition: background-color .2s, color .2s; }
.kc-dft .kc-dft__ys a:hover, .kc-dft .kc-dft__ys a:focus-visible { background: var(--kc-cream); color: var(--kc-goldd); }
.kc-dft .kc-dft__ys a:focus-visible { outline: 2px solid var(--kc-gold2); outline-offset: 2px; }
.kc-dft .kc-dft__ys a.is-new { background: var(--kc-gg); color: var(--kc-ink); box-shadow: inset 0 -3px 0 var(--kc-goldd); }
.kc-dft__list { border: 1px solid var(--kc-line); border-radius: 16px; background: #fff; overflow: hidden; }
.kc-dft__it { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; align-items: center; gap: 0 14px; padding: 10px 14px;
  border-bottom: 1px solid var(--kc-line); scroll-margin-top: 150px; transition: background-color .2s; }
.kc-dft__it:last-child { border-bottom: 0; }
.kc-dft__it:hover, .kc-dft__it:target { background: var(--kc-cream); }
.item-page img.kc-dft__cv, img.kc-dft__cv { display: block; width: 76px; height: 57px; max-width: none; margin: 0; object-fit: contain; border-radius: 6px; }
.kc-dft__tx { min-width: 0; }
.item-page .kc-dft h3.kc-dft__h, .kc-dft h3.kc-dft__h { margin: 0; padding: 0; border: 0; background: none; color: var(--kc-ink); -webkit-text-fill-color: currentColor;
  font: 14.5px/1.7 'vazirmedium', tahoma, sans-serif; font-size: 14.5px !important; line-height: 1.7 !important; text-align: right; }
.kc-dft h3.kc-dft__h::before, .kc-dft h3.kc-dft__h::after { content: none; display: none; }
.kc-dft__mt { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 2px; color: var(--kc-mu); font-size: 12px; line-height: 1.6; }
.kc-dft__new { display: inline-flex; align-items: center; min-height: 20px; padding: 0 8px; border-radius: 999px; background: var(--kc-cream);
  box-shadow: inset 0 0 0 1px rgba(201, 164, 101, .45); color: var(--kc-goldd); font: 11px/1 'vazirmedium', tahoma, sans-serif; }
.kc-dft__bt { display: flex; align-items: center; gap: 6px; }
.item-page .kc-dft a.kc-dft__dl, .kc-dft a.kc-dft__dl { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 36px; padding: 0 12px;
  border-radius: 10px; background: var(--kc-ink); color: var(--kc-gold); font: 12.5px/1 'vazirmedium', tahoma, sans-serif; text-decoration: none;
  white-space: nowrap; transition: box-shadow .2s; }
.item-page .kc-dft a.kc-dft__sh, .kc-dft a.kc-dft__sh { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; flex: none;
  border-radius: 10px; background: #fff; color: var(--kc-goldd); box-shadow: inset 0 0 0 1.5px var(--kc-gold2); text-decoration: none; transition: background-color .2s; }
.kc-dft a.kc-dft__dl::before, .kc-dft a.kc-dft__sh::before { content: none; display: none; }
.kc-dft__bt svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.kc-dft a.kc-dft__dl:hover, .kc-dft a.kc-dft__dl:focus-visible { color: var(--kc-gold); box-shadow: 0 0 0 3px rgba(226, 195, 138, .35); }
.kc-dft a.kc-dft__sh:hover, .kc-dft a.kc-dft__sh:focus-visible { background: var(--kc-cream); color: var(--kc-goldd); }
.kc-dft a.kc-dft__dl:focus-visible, .kc-dft a.kc-dft__sh:focus-visible { outline: 2px solid var(--kc-gold2); outline-offset: 2px; }
@media (max-width: 575.98px) {
  .kc-dft__jump { padding: 10px; }
  .kc-dft__dec { grid-template-columns: 1fr; gap: 4px; }
  .kc-dft .kc-dft__ys a { min-width: 0; flex: 1 0 calc(20% - 6px); }
  .kc-dft__it { grid-template-columns: 60px minmax(0, 1fr); gap: 8px 10px; padding: 10px; }
  .item-page img.kc-dft__cv, img.kc-dft__cv { width: 60px; height: 45px; }
  .kc-dft__bt { grid-column: 2; }
  .item-page .kc-dft a.kc-dft__dl, .kc-dft a.kc-dft__dl { flex: 1 1 auto; }
  .item-page .kc-dft h3.kc-dft__h, .kc-dft h3.kc-dft__h { font-size: 13.5px !important; }
}
@media (prefers-reduced-motion: reduce) { .kc-dfs a.kc-dfs__go, .kc-dft__it, .kc-dft .kc-dft__ys a, .kc-dft a.kc-dft__dl, .kc-dft a.kc-dft__sh { transition: none; } }
