.badge-label--neutral {
    background-color: #6b7280 !important;
    color: #ffffff !important;
}

.badge-label--transaction-sale {
    background-color: #16a34a !important;
    color: #ffffff !important;
}

.badge-label--transaction-rent {
    background-color: #2563eb !important;
    color: #ffffff !important;
}

.badge-label--status-draft {
    background-color: #6b7280 !important;
    color: #ffffff !important;
}

.badge-label--status-active {
    background-color: #16a34a !important;
    color: #ffffff !important;
}

.badge-label--status-reserved {
    background-color: #f59e0b !important;
    color: #111827 !important;
}

.badge-label--status-sold {
    background-color: #dc2626 !important;
    color: #ffffff !important;
}

.badge-label--status-rented {
    background-color: #0891b2 !important;
    color: #ffffff !important;
}

.badge-label--status-archived {
    background-color: #374151 !important;
    color: #ffffff !important;
}

.badge-label--company-yes {
    background-color: #16a34a !important;
    color: #ffffff !important;
}

.badge-label--company-no {
    background-color: #475569 !important;
    color: #ffffff !important;
}

.badge-label--viewing-scheduled {
    background-color: #3b82f6 !important;
    color: #ffffff !important;
}

.badge-label--viewing-confirmed {
    background-color: #22c55e !important;
    color: #ffffff !important;
}

.badge-label--viewing-completed {
    background-color: #64748b !important;
    color: #ffffff !important;
}

.badge-label--viewing-cancelled {
    background-color: #ef4444 !important;
    color: #ffffff !important;
}

.badge-label--viewing-no_show {
    background-color: #fbbf24 !important;
    color: #111827 !important;
}

.badge-label--address-primary {
    background-color: #2563eb !important;
    color: #ffffff !important;
}

.badge-label--address-billing {
    background-color: #7c3aed !important;
    color: #ffffff !important;
}

.badge-label--address-correspondence {
    background-color: #0891b2 !important;
    color: #ffffff !important;
}

.badge-label--interaction-call {
    background-color: #2563eb !important;
    color: #ffffff !important;
}

.badge-label--interaction-email {
    background-color: #0891b2 !important;
    color: #ffffff !important;
}

.badge-label--interaction-message {
    background-color: #16a34a !important;
    color: #ffffff !important;
}

.badge-label--interaction-meeting {
    background-color: #7c3aed !important;
    color: #ffffff !important;
}

/* Backpack CRUD list line actions */
table.dataTable td [bp-button].btn,
table.dataTable td .btn-group {
    margin-right: 0.25rem;
    margin-bottom: 0.15rem;
    vertical-align: middle;
}

table.dataTable td .btn-group [bp-button].btn {
    margin-right: 0;
    margin-bottom: 0;
}

table.dataTable td .actions-buttons-column.dropdown-toggle {
    min-width: 2rem;
}

table.dataTable td .actions-buttons-column.dropdown-toggle::after {
    display: none;
}

table.dataTable td .dropdown-menu .dropdown-item,
.dropdown-menu .dropdown-item[bp-button] {
    color: var(--tblr-body-color, inherit);
    background-color: transparent;
    cursor: pointer;
    transition: background-color 0.12s ease, color 0.12s ease;
}

table.dataTable td .dropdown-menu .dropdown-item:hover,
table.dataTable td .dropdown-menu .dropdown-item:focus,
.dropdown-menu .dropdown-item[bp-button]:hover,
.dropdown-menu .dropdown-item[bp-button]:focus {
    background-color: rgba(47, 111, 173, 0.22) !important;
    color: var(--tblr-body-color, inherit);
}

