.property-card__secondary-actions .icon-button,
.property-compare__actions .icon-button,
.property-topbar__actions button {
    min-height: 44px;
}

.property-card__secondary-actions .icon-button,
.property-compare__actions .icon-button {
    gap: 6px;
    cursor: pointer;
    transition: border-color .18s ease, background-color .18s ease, color .18s ease, box-shadow .18s ease;
}

.property-card__secondary-actions .icon-button {
    min-width: 0;
    padding-inline: 6px;
}

.property-card__secondary-actions [data-property-action-label] {
    min-width: 0;
    overflow-wrap: anywhere;
}

.property-card__secondary-actions .site-icon,
.property-compare__actions .site-icon {
    width: 15px;
    font-size: 14px;
}

[data-property-action]:disabled {
    cursor: default;
    opacity: .58;
}

[data-property-action].is-active,
[data-property-action][aria-pressed="true"] {
    border-color: color-mix(in srgb, var(--accent-action) 42%, var(--line));
    background: color-mix(in srgb, var(--accent-action) 9%, #fff);
    color: var(--accent-action);
}

[data-property-action]:focus-visible,
.property-selection-dock a:focus-visible,
.property-share-fallback button:focus-visible,
.property-share-fallback input:focus-visible,
.property-compare:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--accent-action) 35%, transparent);
    outline-offset: 2px;
}

.property-selection-dock {
    position: fixed;
    right: max(18px, env(safe-area-inset-right));
    bottom: max(18px, env(safe-area-inset-bottom));
    z-index: 35;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
    max-width: calc(100vw - 36px);
    padding: 8px;
    border: 1px solid rgba(35, 31, 32, .14);
    border-radius: 12px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 16px 38px rgba(35, 31, 32, .2);
    backdrop-filter: blur(10px);
}

@media (min-width: 701px) {
    .property-selection-dock {
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: stretch;
    }

    .property-selection-dock a {
        justify-content: space-between;
    }
}

.property-selection-dock[hidden],
.property-selection-dock a[hidden] {
    display: none;
}

.property-selection-dock a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 8px;
    background: var(--brand);
    color: #fff;
    font-size: .8rem;
    font-weight: 800;
    text-decoration: none;
}

.property-selection-dock a:hover {
    background: var(--accent-action);
    color: #fff;
}

.property-selection-dock strong {
    min-width: 23px;
    height: 23px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #fff;
    color: var(--brand);
    font-size: .72rem;
}

.property-share-fallback {
    width: min(520px, calc(100vw - 28px));
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: transparent;
}

.property-share-fallback::backdrop {
    background: rgba(23, 25, 24, .58);
    backdrop-filter: blur(3px);
}

.property-share-fallback__panel {
    display: grid;
    gap: 16px;
    padding: 22px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 24px 64px rgba(20, 23, 21, .28);
}

.property-share-fallback__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.property-share-fallback h2,
.property-share-fallback p {
    margin: 0;
}

.property-share-fallback__heading button {
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    cursor: pointer;
}

.property-share-fallback input {
    width: 100%;
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid #aebbb1;
    border-radius: 6px;
    color: var(--ink);
    font: inherit;
}

.property-selection-section {
    padding: 40px 0 72px;
    background: var(--soft);
}

.property-selection-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.property-selection-heading p {
    margin: 0;
    color: var(--muted);
}

.property-selection-heading .property-selection-warning {
    margin-top: 8px;
    color: #8a3a25;
    font-weight: 700;
}

.property-selection-heading .button {
    flex: 0 0 auto;
    gap: 8px;
}

.property-selection-section .empty-state p {
    margin: -8px 0 22px;
    color: var(--muted);
}

.property-selection-unavailable {
    min-height: 360px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(35, 31, 32, .06);
}

.property-selection-unavailable__icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: var(--soft);
    color: var(--muted);
    font-size: 1.35rem;
}

.property-selection-unavailable h2,
.property-selection-unavailable p {
    margin: 0;
}

.property-selection-unavailable p {
    color: var(--muted);
}

.property-selection-unavailable .button {
    margin-top: auto;
}

.property-compare {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(35, 31, 32, .06);
}

.property-compare table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
    table-layout: fixed;
}

.property-compare th,
.property-compare td {
    padding: 14px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.property-compare tr > :first-child {
    width: 170px;
    background: #faf8f7;
    color: var(--muted);
    font-size: .8rem;
    font-weight: 800;
}

.property-compare tr > :last-child {
    border-right: 0;
}

.property-compare tbody tr:last-child > * {
    border-bottom: 0;
}

.property-compare thead th:not(:first-child) {
    padding: 12px;
    background: #fff;
}

.property-compare__item {
    min-width: 0;
    display: grid;
    gap: 10px;
}

.property-compare__item--unavailable {
    min-height: 210px;
    align-content: start;
}

.property-selection-remove {
    min-height: 40px;
    margin-top: auto;
    padding: 8px 10px;
    font-size: .76rem;
}

.property-compare__image {
    aspect-ratio: 4 / 3;
    display: block;
    overflow: hidden;
    border-radius: 7px;
    background: var(--soft);
}

.property-compare__image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.property-compare__title {
    display: -webkit-box;
    overflow: hidden;
    color: var(--ink);
    font-size: .9rem;
    font-weight: 850;
    line-height: 1.3;
    text-decoration: none;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.property-compare__item > span {
    color: var(--muted);
    font-size: .74rem;
}

.property-compare__actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
}

.property-compare__actions .icon-button {
    min-width: 0;
    padding: 7px 5px;
}

.property-compare__actions [data-property-action-label] {
    display: none;
}

@media (max-width: 700px) {
    .property-card__secondary-actions [data-property-action-label] {
        font-size: .7rem;
    }

    .property-selection-dock {
        right: 10px;
        bottom: max(10px, env(safe-area-inset-bottom));
        max-width: calc(100vw - 20px);
    }

    .property-selection-dock a {
        padding-inline: 10px;
    }

    .property-selection-heading {
        flex-direction: column;
    }

    .property-selection-heading .button {
        width: 100%;
    }

    .property-compare {
        margin-inline: -16px;
        border-inline: 0;
        border-radius: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .property-card__secondary-actions .icon-button,
    .property-compare__actions .icon-button {
        transition: none;
    }
}
