/* The Do pillar: 8 action compartments (DISC-098, ADR-034, BL-098.05).
   Laid out in See's area language: one bounded surface zone, the compartments
   as sections with dividers, the actions as cards (the mirror of .see__zone,
   .situatie-section, and .situatie-card). */

/* The column wrapper that fills the shared .hub frame: the search bar pinned
   above, the surface with the scroll below it. It fills the hub height
   (`flex: 1`, `min-height: 0`), so the search keeps its natural height at the
   top and the surface takes the rest. The hub (hub.css) supplies the page
   background and the 16px bottom padding. So the surface floats clear of the
   screen bottom, with the same room as See. */
.do {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  row-gap: 16px;
}

/* The action search (BL-098.06). */
.do-pillar__search {
  display: flex;
  flex-direction: row;
  align-items: center;
  column-gap: 8px;
  padding: 0 12px;
  height: 44px;
  border-radius: 22px;
  background-color: var(--md-sys-color-surface-container-highest);
  color: var(--md-sys-color-on-surface-variant);
}

.do-search__input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  color: var(--md-sys-color-on-surface);
  font-family: inherit;
  font-size: 14px;
}

/* The bounded area, one elevation step above the page, the same as .see__zone.
   It takes the height that the pinned search leaves, and it scrolls its
   compartments inside. So the search stays in place while the cards scroll
   below it. */
.do-surface {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 24px;
  border-radius: var(--md-sys-shape-corner-large-default-size);
  background-color: var(--md-sys-color-surface-container-low);
}

/* The compartments stacked as sections (the mirror of .situatie). */
.do-pillar {
  display: flex;
  flex-direction: column;
  row-gap: 24px;
}

/* The launcher's own hidden state moved with it to
   `components/economic-action.css` (BL-108.22). */
.do-compartment--hidden {
  display: none;
}

/* One compartment is one section, with a divider between the rendered sections
   (the mirror of .situatie-section). */
.do-compartment {
  display: flex;
  flex-direction: column;
  row-gap: 12px;
}

.do-compartment:not(:first-child) {
  padding-top: 24px;
  border-top: 1px solid var(--md-sys-color-outline-variant);
}

.do-compartment__head {
  display: flex;
  flex-direction: row;
  align-items: center;
  column-gap: 8px;
  color: var(--md-sys-color-on-surface-variant);
}

.do-compartment__head-icon {
  font-size: 20px;
  line-height: 20px;
}

.do-compartment__title {
  color: var(--md-sys-color-on-surface-variant);
}

/* The action cards grid (the mirror of .situatie-cards). */
.do-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}

/* ⚠ The launcher card itself is NOT here. It is `.economic-action--launcher` in
   `static/css/components/economic-action.css` (BL-108.22), one block shared
   with the band pill in a detail pane, because they are one thing rendered
   twice. This stylesheet keeps only what belongs to the Do SCREEN: its surface,
   its search, its compartments, and their grid. Do not add a launcher rule here
   again. */

/* A compartment with no available action still renders its head. The heading is
   ADR-034 taxonomy, and it must stay, or the product reads as broken and not as
   empty. The text states the absence, and it does not instruct (the ⑩ ruling on
   an absent value). ONE tokenised step down: `on-surface-variant` is the quiet
   role. The `opacity: 0.6` that stacked on it was a second step, with no token,
   and it put the text near the contrast floor. Do not add it again. */
.do-compartment__empty {
  color: var(--md-sys-color-on-surface-variant);
}
