/* Source references remain visible alongside the issue date on every card. */
.v2-record-reference {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  margin: .6rem 0;
  padding-left: .55rem;
  border-left: 2px solid #dbe4f3;
  min-width: 0;
}
.v2-record-reference-label {
  font-family: var(--font-body);
  font-size: .65rem;
  font-weight: 600;
  line-height: 1.3;
  color: #64748b;
}
.v2-record-reference-value {
  font-family: var(--font-mono);
  font-size: .7rem;
  font-weight: 600;
  line-height: 1.5;
  color: #1e293b;
  overflow-wrap: anywhere;
}
.v2-record-reference-pill { max-width: 100%; flex-wrap: wrap; }
.v2-record-reference-pill span { font-family: var(--font-mono); overflow-wrap: anywhere; min-width: 0; }
.v2-record-reference-detail { font-weight: 700; color: #1e293b; overflow-wrap: anywhere; }

/* Align the desktop information columns above a full-width legal notice. */
@media (min-width: 992px) {
  .v2-detail-layout { align-items: stretch; row-gap: 1.75rem; }
  .v2-detail-layout > .v2-detail-sidebar,
  .v2-detail-layout > .v2-detail-main { min-width: 0; }
  .v2-detail-sidebar > .v2-agency-verification-card { flex: 1; margin-bottom: 0; }
  .v2-detail-sidebar > .v2-detail-empty-ad { display: none; }
  .v2-detail-main > .v2-docket-specs-card { display: flex; flex-direction: column; flex: 1; margin-bottom: 0; }
  .v2-detail-main > .v2-docket-specs-card > .v2-specs-table { flex: 1; }
  .v2-detail-main > .v2-docket-specs-card > .v2-specs-table > .v2-specs-row { flex: 1; align-items: center; }
  .v2-detail-layout > .v2-legal-compliance-card { grid-column: 1 / -1; }
}

/* Keep agency links compact and reduce the mobile gap before related records. */
.caw-detail-content { padding-bottom: 3.5rem; }
.v2-related-warrants-section {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid #e2e8f0;
}
.v2-detail-source-link { white-space: nowrap; flex-shrink: 0; }
@media (max-width: 767px) {
  .v2-legal-removal-note { text-align: center; }
  .caw-tabbed-profile .caw-detail-content { padding-bottom: 0; }
  .v2-related-warrants-section { margin-top: 1.5rem; padding-top: 1.5rem; }
}

/* Charges use the full content width rather than the narrow specs-label column. */
.v2-charges-highlight-box { min-width: 0; overflow-wrap: anywhere; }
.v2-charges-badge svg { flex-shrink: 0; }
.v2-charge-list { margin: 0; padding-left: 1.4rem; list-style: decimal; }
.v2-charge-item { padding: 1rem 0; border-top: 1px solid #e2e8f0; }
.v2-charge-item:first-child { border-top: 0; padding-top: .25rem; }
.v2-charge-item:last-child { padding-bottom: .25rem; }
.v2-charge-item::marker { color: #64748b; font-weight: 600; font-size: .875rem; }
.v2-charge-description { margin: 0; font-size: 1rem; font-weight: 600; line-height: 1.65; color: #0f172a; }
.v2-charge-meta { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; margin: .5rem 0 0; font-size: .8125rem; line-height: 1.6; color: #475569; }
.v2-charge-meta > div { display: flex; flex-wrap: wrap; gap: .2rem .35rem; min-width: 0; }
.v2-charge-meta dt { font-weight: 600; }
.v2-charge-meta dd { margin: 0; min-width: 0; }
.v2-charges-source-summary { margin-bottom: 1rem; padding-bottom: 1rem; border-bottom: 1px solid #e2e8f0; font-size: 1rem; line-height: 1.65; }
.v2-charge-summary-label { display: block; margin-bottom: .3rem; font-size: .75rem; font-weight: 600; color: #64748b; }
