.xml {
  --xml-accent: #e85d04;
  --xml-accent-dark: #b94700;
  --xml-ink: #172033;
  --xml-muted: #667085;
  --xml-line: #e2e6ec;
  color: var(--xml-ink);
  margin: 0 auto;
  max-width: 1240px;
}
.xml *, .xml *::before, .xml *::after { box-sizing: border-box; }
.xml__intro { max-width: 760px; }
.xml__eyebrow { color: var(--xml-accent); font-size: 13px; font-weight: 800; letter-spacing: .1em; margin: 0 0 7px; text-transform: uppercase; }
.xml__intro h2 { font-size: clamp(30px, 4vw, 48px); letter-spacing: -.035em; line-height: 1.08; margin: 0; }
.xml__intro > p:last-child { color: var(--xml-muted); font-size: 16px; line-height: 1.7; margin: 14px 0 0; }
.xml__form { align-items: end; background: #f7f8fa; border: 1px solid var(--xml-line); border-radius: 16px; display: grid; gap: 12px; grid-template-columns: minmax(260px, 2fr) minmax(160px, 1fr) minmax(160px, 1fr) auto auto; margin: 25px 0 18px; padding: 16px; }
.xml__form label span { display: block; font-size: 13px; font-weight: 750; margin: 0 0 7px; }
.xml__form input, .xml__form select { appearance: none; background: #fff; border: 1px solid #cfd5dd; border-radius: 9px; color: var(--xml-ink); font: inherit; min-height: 46px; padding: 9px 12px; width: 100%; }
.xml__form input:focus, .xml__form select:focus { border-color: var(--xml-accent); box-shadow: 0 0 0 3px rgba(232,93,4,.12); outline: 0; }
.xml__form button, .xml__clear { align-items: center; border: 1px solid var(--xml-accent); border-radius: 9px; display: inline-flex; font: inherit; font-weight: 800; justify-content: center; min-height: 46px; padding: 9px 17px; text-decoration: none; }
.xml__form button { background: var(--xml-accent); color: #fff; cursor: pointer; }
.xml__form button:hover { background: var(--xml-accent-dark); }
.xml__clear { background: #fff; color: var(--xml-accent-dark); }
.xml__status { color: var(--xml-muted); font-size: 14px; margin: 0 2px 13px; }
.xml__grid { display: grid; gap: 17px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.xml__card { background: #fff; border: 1px solid var(--xml-line); border-radius: 14px; box-shadow: 0 7px 22px rgba(16,24,40,.06); display: grid; grid-template-columns: 124px minmax(0, 1fr); min-width: 0; overflow: hidden; }
.xml__cover { align-items: center; background: #f1f3f6; color: #fff; display: flex; min-height: 190px; overflow: hidden; position: relative; text-decoration: none; }
.xml__cover img { height: 100%; inset: 0; object-fit: contain; position: absolute; width: 100%; }
.xml__cover::after { background: linear-gradient(transparent 55%, rgba(0,0,0,.72)); content: ""; inset: 0; position: absolute; }
.xml__cover span { bottom: 10px; font-size: 12px; font-weight: 800; left: 10px; position: absolute; z-index: 1; }
.xml__card-body { display: flex; flex-direction: column; min-width: 0; padding: 15px; }
.xml__type { color: var(--xml-accent-dark); font-size: 11px; font-weight: 800; letter-spacing: .05em; margin: 0 0 5px; text-transform: uppercase; }
.xml__card h3 { font-size: 16px; line-height: 1.35; margin: 0; overflow-wrap: anywhere; }
.xml__card h3 a { color: var(--xml-ink); text-decoration: none; }
.xml__card h3 a:hover { color: var(--xml-accent-dark); text-decoration: underline; }
.xml__models { color: #344054; font-size: 13px; line-height: 1.45; margin: 8px 0 0; overflow-wrap: anywhere; }
.xml__facts { color: var(--xml-muted); font-size: 12px; line-height: 1.5; margin: 8px 0 0; }
.xml__button { align-self: flex-start; background: var(--xml-accent); border-radius: 7px; color: #fff; font-size: 13px; font-weight: 800; margin-top: auto; padding: 8px 12px; text-decoration: none; }
.xml__button:hover { background: var(--xml-accent-dark); color: #fff; }
.xml__empty { background: #f7f8fa; border: 1px solid var(--xml-line); border-radius: 14px; padding: 28px; }
.xml__empty h2 { font-size: 22px; margin: 0; }
.xml__empty p { color: var(--xml-muted); margin: 8px 0 0; }
.xml__pagination { align-items: center; display: flex; gap: 15px; justify-content: center; margin: 28px 0 0; }
.xml__pagination a { border: 1px solid var(--xml-accent); border-radius: 8px; color: var(--xml-accent-dark); font-weight: 750; padding: 8px 14px; text-decoration: none; }
.xml__pagination span { color: var(--xml-muted); font-size: 14px; }
@media (max-width: 1050px) {
  .xml__form { grid-template-columns: 1fr 1fr; }
  .xml__search { grid-column: 1 / -1; }
  .xml__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .xml__form { grid-template-columns: 1fr; }
  .xml__search { grid-column: auto; }
  .xml__form button, .xml__clear { width: 100%; }
  .xml__grid { grid-template-columns: 1fr; }
  .xml__card { grid-template-columns: 108px minmax(0, 1fr); }
  .xml__cover { min-height: 178px; }
}
