.website-config-page .website-config-actions {
    display: flex;
    gap: 8px;
    white-space: nowrap;
}

.website-config-page .website-config-section {
    padding-bottom: 12px;
}

.website-config-page .website-config-results {
    display: grid;
    gap: 28px;
}

.website-config-page .website-config-result-section {
    min-width: 0;
}

.website-config-page .website-config-result-section__title {
    color: var(--evosoft-admin-text);
    font-size: 16px;
    font-weight: 600;
    line-height: 22px;
    margin: 0 0 12px;
}

.admin-website-config-dialog .website-config-technical code,
.admin-website-config-dialog .website-config-dialog-key code,
.admin-website-config-dialog .website-config-color-editor code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

.website-config-page .website-config-card__text-value {
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    overflow: hidden;
}

.website-config-page .website-config-card__footer {
    align-items: center;
    display: flex;
    font-size: 12px;
    gap: 8px;
    justify-content: space-between;
    line-height: 20px;
    margin-top: auto;
    min-width: 0;
}

.website-config-page .website-config-closed-badge {
    background: var(--evosoft-admin-warning-soft);
    border-radius: var(--evosoft-admin-radius);
    color: var(--evosoft-admin-warning);
    font-size: 12px;
    font-weight: 600;
    padding: 3px 8px;
}

.website-config-page .website-config-color-value,
.website-config-page .website-config-media-value {
    align-items: center;
    display: flex;
    gap: 10px;
    min-width: 0;
}

