.vin-page {
  min-width: 1180px;
}

.vin-page .flag-ee {
  --flag: url("../../site_common/flags/ee.png");
}

.vin-demo-switch select {
  width: 280px;
}

.vin-list-panel {
  min-height: calc(100vh - 64px);
}

.vin-list-title-row {
  padding-right: 0;
}

.vin-list-title-row h1 {
  margin-bottom: 4px;
}

.vin-list-title-row p {
  margin: 0 0 14px;
  color: var(--secondary);
  font-size: 13px;
  line-height: 18px;
}

.vin-tabs {
  display: flex;
  gap: 22px;
  margin: 0 -12px 14px;
  padding: 0 12px;
  border-bottom: 1px solid var(--grid);
}

.vin-tabs a {
  position: relative;
  padding: 8px 0 10px;
  color: var(--secondary);
  font-size: 14px;
  line-height: 18px;
  font-weight: 500;
  text-decoration: none;
}

.vin-tabs a:hover,
.vin-tabs a.is-active {
  color: var(--link);
}

.vin-tabs a.is-active::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  background: var(--blue);
  content: "";
}

.vin-tabs span {
  display: inline-flex;
  min-width: 20px;
  height: 20px;
  align-items: center;
  justify-content: center;
  margin-left: 4px;
  padding: 0 6px;
  border-radius: 10px;
  background: var(--soft-blue);
  color: var(--link);
  font-size: 12px;
}

.vin-tabs span.vin-tab-alert-count {
  background: #ffd7d7;
  color: #b00000;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.vin-period-filter {
  width: 300px;
}

.vin-sort-filter {
  width: 245px;
}

.vin-filters .filter-search {
  width: 260px;
}

.vin-filters .filter-search p {
  width: 252px;
}

.vin-requests-table {
  min-width: 1500px;
}

.vin-requests-table th,
.vin-requests-table td {
  padding: 7px 8px;
  text-align: left;
  vertical-align: top;
}

.vin-requests-table th {
  vertical-align: middle;
}

.vin-requests-table th:first-child,
.vin-requests-table td:first-child {
  padding: 7px 8px;
  text-align: left;
}

.vin-requests-table th:nth-child(8),
.vin-requests-table td:nth-child(8) {
  padding: 7px 8px;
  overflow: hidden;
  text-align: left;
  text-overflow: ellipsis;
}

.vin-requests-table .vin-number-cell {
  text-align: right;
}

.vin-requests-table .product-status-badge,
.vin-requests-table .status-badge {
  box-sizing: border-box;
  min-height: 24px;
  height: auto;
  padding: 3px 10px;
  font-size: 13px;
  font-family: inherit;
  line-height: 18px;
  font-weight: 500;
  max-width: 100%;
  white-space: nowrap;
}

.vin-col-shipping {
  width: 126px;
}

.vin-col-waiting {
  width: 132px;
}

.vin-col-order-client {
  width: 178px;
}

.vin-col-price {
  width: 90px;
}

.vin-col-country {
  width: 112px;
}

.vin-col-count {
  width: 120px;
}

.vin-col-parts {
  width: 370px;
}

.vin-col-admin {
  width: 68px;
}

.vin-col-status {
  width: 150px;
}

.vin-col-action {
  width: 142px;
}

.vin-requests-table th:nth-child(5),
.vin-requests-table td:nth-child(5) {
  padding-right: 4px;
  padding-left: 4px;
  white-space: nowrap;
}

.vin-requests-table th:nth-child(7) {
  white-space: nowrap;
}

.vin-order-client-cell > a,
.vin-list-client {
  display: block;
}

.vin-list-client {
  margin-top: 2px;
  color: var(--text);
  font-size: 13px;
  line-height: 17px;
}

