.acp-code-card {
    border: 1px solid #c7ead6;
    background: linear-gradient(180deg, #f8fffb 0%, #ffffff 100%);
    border-radius: 8px;
    padding: 12px;
    margin: 12px 0 0;
    color: #374151;
    box-shadow: 0 6px 18px rgba(17, 122, 69, 0.06);
}

.acp-code-card-muted {
    border-color: #ffe1ad;
    background: linear-gradient(180deg, #fffaf2 0%, #ffffff 100%);
    box-shadow: 0 6px 18px rgba(217, 119, 6, 0.06);
}

.acp-code-title {
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
    margin-bottom: 9px;
    color: #087c45;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
}

.acp-code-card-muted .acp-code-title {
    color: #d76100;
}

.acp-code-title span:last-of-type {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.acp-code-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    border-radius: 50%;
    background: #e7f8ee;
    color: #087c45;
    font-size: 12px;
    line-height: 1;
}

.acp-code-card-muted .acp-code-icon {
    background: #fff1d8;
    color: #d76100;
}

.acp-copy-code {
    margin-left: auto;
    flex: 0 0 auto;
    border: 1px solid #b4e2c5;
    background: #fff;
    color: #087c45;
    border-radius: 6px;
    padding: 3px 9px;
    font-size: 12px;
    line-height: 1.5;
    cursor: pointer;
}

.acp-copy-code:hover,
.acp-copy-code:focus {
    background: #eafaf1;
    color: #056b3a;
}

.acp-code-value {
    background: #fff;
    border: 1px dashed #a6dcb9;
    border-radius: 6px;
    padding: 9px 10px;
    font-size: 13px;
    line-height: 1.55;
    word-break: break-all;
    user-select: all;
}

.acp-code-value code {
    background: transparent;
    color: #1f2937;
    padding: 0;
    white-space: normal;
}

.acp-code-empty {
    color: #80530d;
    font-size: 13px;
    line-height: 1.65;
}
