/* Shared control shape only. Layout, sizing, focus and state styles stay in their owning stylesheets. */
:root { --control-radius: 9999px; }

.btn,
.dialog-list .btn,
.figma-dialog .form-actions .btn,
.icon-btn,
.crm-visit-check,
.sidebar-brand > .sidebar-toggle,
.search,
.status-tab,
.dash-period,
.page-button,
.nav-item,
.filter-chip,
.selected-label,
.niche-tag,
.environment-tag,
.live-tag,
.badge,
.crm-status,
.er-badge,
.nav-count,
.btn .count,
.filter-results-count,
.tg-group-done,
.tg-group-badge,
.tg-manager-tools > summary,
.crm-export-options > [role="menuitem"] {
  border-radius: var(--control-radius);
}

/* An explicit allow-list leaves checkboxes, files, range/color inputs and multiline fields alone. */
input:is(:not([type]), [type="text"], [type="email"], [type="password"], [type="search"], [type="url"], [type="tel"], [type="number"], [type="date"], [type="datetime-local"], [type="time"]),
.field input:is(:not([type]), [type="text"], [type="email"], [type="password"], [type="search"], [type="url"], [type="tel"], [type="number"], [type="date"], [type="datetime-local"], [type="time"]),
select:not([multiple]),
.field select:not([multiple]) {
  border-radius: var(--control-radius);
}