.website-config-page .website-config-media-value a {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.website-config-page .website-config-image-link {
    align-items: center;
    cursor: zoom-in;
    display: flex;
    flex: 0 0 64px;
    height: 44px;
    justify-content: center;
}

.website-config-page .website-config-value-link {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.website-config-page .website-config-boolean-value {
    font-weight: 500;
}

.website-config-page .website-config-boolean-value.is-enabled {
    color: var(--evosoft-admin-success);
}

.website-config-page .website-config-boolean-value.is-disabled,
.website-config-page .website-config-empty-value {
    color: var(--evosoft-admin-text-secondary);
}

.website-config-page .website-config-media-value img.website-config-image {
    border: 1px solid var(--evosoft-admin-border);
    border-radius: var(--evosoft-admin-radius);
    height: 44px;
    width: 64px;
    max-width: 100%;
    object-fit: contain;
}

.website-config-page .website-config-empty {
    border: 1px dashed var(--evosoft-admin-field-border);
    border-radius: var(--evosoft-admin-radius);
    color: var(--evosoft-admin-text-secondary);
    padding: 16px;
}

.admin-website-config-dialog .website-config-dialog-key {
    color: var(--evosoft-admin-text-secondary);
    font-size: 13px;
    overflow-wrap: anywhere;
}

.admin-website-config-dialog .website-config-technical code,
.admin-website-config-dialog .website-config-dialog-key code,
.admin-website-config-dialog .website-config-color-editor code {
    color: var(--evosoft-admin-text);
    font-size: 12px;
}

.website-config-page .website-config-toggle-row,
.admin-website-config-dialog .website-config-toggle-row,
.admin-website-config-dialog .website-config-color-editor {
    align-items: center;
    display: flex;
    gap: 12px;
    min-width: 0;
}

.website-config-page .website-config-toggle-row .e-switch-wrapper {
    flex-shrink: 0;
}

.website-config-page .website-config-toggle-row > span {
    color: var(--evosoft-admin-text-secondary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-website-config-dialog .website-config-toggle-row span,
.admin-website-config-dialog .website-config-current-value {
    color: var(--evosoft-admin-text-secondary);
    font-size: 13px;
    overflow-wrap: anywhere;
}

.admin-website-config-progress-dialog .admin-website-config-progress {
    gap: 14px;
    justify-content: center;
}

.admin-website-config-progress-dialog .admin-website-config-progress span {
    color: var(--evosoft-admin-text);
    font-size: 14px;
    font-weight: 500;
}

@media (max-width: 769px) {
    .website-config-page .website-config-actions {
        flex-wrap: wrap;
    }

}

/* Context and ownership stay secondary to the setting value. */
.website-config-page .website-config-context {
    align-items: center;
    background: var(--evosoft-admin-surface-muted);
    border: 1px solid var(--evosoft-admin-border);
    border-radius: var(--evosoft-admin-radius);
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    justify-content: space-between;
    margin: 4px 0 20px;
    padding: 10px 12px;
}

.website-config-page .website-config-scope,
.website-config-page .website-config-context__hint {
    color: var(--evosoft-admin-text-secondary);
    font-size: 13px;
    line-height: 20px;
}

.website-config-page .website-config-scope {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.website-config-page .website-config-scope strong {
    color: var(--evosoft-admin-text);
    font-weight: 600;
}

.website-config-page .website-config-group__title { margin: 0; }

.website-config-page .website-config-card__identity {
    align-items: center;
    display: flex;
    gap: 10px;
    min-width: 0;
}

.website-config-page .website-config-card__icon,
.website-config-page .website-config-readonly {
    align-items: center;
    border-radius: var(--evosoft-admin-radius);
    display: inline-flex;
    flex: 0 0 var(--evosoft-admin-icon-button-size);
    height: var(--evosoft-admin-icon-button-size);
    justify-content: center;
    width: var(--evosoft-admin-icon-button-size);
}

.website-config-page .website-config-card__icon {
    background: var(--evosoft-admin-info-soft);
    color: var(--evosoft-admin-primary);
}

.website-config-page .website-config-card--managed .website-config-card__icon {
    background: var(--evosoft-admin-neutral-soft);
    color: var(--evosoft-admin-text-secondary);
}

.website-config-page .website-config-readonly,
.website-config-page .website-config-owner { color: var(--evosoft-admin-text-secondary); }
.website-config-page .website-config-card--pending { border-color: var(--evosoft-admin-primary); }

.website-config-page .website-config-status {
    align-items: center;
    color: var(--evosoft-admin-text-secondary);
    display: inline-flex;
    flex: 1;
    gap: 6px;
    min-width: 0;
}

.website-config-page .website-config-status > .e-icons { flex-shrink: 0; font-size: 12px; }
.website-config-page .website-config-status > span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.website-config-page .website-config-state-warning { color: var(--evosoft-admin-warning); }
.website-config-page .website-config-status--pending { color: var(--evosoft-admin-primary); font-weight: 500; }
.website-config-page .website-config-management-link {
    align-items: center;
    color: var(--evosoft-admin-primary);
    display: inline-flex;
    flex-shrink: 0;
    font-size: 12px;
    gap: 6px;
    text-decoration: none;
}

.website-config-page .website-config-management-link:hover { text-decoration: underline; }
.website-config-page .website-config-management-link:focus-visible {
    border-radius: var(--evosoft-admin-radius);
    outline: 2px solid var(--evosoft-admin-primary);
    outline-offset: 3px;
}

.website-config-page .website-config-savebar {
    align-items: center;
    background: #fff;
    border-top: 1px solid var(--evosoft-admin-border);
    bottom: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: space-between;
    margin-top: 4px;
    padding: 12px 0;
    position: sticky;
    z-index: 2;
}

.website-config-page .website-config-save-status {
    align-items: center;
    color: var(--evosoft-admin-text-secondary);
    display: inline-flex;
    gap: 8px;
    font-size: 13px;
}

.website-config-page .website-config-savebar--pending { border-top-color: var(--evosoft-admin-primary); }
.website-config-page .website-config-savebar--pending .website-config-save-status { color: var(--evosoft-admin-primary); }
.website-config-page .website-config-save-actions { display: flex; gap: 8px; margin-left: auto; }

.admin-website-config-dialog .website-config-editor-metadata {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 6px 12px;
    font-size: 13px;
    margin: 0;
    border-top: 1px solid var(--evosoft-admin-border);
    padding-top: 12px;
}
.admin-website-config-dialog .website-config-editor-metadata dt { color: var(--evosoft-admin-text-secondary); font-weight: 400; }
.admin-website-config-dialog .website-config-editor-metadata dd { margin: 0; overflow-wrap: anywhere; }
.admin-website-config-dialog .website-config-technical { font-size: 12px; color: var(--evosoft-admin-text-secondary); }
.admin-website-config-dialog .website-config-technical code { display: block; margin-top: 8px; overflow-wrap: anywhere; }

.admin-website-config-dialog .website-config-technical {
    background: #fff;
    border: 1px solid var(--evosoft-admin-border);
    border-radius: var(--evosoft-admin-radius);
    padding: 10px 12px;
}

.admin-website-config-dialog .website-config-technical summary { cursor: pointer; }
.admin-website-config-dialog .website-config-apply-note {
    align-items: flex-start;
    color: var(--evosoft-admin-text-secondary);
    display: flex;
    font-size: 12px;
    gap: 8px;
    line-height: 20px;
    margin: 0;
}
.admin-website-config-dialog .website-config-apply-note .e-icons { color: var(--evosoft-admin-primary); line-height: inherit; }

@media (max-width: 769px) {
    .website-config-page .website-config-save-actions { margin-left: 0; width: 100%; }
    .website-config-page .website-config-save-actions > .e-btn { flex: 1; }
    .admin-website-config-dialog .website-config-editor-metadata { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

.admin-website-config-import-dialog .e-checkbox-wrapper label { align-items: flex-start; display: flex; }
.admin-website-config-import-dialog .e-checkbox-wrapper .e-frame { flex-shrink: 0; }
.admin-website-config-import-dialog .e-checkbox-wrapper .e-label { line-height: 20px; white-space: normal; }
