/* FEAT-000100 — fit all Sources columns in the desktop viewport.
   No new display data: JS only splits already-visible merged labeled values. */

#page-sources .source-family-table-wrap{
  overflow-x:hidden!important;
  max-width:100%!important;
}

#page-sources table.f100-fit-table{
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  table-layout:fixed!important;
}

#page-sources table.f100-fit-table th,
#page-sources table.f100-fit-table td{
  min-width:0!important;
  max-width:none!important;
  box-sizing:border-box;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
  word-break:normal;
  vertical-align:top;
  padding-left:6px!important;
  padding-right:6px!important;
}

#page-sources table.f100-fit-table .expander-head,
#page-sources table.f100-fit-table .expander-cell{
  min-width:0!important;
  max-width:none!important;
  padding-left:3px!important;
  padding-right:3px!important;
}

#page-sources table.f100-fit-table .frozen-primary{
  min-width:0!important;
  max-width:none!important;
}

#page-sources table.f100-fit-table .source-actions-col{
  min-width:0!important;
  max-width:none!important;
  white-space:normal!important;
}

#page-sources table.f100-fit-table .source-actions{
  display:flex;
  flex-wrap:wrap!important;
  align-items:flex-start;
  gap:3px!important;
}

#page-sources table.f100-fit-table .source-actions .action-btn,
#page-sources table.f100-fit-table .rights-badge{
  white-space:normal!important;
  padding:4px 5px!important;
  line-height:1.15;
  max-width:100%;
}

#page-sources table.f100-fit-table .source-f100-split-col{
  white-space:normal!important;
  overflow-wrap:anywhere!important;
}

#page-sources table.f100-fit-table .source-context-lines{
  gap:2px;
}

#page-sources table.f100-fit-table .source-row-note{
  overflow-wrap:anywhere;
}

/* F86 had family-specific desktop min-widths. F100 supersedes them because the
   user requires the entire row, including Actions, visible without right-scroll. */
#page-sources [data-source-family-section] .source-directory-table,
#page-sources .source-search-table{
  min-width:0!important;
  width:100%!important;
  max-width:100%!important;
}

/* The detached sticky header uses the same table classes. Keep it exactly the
   same viewport width and allow its headings to wrap rather than force overflow. */
#page-sources .dfh-sticky-header-table.f100-fit-table{
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
}
#page-sources .dfh-sticky-header-table.f100-fit-table thead th{
  white-space:normal!important;
  overflow:visible!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  line-height:1.15!important;
  padding:6px!important;
}
