/* DataStack V4.8 — status-label cleanup, report action clearance, consistent catalogue area filter.
   Preserve the existing report iframe, links, datasets, and mobile layout. */

/* No decorative live/demo dots; remove the corresponding status ornament even if
   future content accidentally retains the legacy HTML class. */
.v4-blue-live,
.v4-browser-dots,
.v42-live i { display:none!important; }

/* The report CTA must never sit against or intersect its section divider. */
.v4-reports .v4-report-header { padding-bottom:32px; overflow:visible; }
.v4-reports .v4-report-title-row {
  align-items:center;
  gap:24px;
  min-width:0;
}
.v4-reports .v4-report-title-row > div { flex:1 1 auto; min-width:0; }
.v4-reports .v4-report-title-row > a#report-open {
  box-sizing:border-box;
  flex:0 0 auto;
  align-self:center;
  min-height:48px;
  padding:12px 18px;
  line-height:1.45;
  margin:0;
  overflow:visible;
  border:1px solid #dce2ec;
  border-radius:8px;
  white-space:nowrap;
}
.v4-reports .v4-report-title-row > a#report-open:hover {
  border-color:#0000ff;
  background:#f7f8ff;
}

/* The catalogue filter uses the exact shared Reports heading and chip rhythm. */
.catalogue-page .v4-library-top .v42-filter-head {
  margin-top:33px;
  padding:0;
  border:0;
}
.catalogue-page .v4-library-top .v4-keyword-bar {
  margin-top:12px;
  gap:7px;
}
.catalogue-page #data-area-bar .v4-keyword-chip {
  font-family:inherit;
  cursor:pointer;
}
.catalogue-page #data-area-bar .v4-keyword-chip.active {
  background:var(--ds-ink);
  border-color:var(--ds-ink);
  color:#fff;
}
.catalogue-page #data-area-bar .v4-keyword-chip:focus-visible {
  outline:3px solid #6e83ff;
  outline-offset:3px;
}
@media (max-width:790px) {
  .v4-reports .v4-report-title-row { align-items:flex-start; flex-direction:column; gap:18px; }
  .v4-reports .v4-report-title-row > div { width:100%; }
  .v4-reports .v4-report-title-row > a#report-open { align-self:flex-start; }
}
@media (max-width:640px) {
  .catalogue-page .v4-library-top .v42-filter-head { margin-top:25px; }
  .catalogue-page .v4-library-top .v4-keyword-bar {
    display:flex;
    flex-wrap:nowrap;
    overflow-x:auto;
    padding-bottom:7px;
    scrollbar-width:thin;
  }
  .catalogue-page #data-area-bar .v4-keyword-chip { flex:0 0 auto; min-height:44px; }
}
