.cs-utm-container {

    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #333;
}
.cs-utm-container h3 {
    color: #0073aa;
    margin-top: 0;
    margin-bottom: 8px;
}
.cs-utm-container > p {
    color: #555;
    line-height: 1.5;
    margin-bottom: 20px;
    font-size: 15px;
}
.cs-utm-form {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 6px;
    border: 1px solid #eee;
}
/* В HTML поля идут с классами .cs-utm-field-group и .cs-utm-col,
   а не .cs-utm-field/.cs-utm-half — стилизуем оба набора. */
.cs-utm-field,
.cs-utm-field-group {
    margin-bottom: 16px;
}
.cs-utm-field label,
.cs-utm-field-group label,
.cs-utm-col label {
    display: block;
    font-weight: 600;
    margin-bottom: 4px;
    color: #333;
    font-size: 14px;
}
.cs-utm-field input,
.cs-utm-field select,
.cs-utm-field-group input,
.cs-utm-col input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}
.cs-utm-field small,
.cs-utm-col small {
    font-size: 12px;
    color: #777;
    display: block;
    margin-top: 4px;
}
/* Две колонки в строке: был display:block с gap/flex — игнорировался. */
.cs-utm-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 16px;
}
.cs-utm-half,
.cs-utm-col {
    flex: 1 1 0;
    min-width: 0;
}
.cs-utm-select {
    cursor: pointer;
}
.cs-utm-button {
    background: #0073aa;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.cs-utm-button:hover {
    background: #005a87;
}
.cs-utm-button-small {
    background: #28a745;
    color: #fff;
    border: none;
    padding: 10px 18px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}
.cs-utm-button-small:hover {
    background: #218838;
}
/* Таблица параметров UTM */
.cs-utm-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.cs-utm-table th,
.cs-utm-table td {
    text-align: left;
    padding: 8px 10px;
    border-bottom: 1px solid #eee;
    vertical-align: top;
    word-break: break-word;
}
.cs-utm-table th {
    color: #555;
    font-weight: 600;
    background: #f4f4f4;
    border-bottom: 2px solid #e0e0e0;
}
.cs-utm-table .cs-utm-td-key {
    white-space: nowrap;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    color: #0073aa;
}
.cs-utm-table .cs-utm-td-act {
    text-align: right;
    width: 1%;
    white-space: nowrap;
}
.cs-utm-copy-val {
    background: #f0f0f1;
    color: #2c3e50;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 4px 10px;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.2s;
}
.cs-utm-copy-val:hover {
    background: #e2e4e7;
}
.cs-utm-table-empty {
    color: #777;
    font-size: 13px;
    margin: 8px 0 0;
}
@media (max-width: 640px) {
    .cs-utm-row { flex-direction: column; gap: 0; }
    .cs-utm-half,
    .cs-utm-col { width: 100%; }
}
