#template-dialog{width:min(520px,calc(100vw - 32px));max-height:90vh;overflow:auto;border:1px solid #fff;border-radius:18px;padding:28px;color:#304836}#template-dialog h2{font:25px Georgia,serif;margin-top:0}#template-dialog>form>p{font-size:12px;line-height:1.7}#template-options{border:0;padding:0;margin:24px 0 0}#template-options legend{font-size:11px;color:#748568}.template-option{display:flex;gap:12px;align-items:flex-start;border:1px solid #dce5d4;padding:12px;border-radius:12px;margin-top:10px;background:#ffffffa6;cursor:pointer}.template-option:has(input:checked){border-color:#6f9369;background:#eaf2e2}.template-option input{width:auto;margin:4px 0 0;accent-color:#456d50}.template-option strong{display:block;color:#304836;font-size:13px}.template-option small{display:block;margin-top:5px;font-size:11px;line-height:1.6;color:#77866d}.template-actions{display:flex;gap:10px;margin-top:22px}
