.property-research-modal .custom-modal {
    background: #0b1324;
    color: #e2e8f0;
    border: 1px solid rgba(148, 163, 184, .28);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 30px 90px rgba(2, 6, 23, .55);
}

.property-research-modal .custom-modal-header {
    flex: 0 0 auto;
    min-height: 58px;
    padding: 12px 18px;
    border-bottom: 1px solid rgba(148, 163, 184, .16);
}

.property-research-modal .custom-modal-title {
    font-size: 15px;
    font-weight: 850;
}

.property-research-body.custom-modal-body {
    padding: 18px;
    background: #0b1324;
    color: #e2e8f0;
}

.property-research-panel {
    display: grid;
    gap: 15px;
    color: #cbd5e1;
    font: 500 13px/1.5 Inter, system-ui, sans-serif;
}

.property-research-intro {
    margin: 0;
    color: #a5b4c8;
    font-size: 12px;
}

.property-research-context {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
}

.property-research-context span,
.property-research-warning {
    display: grid;
    gap: 3px;
    padding: 10px 12px;
    border: 1px solid rgba(148, 163, 184, .22);
    border-radius: 10px;
    background: rgba(15, 23, 42, .84);
}

.property-research-context .is-wide {
    grid-column: 1 / -1;
}

.property-research-context small {
    color: #94a3b8;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.property-research-context strong {
    overflow-wrap: anywhere;
    color: #e2e8f0;
    font-size: 12px;
}

.property-research-warning {
    grid-template-columns: minmax(130px, .3fr) 1fr;
    border-color: rgba(245, 158, 11, .34);
    background: rgba(120, 53, 15, .18);
    color: #fde68a;
    font-size: 11px;
}

.property-research-warning strong {
    color: #fbbf24;
}

.property-research-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
    gap: 8px;
}

.property-research-links button,
.property-research-primary {
    min-height: 40px;
    padding: 9px 12px;
    border: 1px solid rgba(96, 165, 250, .45);
    border-radius: 9px;
    background: rgba(30, 64, 175, .28);
    color: #dbeafe;
    font: 800 12px/1.25 Inter, system-ui, sans-serif;
    cursor: pointer;
}

.property-research-links button:hover,
.property-research-primary:hover {
    background: rgba(37, 99, 235, .42);
}

.property-research-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
    padding: 14px;
    border: 1px solid rgba(148, 163, 184, .2);
    border-radius: 12px;
    background: rgba(15, 23, 42, .65);
}

.property-research-form label {
    display: grid;
    gap: 5px;
    color: #cbd5e1;
    font-size: 11px;
    font-weight: 750;
}

.property-research-form .is-wide {
    grid-column: 1 / -1;
}

.property-research-form input,
.property-research-form select,
.property-research-form textarea {
    width: 100%;
    min-height: 39px;
    box-sizing: border-box;
    padding: 9px 10px;
    border: 1px solid #475569;
    border-radius: 8px;
    outline: none;
    background: #0f172a;
    color: #f8fafc;
    font: 500 12px/1.4 Inter, system-ui, sans-serif;
}

.property-research-form textarea {
    min-height: 82px;
    resize: vertical;
}

.property-research-form input:focus,
.property-research-form select:focus,
.property-research-form textarea:focus {
    border-color: #60a5fa;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, .18);
}

.property-research-form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.property-research-message {
    margin: 0;
    color: #fca5a5;
    font-size: 11px;
}

.property-research-message[data-kind="info"] {
    color: #93c5fd;
}

.property-research-primary {
    margin-left: auto;
    border-color: transparent;
    background: #2563eb;
    color: #fff;
}

.property-research-primary:disabled {
    opacity: .62;
    cursor: wait;
}

.property-research-records {
    display: grid;
    gap: 8px;
}

.property-research-records h3 {
    margin: 0;
    color: #f1f5f9;
    font-size: 13px;
}

.property-research-record {
    display: grid;
    gap: 5px;
    padding: 10px 12px;
    border: 1px solid rgba(148, 163, 184, .2);
    border-radius: 9px;
    background: rgba(15, 23, 42, .78);
    font-size: 11px;
}

.property-research-record-heading,
.property-research-record-links {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
}

.property-research-record-heading strong {
    color: #f8fafc;
}

.property-research-record-heading span {
    color: #93c5fd;
    font-size: 10px;
}

.property-research-record p {
    margin: 0;
    color: #a5b4c8;
    overflow-wrap: anywhere;
}

.property-research-record a {
    color: #93c5fd;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.property-research-empty {
    margin: 0;
    color: #94a3b8;
    font-size: 11px;
}

@media (max-width: 620px) {
    .property-research-body.custom-modal-body {
        padding: 12px;
    }

    .property-research-form,
    .property-research-context {
        grid-template-columns: minmax(0, 1fr);
    }

    .property-research-form .is-wide,
    .property-research-context .is-wide {
        grid-column: auto;
    }

    .property-research-warning {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .property-research-form-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .property-research-primary {
        width: 100%;
    }
}
