:root {
  --ds-bg: #f7f9fc;
  --ds-panel: #fff;
  --ds-text: #0f1b34;
  --ds-muted: #64708a;
  --ds-line: #dfe6f2;
  --ds-blue: #075eea;
  --ds-blue-2: #0a68ff;
  --ds-blue-soft: #eaf2ff;
  --ds-green: #18a957;
  --ds-green-soft: #eaf8f0;
  --ds-shadow: 0 18px 45px rgba(15, 27, 52, .08);
}

.ds-page *,
.ds-page *::before,
.ds-page *::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  background: var(--ds-bg);
  color: var(--ds-text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

.ds-page a {
  color: inherit;
  text-decoration: none;
}

.ds-icons {
  display: none;
}

.ds-page svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.ds-shell {
  width: min(1480px, calc(100% - 64px));
  margin: 0 auto;
}

.ds-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .9);
  border-bottom: 1px solid var(--ds-line);
  backdrop-filter: blur(18px);
}

.ds-header__inner {
  min-height: 68px;
  display: grid;
  grid-template-columns: auto minmax(320px, 1fr) auto;
  gap: 28px;
  align-items: center;
}

.ds-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  font-weight: 800;
}

@media (min-width: 821px) {
  .ds-logo {
    white-space: nowrap;
  }
}

.ds-logo__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  background: linear-gradient(180deg, #1174ff, #075eea);
  border-radius: 8px;
  box-shadow: 0 10px 22px rgba(7, 94, 234, .24);
}

.ds-logo__icon svg {
  width: 24px;
  height: 24px;
}

.ds-top-search {
  display: grid;
  grid-template-columns: 1fr 44px;
  align-items: center;
  max-width: 520px;
  justify-self: center;
  width: 100%;
  height: 42px;
  background: #fff;
  border: 1px solid var(--ds-line);
  border-radius: 8px;
}

.ds-top-search input,
.ds-hero-search input,
.ds-side-search input {
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ds-text);
}

.ds-top-search input {
  padding: 0 14px;
}

.ds-top-search button,
.ds-hero-search button,
.ds-side-search button {
  border: 0;
  color: #fff;
  background: var(--ds-blue);
  border-radius: 8px;
  cursor: pointer;
}

.ds-top-search button {
  height: 34px;
  margin-right: 4px;
}

.ds-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}

.ds-nav a,
.ds-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ds-text);
  font-weight: 700;
}

.ds-nav a svg,
.ds-nav-link svg {
  color: #263655;
}

.ds-nav-item {
  position: relative;
}

.ds-nav-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  z-index: 30;
  display: grid;
  width: 220px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--ds-line);
  border-radius: 8px;
  box-shadow: 0 18px 36px rgba(15, 27, 52, .14);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -4px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}

.ds-nav-dropdown::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 0;
  width: 100%;
  height: 14px;
}

.ds-nav-dropdown a {
  min-height: 38px;
  padding: 9px 10px;
  border-radius: 7px;
  color: var(--ds-text);
  font-size: 14px;
  font-weight: 700;
}

.ds-nav-dropdown a:hover,
.ds-nav-dropdown a:focus-visible {
  color: var(--ds-blue);
  background: var(--ds-blue-soft);
}

.ds-nav-has-dropdown:hover .ds-nav-dropdown,
.ds-nav-has-dropdown:focus-within .ds-nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.ds-nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--ds-line);
  border-radius: 8px;
  background: #fff;
}

.ds-nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ds-text);
}

.ds-main {
  padding: 30px 0 48px;
}

.ds-hero {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 28px;
  padding: 64px 24px 48px;
  overflow: hidden;
  background: radial-gradient(circle at 50% 20%, #fff 0, #f8fbff 58%, #eef5ff 100%);
  border: 1px solid var(--ds-line);
  border-radius: 8px;
}

.ds-hero h1 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: clamp(34px, 4vw, 44px);
  line-height: 1.1;
  text-align: center;
}

.ds-hero-search {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 110px;
  align-items: center;
  width: min(860px, 100%);
  padding: 8px;
  background: #fff;
  border: 2px solid var(--ds-blue);
  border-radius: 10px;
  box-shadow: 0 18px 32px rgba(7, 94, 234, .12);
}

.ds-hero-search svg {
  margin-left: 12px;
  color: var(--ds-muted);
}

.ds-hero-search input {
  height: 48px;
  padding: 0 14px;
  font-size: 17px;
}

.ds-hero-search button {
  height: 50px;
  font-size: 16px;
  font-weight: 800;
}

.ds-hero__art {
  position: absolute;
  opacity: .16;
  border: 3px solid var(--ds-blue);
  pointer-events: none;
}

.ds-hero__art--printer {
  left: 38px;
  top: 54px;
  width: 150px;
  height: 96px;
  border-radius: 18px;
}

.ds-hero__art--gpu {
  right: 60px;
  top: 56px;
  width: 170px;
  height: 82px;
  transform: rotate(-12deg);
  border-radius: 12px;
}

.ds-device-grid {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.ds-device {
  display: grid;
  place-items: center;
  gap: 12px;
  min-height: 130px;
  padding: 18px 10px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--ds-line);
  border-radius: 8px;
  transition: background .16s ease, border-color .16s ease, box-shadow .16s ease, color .16s ease, transform .16s ease;
}

.ds-device svg {
  color: var(--ds-blue);
  width: 42px;
  height: 42px;
  stroke-width: 1.8;
  transition: color .16s ease, transform .16s ease;
}

.ds-device strong {
  font-size: 16px;
}

.ds-device:hover,
.ds-device:focus-visible {
  color: var(--ds-blue);
  background: linear-gradient(135deg, rgba(11, 99, 246, .12), rgba(11, 99, 246, .04));
  border-color: #6aa2ff;
  box-shadow: inset 0 0 0 1px rgba(11, 99, 246, .35), 0 14px 28px rgba(7, 94, 234, .12);
  transform: translateY(-1px);
}

.ds-device:hover svg,
.ds-device:focus-visible svg {
  color: #0b63f6;
  transform: scale(1.05);
}

.ds-section,
.ds-side-card,
.ds-safe-card,
.ds-source-card,
.ds-version-card,
.ds-tabs-card,
.ds-comments {
  background: #fff;
  border: 1px solid var(--ds-line);
  border-radius: 8px;
}

.ds-section {
  margin-top: 22px;
  padding: 20px;
}

.ds-section__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}

.ds-section__head h2,
.ds-side-card h2,
.ds-source-card h2,
.ds-version-card h2,
.ds-info-columns h2 {
  margin: 0;
  font-size: 20px;
}

.ds-section__head a,
.ds-download-link,
.ds-source-card a {
  color: var(--ds-blue);
  font-weight: 700;
}

.ds-popular-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.ds-driver-card {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 18px;
  align-items: center;
  min-height: 132px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--ds-line);
  border-radius: 8px;
}

.ds-driver-card__image {
  width: 110px;
  height: 82px;
  object-fit: contain;
}

.ds-driver-card__image--empty {
  background: linear-gradient(135deg, var(--ds-blue-soft), #fff);
  border: 1px solid var(--ds-line);
  border-radius: 8px;
}

.ds-driver-card h2 {
  margin: 0 0 6px;
  font-size: 18px;
}

.ds-driver-card p,
.ds-card-meta,
.ds-trust-card span,
.ds-benefits span,
.ds-source-card small,
.ds-safe-card p {
  color: var(--ds-muted);
}

.ds-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0;
  font-size: 13px;
}