.vin-country {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.vin-country .flag {
  flex: 0 0 auto;
}

.vin-country img.flag {
  object-fit: cover;
}

.vin-time-value,
.vin-list-date,
.vin-secondary-line {
  display: block;
  white-space: nowrap;
}

.vin-time-value,
.vin-list-date {
  color: var(--text);
  font-size: 13px;
  line-height: 17px;
  font-weight: 500;
}

.vin-secondary-line,
.vin-empty-value {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  line-height: 16px;
}

.vin-admin-name {
  color: var(--text);
  font-size: 13px;
  line-height: 18px;
  white-space: nowrap;
}

.vin-parts-list {
  display: block;
  min-width: 260px;
  color: var(--text);
  font-size: 13px;
  line-height: 18px;
  white-space: normal;
}

.vin-copy-button {
  border: 0;
  background: transparent;
  color: var(--link);
  font: inherit;
}

.vin-copy-button:hover {
  text-decoration: underline;
}

.vin-process-button {
  display: inline-flex;
  box-sizing: border-box;
  min-width: 126px;
  min-height: 32px;
  height: auto;
  align-items: center;
  justify-content: center;
  padding: 6px 16px;
  font-size: 14px;
  line-height: 20px;
  text-decoration: none;
  gap: 8px;
  flex-shrink: 0;
  white-space: nowrap;
}

.vin-action-arrow,
.vin-back-arrow {
  display: inline-block;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  background: currentColor;
  -webkit-mask: url("https://cdn.jsdelivr.net/npm/remixicon@4.9.1/icons/Arrows/arrow-right-line.svg") center / contain no-repeat;
  mask: url("https://cdn.jsdelivr.net/npm/remixicon@4.9.1/icons/Arrows/arrow-right-line.svg") center / contain no-repeat;
}

.vin-process-button .vin-action-arrow {
  width: 16px;
  height: 16px;
  flex-basis: 16px;
}

.vin-back-arrow {
  -webkit-mask-image: url("https://cdn.jsdelivr.net/npm/remixicon@4.9.1/icons/Arrows/arrow-left-line.svg");
  mask-image: url("https://cdn.jsdelivr.net/npm/remixicon@4.9.1/icons/Arrows/arrow-left-line.svg");
}

.vin-final-status {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  box-sizing: border-box;
}

.vin-final-status.is-approved {
  background: #d9f2d8;
  color: #2c7a32;
}

.vin-final-status.is-rejected {
  background: #ffd7d7;
  color: var(--red);
}

.vin-process-button:hover,
.vin-process-button:focus,
.vin-process-button:active {
  text-decoration: none;
}

.vin-pagination-summary {
  margin-top: 10px;
  color: var(--secondary);
  font-size: 13px;
  line-height: 18px;
}

.vin-pagination {
  gap: 24px;
  padding-top: 8px;
}

.vin-pagination .pages button:disabled {
  opacity: 0.35;
}

.vin-statistics-view[hidden] {
  display: none;
}

[data-vin-list-ui][hidden] {
  display: none !important;
}

.vin-statistics-filters {
  min-height: 70px;
  margin: 0 0 24px;
}

.vin-stat-chart {
  min-width: 900px;
  margin: 2px 0 18px;
  padding: 12px;
  border: 1px solid var(--grid);
  border-radius: 4px;
  background: #ffffff;
}

.vin-stat-chart-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
}

.vin-stat-chart-heading h2 {
  margin: 0;
  color: var(--text);
  font-size: 16px;
  line-height: 20px;
}

.vin-stat-chart-switcher {
  display: inline-flex;
  margin: 0 0 14px;
}

.vin-stat-chart-switcher button {
  min-height: 28px;
  margin: 0 0 0 -1px;
  padding: 4px 12px;
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--secondary);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  line-height: 18px;
}

.vin-stat-chart-switcher button:first-child {
  margin-left: 0;
  border-radius: 3px 0 0 3px;
}

.vin-stat-chart-switcher button:last-child {
  border-radius: 0 3px 3px 0;
}

.vin-stat-chart-switcher button:hover {
  color: var(--link);
}

.vin-stat-chart-switcher button.is-active {
  position: relative;
  z-index: 1;
  border-color: var(--blue);
  background: var(--blue);
  color: #ffffff;
}

.vin-stat-chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--secondary);
  font-size: 12px;
  line-height: 16px;
}

.vin-stat-chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.vin-stat-chart-legend i {
  width: 10px;
  height: 10px;
  border-radius: 2px;
}

.vin-stat-chart .is-reviewed {
  background: #d9f2d8;
}

.vin-stat-chart .is-declined {
  background: #e88f8f;
}

.vin-stat-chart-body {
  position: relative;
  display: grid;
  gap: 9px;
  padding-top: 40px;
}

.vin-stat-chart-axis {
  position: absolute;
  top: 0;
  right: 130px;
  left: 180px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  color: var(--muted);
  font-size: 11px;
  line-height: 14px;
}

.vin-stat-chart-axis span {
  text-align: left;
}

.vin-stat-chart-axis span:last-child {
  text-align: right;
}

