/* Desktop inventory uses the certificate workspace's title and bordered surface. */
@media (min-width:901px) {
  html body.desktop-page #hongyi-mobile-shell .page[data-panel="inventory"].active:not(.management-detail-open) {
    display:flex!important;flex-direction:column;gap:0!important;color:#20394d;font:15px/1.55 system-ui,sans-serif;
  }
  /* Keep the existing controls and their handlers in place. */
  html body.desktop-page #hongyi-mobile-shell .page[data-panel="inventory"].active:not(.management-detail-open) .inventory-title-strip {display:contents!important}
  html body.desktop-page #hongyi-mobile-shell .page[data-panel="inventory"].active:not(.management-detail-open) .inventory-title-strip>.hy-page-heading,
  html body.desktop-page #hongyi-mobile-shell .page[data-panel="inventory"].active:not(.management-detail-open) .inventory-title-strip>.hy-page-actions {display:contents!important}
  html body.desktop-page #hongyi-mobile-shell .page[data-panel="inventory"].active:not(.management-detail-open) .inventory-title-strip>.hy-page-brand,
  html body.desktop-page #hongyi-mobile-shell .page[data-panel="inventory"].active:not(.management-detail-open) .inventory-title-strip .hy-page-title-copy {display:contents!important}
  html body.desktop-page #hongyi-mobile-shell .page[data-panel="inventory"].active:not(.management-detail-open) .inventory-title-strip .hy-page-logo,
  html body.desktop-page #hongyi-mobile-shell .page[data-panel="inventory"].active:not(.management-detail-open) .inventory-title-strip .hy-page-divider {display:none!important}
  html body.desktop-page #hongyi-mobile-shell .page[data-panel="inventory"].active:not(.management-detail-open) .inventory-title-strip h1 {
    display:flex!important;align-items:center;position:relative;order:0;flex:none;margin:0 0 18px!important;padding:20px 24px 20px 102px!important;min-height:70px;width:100%;box-sizing:border-box;background:#fff;border:0;border-radius:0;font:700 18px/1.5 system-ui,sans-serif;color:#20394d;
  }
  html body.desktop-page #hongyi-mobile-shell .page[data-panel="inventory"].active:not(.management-detail-open) .inventory-title-strip h1::before {
    content:"HY";display:grid;place-items:center;position:absolute;left:22px;top:14px;width:44px;height:44px;border:1px solid #eedec5;border-radius:12px;background:#fffaf0;color:#b28b49;font:600 16px/1 system-ui,sans-serif;
  }
  html body.desktop-page #hongyi-mobile-shell .page[data-panel="inventory"].active:not(.management-detail-open) .inventory-title-strip h1::after {content:"";position:absolute;left:84px;top:15px;height:42px;width:1px;background:#e0e5eb}
  html body.desktop-page #hongyi-mobile-shell .page[data-panel="inventory"].active:not(.management-detail-open) .inventory-title-strip p {
    display:block!important;order:1;width:100%!important;max-width:none!important;box-sizing:border-box;margin:0!important;padding:24px 20px 8px!important;background:#fff;border:1px solid #cdd8e5;border-bottom:0;border-radius:20px 20px 0 0;font:400 11px/1.55 system-ui,sans-serif;letter-spacing:2px;color:#9b793e;
  }
  html body.desktop-page #hongyi-mobile-shell .page[data-panel="inventory"].active:not(.management-detail-open) .inventory-overview-card {
    order:2;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;margin:0!important;padding:18px 20px!important;background:#fff;border:1px solid #cdd8e5;border-block:0;border-radius:0;box-shadow:none;
  }
  html body.desktop-page #hongyi-mobile-shell .page[data-panel="inventory"].active:not(.management-detail-open) .inventory-overview-card article {
    display:grid!important;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:5px 12px;min-height:82px!important;padding:12px 15px!important;border:1px solid #dfd6c6!important;border-radius:10px!important;background:#fff!important;box-shadow:none!important;color:#20394d;
  }
  html body.desktop-page #hongyi-mobile-shell .page[data-panel="inventory"].active:not(.management-detail-open) .inventory-overview-card article::before,
  html body.desktop-page #hongyi-mobile-shell .page[data-panel="inventory"].active:not(.management-detail-open) .inventory-overview-card article::after {display:none!important}
  html body.desktop-page #hongyi-mobile-shell .page[data-panel="inventory"].active:not(.management-detail-open) .inventory-overview-icon {display:none!important}
  html body.desktop-page #hongyi-mobile-shell .page[data-panel="inventory"].active:not(.management-detail-open) .inventory-overview-card article.stock {background:#fbf5e8!important;border-color:#b08a43!important}
  html body.desktop-page #hongyi-mobile-shell .page[data-panel="inventory"].active:not(.management-detail-open) .inventory-overview-card span {font:400 14px/1.5 system-ui,sans-serif!important;color:#20394d}
  html body.desktop-page #hongyi-mobile-shell .page[data-panel="inventory"].active:not(.management-detail-open) .inventory-overview-card strong {font:600 24px/1.3 system-ui,sans-serif!important;color:#20394d!important;white-space:nowrap;letter-spacing:0}
  html body.desktop-page #hongyi-mobile-shell .page[data-panel="inventory"].active:not(.management-detail-open) .inventory-overview-card small {grid-column:1/-1;font:400 11px/1.5 system-ui,sans-serif!important;color:#77828b!important}
  html body.desktop-page #hongyi-mobile-shell .page[data-panel="inventory"].active:not(.management-detail-open) .inventory-title-search {
    order:3;display:flex!important;flex-wrap:wrap;gap:10px!important;width:100%!important;max-width:none!important;min-width:0;margin:0!important;padding:0 20px 18px!important;background:#fff;border:1px solid #cdd8e5;border-block:0;border-radius:0;box-sizing:border-box;
  }
  html body.desktop-page #hongyi-mobile-shell .page[data-panel="inventory"].active:not(.management-detail-open) .inventory-title-search>:is(button,select,input),
  html body.desktop-page #hongyi-mobile-shell .page[data-panel="inventory"].active:not(.management-detail-open) .inventory-quick-filters>button,
  html body.desktop-page #hongyi-mobile-shell .page[data-panel="inventory"].active:not(.management-detail-open) .filter-card button {
    height:auto!important;min-height:44px!important;padding:10px 15px!important;border:1px solid #dfd6c6!important;border-radius:10px!important;background:#fff!important;color:#20394d!important;font:400 15px/1.55 system-ui,sans-serif!important;box-shadow:none!important;letter-spacing:0;
  }
  html body.desktop-page #hongyi-mobile-shell .page[data-panel="inventory"].active:not(.management-detail-open) .inventory-title-search>.title-search-input {flex:1 1 100%!important;order:-2!important;width:100%!important}
  html body.desktop-page #hongyi-mobile-shell .page[data-panel="inventory"].active:not(.management-detail-open) .inventory-title-search>select {flex:1 1 130px!important;order:0!important}
  html body.desktop-page #hongyi-mobile-shell .page[data-panel="inventory"].active:not(.management-detail-open) .inventory-title-search>button {flex:0 1 auto!important;order:1!important;white-space:nowrap}
  html body.desktop-page #hongyi-mobile-shell .page[data-panel="inventory"].active:not(.management-detail-open) .inventory-title-search>.title-add-vehicle {background:linear-gradient(110deg,#b7954e,#94702e)!important;border-color:#a27d35!important;color:#fff!important}
  html body.desktop-page #hongyi-mobile-shell .page[data-panel="inventory"].active:not(.management-detail-open) .inventory-title-search input::placeholder {font-weight:400;color:#849098}
  html body.desktop-page #hongyi-mobile-shell .page[data-panel="inventory"].active:not(.management-detail-open) .inventory-quick-filters {grid-template-columns:auto repeat(3,minmax(0,180px))!important;justify-content:start!important;margin-top:2px!important}
  html body.desktop-page #hongyi-mobile-shell .page[data-panel="inventory"].active:not(.management-detail-open) .inventory-quick-filters>strong {font:400 12px/1.5 system-ui,sans-serif;color:#77828b}
  html body.desktop-page #hongyi-mobile-shell .page[data-panel="inventory"].active:not(.management-detail-open) .filter-card {
    order:4;display:flex;flex-wrap:wrap;gap:12px!important;justify-content:space-between;margin:0!important;padding:6px 20px 18px!important;background:#fff;border:1px solid #cdd8e5;border-block:0;border-radius:0!important;box-shadow:none!important;
  }
  html body.desktop-page #hongyi-mobile-shell .page[data-panel="inventory"].active:not(.management-detail-open) .filter-card :is(.status-tabs,.view-tabs) {gap:8px!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
  html body.desktop-page #hongyi-mobile-shell .page[data-panel="inventory"].active:not(.management-detail-open) .filter-card button.active,
  html body.desktop-page #hongyi-mobile-shell .page[data-panel="inventory"].active:not(.management-detail-open) .inventory-title-search button[aria-pressed="true"] {background:#fbf5e8!important;border-color:#b08a43!important;color:#8d6221!important}
  html body.desktop-page #hongyi-mobile-shell .page[data-panel="inventory"].active:not(.management-detail-open) .vehicle-list {
    order:5;min-width:0;width:100%;box-sizing:border-box;margin:0!important;padding:0 20px 20px!important;border:1px solid #cdd8e5;border-top:0;border-radius:0 0 20px 20px!important;background:#fff!important;box-shadow:none!important;
  }
  html body.desktop-page #hongyi-mobile-shell .page[data-panel="inventory"].active:not(.management-detail-open) .vehicle-card {border-color:#e6e2da!important;box-shadow:none!important}
  html body.desktop-page #hongyi-mobile-shell .page[data-panel="inventory"].active:not(.management-detail-open) .vehicle-card :is(h2,strong) {font-family:system-ui,sans-serif!important;font-weight:600!important;color:#20394d}
  html body.desktop-page #hongyi-mobile-shell .page[data-panel="inventory"].active:not(.management-detail-open) .vehicle-card :is(p,span,small) {font-family:system-ui,sans-serif!important;font-weight:400!important}
  html body.desktop-page #hongyi-mobile-shell .page[data-panel="inventory"].active:not(.management-detail-open) .vehicle-table-head {border-color:#e6e2da!important;background:#fafbf9!important;color:#77828b!important;font-family:system-ui,sans-serif!important;font-weight:500!important}
}
@media (min-width:901px) and (max-width:1150px) {
  html body.desktop-page #hongyi-mobile-shell .page[data-panel="inventory"].active:not(.management-detail-open) .inventory-overview-card article {grid-template-columns:1fr;gap:4px;min-height:106px!important}
  html body.desktop-page #hongyi-mobile-shell .page[data-panel="inventory"].active:not(.management-detail-open) .inventory-overview-card strong {font-size:22px!important}
}
