.kenny-property-column-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
    gap: 4px;
    position: relative;
    min-height: 36px;
    width: 100%;
    padding: 2px 4px;
    color: var(--mud-palette-text-primary);
}

.kenny-property-column-header__main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 2px;
    position: relative;
    min-width: 0;
    min-height: 32px;
    width: 100%;
}

.kenny-property-column-header--filter-open {
    align-content: start;
}

.kenny-property-column-header--filter-open .kenny-property-column-header__main {
    align-items: start;
}

.kenny-property-column-header__title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.8125rem;
    font-weight: 650;
    line-height: 1.2;
    letter-spacing: 0;
}

.kenny-property-column-header__actions {
    display: grid;
    align-items: center;
    justify-items: end;
    min-width: 0;
}

.kenny-property-column-header__placeholder-title,
.kenny-property-column-header__controls {
    grid-column: 1;
    grid-row: 1;
}

.kenny-property-column-header__placeholder-title {
    position: absolute;
    top: 50%;
    left: 50%;
    max-width: calc(100% - 8px);
    overflow: hidden;
    transform: translate(-50%, -50%);
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--mud-palette-text-secondary);
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0;
    opacity: 1;
    pointer-events: none;
    transition: opacity 160ms ease;
}

.kenny-property-column-header:hover .kenny-property-column-header__placeholder-title,
.kenny-property-column-header--active-control .kenny-property-column-header__placeholder-title {
    opacity: 0;
}

.kenny-property-column-header__controls {
    display: inline-flex;
    position: absolute;
    top: 50%;
    left: 50%;
    align-items: center;
    justify-content: center;
    gap: 2px;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.kenny-property-column-header__sort,
.kenny-property-column-header__filter {
    display: inline-flex;
    align-items: center;
    gap: 1px;
}

.kenny-property-column-header__icon {
    color: var(--mud-palette-text-secondary);
    opacity: 0;
    transition: opacity 160ms ease, background-color 140ms ease, color 140ms ease;
}

.kenny-property-column-header:hover .kenny-property-column-header__icon,
.kenny-property-column-header--active-control .kenny-property-column-header__icon,
.kenny-property-column-header__icon:focus-visible,
.kenny-property-column-header__icon:focus-within,
.kenny-property-column-header__icon--active {
    opacity: 1;
}

.kenny-property-column-header__icon:hover,
.kenny-property-column-header__icon:focus-visible,
.kenny-property-column-header__icon:focus-within {
    background-color: var(--mud-palette-action-default-hover);
    color: var(--mud-palette-text-primary);
}

.kenny-property-column-header__icon--active {
    color: var(--mud-palette-primary);
    background-color: var(--mud-palette-action-default-hover);
}

.kenny-property-column-filter {
    display: grid;
    gap: 4px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 5px 6px;
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 5px;
    background: rgba(18, 19, 21, 0.88);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: var(--mud-palette-text-primary);
    overflow: hidden;
    font-size: 0.75rem;
}

.kenny-property-column-filter--compact-custom {
    width: fit-content;
    max-width: min(240px, calc(100vw - 24px));
    justify-self: start;
}

.kenny-property-column-filter--compact-custom .mud-input-control {
    width: min(228px, calc(100vw - 36px));
}

.kenny-property-column-filter .mud-input-control {
    width: 100%;
    min-width: 0;
    margin-top: 0;
    margin-bottom: 0;
}

.kenny-property-column-filter .mud-input-control > .mud-input-control-input-container {
    margin-top: 0;
}

.kenny-property-column-filter .mud-input {
    font-size: 0.75rem;
    min-height: 30px;
}

.kenny-property-column-filter .mud-input-slot {
    padding-top: 4px;
    padding-bottom: 4px;
}

.kenny-property-column-filter .mud-input-label {
    font-size: 0.6875rem;
}

.kenny-property-column-filter--popup-anchor {
    position: absolute;
    top: 100%;
    left: 0;
    width: 0;
    min-width: 0;
    height: 0;
    min-height: 0;
    gap: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
    pointer-events: none;
}

.kenny-property-column-filter--popup-anchor .kenny-status-filter-select--popup-anchor {
    width: 135px !important;
    min-width: 135px !important;
    margin: 0;
    opacity: 0;
    pointer-events: none;
}

.kenny-status-filter-popover {
    min-width: 135px;
}

.kenny-status-filter-select--single-line {
    min-width: 0;
}

.kenny-status-filter-select--single-line .mud-input-slot {
    display: block;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    scrollbar-width: thin;
}

.kenny-status-filter-select--single-line .mud-chipset {
    display: inline-flex;
    flex-wrap: nowrap;
    gap: 4px;
    min-width: max-content;
}

.kenny-status-filter-select--single-line .mud-chip {
    flex-shrink: 0;
    white-space: nowrap;
}

.kenny-status-filter-summary {
    display: flex;
    align-items: center;
    gap: 4px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    scrollbar-width: thin;
}

.kenny-status-filter-summary .mud-chip {
    flex-shrink: 0;
    white-space: nowrap;
}

.kenny-property-column-filter .mud-icon-button {
    width: 24px;
    height: 24px;
    padding: 2px;
}

.kenny-property-column-filter .mud-button-root {
    min-width: 0;
    padding: 2px 8px;
    font-size: 0.6875rem;
    line-height: 1.3;
}

.kenny-property-column-filter__active {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 4px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: 3px 5px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 5px;
    background: rgba(18, 19, 21, 0.88);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.38);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    overflow: hidden;
}

