.es-hosting-relations {
    --relations-surface: #f6fbfe;
    --relations-line: #d5e7ee;
    --relations-text: #123549;
    --relations-accent: #076d83;
    --relations-tag: #def3f8;
    clear: both;
    margin: 0 0 24px;
    padding: 18px 20px;
    border: 1px solid var(--relations-line);
    border-left: 4px solid var(--relations-accent);
    border-radius: 12px;
    background: var(--relations-surface);
    color: var(--relations-text);
    text-align: left;
}

html[data-es-theme="dark"] .es-hosting-relations {
    --relations-surface: #102e3c;
    --relations-line: #305464;
    --relations-text: #e9f7fb;
    --relations-accent: #8be6ef;
    --relations-tag: #173e4e;
}

.es-hosting-relations h3 {
    margin: 0 0 10px;
    color: var(--relations-text);
    text-align: left;
    text-transform: none;
    font-size: 1.2em;
}

.es-hosting-relations p { margin: 0; }
.es-hosting-relations-list { padding: 0; margin: 0; list-style: none; }

.es-hosting-relations-list > li {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 16px;
    padding: 10px 0;
    border-top: 1px solid var(--relations-line);
    overflow-wrap: anywhere;
}

.es-hosting-relations-list > li:last-child { padding-bottom: 0; }
.es-hosting-relations-list small { display: block; margin-top: 2px; }
.es-hosting-relations a.es-hosting-relations-name { color: var(--relations-accent); text-decoration: underline; }
.es-hosting-relations-name { font-weight: 700; }
.es-hosting-relations-actions { display: flex; flex-wrap: wrap; gap: 6px; }

.es-hosting-relations-tag {
    padding: 3px 8px;
    border-radius: 8px;
    background: var(--relations-tag);
    color: var(--relations-text);
    font-size: .82em;
}