.vin-stat-chart-row {
  display: grid;
  min-height: 38px;
  grid-template-columns: 170px minmax(480px, 1fr) 120px;
  gap: 10px;
  align-items: center;
}

.vin-stat-chart-person {
  position: relative;
  z-index: 6;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
}

.vin-stat-chart-avatar {
  display: block;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.vin-stat-chart-person-copy {
  min-width: 0;
}

.vin-stat-chart-person strong,
.vin-stat-chart-person span {
  display: block;
}

.vin-stat-chart-person strong {
  font-size: 13px;
  line-height: 17px;
  font-weight: 500;
}

.vin-stat-chart-bonus {
  position: relative;
  width: max-content;
  max-width: 100%;
  color: var(--secondary);
  cursor: help;
  font-size: 11px;
  line-height: 15px;
  white-space: nowrap;
}

.vin-stat-chart-track {
  position: relative;
  height: 20px;
  background-color: #f1f3f5;
  background-image: linear-gradient(to right, transparent calc(25% - 1px), var(--grid) 25%, transparent calc(25% + 1px), transparent calc(50% - 1px), var(--grid) 50%, transparent calc(50% + 1px), transparent calc(75% - 1px), var(--grid) 75%, transparent calc(75% + 1px));
}

.vin-stat-chart-bar {
  display: flex;
  height: 100%;
  min-width: 3px;
  border-radius: 2px;
  transition: width 180ms ease;
}

.vin-stat-chart-bar span {
  position: relative;
  height: 100%;
  transition: width 180ms ease;
}

.vin-stat-chart-bar span:first-child {
  border-radius: 2px 0 0 2px;
}

.vin-stat-chart-bar span:last-child {
  border-radius: 0 2px 2px 0;
}

.vin-stat-chart-bar span::after,
.vin-stat-chart-track::after,
.vin-stat-chart-bonus::after {
  position: absolute;
  z-index: 5;
  bottom: calc(100% + 6px);
  left: 50%;
  padding: 5px 7px;
  border-radius: 2px;
  background: #333333;
  color: #ffffff;
  content: attr(data-tooltip);
  font-size: 11px;
  line-height: 14px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 3px);
  transition: opacity 120ms ease, transform 120ms ease;
  visibility: hidden;
  white-space: nowrap;
}

.vin-stat-chart-bar span:hover::after,
.vin-stat-chart-track:hover::after,
.vin-stat-chart-bonus:hover::after {
  opacity: 1;
  transform: translate(-50%, 0);
  visibility: visible;
}

.vin-stat-chart-track:has(.vin-stat-chart-bar span:hover)::after {
  opacity: 0;
  visibility: hidden;
}

.vin-stat-chart-bonus::after {
  left: 0;
  transform: translate(0, 3px);
}

.vin-stat-chart-bonus:hover::after {
  transform: translate(0, 0);
}

.vin-stat-chart-value strong,
.vin-stat-chart-value span {
  display: block;
}

.vin-stat-chart-value strong {
  font-size: 13px;
  line-height: 16px;
  font-weight: 500;
}

.vin-stat-chart-value span {
  color: var(--secondary);
  font-size: 11px;
  line-height: 14px;
}

.vin-statistics-table-disclosure {
  margin-top: 2px;
}

.vin-statistics-table-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--link);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  line-height: 18px;
}

.vin-statistics-table-toggle:hover span:first-child {
  text-decoration: underline;
}

.vin-statistics-table-arrow {
  color: var(--secondary);
  font-size: 14px;
  transition: transform 120ms ease;
}

.vin-statistics-table-toggle[aria-expanded="true"] .vin-statistics-table-arrow {
  transform: rotate(180deg);
}

.vin-statistics-table-panel {
  margin-top: 10px;
}

.vin-statistics-table-panel[hidden] {
  display: none;
}

.vin-statistics-table {
  width: 100%;
  min-width: 1260px;
  border-collapse: collapse;
  color: var(--text);
  font-size: 13px;
  line-height: 17px;
}

.vin-statistics-table th,
.vin-statistics-table td {
  height: 30px;
  box-sizing: border-box;
  padding: 5px 8px;
  border: 1px solid var(--grid);
}

.vin-statistics-table thead th {
  background: var(--table-head);
  font-weight: 700;
  text-align: center;
  vertical-align: middle;
}

.vin-statistics-table thead tr:first-child th {
  border-bottom-color: #cfd3d7;
}

