.activity-choice-tools{display:grid;gap:12px;margin:16px 0;padding:14px;background:#f1f6f9;border:1px solid #c6d7e0;border-radius:10px}
.activity-choice-tools>.btn{justify-self:start}
.activity-choice-search{display:grid;gap:6px;font-weight:700}
.activity-choice-domains{border:0;padding:0;margin:0;min-width:0}
.activity-choice-domains legend{font-size:13px;font-weight:800;margin-bottom:8px}
.activity-choice-domains>small{display:block;margin-top:8px;color:#405660}
.activity-choice-chips{display:flex;gap:8px;flex-wrap:wrap}
.activity-choice-chips>label,.activity-edit-body .activity-choice-chips>label{display:flex;flex-direction:row;align-items:center;gap:7px;padding:8px 11px;background:#fff;border:1px solid #8ba6b5;border-radius:8px;color:#243e4e;cursor:pointer;font-size:13px;font-weight:600}
.activity-choice-chips input{width:17px;height:17px;flex:0 0 17px;margin:0;accent-color:#164f73}
.activity-choice-chips>label:has(input:checked){background:#164f73;border-color:#164f73;color:#fff}
[data-choice-picker] [data-choice-row][hidden]{display:none!important}
.activity-edit-body .recurring-choices>label{flex-direction:row}
.recurring-choices>label:has(input:checked),.activity-form .action-choice.selected,.activity-form .action-choice:has(input:checked){background:#164f73;border-color:#103d59;color:#fff;box-shadow:inset 4px 0 #72d4e0}
.recurring-choices>label:has(input:checked) small,.recurring-choices>label:has(input:checked) strong,.activity-form .action-choice.selected>span,.activity-form .action-choice.selected>span strong,.activity-form .action-choice:has(input:checked)>span,.activity-form .action-choice:has(input:checked)>span strong{color:#fff}
.activity-form .action-choice.selected .action-choice-check{background:#fff;color:#164f73}
.recurring-choices input,.activity-form .action-choice input{accent-color:#164f73}
.activity-form .type-choice.selected,.activity-form .domain-choice.selected{background:#164f73;border-color:#103d59}
.activity-form .type-choice.selected .type-choice-copy strong,.activity-form .type-choice.selected .type-choice-copy small,.activity-form .domain-choice.selected .domain-choice-copy strong,.activity-form .domain-choice.selected .domain-choice-copy small{color:#fff}
.activity-form .type-choice.selected .type-choice-icon,.activity-form .type-choice.selected .type-choice-check{background:#fff;color:#164f73}
.activity-form .field-emphasis input{background:#eff8fc;border:2px solid #164f73;color:#103d59;font-size:19px}
.activity-choice-chips>label:focus-within,.recurring-choices>label:focus-within,.activity-form .action-choice:focus-within,.activity-form .type-choice:focus-within{outline:3px solid #bf650e;outline-offset:3px}
.activity-print-selection .recurring-choices{max-height:520px}
.activity-print-selection .print-selection-modes{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:10px;margin:16px 0;padding:0;border:0}
.activity-print-selection .print-selection-modes label{display:flex;gap:10px;align-items:center;padding:12px;border:1px solid #8ba6b5;border-radius:9px;cursor:pointer}
.activity-print-selection .print-selection-modes label:has(input:checked){background:#e5f1f8;border:2px solid #164f73;padding:11px;color:#103d59;font-weight:700}
.activity-print-selection .print-selection-modes input{width:18px;height:18px;margin:0}
.activity-print-selection .print-selection-footer{display:flex;gap:16px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-top:18px}

/* Existing action cards use important declarations; preserve the checked contrast on hover too. */
.activity-form .action-choice.selected,.activity-form .action-choice:has(input:checked){background:#164f73!important;border-color:#103d59!important;border-left-color:#72d4e0!important}
.activity-form .action-choice.selected>span:first-of-type>strong,.activity-form .action-choice:has(input:checked)>span:first-of-type>strong{color:#fff!important}
.activity-form .action-choice.selected>span:first-of-type>span,.activity-form .action-choice:has(input:checked)>span:first-of-type>span{color:#fff}
.activity-form .action-choice.selected .action-choice-check,.activity-form .action-choice:has(input:checked) .action-choice-check{background:#fff;color:#164f73}
@media(max-width:600px){
  .activity-edit-body .activity-recurring-fields{margin-left:-8px;margin-right:-8px;padding:14px}
  .activity-choice-tools{padding:12px;gap:10px}
}
