/* Review-trust dialog: public lawyer profiles only. */
body.single-property #believe.hr-review-trust { padding: 0; }
body.single-property #believe.hr-review-trust .modal-dialog {
    display: flex;
    align-items: center;
    width: calc(100% - var(--text-md) * 2);
    max-width: var(--review-trust-width);
    height: 100%;
    min-height: 0;
    margin: 0 auto;
    padding-block: var(--text-md);
    box-sizing: border-box;
}
body.single-property #believe.hr-review-trust .modal-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0;
    box-sizing: border-box;
    max-height: calc(100vh - var(--text-md) * 2);
    max-height: calc(100dvh - var(--text-md) * 2);
    border: thin solid var(--color-gray-border);
    border-radius: var(--radius-xl);
    background: var(--color-white);
    box-shadow: var(--shadow-modal);
    overflow: hidden;
}
body.single-property #believe.hr-review-trust .modal-body {
    flex: 1 1 auto;
    min-height: 0;
    padding: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
}
body.single-property #believe .hr-review-trust-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: var(--space-after-h2);
    row-gap: var(--text-xs);
    padding: var(--space-after-h2) var(--space-after-h1);
    background: var(--gradient-brand-panel);
}
body.single-property #believe .hr-review-trust-heading { min-width: 0; }
body.single-property #believe .hr-review-trust-eyebrow {
    display: block;
    margin-bottom: var(--hc-space-sm);
    color: var(--color-purple);
    font-size: var(--text-xs);
    font-weight: var(--weight-bold);
    line-height: var(--leading-heading);
    letter-spacing: var(--tracking-wide);
}
body.single-property #believe #hr-review-trust-title {
    margin: 0;
    padding: 0;
    color: var(--color-heading);
    font-size: var(--text-3xl);
    font-weight: var(--weight-bold);
    line-height: var(--leading-tight);
    text-align: left;
    letter-spacing: var(--tracking-snug);
}
body.single-property #believe #hr-review-trust-title:focus { outline: none; }
body.single-property #believe .hr-review-trust-illustration {
    display: block;
    width: var(--review-trust-image-size);
    max-width: 100%;
    height: auto;
    margin: var(--text-md) 0 0;
    object-fit: contain;
}
body.single-property #believe #hr-review-trust-description {
    grid-column: 1 / -1;
    margin: 0;
    color: var(--color-muted);
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    text-align: left;
}
body.single-property #believe ul.hr-review-trust-principles {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-after-h2);
    margin: 0;
    padding: var(--space-after-h2) var(--space-after-h1);
    list-style: none;
    text-align: left;
}
body.single-property #believe .hr-review-trust-principles li {
    display: grid;
    grid-template-columns: var(--review-trust-icon-box) minmax(0, 1fr);
    align-items: start;
    gap: var(--text-xs);
    margin: 0;
    padding: 0;
    list-style: none;
}
body.single-property #believe .hr-review-trust-principles li::before { content: none; }
body.single-property #believe .hr-review-trust-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: var(--review-trust-icon-box);
    height: var(--review-trust-icon-box);
    border-radius: var(--radius-md);
    background: var(--color-bg-tint-purple);
    color: var(--color-purple);
}
body.single-property #believe svg {
    width: var(--review-trust-icon-size);
    height: var(--review-trust-icon-size);
    flex: 0 0 auto;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}
