.properties-post .ac-card-action,
.properties-post .ac-card-energy {
    display: inline-grid;
    place-items: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: #102b3d99;
    color: #fff;
}
.properties-post .ac-card-action:hover,
.properties-post .ac-card-action:focus-visible { background: #ed182c; color: #fff; }
.ac-card-action svg,.ac-card-energy svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.properties-post .ac-card-energy text { stroke: none; fill: currentColor; font: 700 10px Arial,sans-serif; }
.ac-property-dialog {
    width: min(960px, calc(100vw - 32px));
    max-width: none;
    max-height: calc(100dvh - 32px);
    padding: 20px;
    border: 1px solid #e1e5e9;
    border-radius: 16px;
    color: #162333;
    background: #fff;
    box-shadow: 0 24px 70px #101e3550;
}
.ac-property-dialog::backdrop { background: #101b30a8; }
.ac-property-dialog-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: #ed182c;
    font: 22px/1 Arial,sans-serif;
}
.ac-property-dialog:not(.ac-property-dialog-visit) { overflow: hidden; }
.ac-property-dialog .properties-post.ac-quick-card { display: grid !important; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px; margin: 0; border: 0 !important; box-shadow: none; }
.ac-property-dialog .ac-quick-card::before,
.ac-property-dialog .ac-quick-card::after { content: none !important; display: none !important; }
.ac-property-dialog .ac-quick-media { grid-area: 1 / 1; }
.ac-property-dialog .ac-quick-details { grid-area: 1 / 2; }
.ac-quick-media { min-width: 0; }
.ac-quick-photo { display: block; width: 100%; aspect-ratio: 3 / 2; max-height: max(110px, calc(100dvh - 152px)); object-fit: contain; border-radius: 11px; background: #eef1f3; }
.ac-quick-thumbs { display: grid; grid-template-columns: 24px repeat(4, minmax(0, 1fr)) 24px; gap: 6px; margin-top: 10px; }
.ac-quick-thumbs button { min-width: 0; height: 48px; padding: 0; border: 2px solid transparent; border-radius: 6px; overflow: hidden; background: #eef1f3; }
.ac-quick-thumbs button[hidden] { display: none; }
.ac-quick-thumbs .ac-quick-arrow { font-size: 23px; color: #182333; }
.ac-quick-thumbs .ac-quick-arrow:last-child { grid-column: 6; }
.ac-quick-thumbs .ac-quick-arrow:disabled { opacity: .4; }
.ac-quick-thumbs button[aria-pressed=true] { border-color: #ed182c; }
.ac-quick-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.ac-quick-details { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 14px; min-width: 0; padding: 30px 12px 18px 0; }
.ac-quick-details > .content { width: 100%; padding: 0 !important; }
.ac-quick-details .title { font-size: 23px; line-height: 1.25; }
.ac-quick-badge { background: #17394d; color: #fff; border-radius: 4px; padding: 3px 8px; font-size: 12px; font-weight: 700; text-transform: uppercase; }
.ac-quick-energy,.ac-visit-note { font-size: 13px; color: #536375; margin: 0; }
.ac-property-dialog-primary { display: inline-block; border: 0; border-radius: 7px; background: #ed182c; color: #fff !important; font-weight: 700; padding: 10px 16px; }
.ac-property-dialog-primary:hover { background: #c71428; }
.ac-property-dialog-visit { width: min(500px, calc(100vw - 32px)); padding: 26px; }
.ac-property-dialog-visit h2 { font-size: 26px; line-height: 1.2; margin: 0 42px 8px 0; }
.ac-property-dialog-visit .ac-visit-summary { margin: 16px 0 14px; padding: 12px 14px; background: #fff; border: 1px solid #dedede; border-radius: 12px; }
.ac-visit-summary .heading .title { font-size: 18px; }
.ac-visit-summary .heading > .address { grid-column: 1 / -1; }
.ac-visit-intro { font-size: 14px; margin: 0 0 18px; }
.ac-public-visit-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ac-public-visit-form label { margin: 0; font-weight: 600; font-size: 13px; }
.ac-public-visit-form input { width: 100%; min-width: 0; margin-top: 4px; padding: 8px 10px; height: 42px; border: 1px solid #dce3eb; border-radius: 6px; }
.ac-public-visit-form label:nth-child(3),.ac-visit-note,.ac-visit-message,.ac-public-visit-form button { grid-column: 1 / -1; }
.ac-visit-message { margin: 0; font-size: 14px; }
.ac-visit-message:empty,.ac-visit-complete label,.ac-visit-complete .ac-visit-note,.ac-visit-complete button { display: none; }
@media (max-width: 640px) {
    .ac-property-dialog:not(.ac-property-dialog-visit) { padding: 14px; }
    .ac-property-dialog .properties-post.ac-quick-card { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .ac-property-dialog .ac-quick-details { grid-area: 2 / 1; }
    .ac-quick-photo { max-height: min(32dvh, 240px); }
    .ac-quick-details { padding: 0; gap: 8px; }
}

.ac-header-actions .ac-header-visit { margin: 0; display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; padding: 0; border: 1px solid #dedede; border-radius: 3px; background: #f5f5f5; color: #526173; }
.ac-header-actions .ac-header-visit:hover, .ac-header-actions .ac-header-visit:focus-visible { background: #ed182c; border-color: #ed182c; color: #fff; }
.ac-header-actions .ac-header-visit svg { width: 15px; height: 15px; }
