/* Compact business navigation. Each selector is scoped to a business screen. */
.cs:has([data-business-types]) .cs-head,
.cs:has([data-open-inventory]) .cs-head,
.cs-workspace:has([data-route="negocios"]) .cs-head {
  margin-block-end: 16px;
  gap: 12px;
}
.cs:has([data-business-types]) .cs-head h1,
.cs:has([data-open-inventory]) .cs-head h1,
.cs-workspace:has([data-route="negocios"]) .cs-head h1 {
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.15;
  margin-block: 0 6px;
}
.cs:has([data-business-types]) .cs-hub:has([data-open]) {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  margin-block: 12px;
}
.cs .cs-feature:has([data-open]),
.cs .cs-feature:has([data-open-inventory]),
.cs .cs-feature:has([data-open-settings]),
.cs .cs-feature:has([data-open-day]),
.cs-workspace:has([data-route="negocios"]) .cs-hub .cs-feature {
  min-width: 0;
  min-height: 0;
  padding: 16px;
  gap: 8px;
  background: var(--cs-panel, #0e2330);
  overflow-wrap: anywhere;
}
.cs .cs-feature:has([data-open])::before,
.cs .cs-feature:has([data-open])::after,
.cs:has([data-open-inventory]) .cs-feature::before,
.cs:has([data-open-inventory]) .cs-feature::after,
.cs-workspace:has([data-route="negocios"]) .cs-feature::before,
.cs-workspace:has([data-route="negocios"]) .cs-feature::after {
  display: none;
}
.cs .cs-feature:has([data-open]) {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  align-items: center;
  gap: 4px 12px;
}
.cs .cs-feature:has([data-open]) > .cs-symbol {
  grid-column: 1;
  grid-row: 1 / span 3;
  align-self: start;
}
.cs .cs-feature:has([data-open]) > :is(h2,p) {
  grid-column: 2;
}
.cs .cs-feature:has([data-open]) > [data-open] {
  grid-column: 3;
  grid-row: 1 / span 3;
  margin: 0;
  width: auto;
}
.cs .cs-feature:has([data-open]) > .cs-symbol,
.cs:has([data-open-inventory]) .cs-feature > .cs-symbol {
  width: 34px;
  height: 34px;
  min-width: 0;
  min-height: 0;
  border-radius: 9px;
  margin: 0;
}
.cs .cs-feature:has([data-open]) > .cs-symbol .cs-icon,
.cs:has([data-open-inventory]) .cs-feature > .cs-symbol .cs-icon {
  width: 17px;
  height: 17px;
}
.cs .cs-feature:has([data-open]) > h2,
.cs:has([data-open-inventory]) .cs-feature > h2,
.cs-workspace:has([data-route="negocios"]) .cs-hub .cs-feature > h2 {
  font-size: 18px;
  line-height: 1.25;
  margin: 0;
}
.cs .cs-feature:has([data-open]) > p,
.cs:has([data-open-inventory]) .cs-feature > p,
.cs-workspace:has([data-route="negocios"]) .cs-hub .cs-feature > p {
  margin: 0;
  line-height: 1.4;
}
.cs:has([data-business-types]) .cs-note {
  margin-block: 10px;
  padding-block: 10px;
}
.cs:has([data-open-inventory]) .cs-hub,
.cs-workspace:has([data-route="negocios"]) .cs-hub {
  gap: 12px;
  margin-block: 12px;
}
.cs:has([data-open-inventory]) .cs-feature > button,
.cs-workspace:has([data-route="negocios"]) .cs-feature > button {
  align-self: start;
  width: auto;
  min-width: 0;
  margin: 4px 0 0;
}
.cs-workspace [data-home-business-summary] ul {
  padding-inline-start: 18px;
  margin: 0;
}
.cs:has(.cs-inventory-panel) .cs-head {margin-block-end: 14px;}
.cs:has(.cs-inventory-panel) .cs-business-strip {padding-block: 10px; gap: 8px 12px;}
.cs:has(.cs-inventory-panel) .cs-inventory-head {margin-block: 14px 8px;}
.cs:has(.cs-inventory-panel) .cs-product-row {padding-block: 10px;}
.cs:has(.cs-inventory-panel) .cs-product-row .cs-photo {
  width: min(54px, 100%);
  height: 54px;
  min-height: 0;
}
.cs:has(.cs-edit-section) .cs-edit-section {margin-block: 8px;}
@media (max-width: 600px) {
  .cs .cs-feature:has([data-open]) {
    grid-template-columns: 34px minmax(0, 1fr);
    padding: 12px;
  }
  .cs .cs-feature:has([data-open]) > [data-open] {
    grid-column: 2;
    grid-row: auto;
    justify-self: start;
    margin-block-start: 5px;
  }
  .cs:has([data-open-inventory]) .cs-hub,
  .cs-workspace:has([data-route="negocios"]) .cs-hub {
    grid-template-columns: minmax(0, 1fr);
  }
}
