/* New settings and report tools inherit the existing app palette and controls. */
.cdp-rule-grid,.cdp-export-template-grid,.cdp-export-column-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:20px 0}
.cdp-rule-card,.cdp-export-template-card,.cdp-export-column{min-width:0;border:1px solid #e5def4;border-radius:16px;padding:18px;background:#fff}
.cdp-rule-card summary{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;font-weight:600;min-height:36px}
.cdp-rule-card[open] summary{margin-bottom:18px}
.cdp-rule-card .cdp-form{display:grid;gap:14px}
.cdp-feature-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:14px}
.cdp-feature-actions form{margin:0}
.cdp-export-template-card h3{margin-top:0}
.cdp-export-column>div{display:grid;grid-template-columns:minmax(0,1fr) 82px;gap:12px;margin-top:12px}
.cdp-export-column label{display:grid;gap:6px}
.cdp-export-column label.cdp-check{display:flex;align-items:center;gap:10px}
.cdp-template-editor{margin-top:24px;border-top:1px solid #e5def4;padding-top:20px}
.cdp-template-editor>summary{cursor:pointer;font-size:18px;font-weight:600;color:#48397c;padding:6px 0}
.cdp-template-editor[open]>summary{margin-bottom:18px}
[data-cdp-message-composer] [hidden]{display:none!important}
.cdp-accounting-exports .cdp-form input:not([type=checkbox]):not([type=hidden]),.cdp-accounting-exports .cdp-form select,.cdp-rule-card input:not([type=checkbox]),.cdp-rule-card textarea,.cdp-rule-card select{box-sizing:border-box;width:100%;min-width:0}
@media(max-width:760px){.cdp-rule-grid,.cdp-export-template-grid,.cdp-export-column-grid{grid-template-columns:minmax(0,1fr)}.cdp-feature-actions .cdp-btn{white-space:normal}.cdp-rule-card,.cdp-export-template-card,.cdp-export-column{padding:14px}}

.cdp-accounting-exports .cdp-form input[type=checkbox]{width:18px;height:18px;min-height:18px;flex:0 0 18px;margin:0;padding:0}
.cdp-accounting-exports .cdp-form-grid,[data-cdp-message-composer] .cdp-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
@media(max-width:760px){.cdp-accounting-exports .cdp-form-grid,[data-cdp-message-composer] .cdp-form-grid{grid-template-columns:minmax(0,1fr)}}
/* Dated employee activity changes use a separate form from schedule edits. */
.cdp-ui .cdp-employee-activity{margin-top:32px;padding-top:26px;border-top:1px solid #E8E2F0;scroll-margin-top:24px}
.cdp-ui .cdp-employee-activity .cdp-section-head{margin-bottom:18px}
.cdp-ui .cdp-employee-activity .cdp-section-head p{margin:6px 0 0;font-size:13px}
.cdp-ui .cdp-employee-activity [hidden]{display:none!important}
.cdp-ui .cdp-employee-activity .cdp-help{font-size:12px;line-height:1.65}
.cdp-ui .cdp-employee-activity .cdp-form-actions{display:flex;justify-content:flex-start}
@media(max-width:600px){.cdp-ui .cdp-employee-activity{margin-top:24px;padding-top:22px}.cdp-ui .cdp-employee-activity .cdp-form-actions .cdp-btn{width:100%}}