.ds-short-card {
  grid-template-columns: 156px minmax(0, 1fr);
  gap: 22px;
  align-items: stretch;
  min-height: 182px;
  padding: 18px;
}

.ds-short-card__media {
  display: grid;
  place-items: center;
  min-height: 142px;
  background: linear-gradient(135deg, #f2f7ff, #fff);
  border: 1px solid var(--ds-line);
  border-radius: 8px;
}

.ds-short-card__device {
  display: grid;
  place-items: center;
  width: 118px;
  height: 92px;
  color: var(--ds-blue);
  background: rgba(11, 99, 246, .06);
  border: 1px solid #d8e6ff;
  border-radius: 8px;
}

.ds-short-card__device svg {
  width: 58px;
  height: 58px;
  stroke-width: 1.75;
}

.ds-short-card__body {
  display: grid;
  align-content: start;
  gap: 9px;
  min-width: 0;
}

.ds-short-card__top {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.ds-short-card__badge,
.ds-short-card__status {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.ds-short-card__badge {
  color: var(--ds-blue);
  background: var(--ds-blue-soft);
}

.ds-short-card__status {
  gap: 5px;
  color: var(--ds-green);
  background: rgba(39, 174, 96, .09);
}

.ds-short-card__status svg {
  width: 14px;
  height: 14px;
  stroke-width: 2.4;
}

.ds-short-card h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.15;
}

.ds-short-card p {
  max-width: 720px;
  margin: 0;
  line-height: 1.5;
}

.ds-short-card__meta {
  margin: 2px 0 0;
}

.ds-short-card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 0 9px;
  background: var(--ds-bg);
  border: 1px solid var(--ds-line);
  border-radius: 999px;
}

.ds-short-card__meta svg {
  width: 15px;
  height: 15px;
  color: var(--ds-blue);
}

.ds-short-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid var(--ds-line);
}

.ds-short-card__footer > span {
  color: var(--ds-muted);
  font-size: 13px;
}

.ds-short-card .ds-download-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.ds-short-card .ds-download-link svg {
  width: 16px;
  height: 16px;
}

.ds-home-bottom {
  display: grid;
  grid-template-columns: 1fr 1.1fr .95fr;
  gap: 18px;
  margin-top: 22px;
}

.ds-home-bottom .ds-section {
  margin-top: 0;
}

.ds-maker-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--ds-line);
  border-radius: 8px;
  overflow: hidden;
}

.ds-maker-grid a {
  display: grid;
  place-items: center;
  min-height: 48px;
  border-right: 1px solid var(--ds-line);
  border-bottom: 1px solid var(--ds-line);
  font-size: 18px;
  font-weight: 800;
}

.ds-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ds-chip-list a {
  padding: 10px 14px;
  color: var(--ds-blue);
  background: #fff;
  border: 1px solid var(--ds-line);
  border-radius: 8px;
  font-weight: 700;
}

.ds-model-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.ds-model-list a {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 10px 12px;
  color: var(--ds-text);
  background: var(--ds-bg);
  border: 1px solid var(--ds-line);
  border-radius: 8px;
  box-sizing: border-box;
}

.ds-model-list a > svg:first-child {
  width: 24px;
  height: 24px;
  color: var(--ds-blue);
  stroke-width: 2;
}

.ds-model-list a span {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.ds-model-list strong {
  overflow: hidden;
  font-size: 14px;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ds-model-list small {
  overflow: hidden;
  color: var(--ds-muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ds-model-list__arrow {
  width: 16px;
  height: 16px;
  color: var(--ds-muted);
}

.ds-model-list a:hover {
  color: var(--ds-blue);
  border-color: #b8d2ff;
  background: var(--ds-blue-soft);
}

.ds-trust-card {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 28px;
  background: linear-gradient(135deg, #f4fff8, #fff);
  border: 1px solid #d8efe2;
  border-radius: 8px;
}

.ds-trust-card strong {
  font-size: 20px;
}

.ds-trust-card span::before {
  content: "✓";
  margin-right: 8px;
  color: var(--ds-green);
  font-weight: 800;
}

.ds-trust-card b {
  margin-top: 26px;
  color: var(--ds-green);
  font-size: 26px;
}

.ds-benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 22px;
  background: var(--ds-line);
  border: 1px solid var(--ds-line);
  border-radius: 8px;
  overflow: hidden;
}

.ds-benefits div {
  display: grid;
  gap: 3px;
  padding: 20px 24px;
  background: #fff;
}

.ds-layout,
.ds-driver-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 470px;
  gap: 42px;
  align-items: start;
}

.ds-content,
.ds-sidebar,
.ds-driver-main,
.ds-download-sidebar,
.ds-tabs-card,
.ds-version-card,
.ds-safe-card,
.ds-source-card {
  min-width: 0;
}

.ds-sidebar,
.ds-download-sidebar {
  position: sticky;
  top: 98px;
  display: grid;
  gap: 16px;
}

.ds-side-card {
  box-sizing: border-box;
  padding: 20px;
}

.ds-side-search {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.ds-side-search input {
  height: 44px;
  padding: 0 12px;
  background: var(--ds-bg);
  border: 1px solid var(--ds-line);
  border-radius: 8px;
}

.ds-side-search button {
  height: 44px;
  font-weight: 800;
}

.ds-cat-menu a,
.ds-compact-driver,
.ds-related-list a {
  display: grid;
  gap: 4px;
  padding: 11px 0;
  border-bottom: 1px solid var(--ds-line);
}

.ds-cat-menu ul,
.ds-cat-menu li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ds-cat-menu {
  margin-top: 12px;
}

.ds-cat-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 42px;
  padding: 10px 0;
  color: var(--ds-text);
  font-weight: 700;
  line-height: 1.2;
}

.ds-cat-menu a span {
  float: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 26px;
  padding: 0 9px;
  color: var(--ds-muted);
  background: var(--ds-bg);
  border: 1px solid var(--ds-line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  box-sizing: border-box;
}

.ds-compact-driver span {
  font-weight: 700;
}

.ds-compact-driver small {
  color: var(--ds-muted);
}

.ds-breadcrumbs {
  margin-bottom: 22px;
  color: var(--ds-muted);
  font-size: 14px;
}

.ds-breadcrumbs a {
  color: var(--ds-muted);
}

.ds-driver-hero {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 30px;
  align-items: center;
  margin-bottom: 22px;
}

.ds-device-photo img {
  width: 170px;
  height: 120px;
  padding: 0;
  object-fit: contain;
  background: transparent;
  border: 0;
  border-radius: 0;
  filter: drop-shadow(0 12px 20px rgba(15, 27, 52, .16));
}

.ds-device-photo--printer {
  width: 190px;
  height: 130px;
}

.ds-device-photo--printer svg {
  width: 190px;
  height: 130px;
  stroke: none;
}

.ds-device-photo span {
  display: grid;
  place-items: center;
  width: 170px;
  height: 120px;
  color: var(--ds-blue);
  background: transparent;
  border: 0;
  border-radius: 0;
  font-weight: 800;
}

.ds-device-photo__empty svg {
  width: 92px;
  height: 92px;
  color: var(--ds-blue);
}

.ds-driver-title h1 {
  margin: 0 0 10px;
  font-size: clamp(34px, 4vw, 46px);
  line-height: 1.08;
}

.ds-driver-title,
.ds-story,
.ds-driver-main {
  min-width: 0;
  max-width: 100%;
}

.ds-driver-title img,
.ds-story img {
  max-width: 100%;
  height: auto;
}

.ds-story img {
  display: none;
}

.ds-driver-title p,
.ds-story p {
  max-width: 100%;
}

.ds-driver-title p {
  margin: 0 0 16px;
  color: var(--ds-muted);
  font-size: 18px;
}

.ds-driver-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.ds-driver-badges span {
  color: var(--ds-text);
  font-weight: 700;
}

.ds-driver-badges span:nth-child(n+2)::before {
  content: "✓";
  margin-right: 8px;
  color: var(--ds-green);
}

.ds-alternate-links {
  margin-top: 12px;
}

.ds-alternate-links a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  color: var(--ds-blue);
  background: var(--ds-blue-soft);
  border: 1px solid rgba(7, 94, 234, .24);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}
.ds-os-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 16px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--ds-line);
  border-radius: 8px;
}

.ds-os-tabs a {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 18px 24px;
  border-right: 1px solid var(--ds-line);
  font-size: 16px;
  font-weight: 800;
}

.ds-os-tabs svg {
  width: 24px;
  height: 24px;
  color: var(--ds-text);
  fill: currentColor;
  stroke: none;
}

.ds-os-tabs a.is-active svg {
  color: var(--ds-blue);
}

.ds-os-tabs a:last-child {
  border-right: 0;
}

.ds-os-tabs a.is-active {
  color: var(--ds-blue);
  box-shadow: inset 0 0 0 2px var(--ds-blue);
}

.ds-os-tabs small {
  color: var(--ds-muted);
  font-weight: 500;
}

.ds-tabs-card,
.ds-version-card,
.ds-safe-card,
.ds-source-card,
.ds-comments {
  padding: 22px;
}

.ds-tabs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ds-line);
}