.vin-statistics-table tbody th,
.vin-statistics-table tfoot th {
  min-width: 150px;
  text-align: left;
  white-space: nowrap;
}

.vin-statistics-table tbody th {
  font-weight: 400;
}

.vin-statistics-table tbody td,
.vin-statistics-table tfoot td {
  min-width: 74px;
  text-align: right;
}

.vin-statistics-table .vin-stat-percent {
  min-width: 58px;
  color: var(--secondary);
}

.vin-statistics-table tfoot th,
.vin-statistics-table tfoot td {
  background: #fafafa;
  font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
  .vin-stat-chart-bar,
  .vin-stat-chart-bar span {
    transition: none;
  }
}

.vin-order-strip,
.vin-reference-strip {
  display: flex;
  min-height: 38px;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
  padding: 8px 16px;
  border-bottom: 1px solid var(--grid);
  background: #f8f9fa;
  color: var(--secondary);
  font-size: 13px;
  line-height: 18px;
}

.vin-order-strip strong,
.vin-reference-strip strong {
  color: var(--text);
}

.vin-order-strip .flag {
  margin-right: 4px;
  vertical-align: -1px;
}

.vin-product-layout {
  display: grid;
  min-height: 100%;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.vin-product-nav {
  position: sticky;
  top: 0;
  overflow: hidden;
  border: 1px solid var(--grid);
  border-radius: 4px;
  background: #ffffff;
}

.vin-product-nav-head {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  background: var(--table-head);
}

.vin-product-nav-head h3 {
  margin: 0;
  font-size: 14px;
  line-height: 18px;
}

.vin-product-nav-head span {
  color: var(--secondary);
  font-size: 13px;
}

.vin-product-item {
  display: grid;
  width: 100%;
  min-height: 62px;
  grid-template-columns: 22px minmax(0, 1fr) 22px;
  gap: 8px;
  align-items: center;
  padding: 7px 8px;
  border: 0;
  border-top: 1px solid #e6e6e6;
  background: #ffffff;
  color: var(--text);
  text-align: left;
}

.vin-product-item:hover {
  background: var(--row-hover-bg);
}

.vin-product-item.is-active {
  background: var(--soft-blue);
}

.vin-product-index,
.vin-product-mark {
  display: inline-flex;
  width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #eeeeee;
  color: var(--secondary);
  font-size: 12px;
  line-height: 22px;
}

.vin-product-item.is-complete .vin-product-mark {
  background: #d9f2d8;
  color: #2c7a32;
}

.vin-product-item.is-active .vin-product-index,
.vin-product-item.is-active .vin-product-mark {
  background: var(--blue);
  color: #ffffff;
}

.vin-product-copy {
  min-width: 0;
}

.vin-product-copy strong,
.vin-product-copy small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vin-product-copy strong {
  font-size: 14px;
  line-height: 18px;
  font-weight: 500;
}

.vin-product-copy small {
  margin-top: 3px;
  color: var(--secondary);
  font-size: 12px;
  line-height: 16px;
}

.vin-nav-progress {
  display: grid;
  gap: 4px;
  padding: 10px;
  border-top: 1px solid var(--grid);
  color: var(--secondary);
  font-size: 12px;
  line-height: 16px;
}

.vin-nav-progress strong {
  color: var(--text);
}

.vin-view-stack,
.vin-view {
  min-width: 0;
}

.vin-view {
  padding-bottom: 76px;
}

.vin-view[hidden] {
  display: none;
}

.vin-view-heading,
.vin-section-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.vin-view-heading {
  min-height: 52px;
  padding: 10px 12px;
  border-radius: 4px 4px 0 0;
  background: #ffffff;
}

.vin-view-heading h2 {
  margin: 2px 0 0;
  color: var(--text);
  font-size: 18px;
  line-height: 22px;
}

.vin-eyebrow,
.vin-context-label,
.vin-final-kicker {
  display: block;
  color: var(--secondary);
  font-size: 11px;
  line-height: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.vin-section {
  margin-top: 10px;
  padding: 12px;
  border-radius: 4px;
  background: #ffffff;
}

.vin-product-summary {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 12px;
}

.vin-product-photo {
  display: grid;
  width: 90px;
  height: 76px;
  place-items: center;
  border: 1px dashed #b8b8b8;
  border-radius: 2px;
  background: #f8f9fa;
  color: var(--muted);
  font-size: 12px;
}

.vin-product-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 16px;
}

.vin-product-facts span,
.vin-product-facts strong {
  display: block;
}

.vin-product-facts span {
  margin-bottom: 2px;
  color: var(--secondary);
  font-size: 12px;
  line-height: 16px;
}

.vin-product-facts strong {
  font-size: 13px;
  line-height: 17px;
}

.vin-context-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.vin-context-block {
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  background: #ffffff;
}

.vin-code-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 6px 0 5px;
}

