/* SplitRuleProfile: local composition; controls and tenant colors use the shared theme. */
.split-profile-page { min-width: 0; }
.split-profile-back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px; font-size: 13px; }
.split-profile-page .card { box-shadow: var(--mkp-shadow); }
.split-profile-search { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; padding: 16px; border-bottom: 1px solid var(--mkp-border); }
.split-profile-search .form-label { margin: 0; }
.split-profile-search .admin-search { max-width: 420px; }
.split-profile-list > .k-grid,
.split-profile-rules > .k-grid { border: 0; border-radius: 0 0 var(--mkp-radius) var(--mkp-radius); }
.split-profile-details { display: flex; flex-direction: column; gap: 16px; padding: 24px; margin-bottom: 20px; }
.split-profile-page:not(:has(.split-profile-rules)) .split-profile-details,
.split-profile-page:not(:has(.split-profile-rules)) .split-profile-next,
.split-profile-page:not(:has(.split-profile-rules)) .split-profile-form-actions { max-width: 688px; }
.split-profile-section-heading h2,
.split-profile-next h2,
#splitRuleModal .split-rule-heading { font-size: 16px; font-weight: 600; line-height: 1.5; margin: 0 0 6px; }
.split-profile-section-heading p,
.split-profile-next p { color: var(--mkp-muted-foreground); margin: 0; line-height: 1.6; }
.split-profile-fields { width: 100%; max-width: 640px; }
.split-profile-fields .form-text { margin-bottom: 0; }
.split-profile-check { padding-top: 4px; }
.split-profile-check .form-text { margin-left: 24px; }
.split-profile-rules-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 24px; border-bottom: 1px solid var(--mkp-border); }
.split-profile-rules-heading .btn { flex-shrink: 0; }
.split-profile-rules td:nth-child(5),
.split-profile-rules td:nth-child(6) { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.split-profile-rules td:first-child { overflow-wrap: anywhere; }
.split-profile-next { display: flex; align-items: flex-start; gap: 12px; padding: 0 4px; }
.split-profile-next > .fa { font-size: 20px; color: var(--mkp-muted-foreground); margin-top: 4px; }
.split-profile-form-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--mkp-border); }
.split-profile-page .k-grid { --mkp-grid-cell-x: 16px; }
.split-profile-page .k-grid .k-grid-header th.k-table-th { color: var(--mkp-foreground); font-weight: 600; font-size: 14px; background: var(--mkp-muted); }
.split-profile-page .k-grid td .btn-group .btn { min-width: 32px; min-height: 32px; font-size: 14px; }
.split-profile-list .k-grid table { table-layout: fixed; }
/* Let the name absorb spare space; retain Kendo's explicit/user-resized widths. */
.split-profile-list .k-grid table > colgroup > col:first-child:not([style*="width"]) { width: auto; }
.split-profile-list .k-grid td:first-child { font-weight: 500; overflow-wrap: anywhere; }
.split-profile-rules th:nth-child(5) .k-cell-inner,
.split-profile-rules th:nth-child(6) .k-cell-inner { justify-content: flex-end; }
.split-profile-empty { padding: 36px 20px; text-align: center; white-space: normal; }
.split-profile-empty > .fa { display: block; margin-bottom: 12px; font-size: 20px; color: var(--mkp-muted-foreground); }
.split-profile-empty strong { display: block; color: var(--mkp-foreground); font-weight: 600; }
.split-profile-empty p { margin: 8px 0 0; color: var(--mkp-muted-foreground); }
#splitRuleModal .split-rule-heading { margin-bottom: 16px; }
#splitRuleModal .split-rule-responsibilities { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--mkp-border); }
#splitRuleModal .split-rule-choice + .split-rule-choice { margin-top: 16px; }
#splitRuleModal .split-rule-choice .form-text { margin: 4px 0 0 24px; }
#splitRuleModal .split-rule-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--mkp-border); }
@media (max-width: 767.98px) {
    .split-profile-details { padding: 20px; }
    .split-profile-rules-heading { align-items: flex-start; flex-direction: column; padding: 20px; }
    .split-profile-search { padding: 16px; }
    .split-profile-list .k-grid table { min-width: 560px; }
}