.kenny-property-column-filter__active--custom-summary {
    grid-template-columns: minmax(0, 1fr);
}

.kenny-property-column-filter__active--compact-custom {
    width: fit-content;
    max-width: min(240px, 100%);
    justify-self: start;
}

.kenny-property-column-filter__active--reopenable {
    cursor: pointer;
    transition: background-color 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}

.kenny-property-column-filter__active--reopenable:hover,
.kenny-property-column-filter__active--reopenable:focus-within {
    border-color: rgba(var(--mud-palette-primary-rgb), 0.35);
    background: rgba(22, 25, 30, 0.92);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.38), 0 0 0 1px rgba(var(--mud-palette-primary-rgb), 0.12);
}

.kenny-property-column-filter__active-operator {
    min-width: 0;
    max-width: 42px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--mud-palette-text-secondary);
    font-size: 0.6875rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0;
}

.kenny-property-column-filter__active .mud-input-control {
    width: 100%;
    min-width: 0;
    margin-top: 0;
    margin-bottom: 0;
}

.kenny-property-column-filter__active .mud-input-control > .mud-input-control-input-container {
    margin-top: 0;
}

.kenny-property-column-filter__active .mud-input {
    min-height: 28px;
    font-size: 0.75rem;
}

.kenny-property-column-filter__active .mud-input-slot {
    padding-top: 3px;
    padding-bottom: 3px;
}

.kenny-property-column-filter__active .mud-input-label {
    font-size: 0.6875rem;
}

.kenny-property-column-filter__header,
.kenny-property-column-filter__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
}

.kenny-property-column-filter__eyebrow {
    color: var(--mud-palette-text-secondary);
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1;
    text-transform: uppercase;
}

.kenny-property-column-filter__operator {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.kenny-property-column-filter__operator-label {
    color: var(--mud-palette-text-secondary);
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1;
    text-transform: uppercase;
}

.kenny-property-column-filter__operator .mud-menu,
.kenny-property-column-filter__operator .mud-button-root {
    width: 100%;
}

.kenny-property-column-filter__operator .mud-button-label {
    justify-content: space-between;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.kenny-property-column-filter__actions {
    width: 100%;
    justify-content: stretch;
}

.kenny-property-column-filter__apply {
    width: 100%;
}

.kenny-property-column-filter-menu {
    min-width: 130px;
}

.kenny-property-column-filter-menu__list {
    min-width: 130px;
    padding: 4px;
    background: transparent;
}

.kenny-property-column-filter-menu__item {
    min-height: 28px;
    padding: 5px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
}

.kenny-property-column-filter-menu__item--active {
    color: var(--mud-palette-primary);
    background-color: rgba(255, 255, 255, 0.08);
}