.ds-tabs-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ds-muted);
  font-weight: 800;
}

.ds-tabs-nav a.is-active {
  color: var(--ds-blue);
}

.ds-story {
  padding: 18px 0;
  color: #2f3a52;
  line-height: 1.7;
}

.ds-support-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 14px 0 22px;
  border-bottom: 1px solid var(--ds-line);
}

.ds-support-row span::before {
  content: "✓";
  margin-right: 8px;
  color: var(--ds-green);
}

.ds-info-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  padding-top: 18px;
}

.ds-facts-list,
.ds-download-facts {
  margin: 14px 0 0;
}

.ds-facts-list div,
.ds-download-facts div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 0;
  border-bottom: 1px solid var(--ds-line);
}

.ds-facts-list dt,
.ds-download-facts dt {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ds-muted);
}

.ds-facts-list dt svg,
.ds-download-facts dt svg {
  width: 18px;
  height: 18px;
  color: #30415f;
}

.ds-facts-list dd,
.ds-download-facts dd {
  margin: 0;
  font-weight: 700;
  text-align: right;
}

.ds-facts-list .ds-os-row,
.ds-download-facts .ds-os-row {
  align-items: flex-start;
}

.ds-os-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  max-width: 360px;
  text-align: right;
}

.ds-os-chip {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 9px;
  color: var(--ds-blue);
  background: rgba(8, 115, 215, .08);
  border: 1px solid rgba(8, 115, 215, .18);
  border-radius: 7px;
  font-size: 13px;
  line-height: 1.2;
  white-space: nowrap;
}

.ds-facts-list .ds-hash,
.ds-download-facts .ds-hash {
  max-width: 260px;
  overflow-wrap: anywhere;
  font-family: Consolas, Monaco, monospace;
  font-size: 12px;
  line-height: 1.45;
}

.ds-steps {
  margin: 14px 0 0;
  padding-left: 0;
  counter-reset: steps;
  list-style: none;
}

.ds-steps li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  margin-bottom: 10px;
  color: #2f3a52;
}

.ds-steps li::before {
  counter-increment: steps;
  content: counter(steps);
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  color: #fff;
  background: var(--ds-blue);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
}

.ds-steps--wide {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 22px;
}

.ds-steps--wide li {
  margin: 0;
}

.ds-version-card {
  margin-top: 16px;
}

.ds-version-table {
  margin-top: 12px;
  overflow-x: auto;
  border: 1px solid var(--ds-line);
  border-radius: 8px;
}

.ds-version-row {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr 1fr .8fr;
  min-width: 780px;
}

.ds-version-row span {
  display: flex;
  align-items: center;
  padding: 12px 14px;
  border-bottom: 1px solid var(--ds-line);
}

.ds-version-row span:last-child {
  justify-content: center;
  color: var(--ds-blue);
}

.ds-version-row:last-child span {
  border-bottom: 0;
}

.ds-version-head {
  background: var(--ds-bg);
  color: var(--ds-muted);
  font-size: 13px;
  font-weight: 800;
}

.ds-safe-head {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 20px;
}

.ds-safe-head span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: #fff;
  background: var(--ds-green);
  border-radius: 50%;
  font-weight: 900;
}

.ds-safe-head span svg {
  width: 25px;
  height: 25px;
}

.ds-safe-head strong {
  display: block;
  font-size: 18px;
}

.ds-safe-head small {
  color: var(--ds-muted);
}

.ds-download-facts {
  padding: 12px 20px;
  border: 1px solid var(--ds-line);
  border-radius: 8px;
}

.ds-primary-download {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  min-height: 60px;
  margin-top: 18px;
  color: #fff !important;
  background: linear-gradient(180deg, var(--ds-blue-2), var(--ds-blue));
  border-radius: 8px;
  box-shadow: 0 18px 30px rgba(7, 94, 234, .2);
  font-size: 20px;
  font-weight: 800;
}