.vin-code-row code {
  overflow: hidden;
  color: var(--text);
  font: 500 15px/20px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vin-copy-button {
  margin-left: auto;
  font-size: 12px;
}

.vin-external-link {
  font-size: 12px;
}

.vin-client-choice {
  border-color: #ead18a;
  background: #fff8df;
}

.vin-client-choice strong {
  display: block;
  margin: 6px 0 3px;
  font-size: 14px;
  line-height: 18px;
}

.vin-client-choice p,
.vin-section-title-row p {
  margin: 0;
  color: var(--secondary);
  font-size: 12px;
  line-height: 16px;
}

.vin-section-title-row h3 {
  margin: 0 0 3px;
  color: var(--text);
  font-size: 16px;
  line-height: 20px;
}

.vin-decision-form {
  display: grid;
  grid-template-columns: 0.85fr 1fr 1.35fr;
  gap: 10px;
  margin-top: 12px;
}

.vin-form-field {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.vin-form-field > span {
  color: var(--text);
  font-size: 13px;
  line-height: 17px;
  font-weight: 500;
}

.vin-form-field .control {
  height: 34px;
  font-size: 14px;
}

.vin-system-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 12px;
  padding: 10px 12px;
  border-left: 4px solid var(--yellow);
  background: #fff8df;
}

.vin-system-result span:first-child,
.vin-selected-replacement > span {
  display: block;
  color: var(--secondary);
  font-size: 11px;
  line-height: 15px;
  font-weight: 700;
  text-transform: uppercase;
}

.vin-system-result strong,
.vin-selected-replacement strong,
.vin-selected-replacement small {
  display: block;
}

.vin-system-result strong {
  margin-top: 2px;
  font-size: 14px;
  line-height: 18px;
}

.vin-system-result p {
  margin: 2px 0 0;
  color: var(--secondary);
  font-size: 12px;
  line-height: 16px;
}

.vin-system-result.is-exact {
  border-left-color: #2c7a32;
  background: #eef9ed;
}

.vin-system-result.is-rejected {
  border-left-color: var(--red);
  background: #fff0f0;
}

.vin-selected-replacement {
  margin-top: 10px;
  padding: 9px 12px;
  border: 1px solid #b7d6f2;
  border-radius: 2px;
  background: #eef7ff;
}

.vin-selected-replacement strong {
  margin-top: 3px;
  font-size: 13px;
  line-height: 17px;
}

.vin-selected-replacement small {
  margin-top: 2px;
  color: var(--secondary);
  font-size: 12px;
  line-height: 16px;
}

.vin-sticky-actions {
  position: sticky;
  z-index: 5;
  bottom: -12px;
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 12px;
  padding: 10px 12px;
  border-top: 1px solid var(--grid);
  background: #ffffff;
  box-shadow: 0 -6px 16px rgba(0, 0, 0, 0.08);
}

.vin-sticky-actions > div:first-child {
  min-width: 0;
  margin-right: auto;
}

.vin-sticky-actions strong,
.vin-sticky-actions span {
  display: block;
}

.vin-sticky-actions strong {
  font-size: 13px;
  line-height: 17px;
}

.vin-sticky-actions span {
  margin-top: 2px;
  color: var(--secondary);
  font-size: 12px;
  line-height: 16px;
}

.vin-reference-strip {
  margin-top: 8px;
  border: 1px solid var(--grid);
  background: #ffffff;
}

.vin-analog-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 10px 0;
  color: var(--secondary);
  font-size: 12px;
  line-height: 16px;
}

.vin-analog-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.vin-legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: #eeeeee;
}

.vin-legend-dot.is-free,
.vin-cell-free {
  background: #d9f2d8;
}

.vin-legend-dot.is-brand,
.vin-cell-brand {
  background: #dbeeff;
}

.vin-legend-dot.is-fast,
.vin-cell-fast {
  background: #eaf7e9;
}

.vin-analog-group {
  margin-top: 10px;
  border-radius: 4px;
  background: #ffffff;
}