table.dataTable td .dropdown-menu .dropdown-item[bp-button="delete"],
.dropdown-menu .dropdown-item[bp-button="delete"] {
    color: var(--tblr-danger, #d63939);
}

table.dataTable td .dropdown-menu .dropdown-item[bp-button="delete"]:hover,
table.dataTable td .dropdown-menu .dropdown-item[bp-button="delete"]:focus,
.dropdown-menu .dropdown-item[bp-button="delete"]:hover,
.dropdown-menu .dropdown-item[bp-button="delete"]:focus {
    background-color: rgba(220, 38, 38, 0.18) !important;
    color: var(--tblr-danger, #d63939);
}

[data-bs-theme="dark"] table.dataTable td .dropdown-menu .dropdown-item:hover,
[data-bs-theme="dark"] table.dataTable td .dropdown-menu .dropdown-item:focus,
[data-bs-theme="dark"] .dropdown-menu .dropdown-item[bp-button]:hover,
[data-bs-theme="dark"] .dropdown-menu .dropdown-item[bp-button]:focus {
    background-color: rgba(47, 111, 173, 0.32) !important;
    color: #fff !important;
}

[data-bs-theme="dark"] table.dataTable td .dropdown-menu .dropdown-item:hover i,
[data-bs-theme="dark"] table.dataTable td .dropdown-menu .dropdown-item:focus i,
[data-bs-theme="dark"] .dropdown-menu .dropdown-item[bp-button]:hover i,
[data-bs-theme="dark"] .dropdown-menu .dropdown-item[bp-button]:focus i {
    color: #fff !important;
}

[data-bs-theme="dark"] .dropdown-menu .dropdown-item[bp-button="delete"]:hover,
[data-bs-theme="dark"] .dropdown-menu .dropdown-item[bp-button="delete"]:focus {
    background-color: rgba(220, 38, 38, 0.28) !important;
    color: #fca5a5 !important;
}

[data-bs-theme="dark"] .dropdown-menu .dropdown-item[bp-button="delete"]:hover i,
[data-bs-theme="dark"] .dropdown-menu .dropdown-item[bp-button="delete"]:focus i {
    color: #fca5a5 !important;
}

.admin-quick-add .form-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--tblr-secondary);
    margin-bottom: 0.25rem;
    line-height: 1.2;
    display: block;
    min-height: 1.2em;
}

.admin-inline-enum-edit {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    max-width: 100%;
}

.admin-inline-enum-edit__select {
    min-width: 8rem;
    width: max-content;
    max-width: 11rem;
    height: 1.5rem;
    min-height: 1.5rem;
    padding-top: 0;
    padding-bottom: 0;
    font-size: 0.75rem;
    line-height: 1.2;
}

