/* TripCreator MDM - global admin polish (django-unfold). Loaded via UNFOLD["STYLES"].
   Additive only: a rule that misses its selector is a harmless no-op. Selectors
   that depend on the rendered unfold DOM are marked for staging verification. */

/* --- Pretty JSON / code textareas (class emitted by PrettyJSONWidget; reliable) --- */
textarea.mdm-json-widget {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 12px;
  line-height: 1.5;
  tab-size: 2;
  background: rgba(102, 2, 60, 0.03);
  white-space: pre;
}

/* --- Tabular numerals on changelist tables (#result_list = Django's canonical id) --- */
#result_list td,
#result_list th {
  font-variant-numeric: tabular-nums;
}

/* --- Submit-row clearance ---
   unfold's submit row already does `lg:sticky lg:bottom-0` (id="submit-row",
   h-[64px]). It is NOT Django's `.submit-row`, so the only real issue is the
   sticky 64px bar overlapping the last field. Give the form content bottom
   clearance. Harmless no-op if the selector is absent. */
#content-main {
  padding-bottom: 5rem;
}
