.mfdb { --mfdb-accent: #d2ac3b; --mfdb-line: rgba(128,128,128,.35); --mfdb-soft: rgba(128,128,128,.10); font-size: 16px; line-height: 1.5; }
.mfdb *, .mfdb *::before, .mfdb *::after { box-sizing: border-box; }
.mfdb-search { display: flex; gap: 8px; margin: 0 0 16px; }
.mfdb-search input[type="search"] { flex: 1; min-width: 0; }
.mfdb input, .mfdb select { width: 100%; padding: 9px 10px; border: 1px solid var(--mfdb-line); border-radius: 6px; background: #fff; color: #111; font: inherit; }
.mfdb label { display: block; font-size: 13px; margin: 0 0 3px; opacity: .85; }
.mfdb-filters { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px 14px; margin: 0 0 14px; }
.mfdb-btn { cursor: pointer; padding: 9px 14px; border: 1px solid var(--mfdb-accent); border-radius: 6px; background: var(--mfdb-accent); color: #111; font: inherit; }
.mfdb-btn.ghost { background: transparent; color: inherit; border-color: var(--mfdb-line); }
.mfdb-bar { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 10px; margin: 16px 0 10px; padding-top: 12px; border-top: 1px solid var(--mfdb-line); }
.mfdb-count { font-weight: 600; }
.mfdb-sort { min-width: 220px; }
.mfdb-list { list-style: none; margin: 0; padding: 0; }
.mfdb-item { border: 1px solid var(--mfdb-line); border-radius: 8px; margin: 0 0 8px; overflow: hidden; }
.mfdb-head { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.6fr) repeat(3, minmax(0, .8fr)); gap: 10px; align-items: center; width: 100%; padding: 11px 14px; text-align: left; background: transparent; color: inherit; border: 0; cursor: pointer; font: inherit; }
.mfdb-head:hover, .mfdb-head:focus-visible { background: var(--mfdb-soft); }
.mfdb-name { font-weight: 600; }
.mfdb-brand { display: block; font-size: 13px; font-weight: 400; opacity: .8; }
.mfdb-type { font-size: 14px; }
.mfdb-chips { display: block; margin-top: 3px; }
.mfdb-chip { display: inline-block; margin: 0 4px 2px 0; padding: 0 7px; border: 1px solid var(--mfdb-line); border-radius: 10px; font-size: 12px; }
.mfdb-num { font-size: 14px; white-space: nowrap; }
.mfdb-num small { display: block; font-size: 11px; opacity: .7; }
.mfdb-detail { padding: 4px 14px 14px; border-top: 1px solid var(--mfdb-line); background: var(--mfdb-soft); }
.mfdb-detail p { margin: 10px 0; }
.mfdb-specs { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 4px 24px; margin: 10px 0; }
.mfdb-spec { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; border-bottom: 1px dotted var(--mfdb-line); font-size: 14px; }
.mfdb-spec span:first-child { opacity: .75; }
.mfdb-spec span:last-child { text-align: right; }
.mfdb-links a { margin-right: 14px; }
.mfdb-pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin: 18px 0 4px; }
.mfdb-pager button:disabled { opacity: .4; cursor: default; }
.mfdb-empty { padding: 24px 6px; text-align: center; }
.mfdb-note { margin-top: 18px; font-size: 13px; opacity: .8; }
@media (max-width: 760px) {
  .mfdb-head { grid-template-columns: 1fr 1fr 1fr; }
  .mfdb-head > .mfdb-title, .mfdb-head > .mfdb-typecell { grid-column: 1 / -1; }
  .mfdb-search { flex-direction: column; }
  .mfdb-sort { min-width: 0; width: 100%; }
}

.mfdb-models .mfdb-jump { font-size: 14px; line-height: 1.9; }
.mfdb-model { margin: 0 0 28px; padding: 0 0 6px; border-bottom: 1px solid var(--mfdb-line); }
.mfdb-model h3 { margin: 0 0 6px; }
.mfdb-table { width: 100%; max-width: 640px; border-collapse: collapse; margin: 10px 0 12px; font-size: 15px; }
.mfdb-table th, .mfdb-table td { padding: 5px 8px; border-bottom: 1px dotted var(--mfdb-line); text-align: left; vertical-align: top; }
.mfdb-table th { width: 40%; font-weight: 400; opacity: .8; }