.ds-primary-download--disabled {
  background: linear-gradient(180deg, #7d8ca6, #5f6e86);
  box-shadow: none;
}

.ds-primary-download svg {
  width: 26px;
  height: 26px;
}

.ds-safe-card p {
  margin: 16px 0 0;
  font-size: 13px;
  line-height: 1.45;
}

.ds-source-card {
  margin-top: 16px;
}

.ds-source-row {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 14px;
}

.ds-source-row > div {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.ds-source-logo {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: #fff;
  background: var(--ds-blue);
  border-radius: 50%;
  font-weight: 900;
}

.ds-official-chip {
  display: inline-flex;
  width: fit-content;
  padding: 5px 9px;
  color: #11743b;
  background: var(--ds-green-soft);
  border: 1px solid #c8edd8;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
}

.ds-source-muted {
  color: var(--ds-muted);
  font-size: 14px;
  line-height: 1.4;
}

.ds-source-card--verified {
  border-color: #bfe9cf;
  background: linear-gradient(135deg, rgba(27, 163, 86, .08), #fff 58%);
}

.ds-warning-card {
  border-color: #f2dfb8;
  background: linear-gradient(135deg, rgba(245, 176, 65, .12), #fff 58%);
}

.ds-warning-card p {
  margin: 10px 0 0;
  color: var(--ds-muted);
  line-height: 1.55;
}

.ds-related-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.ds-related-list {
  display: grid;
  margin-top: 12px;
}

.ds-related-list,
.ds-related-list ul,
.ds-related-list li {
  margin-left: 0;
  padding-left: 0;
  list-style: none;
}

.ds-related-list li,
.ds-related-item {
  display: block;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--ds-line);
}

.ds-related-list li:last-child,
.ds-related-item:last-child {
  border-bottom: 0;
}

.ds-related-list a {
  min-height: 54px;
  padding: 13px 0;
}

.ds-related-list a b {
  min-width: 0;
  flex: 1;
  color: var(--ds-text);
  font-size: 14px;
  line-height: 1.3;
}

.ds-related-list a span {
  display: none;
}

.ds-related-list a::after {
  content: "";
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--ds-muted);
  border-right: 2px solid var(--ds-muted);
  transform: rotate(45deg);
  flex: 0 0 auto;
}

.ds-related-list svg {
  width: 18px;
  height: 18px;
  color: var(--ds-muted);
}

.ds-comments {
  margin-top: 22px;
}

.ds-comments h2 {
  margin-top: 0;
}

.ds-comment-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin: 12px 0 18px;
  padding: 0 18px;
  color: #fff;
  background: var(--ds-blue);
  border: 0;
  border-radius: 8px;
  box-shadow: 0 14px 24px rgba(7, 94, 234, .18);
  font-weight: 800;
  cursor: pointer;
}

.ds-comment-toggle:hover {
  background: var(--ds-blue-2);
}

.ds-comment-toggle[hidden] {
  display: none !important;
}

.ds-comment-form-shell[hidden] {
  display: none !important;
}

.ds-comment-form-shell {
  margin-bottom: 22px;
}

.ds-comments #comments,
.ds-comments .dlecomments-editor textarea {
  display: block !important;
  visibility: visible !important;
  width: 100% !important;
  min-height: 180px;
  padding: 14px 16px;
  color: var(--ds-text);
  background: #fff;
  border: 1px solid var(--ds-line);
  border-radius: 8px;
  outline: 0;
  resize: vertical;
  font: inherit;
  line-height: 1.5;
}

.ds-page[data-theme="dark"] .ds-comments #comments,
.ds-page[data-theme="dark"] .ds-comments .dlecomments-editor textarea {
  background: var(--ds-panel);
}

.ds-feedback {
  max-width: 860px;
  margin: 0 auto;
}

.ds-feedback .box_in {
  padding: 28px;
}

.ds-feedback .title {
  margin: 0;
  font-size: 34px;
  line-height: 1.18;
}

.ds-feedback__lead {
  max-width: 680px;
  margin: 12px 0 24px;
  color: var(--ds-muted);
  font-size: 16px;
  line-height: 1.55;
}

.ds-feedback .ui-form {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ds-feedback .form-group {
  margin: 0;
}

.ds-feedback .combo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.ds-feedback label {
  display: block;
  margin: 0 0 8px;
  color: var(--ds-text);
  font-weight: 800;
}

.ds-feedback input[type="text"],
.ds-feedback input[type="email"],
.ds-feedback input[type="file"],
.ds-feedback textarea,
.ds-feedback select {
  width: 100%;
  min-height: 48px;
  padding: 13px 15px;
  color: var(--ds-text);
  background: #fff;
  border: 1px solid var(--ds-line);
  border-radius: 8px;
  outline: 0;
  font: inherit;
  transition: border-color .16s ease, box-shadow .16s ease;
}

.ds-feedback textarea {
  min-height: 190px;
  resize: vertical;
  line-height: 1.5;
}

.ds-feedback input:focus,
.ds-feedback textarea:focus,
.ds-feedback select:focus {
  border-color: var(--ds-blue);
  box-shadow: 0 0 0 3px rgba(11, 99, 246, .14);
}

.ds-feedback .form_submit {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 22px;
}

.ds-feedback .c-captcha {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.ds-feedback .c-captcha img {
  border: 1px solid var(--ds-line);
  border-radius: 8px;
}

.ds-feedback .btn {
  min-height: 48px;
  padding: 0 22px;
  color: #fff;
  background: var(--ds-blue);
  border: 0;
  border-radius: 8px;
  box-shadow: 0 14px 28px rgba(7, 94, 234, .18);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.ds-feedback .btn:hover {
  background: #075eea;
}

@media (max-width: 640px) {
  .ds-feedback .box_in {
    padding: 22px 18px;
  }

  .ds-feedback .title {
    font-size: 28px;
  }

  .ds-feedback .combo {
    grid-template-columns: 1fr;
  }

  .ds-feedback .form_submit,
  .ds-feedback .btn {
    width: 100%;
  }

  .ds-steps--wide {
    grid-template-columns: 1fr;
  }
}

.ds-footer {
  border-top: 1px solid var(--ds-line);
  background: #fff;
}

.ds-footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 30px 0;
}

.ds-footer__brand {
  font-weight: 800;
}

.ds-footer p {
  margin: 8px 0 0;
  color: var(--ds-muted);
}

.ds-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-content: center;
  color: var(--ds-muted);
  font-weight: 700;
}

@media (max-width: 1180px) {
  .ds-device-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .ds-popular-grid,
  .ds-home-bottom,
  .ds-layout,
  .ds-driver-layout {
    grid-template-columns: 1fr;
  }

  .ds-sidebar,
  .ds-download-sidebar {
    position: static;
  }
}

@media (max-width: 820px) {
  .ds-shell {
    width: min(100% - 24px, 1480px);
  }

  .ds-header__inner {
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding: 12px 0;
  }

  .ds-top-search,
  .ds-nav {
    grid-column: 1 / -1;
  }

  .ds-nav {
    display: none;
    flex-wrap: wrap;
  }

  .ds-nav.is-open {
    display: flex;
  }

  .ds-nav-item,
  .ds-nav-link,
  .ds-nav > a {
    width: 100%;
  }

  .ds-nav {
    gap: 10px;
  }

  .ds-nav-link,
  .ds-nav > a {
    min-height: 40px;
    padding: 8px 10px;
    border: 1px solid var(--ds-line);
    border-radius: 8px;
  }

  .ds-nav-dropdown {
    position: static;
    width: 100%;
    margin-top: 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
  }

  .ds-nav-dropdown a {
    min-height: 36px;
    padding: 8px 9px;
    background: var(--ds-bg);
    border: 1px solid var(--ds-line);
    font-size: 14px;
  }

  .ds-nav-dropdown::before {
    display: none;
  }

  .ds-nav-toggle {
    display: block;
  }

  .ds-hero {
    width: 100%;
    max-width: 100%;
    padding: 34px 10px;
  }

  .ds-hero-search {
    width: 100%;
    max-width: 100%;
    grid-template-columns: 30px minmax(0, 1fr);
    padding: 6px;
  }

  .ds-hero h1 {
    max-width: 100%;
    font-size: 30px;
  }

  .ds-hero-search svg {
    margin-left: 8px;
  }

  .ds-hero-search input {
    width: 100%;
    min-width: 0;
    padding: 0 8px;
    box-sizing: border-box;
    font-size: 14px;
  }

  .ds-hero-search button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .ds-device-grid,
  .ds-popular-grid,
  .ds-benefits,
  .ds-os-tabs,
  .ds-support-row,
  .ds-info-columns,
  .ds-driver-hero {
    grid-template-columns: 1fr;
  }

  .ds-os-tabs a {
    border-right: 0;
    border-bottom: 1px solid var(--ds-line);
  }

  .ds-driver-card {
    grid-template-columns: 90px 1fr;
  }

  .ds-driver-card__image {
    width: 90px;
  }

  .ds-footer__inner {
    display: grid;
  }
}

/* Theme and cleaner top navigation overrides. */
html[data-theme="dark"],
.ds-page[data-theme="dark"] {
  --ds-bg: #0f1724;
  --ds-panel: #151f2e;
  --ds-text: #edf4ff;
  --ds-muted: #a4b1c5;
  --ds-line: #2d3a4f;
  --ds-blue-soft: #173765;
  --ds-green-soft: #143927;
}

html[data-theme="dark"],
html[data-theme="dark"] body,
.ds-page[data-theme="dark"] {
  background: var(--ds-bg);
}

html[data-theme="dark"],
.ds-page[data-theme="dark"] {
  color-scheme: dark;
}

.ds-page[data-theme="dark"] .ds-header {
  background: rgba(15, 23, 36, .9);
}

.ds-page[data-theme="dark"] .ds-top-search,
.ds-page[data-theme="dark"] .ds-device,
.ds-page[data-theme="dark"] .ds-section,
.ds-page[data-theme="dark"] .ds-side-card,
.ds-page[data-theme="dark"] .ds-safe-card,
.ds-page[data-theme="dark"] .ds-source-card,
.ds-page[data-theme="dark"] .ds-version-card,
.ds-page[data-theme="dark"] .ds-tabs-card,
.ds-page[data-theme="dark"] .ds-comments,
.ds-page[data-theme="dark"] .ds-os-tabs,
.ds-page[data-theme="dark"] .ds-chip-list a,
.ds-page[data-theme="dark"] .ds-driver-card {
  background: var(--ds-panel);
}

.ds-page[data-theme="dark"] .ds-device:hover,
.ds-page[data-theme="dark"] .ds-device:focus-visible {
  color: #8bb8ff;
  background: linear-gradient(135deg, rgba(11, 99, 246, .32), rgba(11, 99, 246, .10));
  border-color: #2f72e8;
  box-shadow: inset 0 0 0 1px rgba(75, 137, 255, .45), 0 18px 36px rgba(7, 94, 234, .20);
}

.ds-page[data-theme="dark"] .ds-device:hover svg,
.ds-page[data-theme="dark"] .ds-device:focus-visible svg {
  color: #2f7dff;
}

.ds-page[data-theme="dark"] .ds-source-card--verified {
  border-color: #24543a;
  background: linear-gradient(135deg, rgba(27, 163, 86, .16), var(--ds-panel) 62%);
}

.ds-page[data-theme="dark"] .ds-warning-card {
  border-color: #6c5630;
  background: linear-gradient(135deg, rgba(245, 176, 65, .16), var(--ds-panel) 62%);
}

.ds-page[data-theme="dark"] .ds-story,
.ds-page[data-theme="dark"] .ds-steps li {
  color: #d7e2f2;
}

.ds-page[data-theme="dark"] .ds-facts-list div:nth-child(odd) {
  background: rgba(255, 255, 255, .035);
}

.ds-page[data-theme="dark"] .ds-facts-list dt svg,
.ds-page[data-theme="dark"] .ds-download-facts dt svg {
  color: var(--ds-muted);
}

.ds-page[data-theme="dark"] .box,
.ds-page[data-theme="dark"] .box_in,
.ds-page[data-theme="dark"] .addcomment,
.ds-page[data-theme="dark"] .ds-comment-form,
.ds-page[data-theme="dark"] .ui-form,
.ds-page[data-theme="dark"] .form_submit {
  color: var(--ds-text);
  background: transparent;
  border-color: var(--ds-line);
}

.ds-page[data-theme="dark"] input,
.ds-page[data-theme="dark"] textarea,
.ds-page[data-theme="dark"] select {
  color: var(--ds-text);
  background: #111a27;
  border-color: var(--ds-line);
}

.ds-page[data-theme="dark"] input::placeholder,
.ds-page[data-theme="dark"] textarea::placeholder {
  color: #77869d;
}

.ds-page[data-theme="dark"] .comment,
.ds-page[data-theme="dark"] .com_info,
.ds-page[data-theme="dark"] .com_content,
.ds-page[data-theme="dark"] #dle-comments-list,
.ds-page[data-theme="dark"] #dlemasscomments {
  color: var(--ds-text);
  background: transparent;
}

.ds-page[data-theme="dark"] .grey,
.ds-page[data-theme="dark"] .comment .grey,
.ds-page[data-theme="dark"] .meta,
.ds-page[data-theme="dark"] .meta a {
  color: var(--ds-muted);
}

.ds-page[data-theme="dark"] .ds-footer {
  background: var(--ds-panel);
}

.ds-nav-windows::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ds-blue);
  box-shadow: 0 0 0 4px var(--ds-blue-soft);
}