.admin-inline-enum-edit__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 1.4rem;
    height: 1.4rem;
    padding: 0;
    border: 0;
    border-radius: 0.35rem;
    background: color-mix(in srgb, var(--tblr-primary, #206bc4) 14%, transparent);
    color: var(--tblr-primary, #206bc4);
    line-height: 1;
    opacity: 1;
    transition: background-color 0.12s ease, color 0.12s ease;
}

.admin-inline-enum-edit__toggle i {
    font-size: 0.9rem;
    line-height: 1;
}

.admin-inline-enum-edit__toggle:hover,
.admin-inline-enum-edit__toggle:focus-visible {
    color: #fff;
    background: var(--tblr-primary, #206bc4);
    outline: none;
}

.admin-inline-enum-edit__toggle--danger {
    background: color-mix(in srgb, var(--tblr-danger, #d63939) 14%, transparent);
    color: var(--tblr-danger, #d63939);
}

.admin-inline-enum-edit__toggle--danger:hover,
.admin-inline-enum-edit__toggle--danger:focus-visible {
    color: #fff;
    background: var(--tblr-danger, #d63939);
}

[data-bs-theme="dark"] .admin-inline-enum-edit__toggle {
    background: color-mix(in srgb, #60a5fa 22%, transparent);
    color: #93c5fd;
}

[data-bs-theme="dark"] .admin-inline-enum-edit__toggle:hover,
[data-bs-theme="dark"] .admin-inline-enum-edit__toggle:focus-visible {
    color: #0b1220;
    background: #93c5fd;
}

[data-bs-theme="dark"] .admin-inline-enum-edit__toggle--danger {
    background: color-mix(in srgb, #f87171 22%, transparent);
    color: #fca5a5;
}

[data-bs-theme="dark"] .admin-inline-enum-edit__toggle--danger:hover,
[data-bs-theme="dark"] .admin-inline-enum-edit__toggle--danger:focus-visible {
    color: #0b1220;
    background: #fca5a5;
}

.admin-quick-add__spacer-label {
    visibility: hidden;
    user-select: none;
}

.admin-quick-add .input-group-sm > .form-control,
.admin-quick-add .form-control-sm,
.admin-quick-add .form-select-sm {
    min-height: 2rem;
    height: 2rem;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

.admin-quick-add .input-group-sm > .form-control {
    display: flex;
    align-items: center;
}

.admin-quick-add .btn-sm,
.admin-quick-add .input-group-sm > .btn,
.admin-quick-add__submit {
    min-height: 2rem;
    height: 2rem;
    padding-top: 0;
    padding-bottom: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.admin-quick-add__suggestions {
    z-index: 1050;
    max-height: 14rem;
    overflow-y: auto;
    border: 1px solid var(--tblr-border-color);
    border-radius: var(--tblr-border-radius);
    background-color: var(--tblr-bg-surface, #1e293b);
    box-shadow: 0 0.5rem 1.25rem rgba(15, 23, 42, 0.45);
}

.admin-quick-add__suggestions .list-group-item {
    background-color: transparent;
    border-color: var(--tblr-border-color);
    color: var(--tblr-body-color);
}

.admin-quick-add__suggestions .list-group-item:first-child {
    border-top: 0;
}

.admin-quick-add__suggestions .list-group-item:hover,
.admin-quick-add__suggestions .list-group-item:focus {
    background-color: rgba(47, 111, 173, 0.22);
    color: var(--tblr-body-color);
}

[data-bs-theme="dark"] .admin-quick-add__suggestions {
    background-color: #1a2436;
    border-color: #334155;
}

[data-bs-theme="dark"] .admin-quick-add__suggestions .list-group-item {
    border-color: #334155;
    color: #e2e8f0;
}

[data-bs-theme="dark"] .admin-quick-add__suggestions .list-group-item:hover,
[data-bs-theme="dark"] .admin-quick-add__suggestions .list-group-item:focus {
    background-color: rgba(47, 111, 173, 0.28);
    color: #fff;
}

.property-listing-card-image {
    height: 200px;
    object-fit: cover;
}

/* Public listing (property layout: property-show.css; gallery: css/libraries/carousel-lightbox.css) */
.public-hero {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(2, 132, 199, 0.04));
    border: 1px solid rgba(37, 99, 235, 0.14);
    border-radius: 16px;
    padding: 1rem 1.25rem;
}

.public-property-card {
    border-radius: 14px;
    overflow: hidden;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.public-property-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.85rem 1.6rem rgba(2, 6, 23, 0.12) !important;
}

.public-property-description {
    min-height: 2.6rem;
}

.public-property-price {
    color: #0f172a;
}

/* Property CRUD amenity checklist */
.amenity-checklist__header .form-label {
    margin-bottom: 0;
}

.amenity-checklist__count {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.2;
    color: var(--tblr-primary, #206bc4);
    background: color-mix(in srgb, var(--tblr-primary, #206bc4) 14%, transparent);
}

.amenity-checklist__toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.85rem;
}

.amenity-checklist__search {
    position: relative;
    flex: 1 1 14rem;
    min-width: 12rem;
}

.amenity-checklist__search-icon {
    position: absolute;
    top: 50%;
    left: 0.75rem;
    transform: translateY(-50%);
    color: var(--tblr-secondary, #6c757d);
    pointer-events: none;
    font-size: 1rem;
}

.amenity-checklist-search-input {
    padding-left: 2.15rem;
}

.amenity-checklist-toggle-all {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    flex: 0 0 auto;
    margin: 0;
    padding: 0.4rem 0.75rem;
    border: 1px solid var(--tblr-border-color, rgba(98, 105, 118, 0.16));
    border-radius: 0.5rem;
    background: var(--tblr-bg-surface, #fff);
    color: var(--tblr-body-color, #182433);
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    user-select: none;
    transition: border-color 0.12s ease, background-color 0.12s ease, color 0.12s ease;
}

.amenity-checklist-toggle-all:hover,
.amenity-checklist-toggle-all:focus-visible {
    border-color: color-mix(in srgb, var(--tblr-primary, #206bc4) 45%, transparent);
    background: color-mix(in srgb, var(--tblr-primary, #206bc4) 8%, transparent);
    color: var(--tblr-primary, #206bc4);
    outline: none;
}

.amenity-checklist-toggle-all.is-disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.amenity-checklist-master-checkbox {
    margin: 0;
}

.amenity-checklist-label {
    display: block;
    height: 100%;
    margin: 0;
    cursor: pointer;
}

.amenity-checklist-card {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    height: 100%;
    min-height: 0;
    padding: 0.4rem 0.55rem;
    border: 1px solid var(--tblr-border-color, rgba(98, 105, 118, 0.16));
    border-radius: 0.45rem;
    background: var(--tblr-bg-surface, #fff);
    transition: border-color 0.12s ease, background-color 0.12s ease, box-shadow 0.12s ease;
}

.amenity-checklist-label:hover .amenity-checklist-card {
    border-color: color-mix(in srgb, var(--tblr-primary, #206bc4) 40%, transparent);
}

.amenity-checklist-card.is-selected {
    border-color: var(--tblr-primary, #206bc4);
    background: color-mix(in srgb, var(--tblr-primary, #206bc4) 10%, transparent);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tblr-primary, #206bc4) 35%, transparent);
}

.amenity-checklist-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 1.45rem;
    height: 1.45rem;
    border-radius: 0.35rem;
    font-size: 0.85rem;
    line-height: 1;
}

.amenity-checklist-card__icon--primary {
    color: var(--tblr-primary, #206bc4);
    background: color-mix(in srgb, var(--tblr-primary, #206bc4) 14%, transparent);
}

.amenity-checklist-card__icon--muted {
    color: var(--tblr-secondary, #6c757d);
    background: color-mix(in srgb, var(--tblr-secondary, #6c757d) 12%, transparent);
}

.amenity-checklist-card.is-selected .amenity-checklist-card__icon {
    color: #fff;
    background: var(--tblr-primary, #206bc4);
}

.amenity-checklist-card__label {
    min-width: 0;
    font-size: 0.75rem;
    line-height: 1.2;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

[x-cloak] {
    display: none !important;
}

[data-bs-theme="dark"] .amenity-checklist__count {
    color: #93c5fd;
    background: color-mix(in srgb, #60a5fa 18%, transparent);
}

[data-bs-theme="dark"] .amenity-checklist-toggle-all {
    background: color-mix(in srgb, #fff 4%, transparent);
    border-color: rgba(148, 163, 184, 0.28);
    color: #e2e8f0;
}

[data-bs-theme="dark"] .amenity-checklist-toggle-all:hover,
[data-bs-theme="dark"] .amenity-checklist-toggle-all:focus-visible {
    border-color: #60a5fa;
    background: color-mix(in srgb, #60a5fa 14%, transparent);
    color: #bfdbfe;
}

[data-bs-theme="dark"] .amenity-checklist-card {
    background: color-mix(in srgb, #fff 3.5%, transparent);
    border-color: rgba(148, 163, 184, 0.22);
}

[data-bs-theme="dark"] .amenity-checklist-label:hover .amenity-checklist-card {
    border-color: rgba(96, 165, 250, 0.55);
}

[data-bs-theme="dark"] .amenity-checklist-card.is-selected {
    border-color: #60a5fa;
    background: color-mix(in srgb, #3b82f6 18%, transparent);
    box-shadow: inset 0 0 0 1px rgba(96, 165, 250, 0.45);
}

[data-bs-theme="dark"] .amenity-checklist-card.is-selected .amenity-checklist-card__icon {
    background: #3b82f6;
    color: #fff;
}

/* Amenity CRUD icon preview + icon picker field */
.amenity-crud-icon-preview {
    display: inline-flex;
    align-items: center;
    font-size: 1.15rem;
    line-height: 1;
}

.amenity-crud-icon-preview code {
    font-size: 0.75rem;
    font-weight: 500;
}

.icon-picker__toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.icon-picker__search {
    position: relative;
    flex: 1 1 14rem;
    min-width: 12rem;
}

.icon-picker__search-icon {
    position: absolute;
    top: 50%;
    left: 0.75rem;
    transform: translateY(-50%);
    color: var(--tblr-secondary, #6c757d);
    pointer-events: none;
}

.icon-picker-search-input {
    padding-left: 2.15rem;
}

.icon-picker__selected {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    flex: 0 0 auto;
    padding: 0.4rem 0.7rem;
    border: 1px solid var(--tblr-border-color, rgba(98, 105, 118, 0.16));
    border-radius: 0.5rem;
    background: var(--tblr-bg-surface, #fff);
    font-size: 0.8125rem;
}

.icon-picker__selected-label {
    color: var(--tblr-secondary, #6c757d);
    font-weight: 600;
}

.icon-picker__selected-preview {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.icon-picker__selected-preview i {
    font-size: 1.1rem;
    color: var(--tblr-primary, #206bc4);
}

.icon-picker__selected-preview code {
    font-size: 0.75rem;
}

.icon-picker__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(2.6rem, 1fr));
    gap: 0.4rem;
    max-height: 22rem;
    overflow: auto;
    padding: 0.65rem;
    border: 1px solid var(--tblr-border-color, rgba(98, 105, 118, 0.16));
    border-radius: 0.65rem;
    background: color-mix(in srgb, var(--tblr-bg-surface, #fff) 92%, #000 4%);
}

.icon-picker__option {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 1;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 0.45rem;
    background: transparent;
    color: var(--tblr-body-color, #182433);
    font-size: 1.15rem;
    line-height: 1;
    cursor: pointer;
    transition: border-color 0.12s ease, background-color 0.12s ease, color 0.12s ease;
}

.icon-picker__option:hover,
.icon-picker__option:focus-visible {
    border-color: color-mix(in srgb, var(--tblr-primary, #206bc4) 45%, transparent);
    background: color-mix(in srgb, var(--tblr-primary, #206bc4) 10%, transparent);
    color: var(--tblr-primary, #206bc4);
    outline: none;
}

.icon-picker__option.is-selected {
    border-color: var(--tblr-primary, #206bc4);
    background: color-mix(in srgb, var(--tblr-primary, #206bc4) 16%, transparent);
    color: var(--tblr-primary, #206bc4);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tblr-primary, #206bc4) 30%, transparent);
}

.icon-picker__option.is-disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

[data-bs-theme="dark"] .icon-picker__selected {
    background: color-mix(in srgb, #fff 4%, transparent);
    border-color: rgba(148, 163, 184, 0.28);
}

[data-bs-theme="dark"] .icon-picker__selected-preview i {
    color: #93c5fd;
}

[data-bs-theme="dark"] .icon-picker__grid {
    background: color-mix(in srgb, #fff 3%, transparent);
    border-color: rgba(148, 163, 184, 0.22);
}

[data-bs-theme="dark"] .icon-picker__option:hover,
[data-bs-theme="dark"] .icon-picker__option:focus-visible,
[data-bs-theme="dark"] .icon-picker__option.is-selected {
    border-color: #60a5fa;
    background: color-mix(in srgb, #3b82f6 18%, transparent);
    color: #bfdbfe;
}

/* Property CRM view summary card */
.admin-property-summary {
    overflow: hidden;
}

.admin-property-summary__media {
    position: relative;
    background: color-mix(in srgb, var(--tblr-bg-surface-secondary, #f1f5f9) 100%, transparent);
}

.admin-property-summary__image,
.admin-property-summary__image-placeholder {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.admin-property-summary__image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tblr-secondary, #6c757d);
    background:
        linear-gradient(145deg,
            color-mix(in srgb, var(--tblr-primary, #206bc4) 12%, transparent),
            color-mix(in srgb, var(--tblr-bg-surface-secondary, #e9ecef) 90%, transparent));
    font-size: 2.75rem;
}

.admin-property-summary__badges {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    right: 0.75rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    pointer-events: none;
}

.admin-property-summary__title {
    font-size: 1.15rem;
    line-height: 1.35;
    font-weight: 650;
}

.admin-property-summary__price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.4rem;
}

.admin-property-summary__price-value {
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--tblr-primary, #206bc4);
    line-height: 1.1;
}

.admin-property-summary__price-currency {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--tblr-primary, #206bc4);
}

.admin-property-summary__price-old {
    font-size: 0.85rem;
    color: var(--tblr-secondary, #6c757d);
    text-decoration: line-through;
}

.admin-property-summary__specs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.admin-property-summary__spec {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.55rem;
    border-radius: 0.45rem;
    background: color-mix(in srgb, var(--tblr-primary, #206bc4) 8%, transparent);
    color: var(--tblr-body-color, #182433);
    font-size: 0.8125rem;
    font-weight: 600;
}

.admin-property-summary__spec i {
    color: var(--tblr-primary, #206bc4);
    font-size: 0.95rem;
}

.admin-property-summary__details {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.admin-property-summary__detail {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
}

.admin-property-summary__detail-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
    background: color-mix(in srgb, var(--tblr-secondary, #6c757d) 12%, transparent);
    color: var(--tblr-secondary, #6c757d);
}

.admin-property-summary__detail-icon i {
    font-size: 1rem;
    line-height: 1;
}

.admin-property-summary__detail-body {
    min-width: 0;
    flex: 1 1 auto;
}

[data-bs-theme="dark"] .admin-property-summary__media {
    background: color-mix(in srgb, #fff 4%, transparent);
}

[data-bs-theme="dark"] .admin-property-summary__image-placeholder {
    background:
        linear-gradient(145deg,
            color-mix(in srgb, #3b82f6 18%, transparent),
            color-mix(in srgb, #fff 5%, transparent));
    color: #93c5fd;
}

[data-bs-theme="dark"] .admin-property-summary__price-value,
[data-bs-theme="dark"] .admin-property-summary__price-currency {
    color: #93c5fd;
}

[data-bs-theme="dark"] .admin-property-summary__spec {
    background: color-mix(in srgb, #3b82f6 16%, transparent);
    color: #e2e8f0;
}

[data-bs-theme="dark"] .admin-property-summary__spec i {
    color: #93c5fd;
}

[data-bs-theme="dark"] .admin-property-summary__detail-icon {
    background: color-mix(in srgb, #fff 8%, transparent);
    color: #94a3b8;
}

/* Activity tables: constrain notes so ellipsis can apply */
.admin-activity-table {
    table-layout: fixed;
    width: 100%;
}

.admin-activity-table th,
.admin-activity-table td {
    vertical-align: middle;
}

.admin-activity-table .admin-notes-col {
    width: 36%;
    /* Classic fixed-table trick: percentage width still applies, overflow is clipped */
    max-width: 0;
    overflow: hidden;
}

.admin-activity-table td.text-end {
    width: 4.5rem;
    max-width: 4.5rem;
    overflow: visible;
}

/* Truncated notes with click-to-open popover */
.admin-truncated-note {
    position: relative;
    display: block;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
}

.admin-truncated-note--muted {
    max-width: 18rem;
}

.admin-truncated-note__trigger {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    text-align: left;
    cursor: default;
    overflow: hidden;
}

.admin-truncated-note__trigger.is-clickable {
    cursor: pointer;
}

.admin-truncated-note__trigger.is-clickable:hover .admin-truncated-note__preview,
.admin-truncated-note__trigger.is-clickable:focus-visible .admin-truncated-note__preview {
    color: var(--tblr-primary, #206bc4);
    text-decoration: underline;
    text-underline-offset: 0.12em;
}

.admin-truncated-note__trigger:focus-visible {
    outline: none;
}

.admin-truncated-note__trigger.is-clickable:focus-visible {
    outline: 2px solid color-mix(in srgb, var(--tblr-primary, #206bc4) 55%, transparent);
    outline-offset: 2px;
    border-radius: 0.25rem;
}

.admin-truncated-note__preview {
    display: block;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-truncated-note__popover {
    z-index: 1080;
    max-width: min(28rem, calc(100vw - 1.5rem));
    padding: 0.7rem 0.85rem;
    border: 1px solid var(--tblr-border-color, rgba(98, 105, 118, 0.2));
    border-radius: 0.55rem;
    background: var(--tblr-bg-surface, #fff);
    box-shadow: 0 0.5rem 1.25rem rgba(15, 23, 42, 0.14);
}

.admin-truncated-note__popover-text {
    white-space: pre-wrap;
    word-break: break-word;
    font-size: 0.875rem;
    line-height: 1.45;
    color: var(--tblr-body-color, #182433);
}

[data-bs-theme="dark"] .admin-truncated-note__trigger.is-clickable:hover .admin-truncated-note__preview,
[data-bs-theme="dark"] .admin-truncated-note__trigger.is-clickable:focus-visible .admin-truncated-note__preview {
    color: #93c5fd;
}

[data-bs-theme="dark"] .admin-truncated-note__popover {
    background: color-mix(in srgb, #0f172a 92%, #fff 8%);
    border-color: rgba(148, 163, 184, 0.28);
    box-shadow: 0 0.65rem 1.5rem rgba(0, 0, 0, 0.45);
}

[data-bs-theme="dark"] .admin-truncated-note__popover-text {
    color: #e2e8f0;
}

/* Admin brand name (settings company.name → Backpack sidebar) */
.admin-brand-name {
    display: block;
    max-width: 14rem;
    margin-inline: auto;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 0.01em;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: inherit;
}

.navbar-brand .admin-brand-name,
.navbar-brand a {
    text-align: center;
}

/* Kept for any legacy markup; public logo uses .frontend-brand__logo */
.admin-brand-logo {
    display: block;
    height: 3rem;
    width: auto;
    max-width: 14rem;
    object-fit: contain;
}
