/* Post-processing settings page (admin port only).
 *
 * Colors come from the shared theme variables in
 * shared/webix/css/sc-extension-theme.css - no literal hex values here, so
 * the page follows the light/dark switch like the rest of the SC surface.
 */

/* Plain-text rule editors: one record per line, no wrapping, monospace so
 * the 'source': 'target', columns stay readable. */
.pp-code textarea {
    font-family: 'Cascadia Mono', 'Roboto Mono', Consolas, monospace;
    font-size: 13px;
    line-height: 1.45;
    white-space: pre;
    overflow-x: auto;
    background: var(--bg-input);
    color: var(--text-primary);
}

/* Right-hand "Automatic cleanup" panel. */
.pp-side {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 3px;
}

.pp-section {
    color: var(--text-muted);
    font-size: 11.5px;
    padding: 4px 0 2px 0;
}

.pp-panel-title {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 13px;
}

.pp-hint {
    color: var(--text-muted);
    line-height: 18px;
}

/* Save feedback under the editor: green when the group was written, red when
 * the text was rejected and nothing was written. */
.pp-ok {
    color: var(--accent-success);
}

.pp-error {
    color: var(--accent-danger);
    white-space: pre-wrap;
}

/* Numeric grid columns read as columns of numbers, not of text: right
 * aligned and tabular so the digits line up. Applied through the column's
 * own `css` because the SC datatable treats a column `align` value as a CSS
 * class name to append, not as a Webix alignment keyword. */
.pp-stats-num {
    text-align: right;
    font-variant-numeric: tabular-nums;
}