.ds-header-tools {
  gap: 8px;
  font-size: inherit;
  color: var(--ds-muted);
}

.ds-theme-btn {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  color: var(--ds-muted);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.ds-theme-btn:hover,
.ds-theme-btn.is-active {
  color: var(--ds-blue);
  background: var(--ds-blue-soft);
  border-color: #cfe0ff;
}

.ds-page[data-theme="dark"] .ds-theme-btn:hover,
.ds-page[data-theme="dark"] .ds-theme-btn.is-active {
  border-color: #28558f;
}

@media (max-width: 1300px) {
  .ds-header-tools {
    display: none;
  }
}

/* Reference polish: driver page mockup closer to approved concept image. */
.ds-header__inner {
  grid-template-columns: auto minmax(360px, 520px) auto auto;
}

.ds-header-tools {
  display: flex;
  gap: 18px;
  align-items: center;
  color: #15213a;
  font-size: 22px;
  line-height: 1;
}

.ds-top-search {
  height: 40px;
  max-width: 520px;
  border-color: #d4deed;
  box-shadow: 0 1px 2px rgba(15, 27, 52, .02);
}

.ds-top-search input {
  font-size: 14px;
}

.ds-top-search button {
  color: #30415f;
  background: transparent;
}

.ds-main {
  padding-top: 18px;
}

.ds-breadcrumbs {
  margin-bottom: 18px;
  padding-left: 2px;
  font-size: 14px;
}

.ds-driver-layout {
  grid-template-columns: minmax(0, 936px) 486px;
  gap: 44px;
}

.ds-driver-hero {
  grid-template-columns: 170px 1fr;
  min-height: 114px;
  margin-bottom: 16px;
}

.ds-device-photo--printer {
  width: 154px;
  height: 104px;
}

.ds-device-photo--printer svg {
  width: 154px;
  height: 104px;
}

.ds-driver-title h1 {
  margin-bottom: 9px;
  font-size: 38px;
  letter-spacing: 0;
}

.ds-driver-title p {
  margin-bottom: 16px;
  font-size: 18px;
}

.ds-driver-badges {
  gap: 28px;
  color: #30415f;
}

.ds-driver-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 31px;
  line-height: 1;
}

.ds-driver-badges span:first-child {
  align-items: center;
}

.ds-driver-badges span:first-child::before {
  content: none;
  display: none;
}

.ds-os-tabs {
  margin-bottom: 16px;
  border-color: #d8e1ee;
}

.ds-os-tabs a {
  min-height: 64px;
  padding: 12px 26px;
  color: #17233c;
}

.ds-os-tabs a > span {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
  line-height: 1.25;
  white-space: nowrap;
}

