/* To-Do notification rules; shared forms and task workflows are unaffected. */
.todo-workspace{min-width:0}
.todo-workspace .todo-filter-shell .filter-title [data-total-files-skip]{font-size:12px;color:#61798c}
.modal .modal-card.todo-rules-modal{width:min(680px,calc(100vw - 32px));max-width:680px;max-height:calc(100dvh - 32px);padding:0!important;overflow:auto;border:1px solid #b9d3e3;border-radius:18px;background:#fff;box-shadow:0 22px 70px #09283f30}
.todo-rules-dialog{color:#153752;font-family:var(--font-primary,inherit);min-width:0}
.todo-rules-header{display:flex;align-items:center;justify-content:flex-start;gap:14px;padding:24px 65px 22px 24px;border-bottom:1px solid #d9e6ed;background:linear-gradient(115deg,#f4fbfc,#fff)}
.todo-rules-header>div{flex:1;min-width:0;text-align:left}
.todo-rules-header .eyebrow{margin:0 0 5px;color:#078b8d;font-size:10px;letter-spacing:1.2px}
.todo-rules-header h2{font-size:22px;line-height:1.25;margin:0 0 6px;color:#153752}
.todo-rules-header p:not(.eyebrow){font-size:12px;line-height:1.5;color:#617b90;margin:0}
.todo-rules-icon{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;border-radius:12px;background:#e1f6f4;color:#008f92}
.todo-rules-icon svg{width:22px;height:22px;flex:none;fill:none}
.todo-rules-form{margin:0}
.todo-rules-form .todo-rules-options{display:grid;gap:10px;min-width:0;border:0;padding:0;margin:22px 24px 18px}
.todo-rules-options legend{font-size:12px;font-weight:750;color:#34556d;margin:0 0 12px;padding:0}
.todo-rules-form .todo-rule-option{display:grid;grid-template-columns:18px minmax(0,1fr);align-items:start;gap:13px;padding:14px 16px;border:1px solid #b7cedf;border-radius:11px;background:#fff;cursor:pointer;text-align:left;line-height:1.45}
.todo-rules-form .todo-rule-option:has(input:checked){background:#f0faf8;border-color:#76bcb9}
.todo-rules-form .todo-rule-option:hover{border-color:#319fa4}
.todo-rules-form .todo-rule-option:focus-within{outline:3px solid #0a9cad28;outline-offset:2px;border-color:#078f9a}
.todo-rules-form .todo-rule-option input[type=checkbox]{width:18px!important;min-width:18px;max-width:18px;height:18px!important;min-height:18px;max-height:18px;padding:0;margin:3px 0 0;accent-color:#008f92;appearance:auto;transform:none;box-shadow:none;cursor:pointer}
.todo-rule-option strong{display:block;font-size:14px;font-weight:750;color:#153752}
.todo-rule-option small{display:block;margin-top:3px;font-size:12px;font-weight:400;line-height:1.5;color:#5e7688;overflow-wrap:anywhere}
.todo-rules-privacy{margin:0 24px 20px;padding:12px 14px;border:1px solid #cbdfeb;border-left:3px solid #209b9b;border-radius:9px;background:#f5fafc}
.todo-rules-privacy b{font-size:12px;color:#28546a}
.todo-rules-privacy p{margin:4px 0 0;font-size:11px;line-height:1.5;color:#617b90}
.todo-rules-form .todo-rules-error{margin:0 24px 16px;padding:10px 12px;border:1px solid #e8a8ad;border-radius:8px;background:#fff4f4;color:#9d2734;font-size:12px}
.todo-rules-form .todo-rules-error[hidden]{display:none}
.todo-rules-form .form-actions{display:flex;justify-content:flex-end;gap:9px;flex-wrap:wrap;margin:0;padding:16px 24px;border-top:1px solid #d5e3ec;background:#fbfdfe}
.todo-rules-form .form-actions button{min-height:40px;padding:9px 16px;border-radius:9px;font-size:12px}
.todo-rules-form .form-actions button:focus-visible{outline:3px solid #0a9cad66;outline-offset:3px}
@media(max-width:600px){.todo-rules-header{align-items:flex-start;gap:11px;padding:20px 54px 18px 16px}.todo-rules-header h2{font-size:19px}.todo-rules-icon{flex-basis:36px;width:36px;height:36px;border-radius:10px}.todo-rules-form .todo-rules-options{margin:18px 16px 16px}.todo-rules-form .todo-rule-option{padding:12px;gap:11px}.todo-rules-privacy{margin:0 16px 18px}.todo-rules-form .todo-rules-error{margin:0 16px 14px}.todo-rules-form .form-actions{padding:14px 16px}.todo-rules-form .form-actions button{flex:1}}
