/* SRD OS | UNIFIED DASHBOARD MAL
   Floor hubs are composition slots for the existing srd-dash-heading,
   srd-dash-tiles and srd-dash-tile components (loaded from srd-dashboard.css).
   Only this adapter connects floor-specific grouping to the dashboard DOM.
   No duplicate tile styling, colours, fonts or per-page geometry. */
html[data-srd-scheme] body.srd-os-workspace main.srd-frontdoor-shell > section.srd-dash-floor {
  display:grid!important;
  align-content:start!important;
  min-width:0;
  width:100%!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
/* Original groups retain their permissions and links but share ONE grid. */
body.srd-os-workspace main.srd-frontdoor-shell > section.srd-dash-floor > .srd-room-grid {
  display:contents!important;
}
body.srd-os-workspace main.srd-frontdoor-shell > section.srd-dash-floor > :not(.srd-room-grid) {
  grid-column:1 / -1!important;
}
body.srd-os-workspace main.srd-frontdoor-shell > section.srd-dash-floor > .srd-dash-heading {
  margin:4px 0 24px!important;
  min-width:0;
}
body.srd-os-workspace main.srd-frontdoor-shell > section.srd-dash-floor > .srd-floor-section-heading {
  margin:0 0 6px!important;
}
body.srd-os-workspace main.srd-frontdoor-shell > section.srd-dash-floor .srd-dash-tile {
  width:100%;
  min-width:0;
  height:auto;
}
body.srd-os-workspace main.srd-frontdoor-shell > section.srd-dash-floor .srd-dash-tile--locked {
  opacity:.45;
  cursor:not-allowed;
}
body.srd-os-workspace main.srd-frontdoor-shell > section.srd-dash-floor .srd-user-wagon-head {
  margin:18px 0 0!important;
}

/* V4 operational room: same Dashboard head and tile components; the
   existing generic workroom scroll rail manages the data panel only.
   No white outer frame; do not redefine Dashboard card paint or shape. */
body.srd-os-workspace main.srd-frontdoor-shell > section.srd-v4-workroom {
  box-sizing:border-box!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:flex-start!important;
  align-items:stretch!important;
  gap:12px!important;
  width:100%!important;
  min-height:0;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
body.srd-os-workspace main.srd-frontdoor-shell > section.srd-v4-workroom > .srd-dash-heading {
  margin:4px 0 14px!important;
}
body.srd-os-workspace main.srd-frontdoor-shell > section.srd-v4-workroom > .srd-v4-workspaces-heading {
  margin:7px 0 2px!important;
}
body.srd-os-workspace main.srd-frontdoor-shell > section.srd-v4-workroom > .v4-stats,
body.srd-os-workspace main.srd-frontdoor-shell > section.srd-v4-workroom > .v4-tabs {
  width:100%;
  flex:none;
  margin:0!important;
}
body.srd-os-workspace main.srd-frontdoor-shell > section.srd-v4-workroom > .v4-data-panel {
  flex:1 1 auto;
  min-height:130px;
  overflow-x:auto;
}
@media(min-width:801px) and (min-height:620px) {
  body.srd-os-workspace[data-srd-frame-scroll="1"] main.srd-frontdoor-shell > section.srd-v4-workroom {
    padding:0!important;
  }
  body.srd-os-workspace[data-srd-frame-scroll="1"] main.srd-frontdoor-shell > section.srd-v4-workroom > .v4-data-panel {
    min-height:0!important;
  }
}