.ds-os-tabs a.is-active {
  background: linear-gradient(180deg, #f9fbff, #f2f7ff);
  box-shadow: inset 0 0 0 2px var(--ds-blue);
}

.ds-os-tabs svg {
  width: 28px;
  height: 28px;
}

.ds-os-tabs small {
  display: block;
  line-height: 1.35;
  white-space: nowrap;
}

.ds-tabs-card,
.ds-version-card,
.ds-safe-card,
.ds-source-card {
  border-color: #d8e1ee;
  box-shadow: 0 2px 8px rgba(15, 27, 52, .025);
}

.ds-tabs-card {
  padding: 18px 19px 12px;
}

.ds-tabs-nav {
  justify-content: space-between;
  gap: 14px;
  flex-wrap: nowrap;
  padding-bottom: 12px;
}

.ds-tabs-nav a {
  position: relative;
  padding: 0 0 13px;
  font-size: 14px;
  white-space: nowrap;
}

.ds-tabs-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -13px;
  height: 3px;
  background: var(--ds-blue);
  border-radius: 999px;
}

.ds-tabs-nav svg {
  width: 17px;
  height: 17px;
}

.ds-story {
  padding: 18px 0 13px;
  font-size: 14px;
}

.ds-story p {
  margin: 0 0 7px;
}

.ds-support-row {
  gap: 34px;
  padding: 15px 0 18px;
  font-size: 13px;
}

.ds-info-columns {
  gap: 34px;
  padding-top: 14px;
}

.ds-info-columns > div + div {
  padding-left: 20px;
  border-left: 1px solid var(--ds-line);
}

.ds-info-columns h2 {
  font-size: 14px;
  margin-bottom: 9px;
}

.ds-facts-list div {
  min-height: 24px;
  padding: 3px 0;
  border-bottom: 0;
}

.ds-facts-list div:nth-child(odd) {
  background: #f7f9fc;
}

.ds-facts-list dt,
.ds-facts-list dd {
  font-size: 13px;
}

.ds-facts-list dt svg {
  display: none;
}

.ds-steps li {
  margin-bottom: 8px;
  font-size: 13px;
}

.ds-version-card {
  margin-top: 8px;
  padding: 16px 18px 18px;
}

.ds-version-card h2 {
  font-size: 14px;
}

.ds-version-row {
  min-width: 780px;
}

.ds-version-row span {
  padding: 9px 14px;
  font-size: 13px;
}

.ds-safe-card {
  padding: 24px 24px 18px;
}

.ds-safe-head {
  margin-bottom: 18px;
}

.ds-safe-head span {
  width: 48px;
  height: 48px;
  border-radius: 14px;
}

.ds-download-facts {
  margin-top: 0;
  padding: 8px 20px;
}

.ds-download-facts div {
  padding: 11px 0;
}

.ds-download-facts dt,
.ds-download-facts dd {
  font-size: 14px;
}

.ds-primary-download {
  min-height: 60px;
  margin-top: 18px;
  padding: 0 18px;
  font-size: 19px;
  text-align: center;
}

.ds-source-card {
  padding: 22px;
  margin-top: 16px;
}

.ds-source-card h2 {
  font-size: 16px;
}

.ds-related-list a {
  padding: 14px 0;
  font-weight: 700;
}

@media (max-width: 1180px) {
  .ds-header__inner {
    grid-template-columns: auto minmax(280px, 1fr) auto;
  }

  .ds-header-tools {
    display: none;
  }

  .ds-popular-grid,
  .ds-home-bottom,
  .ds-layout,
  .ds-driver-layout {
    grid-template-columns: 1fr;
  }

  .ds-sidebar,
  .ds-download-sidebar {
    position: static;
  }
}

@media (max-width: 820px) {
  .ds-header__inner {
    grid-template-columns: 1fr auto;
  }

  .ds-info-columns > div + div {
    padding-left: 0;
    border-left: 0;
  }

  .ds-driver-layout,
  .ds-download-sidebar,
  .ds-safe-card,
  .ds-source-card,
  .ds-version-card,
  .ds-tabs-card {
    width: 100%;
    max-width: 100%;
  }

  .ds-driver-hero {
    grid-template-columns: 1fr;
    gap: 14px;
    align-items: start;
  }

  .ds-driver-title h1 {
    font-size: 34px;
  }

  .ds-driver-title {
    overflow: hidden;
  }

  .ds-device-photo,
  .ds-device-photo--printer,
  .ds-device-photo span {
    width: 170px;
    max-width: 100%;
  }

  .ds-os-tabs a {
    min-height: 58px;
    padding: 12px 18px;
  }

  .ds-version-table {
    width: 100%;
    max-width: 100%;
    overflow: visible;
  }

  .ds-tabs-card,
  .ds-version-card {
    overflow: hidden;
  }

  .ds-tabs-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch;
    gap: 8px;
    max-width: 100%;
    overflow: visible;
    padding-bottom: 14px;
  }

  .ds-tabs-nav a {
    min-width: 0;
    min-height: 38px;
    padding: 8px 9px;
    border: 1px solid var(--ds-line);
    border-radius: 8px;
    font-size: 12px;
    line-height: 1.25;
  }

  .ds-tabs-nav a.is-active::after {
    display: none;
  }

  .ds-version-row,
  .ds-version-row.ds-version-head {
    min-width: 0;
    grid-template-columns: 1fr 1fr;
  }

  .ds-version-head span:nth-child(3),
  .ds-version-head span:nth-child(4),
  .ds-version-head span:nth-child(5) {
    display: none;
  }

  .ds-version-row:not(.ds-version-head) span {
    min-height: 40px;
    padding: 10px 12px;
    font-size: 13px;
  }

  .ds-version-row:not(.ds-version-head) span:nth-child(3),
  .ds-version-row:not(.ds-version-head) span:nth-child(4) {
    grid-column: 1 / 2;
  }

  .ds-version-row:not(.ds-version-head) span:nth-child(5) {
    grid-column: 2 / 3;
    grid-row: 2 / 4;
    justify-content: center;
    align-items: center;
  }
}

@media (max-width: 1300px) {
  .ds-header-tools {
    display: none !important;
  }
}