.vin-analog-group h3 {
  margin: 0;
  padding: 9px 10px;
  color: var(--text);
  font-size: 14px;
  line-height: 18px;
}

.vin-analog-group h3 span {
  color: var(--secondary);
  font-weight: 400;
}

.vin-analog-table,
.vin-final-table {
  width: 100%;
  border-collapse: collapse;
  color: var(--text);
  font-size: 13px;
  line-height: 17px;
}

.vin-analog-table {
  min-width: 760px;
}

.vin-analog-table th,
.vin-analog-table td,
.vin-final-table th,
.vin-final-table td {
  padding: 7px 8px;
  border: 1px solid var(--grid);
  text-align: left;
  vertical-align: middle;
}

.vin-analog-table th,
.vin-final-table th {
  background: var(--table-head);
  font-weight: 700;
}

.vin-analog-table th:first-child,
.vin-analog-table td:first-child {
  width: 34px;
  padding: 0;
  text-align: center;
}

.vin-analog-table td strong,
.vin-analog-table td span,
.vin-final-table td strong,
.vin-final-table td span:not(.product-status-badge):not(.status-badge) {
  display: block;
}

.vin-analog-table td span,
.vin-final-table td span:not(.product-status-badge):not(.status-badge) {
  color: var(--secondary);
  font-size: 12px;
}

.vin-analog-table tr.is-selected td {
  box-shadow: inset 0 2px 0 var(--blue), inset 0 -2px 0 var(--blue);
}

.vin-warning-box {
  margin-top: 10px;
  padding: 10px 12px;
  border-left: 4px solid var(--yellow);
  background: #fff8df;
}

.vin-warning-box strong {
  display: block;
  font-size: 13px;
  line-height: 17px;
}

.vin-warning-box p {
  margin: 3px 0 0;
  color: var(--secondary);
  font-size: 12px;
  line-height: 17px;
}

.vin-final-banner {
  padding: 18px;
  border-radius: 4px;
  background: #fff4ce;
  box-shadow: inset 5px 0 0 var(--yellow);
}

.vin-final-banner h2 {
  margin: 4px 0 5px;
  color: var(--text);
  font-size: 22px;
  line-height: 28px;
}

.vin-final-banner p {
  margin: 0;
  color: var(--secondary);
  font-size: 14px;
  line-height: 19px;
}

.vin-final-table {
  min-width: 850px;
  margin-top: 12px;
}

.vin-final-table .product-status-badge,
.vin-final-table .status-badge {
  white-space: nowrap;
}

.vin-no-check-row td {
  background: #f8f9fa;
  color: var(--secondary);
}

.vin-finance-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.vin-finance-grid > div {
  padding: 10px 12px;
  border-radius: 4px;
  background: #ffffff;
}

.vin-finance-grid span,
.vin-finance-grid strong {
  display: block;
}

.vin-finance-grid span {
  color: var(--secondary);
  font-size: 12px;
  line-height: 16px;
}

.vin-finance-grid strong {
  margin-top: 3px;
  font-size: 18px;
  line-height: 22px;
}

.vin-success-view {
  max-width: 680px;
  margin: 54px auto 0;
  padding: 32px;
  border-radius: 4px;
  background: #ffffff;
  text-align: center;
}

.vin-success-mark {
  display: inline-flex;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  border-radius: 50%;
  background: #d9f2d8;
  color: #2c7a32;
  font-size: 30px;
}

.vin-success-view .vin-final-kicker {
  color: #2c7a32;
}

.vin-success-view h2 {
  margin: 5px 0 8px;
  font-size: 24px;
  line-height: 30px;
}

.vin-success-view > p {
  max-width: 540px;
  margin: 0 auto;
  color: var(--secondary);
  font-size: 14px;
  line-height: 20px;
}

.vin-success-links {
  display: grid;
  max-width: 430px;
  margin: 22px auto;
  border: 1px solid #e6e6e6;
  border-radius: 2px;
  text-align: left;
}

.vin-success-links div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 8px 10px;
  border-bottom: 1px solid #e6e6e6;
}

.vin-success-links div:last-child {
  border-bottom: 0;
}

.vin-success-links dt {
  color: var(--secondary);
}

.vin-success-links dd {
  margin: 0;
  font-weight: 500;
  text-align: right;
}

@media (max-width: 1280px) {
  .vin-product-layout {
    grid-template-columns: 240px minmax(0, 1fr);
  }

  .vin-product-facts,
  .vin-decision-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
