/* Reference data table, scoped to the website listing composer. */
#nl-form.rtf-ready[data-rp-variant="wizard"][data-rp-stage-current="2"] .nl-description-suggest { display: none; }
#nl-form.rtf-ready .nl-extra-fields {
  border: 1px solid var(--line); border-radius: 13px; overflow: visible; margin: 0 0 12px;
  background: var(--paper);
}
#nl-form.rtf-ready .nl-extra-fields > summary {
  display: flex; align-items: center; gap: 10px; padding: 12px;
  border-radius: 12px 12px 0 0; list-style: none; font-size: 18px; line-height: 1.2;
}
#nl-form.rtf-ready .nl-extra-fields > summary::-webkit-details-marker { display: none; }
#nl-form.rtf-ready .nl-extra-fields-body { display: flex; flex-direction: column; padding: 0 10px 5px; }
#nl-form.rtf-ready .listing-category-fields:not(.hidden),
#nl-form.rtf-ready .rtf-contents:not(.hidden),
#nl-form.rtf-ready #nl-tire-size-group:not(.hidden) { display: contents; }
#nl-form.rtf-ready #nl-tire-size-group > label,
#nl-form.rtf-ready #nl-category-fields-title { display: none; }
#nl-form.rtf-ready .rtf-row {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center; gap: 6px; min-width: 0; min-height: 48px;
  margin: 0; padding: 3px 0; border-bottom: 1px solid var(--line);
}
#nl-form.rtf-ready .rtf-row[hidden] { display: none; }
#nl-form.rtf-ready .rtf-row > label {
  grid-column: 1; grid-row: 1; display: flex; align-items: center; gap: 9px;
  min-width: 0; margin: 0; color: var(--ink); font-size: 14px !important;
  line-height: 1.25; font-weight: 400; overflow-wrap: anywhere;
}
#nl-form.rtf-ready .rtf-icon { display: inline-flex; flex: 0 0 23px; width: 23px; height: 23px; }
#nl-form.rtf-ready .rtf-icon svg {
  width: 100%; height: 100%; fill: none; stroke: currentColor;
  stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round;
}
#nl-form.rtf-ready .rtf-row > :not(label):not(datalist) { grid-column: 2; min-width: 0; }
#nl-form.rtf-ready .rtf-row :is(input:not([type=checkbox]):not([type=hidden]), select, .rsel-trigger) {
  width: 100%; min-width: 0; min-height: 44px; height: 44px; margin: 0;
  padding: 7px 10px; border: 1px solid var(--line); border-radius: 10px;
  color: var(--ink); background-color: var(--paper); font-size: 16px; line-height: 1.2;
}
#nl-form.rtf-ready .rtf-row select { padding-right: 25px; }
#nl-form.rtf-ready .rtf-row input:is([data-rsel], [list]) {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 9px center;
}
#nl-form.rtf-ready .rtf-row input[list]::-webkit-calendar-picker-indicator { opacity: 0; }
#nl-form.rtf-ready .rtf-row .rsel-trigger { font-size: 15px; text-align: left; }
#nl-form.rtf-ready .rtf-row .rtf-unit-control { position: relative; min-width: 0; }
#nl-form.rtf-ready .rtf-unit-control > input { padding-right: 55px; }
#nl-form.rtf-ready .rtf-unit {
  position: absolute; right: 25px; top: 50%; transform: translateY(-50%);
  color: var(--muted); font-size: 13px; pointer-events: none;
}
#nl-form.rtf-ready .rtf-row .brand-custom-input { margin-block: 4px; }
#nl-form.rtf-ready #nl-compatible-brands-group details { font-size: 14px; }
#nl-form.rtf-ready #nl-compatible-brands-group details > summary { min-height: 40px; padding: 8px; }
#nl-form.rtf-ready #nl-compatible-brands-group details[open] { grid-column: 1 / -1; }
#nl-form.rtf-ready .rtf-secondary { margin: 0; padding: 10px 0; }
#nl-form.rtf-ready .rtf-secondary > label { display: flex; gap: 9px; align-items: center; font-size: 14px; }
#nl-form.rtf-ready .nl-price-row {
  display: block; padding: 3px 10px; border: 1px solid var(--line); border-radius: 13px;
}
#nl-form.rtf-ready .nl-price-row .rtf-row:last-child { border-bottom: 0; }
#nl-form.rtf-ready .rtf-additional {
  margin: 12px 0; padding: 0 10px; border: 1px solid var(--line); border-radius: 13px;
}
#nl-form.rtf-ready .rtf-additional > summary {
  display: flex; align-items: center; gap: 9px; padding: 12px 0;
  font-size: 16px; cursor: pointer;
}
#nl-form.rtf-ready .rtf-additional > summary::after { content: "⌄"; margin-left: auto; }
#nl-form.rtf-ready .rtf-additional-body { display: flex; flex-direction: column; padding-bottom: 6px; }
body.dark #nl-form.rtf-ready .nl-extra-fields,
body.dark #nl-form.rtf-ready .nl-price-row { background: linear-gradient(110deg, #1d201e, #151716); border-color: #303431; }
body.dark #nl-form.rtf-ready .nl-extra-fields > summary { background: #272a28; }
body.dark #nl-form.rtf-ready .rtf-row { border-bottom-color: #303330; }
body.dark #nl-form.rtf-ready .rtf-row :is(input:not([type=checkbox]):not([type=hidden]), select, .rsel-trigger) {
  background-color: #272a28; border-color: #444844; box-shadow: inset 0 1px 2px #ffffff08;
}
@media (min-width: 701px) {
  #nl-form.rtf-ready .rtf-row { grid-template-columns: minmax(180px, 1fr) minmax(0, 1.2fr); }
}