@media (max-width: 820px) {
  .ds-logo {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
    font-size: 22px;
  }

  .ds-header-tools {
    display: flex !important;
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    gap: 6px;
    margin-right: 52px;
  }

  .ds-nav-toggle {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .ds-theme-btn {
    width: 34px;
    height: 34px;
    font-size: 18px;
  }

  .ds-top-search {
    grid-column: 1 / -1;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    grid-template-columns: minmax(0, 1fr) 40px;
    overflow: hidden;
  }

  .ds-top-search input {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .ds-top-search button {
    width: 36px;
    min-width: 36px;
    margin-right: 4px;
    justify-self: end;
  }

  .ds-sidebar,
  .ds-side-card,
  .ds-side-search,
  .ds-side-search input {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
}

/* Final dark-mode overrides must stay after the visual polish rules above. */
.ds-page[data-theme="dark"] .ds-os-tabs a {
  color: var(--ds-text);
}

.ds-page[data-theme="dark"] .ds-os-tabs svg {
  color: #d8e6ff;
}

.ds-page[data-theme="dark"] .ds-header-tools {
  color: var(--ds-muted);
}

.ds-page[data-theme="dark"] .ds-top-search {
  background: #111a27;
  border-color: var(--ds-line);
}

.ds-page[data-theme="dark"] .ds-hero {
  background: radial-gradient(circle at 50% 20%, #172338 0, #111a27 58%, #0f1724 100%);
  border-color: var(--ds-line);
}

.ds-page[data-theme="dark"] .ds-hero-search {
  color: var(--ds-text);
  background: #111a27;
  border-color: #28558f;
  box-shadow: 0 18px 32px rgba(0, 0, 0, .22);
}

.ds-page[data-theme="dark"] .ds-hero-search input {
  color: var(--ds-text);
  background: transparent;
}

.ds-page[data-theme="dark"] .ds-hero-search svg {
  color: var(--ds-muted);
}

.ds-page[data-theme="dark"] .ds-benefits div {
  background: var(--ds-panel);
}

.ds-page[data-theme="dark"] .ds-trust-card {
  background: linear-gradient(135deg, #11251c, #151f2e);
  border-color: #27543b;
}

.ds-page[data-theme="dark"] .ds-driver-card__image--empty {
  background: linear-gradient(135deg, #173765, #111a27);
  border-color: var(--ds-line);
}

.ds-page[data-theme="dark"] .ds-nav-toggle {
  background: #111a27;
  border-color: var(--ds-line);
}

.ds-page[data-theme="dark"] .ds-nav-dropdown {
  background: var(--ds-panel);
  border-color: var(--ds-line);
  box-shadow: 0 18px 36px rgba(0, 0, 0, .28);
}

.ds-page[data-theme="dark"] .ds-nav a svg,
.ds-page[data-theme="dark"] .ds-nav-link svg {
  color: #d8e6ff;
}

.ds-page[data-theme="dark"] .ds-device-photo img {
  mix-blend-mode: screen;
  filter: invert(1) hue-rotate(180deg) saturate(.95) contrast(.96) drop-shadow(0 14px 22px rgba(0, 0, 0, .34));
}

.ds-page[data-theme="dark"] .ds-theme-btn:hover,
.ds-page[data-theme="dark"] .ds-theme-btn.is-active {
  color: #8fc1ff;
  background: #173765;
  border-color: #28558f;
}

.ds-homepage .ds-header__inner {
  grid-template-columns: auto 1fr auto;
}

.ds-homepage .ds-top-search {
  display: none;
}

.ds-homepage .ds-nav {
  justify-self: center;
}

/* Homepage visual pass: local device images, logo-like makers and richer cards. */
.ds-hero--visual {
  min-height: 258px;
  padding: 62px 24px 56px;
}

.ds-hero-device {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

.ds-hero-device--printer {
  left: -4px;
  top: 24px;
  width: 236px;
}

.ds-hero-device--gpu {
  right: 8px;
  top: 26px;
  width: 228px;
  transform: rotate(-8deg);
}

.ds-hero-device--keyboard {
  right: -12px;
  bottom: 20px;
  width: 190px;
}

.ds-popular-grid--visual {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ds-home-driver {
  display: grid;
  grid-template-columns: 124px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  min-height: 136px;
  padding: 16px;
  color: var(--ds-text);
  background: #fff;
  border: 1px solid var(--ds-line);
  border-radius: 8px;
  box-sizing: border-box;
}

.ds-home-driver:hover {
  border-color: #b8d2ff;
  box-shadow: 0 14px 30px rgba(7, 94, 234, .08);
}

.ds-home-driver img {
  width: 124px;
  height: 86px;
  object-fit: contain;
}

.ds-home-driver__body {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.ds-home-driver strong {
  font-size: 18px;
  line-height: 1.15;
}

.ds-home-driver small,
.ds-home-driver em {
  color: var(--ds-muted);
  font-style: normal;
}

.ds-home-driver em,
.ds-home-driver b {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  font-size: 13px;
}

.ds-home-driver b {
  color: var(--ds-blue);
  font-weight: 800;
}

.ds-home-driver svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  stroke-width: 2;
}

.ds-maker-grid--logos a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  background: #fff;
  font-size: 17px;
  letter-spacing: 0;
}

.ds-brand--hp span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #fff;
  background: #1683e5;
  border-radius: 50%;
  font-style: italic;
  font-weight: 900;
}

.ds-brand--canon {
  color: #d20d17;
  font-family: Georgia, serif;
  font-size: 21px !important;
}

.ds-brand--epson {
  color: #004ca8;
}

.ds-brand--brother {
  color: #0a55a8;
  text-transform: lowercase;
}

.ds-brand--nvidia {
  color: #111827;
}

.ds-brand--nvidia::before {
  content: "";
  width: 18px;
  height: 12px;
  margin-right: 5px;
  background: #76b900;
  border-radius: 2px;
}

.ds-brand--amd {
  color: #111827;
}

.ds-brand--amd::after {
  content: "";
  width: 11px;
  height: 11px;
  margin-left: 5px;
  background: #23a455;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 65% 100%, 65% 36%, 0 36%);
}

.ds-brand--intel {
  color: #0071c5;
  font-style: italic;
}

.ds-brand--asus {
  color: #1f4fa3;
  font-style: italic;
}

.ds-brand--msi {
  color: #d01828;
  font-style: italic;
  text-transform: lowercase;
}

.ds-brand--gigabyte {
  color: #1456a6;
}

.ds-brand--lenovo {
  color: #e2231a;
}

.ds-brand--dell {
  color: #0875be;
}

.ds-brand--acer {
  color: #7ac143;
  text-transform: lowercase;
  font-style: italic;
}

.ds-brand--samsung {
  color: #1428a0;
  letter-spacing: 0;
}

.ds-brand--realtek {
  color: #0f7f93;
  font-style: italic;
}

.ds-brand--qualcomm {
  color: #cf172f;
}

.ds-maker-grid--logos .ds-brand--intel,
.ds-maker-grid--logos .ds-brand--dell {
  border-radius: 0;
  box-shadow: none;
}

.ds-more-link {
  display: inline-flex;
  align-items: center;
  margin-top: 14px;
  color: var(--ds-blue);
  font-weight: 700;
}

.ds-more-link::after {
  content: ">";
  margin-left: 8px;
}

.ds-trust-card--visual {
  position: relative;
  grid-template-columns: 52px 1fr;
  gap: 8px 14px;
  background: radial-gradient(circle at 78% 20%, rgba(39, 174, 96, .12), transparent 42%), linear-gradient(135deg, #f4fff8, #fff);
}

.ds-trust-card--visual strong,
.ds-trust-card--visual span:not(.ds-trust-card__shield),
.ds-trust-card--visual b,
.ds-trust-card--visual small {
  grid-column: 2;
}

.ds-trust-card__shield {
  grid-row: 1 / 5;
  width: 50px;
  color: var(--ds-green);
}

.ds-trust-card__shield svg {
  width: 50px;
  height: 50px;
}

.ds-trust-card--visual span::before {
  content: "\2713";
}

.ds-trust-card--visual .ds-trust-card__shield::before {
  display: none;
  content: none;
}

.ds-benefits--visual div {
  grid-template-columns: 44px 1fr;
  align-items: center;
  gap: 14px;
}

.ds-benefits--visual svg {
  width: 32px;
  height: 32px;
  color: var(--ds-blue);
  stroke-width: 2;
}

.ds-benefits--visual span {
  display: grid;
  gap: 3px;
}

.ds-benefits--visual small {
  color: var(--ds-muted);
  font-size: 14px;
}

.ds-page[data-theme="dark"] .ds-home-driver,
.ds-page[data-theme="dark"] .ds-maker-grid--logos a {
  background: var(--ds-panel);
  border-color: var(--ds-line);
}

.ds-page[data-theme="dark"] .ds-home-driver img {
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, .28));
}

.ds-page[data-theme="dark"] .ds-brand--nvidia,
.ds-page[data-theme="dark"] .ds-brand--amd {
  color: var(--ds-text);
}

.ds-page[data-theme="dark"] .ds-trust-card--visual {
  background: radial-gradient(circle at 78% 20%, rgba(39, 174, 96, .14), transparent 42%), linear-gradient(135deg, #11251c, #151f2e);
}

/* Homepage reference alignment. */
.ds-homepage .ds-shell {
  width: min(1480px, calc(100% - 64px));
}

.ds-homepage .ds-main {
  padding-top: 18px;
}

.ds-homepage .ds-header__inner {
  min-height: 72px;
  grid-template-columns: auto 1fr auto;
  gap: 30px;
}

.ds-homepage .ds-logo {
  font-size: 26px;
}

.ds-homepage .ds-logo__icon {
  width: 46px;
  height: 46px;
}

.ds-homepage .ds-nav {
  gap: 48px;
  justify-self: center;
}

.ds-homepage .ds-nav-link {
  font-size: 17px;
}

.ds-homepage .ds-nav-link svg {
  width: 20px;
  height: 20px;
}

.ds-lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--ds-line);
  border-radius: 8px;
  background: var(--ds-panel);
}

.ds-lang-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 28px;
  padding: 0 8px;
  color: var(--ds-muted);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.ds-lang-switch a:hover,
.ds-lang-switch a.is-active {
  color: #fff;
  background: var(--ds-blue);
}

.ds-tool-btn {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  color: var(--ds-muted);
  background: transparent;
  border: 0;
  border-radius: 8px;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.ds-tool-btn svg {
  width: 22px;
  height: 22px;
  stroke-width: 2;
}

.ds-tool-btn:hover {
  color: var(--ds-blue);
  background: var(--ds-blue-soft);
}

.ds-lang-menu {
  position: relative;
}

.ds-lang-menu__panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 30;
  display: grid;
  min-width: 92px;
  padding: 6px;
  background: var(--ds-surface);
  border: 1px solid var(--ds-border);
  border-radius: 8px;
  box-shadow: var(--ds-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}

.ds-lang-menu.is-open .ds-lang-menu__panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.ds-lang-menu__panel a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  color: var(--ds-text);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.ds-lang-menu__panel a:hover,
.ds-lang-menu__panel a.is-active {
  color: var(--ds-blue);
  background: var(--ds-blue-soft);
}

.ds-homepage .ds-header-tools {
  gap: 16px;
}

.ds-homepage .ds-hero--visual {
  min-height: 292px;
  padding: 64px 24px 56px;
  border-radius: 8px;
}

.ds-homepage .ds-hero h1 {
  font-size: clamp(38px, 3vw, 46px);
}

.ds-homepage .ds-hero-search {
  width: min(860px, 100%);
  grid-template-columns: 44px minmax(0, 1fr) 132px;
  padding: 8px;
  border-radius: 10px;
}

.ds-homepage .ds-hero-search input {
  font-size: 18px;
}

.ds-homepage .ds-hero-search button {
  font-size: 17px;
}

.ds-homepage .ds-hero-device--printer {
  left: 14px;
  top: 34px;
  width: 258px;
}

.ds-homepage .ds-hero-device--gpu {
  right: 28px;
  top: 34px;
  width: 252px;
}

.ds-homepage .ds-hero-device--keyboard {
  right: 2px;
  bottom: 28px;
  width: 214px;
}

.ds-homepage .ds-device-grid {
  gap: 18px;
  margin-top: 28px;
}

.ds-homepage .ds-device {
  min-height: 132px;
}

.ds-homepage .ds-popular-section {
  padding: 22px 26px 26px;
}

.ds-homepage .ds-popular-grid--visual {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.ds-homepage .ds-home-driver {
  grid-template-columns: 142px minmax(0, 1fr);
  min-height: 150px;
  padding: 18px;
}

.ds-homepage .ds-home-driver img {
  width: 142px;
  height: 98px;
}

.ds-homepage .ds-home-driver strong {
  font-size: 19px;
}

.ds-homepage .ds-home-bottom {
  grid-template-columns: 1.08fr 1.18fr 1fr;
  gap: 22px;
}

.ds-homepage .ds-trust-card--visual {
  padding: 30px;
}

.ds-homepage .ds-benefits--visual div {
  min-height: 62px;
  padding: 18px 30px;
}

.ds-page[data-theme="dark"] .ds-tool-btn:hover {
  color: #8fc1ff;
  background: #173765;
}

.ds-page[data-theme="dark"] .ds-short-card__media {
  background: linear-gradient(135deg, #121d2d, #111a27);
  border-color: var(--ds-line);
}

.ds-page[data-theme="dark"] .ds-short-card__device {
  background: rgba(11, 99, 246, .12);
  border-color: #28558f;
}

.ds-page[data-theme="dark"] .ds-short-card__meta span {
  background: #111a27;
  border-color: var(--ds-line);
}

@media (max-width: 1280px) {
  .ds-popular-grid--visual {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ds-homepage .ds-nav {
    gap: 24px;
  }

  .ds-homepage .ds-popular-grid--visual {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .ds-homepage .ds-shell {
    width: min(100% - 24px, 1480px);
  }

  .ds-homepage .ds-header__inner {
    grid-template-columns: 1fr auto;
  }

  .ds-homepage .ds-logo {
    font-size: 22px;
  }

  .ds-homepage .ds-logo__icon {
    width: 42px;
    height: 42px;
  }

  .ds-hero--visual {
    min-height: auto;
    padding: 34px 10px;
  }

  .ds-homepage .ds-hero h1 {
    font-size: 30px;
  }

  .ds-homepage .ds-hero-search {
    width: 100%;
    grid-template-columns: 30px minmax(0, 1fr);
  }

  .ds-hero-device--gpu,
  .ds-hero-device--keyboard {
    display: none;
  }

  .ds-hero-device--printer {
    left: 6px;
    top: 8px;
    width: 130px;
    opacity: .22;
  }

  .ds-popular-grid--visual {
    grid-template-columns: 1fr;
  }

  .ds-homepage .ds-popular-grid--visual {
    grid-template-columns: 1fr;
  }

  .ds-homepage .ds-home-bottom {
    grid-template-columns: 1fr;
  }

  .ds-short-card {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 14px;
  }

  .ds-short-card__media {
    min-height: 112px;
  }

  .ds-short-card__device {
    width: 100px;
    height: 76px;
  }

  .ds-short-card__device svg {
    width: 48px;
    height: 48px;
  }

  .ds-short-card h2 {
    font-size: 20px;
  }

  .ds-short-card__footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .ds-home-driver {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 14px;
    padding: 14px;
  }

  .ds-homepage .ds-home-driver {
    grid-template-columns: 112px minmax(0, 1fr);
    min-height: 0;
    padding: 14px;
  }

  .ds-home-driver img {
    width: 112px;
    height: 80px;
  }

  .ds-maker-grid--logos {
    grid-template-columns: repeat(2, 1fr);
  }

  .ds-trust-card--visual {
    grid-template-columns: 44px 1fr;
  }

  .ds-trust-card--visual strong,
  .ds-trust-card--visual span:not(.ds-trust-card__shield),
  .ds-trust-card--visual b,
  .ds-trust-card--visual small {
    grid-column: 2;
  }

  .ds-trust-card__shield,
  .ds-trust-card__shield svg {
    width: 42px;
    height: 42px;
  }

  .ds-benefits--visual {
    grid-template-columns: 1fr;
  }
}