body.single-property #believe .hr-review-trust-principles h3 {
    margin: 0 0 var(--hc-space-xs);
    padding: 0;
    color: var(--color-heading);
    font-size: var(--text-md);
    font-weight: var(--weight-bold);
    line-height: var(--leading-heading);
}
body.single-property #believe .hr-review-trust-principles p {
    margin: 0;
    color: var(--color-text-primary);
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
}
body.single-property #believe .hr-review-trust-details {
    margin: 0 var(--space-after-h1) var(--space-after-h2);
    padding-top: var(--hc-space-xs);
    border-top: thin solid var(--color-gray);
}
body.single-property #believe .hr-review-trust-details summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--text-xs);
    min-height: var(--h-touch);
    color: var(--color-primary);
    font-size: var(--text-base);
    font-weight: var(--weight-bold);
    line-height: var(--leading-heading);
    cursor: pointer;
    list-style: none;
}
body.single-property #believe .hr-review-trust-details summary::-webkit-details-marker { display: none; }
body.single-property #believe .hr-review-trust-details summary svg { transition: transform var(--transition); }
body.single-property #believe .hr-review-trust-details[open] summary svg { transform: rotate(180deg); }
body.single-property #believe .hr-review-trust-more {
    display: grid;
    gap: var(--text-xs);
    padding: var(--hc-space-xs) 0;
}
body.single-property #believe .hr-review-trust-more p {
    margin: 0;
    color: var(--color-muted);
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
}
body.single-property #believe .hr-review-trust-more strong { color: var(--color-text-primary); }
body.single-property #believe .hr-review-trust-footer {
    position: relative;
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: space-between;
    gap: var(--text-md);
    padding: var(--text-md) var(--space-after-h1);
    border-top: thin solid var(--color-gray);
    background: var(--color-white);
}
body.single-property #believe .hr-review-trust-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    box-shadow: var(--review-trust-scroll-shadow);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
}
body.single-property #believe[data-review-trust-more-below] .hr-review-trust-footer::before { opacity: 1; }
body.single-property #believe .hr-review-trust-rules {
    display: inline-flex;
    align-items: center;
    gap: var(--hc-space-sm);
    min-height: var(--h-touch);
    white-space: nowrap;
    color: var(--color-primary);
    font-size: var(--text-base);
    line-height: var(--leading-heading);
    text-decoration: none;
}
body.single-property #believe .hr-review-trust-rules svg {
    width: var(--text-md);
    height: var(--text-md);
}
body.single-property #believe .hr-review-trust-done {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: var(--review-trust-action-width);
    min-height: var(--h-touch);
    padding: var(--text-xs) var(--text-md);
    border: 0;
    border-radius: var(--radius-sm);
    background: var(--color-primary);
    color: var(--color-white);
    font-family: var(--font-family);
    font-size: var(--text-base);
    font-weight: var(--weight-bold);
    line-height: var(--leading-heading);
    cursor: pointer;
    transition: background-color var(--transition);
}
body.single-property #believe .close {
    position: absolute;
    top: var(--hc-space-sm);
    right: var(--hc-space-sm);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: var(--h-touch);
    height: var(--h-touch);
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: var(--radius-round);
    background: var(--color-white);
    color: var(--color-muted);
    opacity: 1;
    text-shadow: none;
    transition: background-color var(--transition), color var(--transition);
}
body.single-property #believe .close span { font-size: var(--text-2xl); line-height: 1; }
body.single-property #believe :is(button, a, summary):focus-visible,
body.single-property .hr-review-trust-trigger:focus-visible,
body.single-property .hr-review-trust-load-status button:focus-visible {
    outline: var(--hc-focus-width) solid var(--color-primary);
    outline-offset: var(--hc-focus-offset);
}
body.single-property .hr-review-trust-trigger {
    display: inline-flex;
    align-items: center;
    min-height: var(--h-touch);
    padding: var(--hc-space-xs) 0;
    border: 0;
    border-radius: var(--radius);
    background: transparent;
    color: var(--color-link-brand);
    font-family: var(--font-family);
    font-size: var(--text-base);
    line-height: var(--leading-heading);
    text-align: left;
    cursor: pointer;
}
body.single-property .hr-review-trust-trigger[aria-busy="true"] { cursor: progress; }
body.single-property .hr-review-trust-load-status {
    display: block;
    margin-top: var(--hc-space-xs);
    color: var(--color-muted);
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
}
body.single-property .hr-review-trust-load-status[hidden] { display: none; }
body.single-property .hr-review-trust-load-status button {
    min-height: var(--h-touch);
    margin-left: var(--hc-space-sm);
    padding: 0 var(--hc-space-xs);
    border: 0;
    border-radius: var(--radius);
    background: transparent;
    color: var(--color-link-brand);
    font: inherit;
    font-weight: var(--weight-bold);
    cursor: pointer;
}
@media (hover: hover) and (pointer: fine) {
    body.single-property #believe .close:hover { background: var(--color-bg-tint-purple); color: var(--color-primary); }
    body.single-property #believe .hr-review-trust-done:hover { background: var(--color-primary-hover); color: var(--color-white); }
    body.single-property #believe .hr-review-trust-rules:hover,
    body.single-property .hr-review-trust-trigger:hover { color: var(--color-primary); text-decoration: underline; }
}
@media (max-width: 599px) {
    body.single-property #believe .hr-review-trust-hero {
        column-gap: var(--text-xs);
        row-gap: var(--hc-space-sm);
        padding: var(--text-md) var(--text-xl) var(--text-xs);
    }
    body.single-property #believe #hr-review-trust-title { font-size: var(--text-2xl); }
    body.single-property #believe .hr-review-trust-illustration { width: var(--review-trust-image-size-mobile); margin-top: var(--space-after-h2); }
    body.single-property #believe ul.hr-review-trust-principles {
        grid-template-columns: minmax(0, 1fr);
        gap: var(--text-xs);
        padding: var(--text-md) var(--text-xl);
    }
    body.single-property #believe .hr-review-trust-details { margin-inline: var(--text-xl); margin-bottom: var(--text-md); }
    body.single-property #believe .hr-review-trust-footer { padding: var(--text-md) var(--text-xl); }
    body.single-property #believe .hr-review-trust-done { min-width: 0; flex: 1; }
    body.single-property #believe .hr-review-trust-rules { flex: 0 0 auto; }
}
@media (prefers-reduced-motion: reduce) {
    body.single-property #believe.fade,
    body.single-property #believe.fade .modal-dialog,
    body.single-property #believe .close,
    body.single-property #believe .hr-review-trust-done,
    body.single-property #believe .hr-review-trust-details summary svg,
    body.single-property #believe .hr-review-trust-footer::before { transition: none; }
}
