/* Task template only: use the workbench's form colors and compact checkbox sizing. */
.task-management .template-modal{width:min(1180px,calc(100vw - 32px));max-height:calc(100dvh - 32px);box-sizing:border-box}
.task-management .template-modal-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:20px 24px;min-width:0}
.task-management .template-modal-form>label{min-width:0}
.task-management .template-modal-form textarea{width:100%;margin:0;min-width:0}
.task-management .template-store-groups{min-width:0;padding:16px}
.task-management .template-store-groups-head{align-items:center;flex-wrap:wrap}
.task-management .template-store-groups-head button{flex:none;white-space:nowrap}
.task-management .template-store-group-list{grid-template-columns:minmax(0,1fr);width:100%;min-width:0}
.task-management .template-store-group-card{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;min-width:0}
.task-management .template-store-group-title,.task-management .template-group-field:nth-of-type(2),.task-management .template-group-hint{grid-column:1/-1}
.task-management .template-group-field{min-width:0;align-content:start}
.task-management .template-modal-form .template-assignment-choice-list{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(128px,1fr))!important;gap:8px!important;min-width:0!important}
.task-management .template-modal-form .template-assignment-choice-list>label{box-sizing:border-box;width:100%!important;min-height:34px!important;line-height:1.4;align-self:stretch!important;place-self:stretch!important;white-space:normal;font-size:13px;font-weight:500;text-align:left}
.task-management .template-modal-form .template-assignment-choice-list>label>input[type=checkbox]{appearance:auto;flex:0 0 16px!important;width:16px!important;min-width:16px!important;max-width:16px!important;height:16px!important;min-height:16px!important;padding:0!important;margin:0!important;accent-color:#81573f;border-radius:3px}
.task-management .template-modal-form .template-assignment-choice-list>label:has(input:checked){background:#f0e3d6!important}
.task-management .template-modal-form .template-assignment-choice-list>label:focus-within{outline:2px solid #c5a991;outline-offset:1px}
@media(max-width:700px){.task-management .template-modal{width:calc(100vw - 24px)}.task-management .template-modal-form{grid-template-columns:minmax(0,1fr);padding:16px}.task-management .template-store-group-card{grid-template-columns:minmax(0,1fr);padding:12px}.task-management .template-store-groups{padding:12px}.task-management .template-store-groups-head{align-items:stretch}.task-management .template-modal-form .template-assignment-choice-list{grid-template-columns:repeat(auto-fill,minmax(105px,1fr))!important}.task-management .template-modal-form footer{margin:0 -16px -16px}}
