/* Stage 37: one visual control for every icon + search input composition. */
:is(
  .structure-registry-tools label,
  .aw-search,
  .crm-global-search,
  .docs-search,
  .sales-search,
  .sessions-search,
  .staff-search,
  .customer-support-search,
  .spw-warehouse-search,
  .developer-search,
  .promo-local-search,
  .document-create-search,
  .inventory-bulk-search
) {
  border: 1px solid rgba(174, 183, 194, .24) !important;
  border-radius: 9px !important;
  background: #0b0e12 !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025) !important;
  overflow: hidden;
}

:is(
  .structure-registry-tools label,
  .aw-search,
  .crm-global-search,
  .docs-search,
  .sales-search,
  .sessions-search,
  .staff-search,
  .customer-support-search,
  .spw-warehouse-search,
  .developer-search,
  .promo-local-search,
  .document-create-search,
  .inventory-bulk-search
):focus-within {
  border-color: rgba(220, 226, 233, .58) !important;
  box-shadow: 0 0 0 3px rgba(195, 203, 214, .08), inset 0 1px 0 rgba(255, 255, 255, .04) !important;
}

:is(
  .structure-registry-tools label,
  .aw-search,
  .crm-global-search,
  .docs-search,
  .sales-search,
  .sessions-search,
  .staff-search,
  .customer-support-search,
  .spw-warehouse-search,
  .developer-search,
  .promo-local-search,
  .document-create-search,
  .inventory-bulk-search
) > input {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: 0 !important;
}

body.srm-page .owner-overview-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
  padding: 5px;
  border: 1px solid rgba(174, 183, 194, .15);
  border-radius: 10px;
  background: #0b0e12;
}

body.srm-page .owner-overview-nav button {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #aeb5bf;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}

body.srm-page .owner-overview-nav button:hover,
body.srm-page .owner-overview-nav button:focus-visible,
body.srm-page .owner-overview-nav button.is-active {
  background: #171b21;
  color: #f3f5f7;
  outline: 0;
}

body.srm-page .owner-overview-nav svg { width: 16px; height: 16px; }
body.srm-page .owner-overview .overview-grid { gap: 10px; }
body.srm-page .owner-overview .overview-card { min-height: 112px; padding: 15px; }
body.srm-page .owner-overview .overview-card > strong { margin-top: 8px; }
body.srm-page .aw-scope-select { min-width: min(240px, 100%); }

@media (max-width: 700px) {
  body.srm-page .owner-overview-nav { display: grid; grid-template-columns: 1fr 1fr; }
  body.srm-page .owner-overview-nav button { justify-content: center; }
}
